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

orange associate can't be loaded #6588

Closed
frankclaessen opened this issue Sep 28, 2023 · 9 comments
Closed

orange associate can't be loaded #6588

frankclaessen opened this issue Sep 28, 2023 · 9 comments
Labels
bug A bug confirmed by the core team

Comments

@frankclaessen
Copy link

frankclaessen commented Sep 28, 2023

What's wrong?
I have added an add-in called Associate.
Although all seems wel after installation- meaning that all the necessary source files seem in place,
the log shows a problem in loading Associate and some other things

2023-09-29 01:29:44,099:INFO:orangecanvas.registry.discovery: Could not import 'orangecontrib.associate.widgets.owassociate'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/associate/widgets/owassociate.py", line 9, in <module>
    from AnyQt.QtWidgets import QTableView, qApp, QGridLayout, QLabel
ImportError: cannot import name 'qApp' from 'AnyQt.QtWidgets' (/home/frankc/orange/lib/python3.11/site-packages/AnyQt/QtWidgets.py)
2023-09-29 01:29:44,100:INFO:orangecanvas.registry.discovery: Could not import 'orangecontrib.associate.widgets.owitemsets'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/associate/widgets/owitemsets.py", line 9, in <module>
    from AnyQt.QtWidgets import QTreeWidget, QTreeWidgetItem, qApp
ImportError: cannot import name 'qApp' from 'AnyQt.QtWidgets' (/home/frankc/orange/lib/python3.11/site-packages/AnyQt/QtWidgets.py)
2023-09-29 01:29:44,144:INFO:orangecanvas.registry.discovery: Could not import 'orangecontrib.educational.widgets.ow1ka'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/educational/widgets/ow1ka.py", line 24, in <module>
    from Orange.widgets.utils.webview import wait
