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

Closing module during module update causes exception when update completes and Pext attempts to reload it #315

Open
TheLastProject opened this issue Jun 16, 2020 · 0 comments
Labels

Comments

@TheLastProject
Copy link
Member

Traceback (most recent call last):
  File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "pext/__main__.py", line 3291, in <module>
    main(UIType.Qt5)
  File "pext/__main__.py", line 3287, in main
    main_loop.run()
  File "pext/__main__.py", line 854, in run
    InternalCallProcessor.process()
  File "pext/__main__.py", line 336, in process
    getattr(InternalCallProcessor, "_{}".format(parts[1].replace('-', '_')))(parts[2:])
  File "pext/__main__.py", line 386, in _finalize_module
    InternalCallProcessor.window
  File "pext/__main__.py", line 1485, in reload_step_load
    self.unload(index, True, window)
  File "pext/__main__.py", line 1451, in unload
    Core.remove_module(index)
  File "pext/__main__.py", line 170, in remove_module
    del Core.__active_modules[index]
IndexError: list assignment index out of range
@TheLastProject TheLastProject changed the title Closing module during update is bad Closing module during module update causes exception when update completes and Pext attempts to reload it Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant