You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some troubles using the command
./manage.py shell_plus --notebook
Its seems there are some incompatibility issues but I could not figure the root cause. Is this a bug ?
./manage.py shell_plus --notebook
Using selector: EpollSelector
Traceback (most recent call last):
File "/home/pho/sources/personal/django/lecaillouvoyageur/./manage.py", line 22, in <module>
main()
File "/home/pho/sources/personal/django/lecaillouvoyageur/./manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django_extensions/management/commands/shell_plus.py", line 125, in run_from_argv
return super().run_from_argv(argv)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django_extensions/management/utils.py", line 62, in inner
ret = func(self, *args, **kwargs)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django_extensions/management/commands/shell_plus.py", line 582, in handle
runner()
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django_extensions/management/commands/shell_plus.py", line 304, in run_notebook
self.run_notebookapp(app_init, options, use_kernel_specs)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django_extensions/management/commands/shell_plus.py", line 251, in run_notebookapp
app = app_init(notebook_arguments)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/django_extensions/management/commands/shell_plus.py", line 300, in app_init
app.initialize(*args, **kwargs)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/traitlets/config/application.py", line 113, in inner
return method(app, *args, **kwargs)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/notebook/notebookapp.py", line 2163, in initialize
super().initialize(argv)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/traitlets/config/application.py", line 113, in inner
return method(app, *args, **kwargs)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/jupyter_core/application.py", line 256, in initialize
self.parse_command_line(argv)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/notebook/notebookapp.py", line 1633, in parse_command_line
super().parse_command_line(argv)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/traitlets/config/application.py", line 113, in inner
return method(app, *args, **kwargs)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/traitlets/config/application.py", line 883, in parse_command_line
self.cli_config = deepcopy(loader.load_config())
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/traitlets/config/loader.py", line 883, in load_config
self._parse_args(argv)
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/traitlets/config/loader.py", line 942, in _parse_args
to_parse = [_replace(a) for a in to_parse]
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/traitlets/config/loader.py", line 942, in <listcomp>
to_parse = [_replace(a) for a in to_parse]
File "/home/pho/.virtualenvs/django/lib/python3.10/site-packages/traitlets/config/loader.py", line 931, in _replace
if arg.startswith(k + "="):
AttributeError: 'PosixPath' object has no attribute 'startswith'
Hello,
I have some troubles using the command
./manage.py shell_plus --notebook
Its seems there are some incompatibility issues but I could not figure the root cause. Is this a bug ?
Here is the result of my pip freeze:
Any help is welcome :-)
The text was updated successfully, but these errors were encountered: