SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
6.66k stars 783 forks source link

silent crash when files get moved / deleted before slicing #5633

Closed lynara closed 2 days ago

lynara commented 3 months ago

Is there an existing issue for this problem?

OrcaSlicer Version

2.0.0

Operating System (OS)

Windows

OS Version

Windows 11

Additional system information

No response

Printer

Voron 2.4

How to reproduce

  1. load stl file
  2. rename / move / delete the file
  3. load another stl file
  4. press slice button

Actual results

OrcaSlicer crashes silently.

Expected results

OrcaSlicer outputs a warning that the source file could not be found and doesn't crash without any error message.

Project file & Debug log uploads

crash_Sat_Jun_08_10_02_46_0.log

Checklist of files to include

Anything else?

I know its just an edge case but took me some time to figure out the root cause. In multi part prints I often move files to a 'already printed' to keep track of what I already printed. Had to change some parameters afterwards and was confused why this parameter change suddenly caused the slicer to crash.

lynara commented 3 months ago

Okay I just did another few tests, I can't reliably reproduce this. It seems to happen randomly I haven't found a way how this happens every time, but it is definitely connected with files being moved.

github-actions[bot] commented 1 week ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 2 days ago

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.