-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PrusaSlicer 2.4.1 Crashes on opening - Internal Error: invalid STOI Argument #8217
Comments
Can you please ZIP and post your configuration folder ( |
Updated with file attachment. thanks |
@CosmoStarke What @lukasmatena is asking for is the contents of the configuration folder. Use the path Lukas posted and replace "/user/" with your username on that computer. |
K thanks for your patience here is the zip file of that folder |
Is there anything special about the directory where the PrusaSlicer.ini is being saved? Aren't you using some synchronization service as DropBox, Microsoft OneDrive or Google Drive? Isn't it a network drive? Or maybe you have some back-up service running over that directory? This PrusaSlicer.ini corruption is something I am completely out of my wits, even with >20 years of development on Windows. It only happens on Windows and only to PrusaSlicer.ini. |
Thank you for providing the ZIP file of the configuration folder. We've been facing this issue with corrupted PrusaSlicer.ini for a long time, and we still haven't been able to figure out what's really causing it. We created a workaround to reduce the probability of this issue, and you have been the first one with this issue since then. Do you remember if one of the following situations happened sometime before the issue occurred:
Are you using a notebook or a desktop PC?
|
@ bubnikv @hejllikas Q: Are you using a notebook or a desktop PC? |
…uctions on how to recover from it (#8217). Previously when PrusaSlicer.ini was just partly corrupted, it could happen that PrusaSlicer.ini wasn't detected as corrupted, and it could cause that instruction on how to recover from this state wasn't shown, and PrusaSlicer crashed because wrong data from PrusaSlicer.ini was read.
…uctions on how to recover from it (#8217). Previously when PrusaSlicer.ini was just partly corrupted, it could happen that PrusaSlicer.ini wasn't detected as corrupted, and it could cause that instruction on how to recover from this state wasn't shown, and PrusaSlicer crashed because wrong data from PrusaSlicer.ini was read.
…uctions on how to recover from it (#8217). Previously when PrusaSlicer.ini was just partly corrupted, it could happen that PrusaSlicer.ini wasn't detected as corrupted, and it could cause that instruction on how to recover from this state wasn't shown, and PrusaSlicer crashed because wrong data from PrusaSlicer.ini was read.
Very rarely for some unknown reason PrusaSlicer.ini is partially or fully filled in with binary zeros, most likely due to power outage or a bug in hard drive driver. We may only speculate, it may be that Windows kills PrusaSlicer when closing windows, PrusaSlicer does not write the PrusaSlicer.ini file completely or Windows does not flush the disk caches when powering down. We don't know, but we hope we have added another patch to the issue by detecting the null characters in PrusaSlicer.ini as a result of file corruption. The patch is implemented in PrusaSlicer 2.5.0-alpha2. |
Description of the bug
I have a desktop computer running Microsoft Windows and am getting a popup after opening PrusaSlicer 2.4.1 that states "Internal Error: invalid STOI Argument" when I click okay the application does not progress and closes down.
I only started to get this error after upgrading to PrusaSlicer 2.4.1 and before all was working fine. I tried uninstalling and reinstalling the application a number of times but got the same error. Any ideas on what I can do to resolve?
I can access the Prusa G-code viewer app with no issues.
Project file & How to reproduce
click on PrusaSlicer icon
initial popup with "Unhandled unknown exception; terminating the application" error is presented
click "OK" on popup
new popup PrusaSlicer Error appears with "Internal error: invalid STOI argument"
click "OK" on popup and error popup disappears along with PrusaSlicer window
Checklist of files included above
Version of PrusaSlicer
2.4.1
Operating system
WIN 10
Printer model
NA
api-ms-win-crt-runtime-l1-1-0.zip
The text was updated successfully, but these errors were encountered: