| Summary: | Cantor crashes when opening ipynb files | ||
|---|---|---|---|
| Product: | [Applications] cantor | Reporter: | Kishore Gopalakrishnan <kishore96> |
| Component: | general | Assignee: | Cantor Bugs <cantor-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | alexander.semke |
| Priority: | NOR | ||
| Version First Reported In: | 22.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/education/cantor/commit/0a766b7ab72ab6a9d0e75b8e9e388ba420340623 | Version Fixed/Implemented In: | 22.08.2 |
| Sentry Crash Report: | |||
| Attachments: | An example ipynb file (downloaded from https://github.com/flamingbear/ipython-notebooks) which crashes Cantor | ||
|
Description
Kishore Gopalakrishnan
2022-09-25 05:59:57 UTC
(In reply to Kishore Gopalakrishnan from comment #0) > STEPS TO REPRODUCE > 1. From the terminal, run `cantor $path_to_ipynb_notebook_file` > [...] Thanks for reporting this issue. Can you please confirm it doesn't crash if you start Cantor and open that notebook via "Open File" from the main menu and it's only crashing when you start in the command line? (In reply to Alexander Semke from comment #1) > (In reply to Kishore Gopalakrishnan from comment #0) > > STEPS TO REPRODUCE > > 1. From the terminal, run `cantor $path_to_ipynb_notebook_file` > > [...] > > Thanks for reporting this issue. Can you please confirm it doesn't crash if > you start Cantor and open that notebook via "Open File" from the main menu > and it's only crashing when you start in the command line? Confirmed. It does not crash if another file has already been opened in Cantor, and we use File > Open to open the ipynb file. However, it crashes if I open the file (using the same File > Open menu entry) while Cantor is still showing the 'backend selection' wizard (with no files already open). Git commit fd4e9e0e4b9e1c2d346fdc787f76f63a8a795aeb by Alexander Semke. Committed on 02/10/2022 at 16:37. Pushed by asemke into branch 'master'. Show the default help information in the help panel only after the backend was already completely initialized. This avoids the crash when openning project files without having any worksheet tab created yet. FIXED-IN: 22.08.2 M +15 -7 src/cantor.cpp https://invent.kde.org/education/cantor/commit/fd4e9e0e4b9e1c2d346fdc787f76f63a8a795aeb Git commit 0a766b7ab72ab6a9d0e75b8e9e388ba420340623 by Alexander Semke. Committed on 02/10/2022 at 16:38. Pushed by asemke into branch 'release/22.08'. Show the default help information in the help panel only after the backend was already completely initialized. This avoids the crash when openning project files without having any worksheet tab created yet. FIXED-IN: 22.08.2 M +15 -7 src/cantor.cpp https://invent.kde.org/education/cantor/commit/0a766b7ab72ab6a9d0e75b8e9e388ba420340623 (In reply to Kishore Gopalakrishnan from comment #2) > (In reply to Alexander Semke from comment #1) > > (In reply to Kishore Gopalakrishnan from comment #0) > > > STEPS TO REPRODUCE > > > 1. From the terminal, run `cantor $path_to_ipynb_notebook_file` > > > [...] > > > > Thanks for reporting this issue. Can you please confirm it doesn't crash if > > you start Cantor and open that notebook via "Open File" from the main menu > > and it's only crashing when you start in the command line? > > Confirmed. It does not crash if another file has already been opened in > Cantor, and we use File > Open to open the ipynb file. > > However, it crashes if I open the file (using the same File > Open menu > entry) while Cantor is still showing the 'backend selection' wizard (with no > files already open). I did a fix now. Will be included in the next patch release of Cantor 22.08 and in the next release 22.12. Thanks again for reporting this issue. |