Open haesleinhuepf opened 2 years ago
Error when starting napari:
===================== Errors for plugin 'napari-script-editor' =====================
napari version: 0.4.12
ERROR #1: Error while importing module napari_script_editor ---------------------
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Programs\napari\\app_packages\napari_plugin_engine\manager.py in _load_and_register(self=, mod_name='napari_script_editor', plugin_name='napari-script-editor')
317 try:
--> 318 module = load(mod_name)
module = undefined
global load =
mod_name = 'napari_script_editor'
319 if self.is_registered(module):
~\AppData\Local\Programs\napari\\app_packages\napari_plugin_engine\manager.py in load(value='napari_script_editor')
1041 raise ValueError(f"malformed entry point string: {value}")
-> 1042 module = importlib.import_module(match.group('module'))
module = undefined
global importlib.import_module =
match.group =
1043 attrs = filter(None, (match.group('attr') or '').split('.'))
~\AppData\Local\Programs\napari\python\python38.zip\importlib\__init__.pyc in import_module(name='napari_script_editor', package=None)
~\AppData\Local\Programs\napari\python\python38.zip\importlib\_bootstrap.pyc in _gcd_import(name='napari_script_editor', package=None, level=0)
~\AppData\Local\Programs\napari\python\python38.zip\importlib\_bootstrap.pyc in _find_and_load(name='napari_script_editor', import_=)
~\AppData\Local\Programs\napari\python\python38.zip\importlib\_bootstrap.pyc in _find_and_load_unlocked(name='napari_script_editor', import_=)
~\AppData\Local\Programs\napari\python\python38.zip\importlib\_bootstrap.pyc in _load_unlocked(spec=ModuleSpec(name='napari_script_editor', loader=
~\AppData\Local\Programs\napari\python\python38.zip\importlib\_bootstrap_external.pyc in exec_module(self=, module=)
~\AppData\Local\Programs\napari\python\python38.zip\importlib\_bootstrap.pyc in _call_with_frames_removed(f=, *args=( at 0x000001AC463CC920, fil...ckages\napari_script_editor\__init__.py", line 2>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...script_editor\__pycache__\__init__.cpython-38.pyc', '__doc__': None, '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...b\\site-packages\napari_script_editor\__init__.py', '__loader__': , '__name__': 'napari_script_editor', '__package__': 'napari_script_editor', '__path__': [r'C:\Users\rober\AppData\Local\Programs\napari\python\\Lib\\site-packages\napari_script_editor'], '__spec__': ModuleSpec(name='napari_script_editor', loader=
~\AppData\Local\Programs\napari\python\\Lib\\site-packages\napari_script_editor\__init__.py in
6
----> 7 from ._dock_widget import napari_experimental_provide_dock_widget
global _dock_widget = undefined
global napari_experimental_provide_dock_widget = undefined
8
~\AppData\Local\Programs\napari\app_packages\shiboken2\files.dir\shibokensupport\__feature__.py in _import(name='_dock_widget', *args=({'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...script_editor\__pycache__\__init__.cpython-38.pyc', '__doc__': None, '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...b\\site-packages\napari_script_editor\__init__.py', '__loader__': , '__name__': 'napari_script_editor', '__package__': 'napari_script_editor', '__path__': [r'C:\Users\rober\AppData\Local\Programs\napari\python\\Lib\\site-packages\napari_script_editor'], '__spec__': ModuleSpec(name='napari_script_editor', loader=, 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...script_editor\__pycache__\__init__.cpython-38.pyc', '__doc__': None, '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...b\\site-packages\napari_script_editor\__init__.py', '__loader__': , '__name__': 'napari_script_editor', '__package__': 'napari_script_editor', '__path__': [r'C:\Users\rober\AppData\Local\Programs\napari\python\\Lib\\site-packages\napari_script_editor'], '__spec__': ModuleSpec(name='napari_script_editor', loader=
141 pyside_feature_dict[importing_module] = flag
--> 142 return original_import(name, *args, **kwargs)
global original_import =
name = '_dock_widget'
args = ({'__name__': 'napari_script_editor', '__doc__': None, '__package__': 'napari_script_editor', '__loader__': , '__spec__': ModuleSpec(name='napari_script_editor', loader=, origin='C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\__init__.py', submodule_search_locations=['C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor']), '__path__': ['C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor'], '__file__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\__init__.py', '__cached__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\__pycache__\\__init__.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'WindowsError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , '__pybind11_internals_v3_msvc__': , '_init_pyside_extension': , 'qApp': , 'execfile': , 'runfile': }, '__version__': '0.2.0'}, {'__name__': 'napari_script_editor', '__doc__': None, '__package__': 'napari_script_editor', '__loader__': , '__spec__': ModuleSpec(name='napari_script_editor', loader=, origin='C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\__init__.py', submodule_search_locations=['C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor']), '__path__': ['C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor'], '__file__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\__init__.py', '__cached__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\__pycache__\\__init__.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'WindowsError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , '__pybind11_internals_v3_msvc__': , '_init_pyside_extension': , 'qApp': , 'execfile': , 'runfile': }, '__version__': '0.2.0'}, ('napari_experimental_provide_dock_widget',), 1)
kwargs = {}
143
~\AppData\Local\Programs\napari\python\\Lib\\site-packages\napari_script_editor\_dock_widget.py in
3
----> 4 from pyqode.python.backend import server
global pyqode.python.backend = undefined
global server = undefined
5 from pyqode.python.widgets import PyCodeEdit
~\AppData\Local\Programs\napari\app_packages\shiboken2\files.dir\shibokensupport\__feature__.py in _import(name='pyqode.python.backend', *args=({'QFileDialog': , 'QHBoxLayout': , 'QPushButton': , 'QVBoxLayout': , 'QWidget': , '__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...pt_editor\__pycache__\_dock_widget.cpython-38.pyc', '__doc__': None, '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...ite-packages\napari_script_editor\_dock_widget.py', '__loader__': , ...}, {'QFileDialog': , 'QHBoxLayout': , 'QPushButton': , 'QVBoxLayout': , 'QWidget': , '__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...pt_editor\__pycache__\_dock_widget.cpython-38.pyc', '__doc__': None, '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...ite-packages\napari_script_editor\_dock_widget.py', '__loader__': , ...}, ('server',), 0), **kwargs={})
141 pyside_feature_dict[importing_module] = flag
--> 142 return original_import(name, *args, **kwargs)
global original_import =
name = 'pyqode.python.backend'
args = ({'__name__': 'napari_script_editor._dock_widget', '__doc__': None, '__package__': 'napari_script_editor', '__loader__': , '__spec__': ModuleSpec(name='napari_script_editor._dock_widget', loader=, origin='C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\_dock_widget.py'), '__file__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\_dock_widget.py', '__cached__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\__pycache__\\_dock_widget.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'WindowsError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , '__pybind11_internals_v3_msvc__': , '_init_pyside_extension': , 'qApp': , 'execfile': , 'runfile': }, 'napari_hook_implementation': , 'QWidget': , 'QHBoxLayout': , 'QVBoxLayout': , 'QPushButton': , 'QFileDialog': }, {'__name__': 'napari_script_editor._dock_widget', '__doc__': None, '__package__': 'napari_script_editor', '__loader__': , '__spec__': ModuleSpec(name='napari_script_editor._dock_widget', loader=, origin='C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\_dock_widget.py'), '__file__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\_dock_widget.py', '__cached__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\napari_script_editor\\__pycache__\\_dock_widget.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'WindowsError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , '__pybind11_internals_v3_msvc__': , '_init_pyside_extension': , 'qApp': , 'execfile': , 'runfile': }, 'napari_hook_implementation': , 'QWidget': , 'QHBoxLayout': , 'QVBoxLayout': , 'QPushButton': , 'QFileDialog': }, ('server',), 0)
kwargs = {}
143
~\AppData\Local\Programs\napari\python\\Lib\\site-packages\pyqode\python\backend\__init__.py in
6 """
----> 7 from .workers import calltips
global workers = undefined
global calltips = undefined
8 from .workers import defined_names
~\AppData\Local\Programs\napari\app_packages\shiboken2\files.dir\shibokensupport\__feature__.py in _import(name='workers', *args=({'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...ython\backend\__pycache__\__init__.cpython-38.pyc', '__doc__': '\nThe backend package contains everything needed to implement the\nserver side of a python editor.\n\n', '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...\\site-packages\pyqode\python\backend\__init__.py', '__loader__': , '__name__': 'pyqode.python.backend', '__package__': 'pyqode.python.backend', '__path__': [r'C:\Users\rober\AppData\Local\Programs\napari\python\\Lib\\site-packages\pyqode\python\backend'], '__spec__': ModuleSpec(name='pyqode.python.backend', loader=...\Lib\\\\site-packages\\pyqode\\python\\backend'])}, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...ython\backend\__pycache__\__init__.cpython-38.pyc', '__doc__': '\nThe backend package contains everything needed to implement the\nserver side of a python editor.\n\n', '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...\\site-packages\pyqode\python\backend\__init__.py', '__loader__': , '__name__': 'pyqode.python.backend', '__package__': 'pyqode.python.backend', '__path__': [r'C:\Users\rober\AppData\Local\Programs\napari\python\\Lib\\site-packages\pyqode\python\backend'], '__spec__': ModuleSpec(name='pyqode.python.backend', loader=...\Lib\\\\site-packages\\pyqode\\python\\backend'])}, ('calltips',), 1), **kwargs={})
141 pyside_feature_dict[importing_module] = flag
--> 142 return original_import(name, *args, **kwargs)
global original_import =
name = 'workers'
args = ({'__name__': 'pyqode.python.backend', '__doc__': '\nThe backend package contains everything needed to implement the\nserver side of a python editor.\n\n', '__package__': 'pyqode.python.backend', '__loader__': , '__spec__': ModuleSpec(name='pyqode.python.backend', loader=, origin='C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\__init__.py', submodule_search_locations=['C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend']), '__path__': ['C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend'], '__file__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\__init__.py', '__cached__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\__pycache__\\__init__.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'WindowsError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , '__pybind11_internals_v3_msvc__': , '_init_pyside_extension': , 'qApp': , 'execfile': , 'runfile': }}, {'__name__': 'pyqode.python.backend', '__doc__': '\nThe backend package contains everything needed to implement the\nserver side of a python editor.\n\n', '__package__': 'pyqode.python.backend', '__loader__': , '__spec__': ModuleSpec(name='pyqode.python.backend', loader=, origin='C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\__init__.py', submodule_search_locations=['C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend']), '__path__': ['C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend'], '__file__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\__init__.py', '__cached__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\__pycache__\\__init__.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'WindowsError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , '__pybind11_internals_v3_msvc__': , '_init_pyside_extension': , 'qApp': , 'execfile': , 'runfile': }}, ('calltips',), 1)
kwargs = {}
143
~\AppData\Local\Programs\napari\python\\Lib\\site-packages\pyqode\python\backend\workers.py in
9 import jedi
---> 10 from pyqode.core.share import Definition
global pyqode.core.share = undefined
global Definition = undefined
11 from pyflakes import messages
~\AppData\Local\Programs\napari\app_packages\shiboken2\files.dir\shibokensupport\__feature__.py in _import(name='pyqode.core.share', *args=({'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...python\backend\__pycache__\workers.cpython-38.pyc', '__doc__': '\nContains the worker classes/functions executed on the server side.\n', '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...b\\site-packages\pyqode\python\backend\workers.py', '__loader__': , '__name__': 'pyqode.python.backend.workers', '__package__': 'pyqode.python.backend', '__spec__': ModuleSpec(name='pyqode.python.backend.workers',...e-packages\\pyqode\\python\\backend\\workers.py'), 'jedi': , 'logging': , ...}, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , ...}, '__cached__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...python\backend\__pycache__\workers.cpython-38.pyc', '__doc__': '\nContains the worker classes/functions executed on the server side.\n', '__file__': r'C:\Users\rober\AppData\Local\Programs\napari\pyt...b\\site-packages\pyqode\python\backend\workers.py', '__loader__': , '__name__': 'pyqode.python.backend.workers', '__package__': 'pyqode.python.backend', '__spec__': ModuleSpec(name='pyqode.python.backend.workers',...e-packages\\pyqode\\python\\backend\\workers.py'), 'jedi': , 'logging': , ...}, ('Definition',), 0), **kwargs={})
141 pyside_feature_dict[importing_module] = flag
--> 142 return original_import(name, *args, **kwargs)
global original_import =
name = 'pyqode.core.share'
args = ({'__name__': 'pyqode.python.backend.workers', '__doc__': '\nContains the worker classes/functions executed on the server side.\n', '__package__': 'pyqode.python.backend', '__loader__': , '__spec__': ModuleSpec(name='pyqode.python.backend.workers', loader=, origin='C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\workers.py'), '__file__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\workers.py', '__cached__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\__pycache__\\workers.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'WindowsError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , '__pybind11_internals_v3_msvc__': , '_init_pyside_extension': , 'qApp': , 'execfile': , 'runfile': }, 'logging': , 'os': , 'tempfile': , 'jedi': }, {'__name__': 'pyqode.python.backend.workers', '__doc__': '\nContains the worker classes/functions executed on the server side.\n', '__package__': 'pyqode.python.backend', '__loader__': , '__spec__': ModuleSpec(name='pyqode.python.backend.workers', loader=, origin='C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\workers.py'), '__file__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\workers.py', '__cached__': 'C:\\Users\\rober\\AppData\\Local\\Programs\\napari\\python\\\\Lib\\\\site-packages\\pyqode\\python\\backend\\__pycache__\\workers.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'WindowsError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , '__pybind11_internals_v3_msvc__': , '_init_pyside_extension': , 'qApp': , 'execfile': , 'runfile': }, 'logging': , 'os': , 'tempfile': , 'jedi': }, ('Definition',), 0)
kwargs = {}
143
ModuleNotFoundError: No module named 'pyqode.core.share'
The above exception was the direct cause of the following exception:
PluginImportError Traceback (most recent call last)
~\AppData\Local\Programs\napari\\app_packages\napari_plugin_engine\manager.py in discover(self=, path=None, entry_point=None, prefix=None, ignore_errors=True)
262
263 try:
--> 264 if self._load_and_register(mod_name, name):
self._load_and_register = >
mod_name = 'napari_tools_menu'
name = 'napari-tools-menu'
265 count += 1
266 self._id_counts[name] = 1
~\AppData\Local\Programs\napari\\app_packages\napari_plugin_engine\manager.py in _load_and_register(self=, mod_name='napari_script_editor', plugin_name='napari-script-editor')
320 return None
321 except Exception as exc:
--> 322 raise PluginImportError(
global PluginImportError =
plugin_name = 'napari-script-editor'
global cause = undefined
exc = undefined
323 f'Error while importing module {mod_name}',
324 plugin_name=plugin_name,
PluginImportError: Error while importing module napari_script_editor
================================================================================
Installing the script editor in the napari bundle app on Windows technically succeeds but the script editor is not available afterwards.
Log:
napari info