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

Geocoding crashes #172

Closed
wvdvegte opened this issue Jan 3, 2024 · 4 comments
Closed

Geocoding crashes #172

wvdvegte opened this issue Jan 3, 2024 · 4 comments

Comments

@wvdvegte
Copy link

wvdvegte commented Jan 3, 2024

Geo version

0.4.0

Orange version

3.36.2

Expected behavior

It should be possible to input data to Geocoding

Actual behavior

When connecting any input to it, Geocoding crashes with the following error report:

Traceback (most recent call last):
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/orangecanvas/scheme/widgetmanager.py", line 243, in __add_widget_for_node
    w = self.create_widget_for_node(node)
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/orangewidget/workflow/widgetsscheme.py", line 300, in create_widget_for_node
    widget = self.create_widget_instance(node)
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/orangewidget/workflow/widgetsscheme.py", line 413, in create_widget_instance
    widget.__init__()
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/orangecontrib/geo/widgets/owgeocoding.py", line 163, in __init__
    view.verticalHeader().setSectionResizeMode(0)
TypeError: arguments did not match any overloaded call:
  setSectionResizeMode(self, logicalIndex: int, mode: QHeaderView.ResizeMode): not enough arguments
  setSectionResizeMode(self, mode: QHeaderView.ResizeMode): argument 1 has unexpected type 'int'

It isn't possible at all to apply Geocoding.

Steps to reproduce the behavior

geocoding crash.ows.zip

Additional info (worksheets, data, screenshots, ...)
@janezd
Copy link
Collaborator

janezd commented Jan 7, 2024

This PyQt6 incompatibility has been fixed in #169 almost a year ago, but we haven't made any releases since then because there hasn't been much new.

I guess it's time for a patch release. Any volunteers?

(I could do it, but it would take me much longer because I don't do it often and I'm too old to remember the procedure.)

@PrimozGodec
Copy link
Collaborator

I can make a release tomorrow morning.

@PrimozGodec
Copy link
Collaborator

The addon is now released on all platforms, so please upgrade the addon to the newest version 0.4.1. :)

@wvdvegte
Copy link
Author

wvdvegte commented Jan 8, 2024

I can confirm that it no longer crashes!

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

No branches or pull requests

3 participants