Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 903665 Details for
Bug 940202
dev-python/spyder-6.0.1 fails to start with error: "ImportError: cannot import name 'QTextCodec' from 'qtpy.QtCore'", when using pyside{2,6} as the QtPy backend.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Error log
err.log (text/x-log), 4.39 KB, created by
Michael Tulupov
on 2024-09-24 19:32:48 UTC
(
hide
)
Description:
Error log
Filename:
MIME Type:
Creator:
Michael Tulupov
Created:
2024-09-24 19:32:48 UTC
Size:
4.39 KB
patch
obsolete
>/usr/lib/python3.12/site-packages/spyder/requirements.py:42: PythonQtWarning: Selected binding 'pyqt5' could not be found; falling back to 'pyside6' > import qtpy >unittest: cannot import name 'QTextCodec' from 'qtpy.QtCore' (/usr/lib/python3.12/site-packages/qtpy/QtCore.py) >Traceback (most recent call last): > File "/usr/lib/python3.12/site-packages/spyder/app/find_plugins.py", line 71, in find_external_plugins > mod = importlib.import_module(entry_point.module) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "<frozen importlib._bootstrap>", line 1387, in _gcd_import > File "<frozen importlib._bootstrap>", line 1360, in _find_and_load > File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed > File "<frozen importlib._bootstrap>", line 1387, in _gcd_import > File "<frozen importlib._bootstrap>", line 1360, in _find_and_load > File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 935, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 995, in exec_module > File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed > File "/usr/lib/python3.12/site-packages/spyder_unittest/__init__.py", line 9, in <module> > from .unittestplugin import UnitTestPlugin as PLUGIN_CLASS > File "/usr/lib/python3.12/site-packages/spyder_unittest/unittestplugin.py", line 27, in <module> > from spyder_unittest.widgets.unittestgui import UnitTestWidget > File "/usr/lib/python3.12/site-packages/spyder_unittest/widgets/unittestgui.py", line 25, in <module> > from spyder_unittest.backend.nose2runner import Nose2Runner > File "/usr/lib/python3.12/site-packages/spyder_unittest/backend/nose2runner.py", line 18, in <module> > from spyder_unittest.backend.runnerbase import Category, RunnerBase, TestResult > File "/usr/lib/python3.12/site-packages/spyder_unittest/backend/runnerbase.py", line 18, in <module> > from qtpy.QtCore import ( >ImportError: cannot import name 'QTextCodec' from 'qtpy.QtCore' (/usr/lib/python3.12/site-packages/qtpy/QtCore.py) >Traceback (most recent call last): > File "/usr/lib/python-exec/python3.12/spyder", line 8, in <module> > sys.exit(main()) > ^^^^^^ > File "/usr/lib/python3.12/site-packages/spyder/app/start.py", line 285, in main > mainwindow.main(options, args) > File "/usr/lib/python3.12/site-packages/spyder/app/mainwindow.py", line 1425, in main > mainwindow = create_window(MainWindow, app, splash, options, args) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/site-packages/spyder/app/utils.py", line 359, in create_window > main.setup() > File "/usr/lib/python3.12/site-packages/spyder/app/mainwindow.py", line 747, in setup > PLUGIN_REGISTRY.register_plugin(self, PluginClass, > File "/usr/lib/python3.12/site-packages/spyder/api/plugin_registration/registry.py", line 344, in register_plugin > instance = self._instantiate_spyder5_plugin( > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/site-packages/spyder/api/plugin_registration/registry.py", line 186, in _instantiate_spyder5_plugin > plugin_instance = PluginClass(main_window, configuration=CONF) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/site-packages/spyder/api/plugins/new_api.py", line 332, in __init__ > self._container = container = self.CONTAINER_CLASS( > ^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/site-packages/spyder/plugins/application/container.py", line 83, in __init__ > super().__init__(name, plugin, parent) > File "/usr/lib/python3.12/site-packages/spyder/api/widgets/main_container.py", line 119, in __init__ > QWidget.__init__(self, parent) > File "/usr/lib/python3.12/site-packages/spyder/api/widgets/mixins.py", line 683, in __init__ > super().__init__() > File "/usr/lib/python3.12/site-packages/spyder/api/config/mixins.py", line 228, in __init__ > f'class attribute! Hint: {self} or its parent should define ' > ^^^^^^ >RuntimeError: '__init__' method of object's base class (ApplicationContainer) not called.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 940202
: 903665 |
903666