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

Error when initilizing the application (non blocking) #55

Closed
jjcampos opened this issue Feb 10, 2023 · 1 comment
Closed

Error when initilizing the application (non blocking) #55

jjcampos opened this issue Feb 10, 2023 · 1 comment

Comments

@jjcampos
Copy link

What's wrong?
Upon starting up the application using python -m Orange.canvas it is showing the following error:

2023-02-10 10:09:41,193:ERROR:orangecanvas.registry.discovery: An ImportError occurred while loading entry point 'Associate = orangecontrib.associate.widgets'
Traceback (most recent call last):
  File "/home/jorge/.local/lib/python3.10/site-packages/orangecanvas/registry/discovery.py", line 122, in run
    point = entry_point.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2471, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/jorge/.local/lib/python3.10/site-packages/orangecontrib/associate/__init__.py", line 1, in <module>
    from .fpgrowth import \
  File "/home/jorge/.local/lib/python3.10/site-packages/orangecontrib/associate/fpgrowth.py", line 152, in <module>
    from collections import defaultdict, Iterator
ImportError: cannot import name 'Iterator' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

It happens everytime the application starts. Note that the application still runs fine and works, this error is just being logged in the console.

How can we reproduce the problem?
Simply opening the application with the python command will throw this error

What's your environment?

  • Operating system: Ubuntu 22.04.1 LTS, jammy
  • Orange version: 3.34.1
  • How you installed Orange: Using pip pip install orange3
  • I followed the instructions on the download section of you website. Also installed the packages PyQt5 PyQtWebEngine
  • Python version: Python 3.10.6
  • pip version: pip 23.0
@janezd janezd transferred this issue from biolab/orange3 Feb 11, 2023
@markotoplak
Copy link
Member

Thanks. This was fixed in #50.

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

2 participants