Closed danielcs88 closed 1 year ago
Hi,
Thanks for the detailed bug report. I've not able to reproduce this yet, unfortunately.
Could you send your euporie configuration? (~/Library/Application Support/euporie/config.json
on MacOS, possibly).
Also, do you have any ipython
start-up scripts which could be affecting things?
~/Library/Application Support/euporie/config.json
{
"syntax_theme": "dracula",
"autoformat": true,
"autocomplete": true,
"notebook": {
"show_cell_borders": true,
"background_pattern": 4,
"edit_mode": "micro",
"syntax_theme": "dracula",
"set_cursor_shape": false,
"always_show_tab_bar": false,
"show_side_bar": false,
"color_scheme": "default",
"show_top_bar": true,
"expand": true
},
"console": {
"syntax_theme": "dracula"
}
}
iPython
startupI do have startup scripts running at startup but mainly helper functions.
I suspect it might be a configuration on my ipython_config.py
file. Recently, on an update, iPython's auto suggest wasn't working properly and the fix was the last line of the following configuration options: `
c = get_config()
c.TerminalInteractiveShell.highlighting_style = "dracula"
c.TerminalInteractiveShell.true_color = True
c.TerminalInteractiveShell.editor = "micro"
c.InteractiveShell.color_info = True
c.TerminalInteractiveShell.highlight_matching_brackets = True
c.TerminalInteractiveShell.autoformatter = "black"
# Last line option
c.TerminalInteractiveShell.shortcuts = [
{"command": "IPython:auto_suggest.resume_hinting", "new_keys": []}
]
I'll check on my end if disabling this option resolves the Euporie crash.
~/Library/Application Support/euporie/config.json
{ "syntax_theme": "dracula", "autoformat": true, "autocomplete": true, "notebook": { "show_cell_borders": true, "background_pattern": 4, "edit_mode": "micro", "syntax_theme": "dracula", "set_cursor_shape": false, "always_show_tab_bar": false, "show_side_bar": false, "color_scheme": "default", "show_top_bar": true, "expand": true }, "console": { "syntax_theme": "dracula" } }
iPython
startupI do have startup scripts running at startup but mainly helper functions.
I suspect it might be a configuration on my
ipython_config.py
file. Recently, on an update, iPython's auto suggest wasn't working properly and the fix was the last line of the following configuration options: `c = get_config() c.TerminalInteractiveShell.highlighting_style = "dracula" c.TerminalInteractiveShell.true_color = True c.TerminalInteractiveShell.editor = "micro" c.InteractiveShell.color_info = True c.TerminalInteractiveShell.highlight_matching_brackets = True c.TerminalInteractiveShell.autoformatter = "black" # Last line option c.TerminalInteractiveShell.shortcuts = [ {"command": "IPython:auto_suggest.resume_hinting", "new_keys": []} ]
I'll check on my end if disabling this option resolves the Euporie crash.
Update: Still crashing.
Thanks - I've fixed this and made a new release, v2.4.3
.
This issue occurred when the type of a completion contained a space, which was happening with "dict key" completions.
Euporie freezes into an error when typing
df[
. This is very common operation in Pandas, as typingdf[column]
.I've recorded a video of the crash.
I'm using iTerm2 in MacOS with CSI u mode or WezTerm with the suggested settings.
Traceback
conda list