Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a Problem with Version 7.9.1 #945

Closed
KTAI-GIS opened this issue Jul 12, 2024 · 25 comments · Fixed by #946 or #948
Closed

There is a Problem with Version 7.9.1 #945

KTAI-GIS opened this issue Jul 12, 2024 · 25 comments · Fixed by #946 or #948

Comments

@KTAI-GIS
Copy link

Hi Dave
Model Baker is not working anymore with Version 7.9.1
I got the error message
Generate QGIS from existing Database leads to a python error.

2024-07-12T21:01:09 WARNING Traceback (most recent call last):
File "C:\Users/lfdmp/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\workflow_wizard.py", line 423, in id_changed
self.generate_database_selection_page.restore_configuration(
File "C:\Users/lfdmp/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\database_selection_page.py", line 121, in restore_configuration
self._lst_panel[mode].set_fields(configuration)
AttributeError: 'NoneType' object has no attribute 'set_fields'

@MiKa-RegEntw
Copy link

Hey guys, i have also problems with the new version. but a diffrent error.

2024-07-15T11:07:12 WARNING Traceback (most recent call last):
File "C:\Users/Michael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\database_selection_page.py", line 182, in nextId
return self.workflow_wizard.next_id()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Michael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\workflow_wizard.py", line 239, in next_id
if self.import_database_selection_page.is_valid():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Michael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\database_selection_page.py", line 154, in is_valid
res, message = self._lst_panel[db_id].is_valid()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'is_valid'

@signedav
Copy link
Member

Thanks I'll have a look

@signedav
Copy link
Member

Opened again, since I'm not 100 sure if it's solved because I could never reproduce it on my own system.

Anyway I'm confident it's solved with the Release 7.9.2 I just published.

Can you please checke again @KTAI-GIS @MiKa-RegEntw

@MiKa-RegEntw
Copy link

image image

2024-07-16T14:04:49 WARNING Traceback (most recent call last):
File "C:\Users/Michael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\workflow_wizard.py", line 418, in id_changed
self.import_database_selection_page.restore_configuration(
File "C:\Users/Michael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\database_selection_page.py", line 117, in restore_configuration
self._lst_panel[db_id].set_fields(configuration)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'set_fields'

Unfortunatly my error sill exist. I download the Version 7.4.2 and there it worked.

But thanks for trying

@MiKa-RegEntw
Copy link

I also tried diffrent Sources, but the error keeps coming. It is not the same but it is there: 2024-07-16T14:07:05 WARNING Traceback (most recent call last):
File "C:\Users/Michael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\database_selection_page.py", line 183, in nextId
return self.workflow_wizard.next_id()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Michael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\workflow_wizard.py", line 239, in next_id
if self.import_database_selection_page.is_valid():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Michael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QgisModelBaker\gui\workflow_wizard\database_selection_page.py", line 155, in is_valid
res, message = self._lst_panel[db_id].is_valid()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'is_valid'

@webrian
Copy link
Contributor

webrian commented Jul 16, 2024

We have the same issue with

  • QGIS 3.28.6
  • Model Baker 7.9.1 and 7.9.2
  • Python Version 3.9

It works with

  • QGIS 3.38 and
  • Python 3.10

@signedav
Copy link
Member

Unfortunatly my error sill exist. I download the Version 7.4.2 and there it worked.

Could you try with 7.8.4?

@signedav
Copy link
Member

It works with * Python 3.10

Ah. Interresting. I'll follow this lead.

@webrian
Copy link
Contributor

webrian commented Jul 16, 2024

We have the same issue with

Windows

* QGIS 3.28.6

* Model Baker 7.9.1 and 7.9.2

* Python Version 3.9

It works with

Ubuntu

* QGIS 3.38 and

* Python 3.10

It fails on

  • Windows
  • QGIS 3.34
  • Model Baker 7.9.2
  • Python 3.12

@MiKa-RegEntw
Copy link

Unfortunatly my error sill exist. I download the Version 7.4.2 and there it worked.

Could you try with 7.8.4?

Not working, i tried that first.

@signedav
Copy link
Member

Could you try with 7.8.4?

Not working, i tried that first.

Is 7.4.2 the last working version?

@MiKa-RegEntw
Copy link

Could you try with 7.8.4?

Not working, i tried that first.

Is 7.4.2 the last working version?

I tried until version 4.7.0, then I got frustrated and jumped to the version where I was sure it would work, because I used it back then

@signedav
Copy link
Member

signedav commented Jul 16, 2024

Would be awesome to know with what minor version (second number) it stopped working.

@KTAI-GIS
Copy link
Author

KTAI-GIS commented Jul 16, 2024 via email

@KTAI-GIS
Copy link
Author

KTAI-GIS commented Jul 16, 2024 via email

@KTAI-GIS
Copy link
Author

KTAI-GIS commented Jul 16, 2024 via email

@signedav
Copy link
Member

Note to myself:

Works on @lindacamathias 's system
image (5)

@signedav
Copy link
Member

signedav commented Jul 18, 2024

works here (dev modelbaker is same state like v7.9.2)
image

does not work here

image

@signedav
Copy link
Member

Could anyone test this version?

QgisModelBaker.zip

  • uninstall Model Baker
  • install from ZIP

image

@webrian
Copy link
Contributor

webrian commented Jul 18, 2024

Could anyone test this version?

QgisModelBaker.zip

* uninstall Model Baker

* install from ZIP

Yes, I can confirm that this version works. I have started with a new profile as well. My versions are as follows:

grafik

@romefi
Copy link
Collaborator

romefi commented Jul 18, 2024

QgisModelBaker.zip

  • uninstall Model Baker
  • install from ZIP

Works as well 👍

@MiKa-RegEntw
Copy link

Could anyone test this version?

QgisModelBaker.zip

  • uninstall Model Baker
  • install from ZIP

image

works also for me, thank you very much

@signedav
Copy link
Member

Thanks for your feedback.

@KTAI-GIS
Copy link
Author

KTAI-GIS commented Jul 18, 2024 via email

@signedav
Copy link
Member

7.9.3 is on its way

Maybe you can double check when it's available in the plugin repo. Thanks, guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants