Closed GrazMir closed 1 year ago
Got it. Will fix soon.
Just published v2023.2.2 with fixes. If your issue is fixed, please leave a comment and close this issue. Thanks!
Thanks. That's better but I am still having this issue:
[TerminalIPythonApp] CRITICAL | Bad config encountered during initialization:
[TerminalIPythonApp] CRITICAL | The 'exec_lines' trait of a TerminalIPythonApp instance must be a list, but a value of class 'str' (i.e. '%autoreload 2') was specified.
I'll need help with replicating the problem. Can you give me screenshot of the terminal ipython ...
call and what version of IPython you're using?
The ipython version is: 7.19.0
Hmm, looks like either a bad setting or something wrong with IPython terminal configuration. Are you using a custom IPython profile or something like that?
For reference, here are some configuration I'm using to test the extension:
ipython
extension setting
setting.json
with the extra StartupCommands
:
"ipython.CommandLineArguments": "--verbose -h \"test\" --hello -Earth \"World\"",
"ipython.RunArguments": "-t -N32",
"ipython.ExecutionLagMilliSec": 96,
"terminal.integrated.enableMultiLinePasteWarning": false,
"ipython.LaunchArguments": "--no-autoindent --matplotlib",
"ipython.SendCommandMethod": "file",
"ipython.StartupCommands": [
"%load_ext autoreload",
"%autoreload 2"
]
user@DESKTOP:~/Python$ source /home/user/.virtualenv/homework/bin/activate
(homework) user@DESKTOP:~/Python$ ipython --no-autoindent --matplotlib --InteractiveShellApp.exec_lines='%load_ext autoreload' --InteractiveShellApp.exec_lines='%autoreload 2'
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.5.0 -- An enhanced Interactive Python. Type '?' for help.
Using matplotlib backend: agg
In [1]: print('Hello, World!') Hello, World!
In [2]:
ok thanks. I'll close the issue!
This empty argument is not necessary and crashes the launch.