ImportError: cannot import name 'wait' from 'Orange.widgets.utils.webview' (/home/frankc/orange/lib/python3.11/site-packages/Orange/widgets/utils/webview.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/educational/widgets/ow1ka.py", line 27, in <module>
    from AnyQt.QtWidgets import qApp
ImportError: cannot import name 'qApp' from 'AnyQt.QtWidgets' (/home/frankc/orange/lib/python3.11/site-packages/AnyQt/QtWidgets.py)
2023-09-29 01:29:44,146:INFO:orangecanvas.registry.discovery: Ignoring '/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/explain/widgets/owexplainfeaturebase.py'.
2023-09-29 01:29:44,150:WARNING:root: No module named 'tempeh': LawSchoolGPADataset will be unavailable. To install, run:
pip install 'aif360[LawSchoolGPA]'
2023-09-29 01:29:45,819:WARNING:root: No module named 'fairlearn': ExponentiatedGradientReduction will be unavailable. To install, run:
pip install 'aif360[Reductions]'
2023-09-29 01:29:45,820:WARNING:root: No module named 'fairlearn': GridSearchReduction will be unavailable. To install, run:
pip install 'aif360[Reductions]'
2023-09-29 01:29:45,820:WARNING:root: No module named 'fairlearn': GridSearchReduction will be unavailable. To install, run:
pip install 'aif360[Reductions]'
2023-09-29 01:29:45,841:INFO:orangecanvas.registry.discovery: Ignoring '/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/fairness/widgets/utils.py'.
2023-09-29 01:29:45,842:INFO:orangecanvas.registry.discovery: Ignoring '/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/geo/widgets/plotutils.py'.
2023-09-29 01:29:45,891:INFO:orangecanvas.registry.discovery: Ignoring '/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/survival_analysis/widgets/data.py'.
2023-09-29 01:29:46,036:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableCategory'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableCategory.py", line 27, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,037:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableContext'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableContext.py", line 27, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,038:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableConvert'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableConvert.py", line 27, in <module>
    from PyQt5.QtWidgets import QMessageBox, QApplication, QFileDialog
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,039:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableCooccurrence'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableCooccurrence.py", line 30, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,040:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableCount'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableCount.py", line 28, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,041:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableDisplay'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableDisplay.py", line 28, in <module>
    from PyQt5.QtWidgets import QTextBrowser, QFileDialog, QMessageBox, QApplication
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,042:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableExtractXML'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableExtractXML.py", line 25, in <module>
    from PyQt5.QtGui import QFont
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,044:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableInterchange'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableInterchange.py", line 27, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,045:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableIntersect'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableIntersect.py", line 27, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,046:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableLength'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableLength.py", line 28, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,047:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableMerge'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableMerge.py", line 27, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,048:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableMessage'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableMessage.py", line 26, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,049:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextablePreprocess'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextablePreprocess.py", line 27, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,050:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableRecode'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableRecode.py", line 25, in <module>
    from PyQt5.QtGui import QFont
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,051:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableSegment'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableSegment.py", line 25, in <module>
    from PyQt5.QtGui import QFont
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,052:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableSelect'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableSelect.py", line 31, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,053:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableTextField'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableTextField.py", line 28, in <module>
    from PyQt5.QtWidgets import QPlainTextEdit
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,053:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableTextFiles'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableTextFiles.py", line 30, in <module>
    from PyQt5.QtCore import QTimer
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,054:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableTreetagger'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableTreetagger.py", line 32, in <module>
    from PyQt5.QtWidgets import QFileDialog, QMessageBox
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,055:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableURLs'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableURLs.py", line 31, in <module>
    from PyQt5.QtCore import QTimer
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,056:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.OWTextableVariety'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/OWTextableVariety.py", line 28, in <module>
    from .TextableUtils import (
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,058:INFO:orangecanvas.registry.discovery: Could not import '_textable.widgets.TextableUtils'.
Traceback (most recent call last):
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 309, in iter_widget_descriptions
    module = asmodule(name)
             ^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/registry/discovery.py", line 552, in asmodule
    return __import__(module, fromlist=[""])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frankc/orange/lib/python3.11/site-packages/_textable/widgets/TextableUtils.py", line 909, in <module>
    from PyQt5.QtCore import QTimer, QEventLoop
ModuleNotFoundError: No module named 'PyQt5'
2023-09-29 01:29:46,328:INFO:orangecanvas.registry.discovery: Ignoring '/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/timeseries/widgets/_owmodel.py'.
2023-09-29 01:29:46,328:INFO:orangecanvas.registry.discovery: Ignoring '/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/timeseries/widgets/_rangeslider.py'.
2023-09-29 01:29:46,328:INFO:orangecanvas.registry.discovery: Ignoring '/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/timeseries/widgets/owperiodbase.py'.
2023-09-29 01:29:46,329:INFO:orangecanvas.registry.discovery: Ignoring '/home/frankc/orange/lib/python3.11/site-packages/orangecontrib/timeseries/widgets/utils.py'.
2023-09-29 01:29:46,334:INFO:orangecanvas.main: Adding search path '/home/frankc/orange/lib/python3.11/site-packages/orangecanvas/styles/orange' for prefix, 'canvas_icons'

Constantly it show that QApp can't be found

How can we reproduce the problem?

What's your environment?

  • Operating system: Manjaro
  • Orange version: 3.36.1
  • How you installed Orange: through pip in a virtual environment.
@frankclaessen frankclaessen added the bug report Bug is reported by user, not yet confirmed by the core team label Sep 28, 2023
@frankclaessen
Copy link
Author

I did a reinstall in a new venv using the requirements.txt from the github repository. I added some lines to the requirements.txt:
-r requirements-gui.txt
-r requirements-pyqt.txt

after install I first got an error-message saying that pyqt5 wasn't available.
I installed it with pip
Orange first-run was error free after that.
Through settings I changed that add-ons are NOT to be installed through conda
After that I installed associate and it worked - the widgets showed up.
After that I added Educational - Explain - Fairness - Geo - Survival - Text mining - Textable and World Happiness.
After that the old error message came back complaining about not being able to import Qapp.

I will start fresh with a virgin installation of Orange3 and I will add the extensions mentioned above to see which one is the culprit

@frankclaessen
Copy link
Author

.. of course I will add the add-ons one by one

1 similar comment
@frankclaessen
Copy link
Author

.. of course I will add the add-ons one by one

@frankclaessen
Copy link
Author

orange testing addons 1 by 1
educational +
bioinfo +
explain +
fairness +
geo +
survival +
text +
textable + but with a lot of warnings:
time series + some warnings
world happines +

aparently there is a difference between adding the add-ons one by one or in batch??

At starting orange again however there are certain warnings that module such and such is not available with a mention of a specific pip install command that remedies the problem. I can solve all issues through these specific pip installs

There is certainly a huge advantage to run orange with logging enabled.

Not sure what my next step should be.

Please - somebody with sufficient knowledge?

=========warnings textable ============
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableCategory.py:36: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableCategory(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableContext.py:36: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableContext(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableConvert.py:47: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableConvert(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableCooccurrence.py:41: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableCooccurrence(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableCount.py:37: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableCount(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableDisplay.py:45: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableDisplay(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableExtractXML.py:38: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableExtractXML(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableInterchange.py:42: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableInterchange(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableIntersect.py:36: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableIntersect(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableLength.py:37: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableLength(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableMerge.py:35: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableMerge(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableMessage.py:34: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableMessage(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextablePreprocess.py:35: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextablePreprocess(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableRecode.py:39: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableRecode(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableSegment.py:39: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableSegment(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableSelect.py:39: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableSelect(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableTextField.py:37: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableTextField(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableTextFiles.py:53: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableTextFiles(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/treetaggerwrapper.py:739: FutureWarning: Possible nested set at position 8
punct2find_re = re.compile("([^ ])([[" + ALONEMARKS + "])",
/home/frankc/orange3/lib/python3.11/site-packages/treetaggerwrapper.py:2043: FutureWarning: Possible nested set at position 152
DnsHostMatch_re = re.compile("(" + DnsHost_expression + ")",
/home/frankc/orange3/lib/python3.11/site-packages/treetaggerwrapper.py:2067: FutureWarning: Possible nested set at position 409
UrlMatch_re = re.compile(UrlMatch_expression, re.VERBOSE | re.IGNORECASE)
/home/frankc/orange3/lib/python3.11/site-packages/treetaggerwrapper.py:2079: FutureWarning: Possible nested set at position 192
EmailMatch_re = re.compile(EmailMatch_expression, re.VERBOSE | re.IGNORECASE)
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableTreetagger.py:47: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class Treetagger(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableURLs.py:51: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableURLs(OWTextableBaseWidget):
/home/frankc/orange3/lib/python3.11/site-packages/_textable/widgets/OWTextableVariety.py:36: RuntimeWarning: subclassing of widget classes is deprecated and will be disabled in the future.
Extract code from OWTextableBaseWidget or explicitly open it by adding openclass=True to class definition.
class OWTextableVariety(OWTextableBaseWidget):

=========

@markotoplak
Copy link
Member

So, what I see here immediately is that Textable does not support Qt6. That addon is not within our control. The warnings you get can not be solved easily - that would need some maintenance by Textable authors.

So is now Associate working for you? There should be no difference between installing from source and from the add-on dialog. But in between I see that you installed Qt5. I suspect there were some Qt issues too, but would need to verify that.

Do you now still have any issues or are you just concerned about Textable warnings?

@markotoplak markotoplak added bug A bug confirmed by the core team and removed bug report Bug is reported by user, not yet confirmed by the core team labels Sep 29, 2023
@markotoplak
Copy link
Member

Thanks for reporting the Associate issue. I also had problems using it with PyQt6. See the above-linked PR. It will be fixed in a new release.

While looking at this, we need a new release of Educational. There, one widget had the same issue, which has already been fixed for 6 months but that addon has not been released since.

@PrimozGodec
Copy link
Contributor

PrimozGodec commented Sep 29, 2023

I can make a release of an Educational addon. :)

Edit: Orange3-educational is released

@frankclaessen
Copy link
Author

I understand the issues with Textable. I could live without.
I am preparing a workshop with Orange and my biggest concern is stability, so I will remove Textable from the mix.

I guess it is very difficult to maintain a system that is partly forged with 3rd-party modules.
As far as I'm concerned, this bug report can be closed - but - that's probably not for me to decide

Thx for the reactions

Cheers - Frank

@markotoplak
Copy link
Member

Some Qt6 issues in Orange3-Associate were now fixed (see biolab/orange3-associate#57 and biolab/orange3-associate#59) and the new version will be released shortly.

@frankclaessen, thanks for reporting these Qt6-related bugs. Feel free to use Orange with Qt6 again, as you have at first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug confirmed by the core team
Projects
None yet
Development

No branches or pull requests

3 participants