Pherakki / SimpleDSCSModManager

A poorly-named mod manager for the PC release of Digimon Story: Cyber Sleuth Complete Edition.
GNU General Public License v3.0
17 stars 10 forks source link

Crash when trying to open locked file #6

Closed SydMontague closed 2 years ago

SydMontague commented 3 years ago

When trying to open files that are locked by another process (for example LibreOffice) it will fail and hard crash.

Expected would be a regular error message in the log.

Crash log:


Traceback (most recent call last):
  File "CodeHandlers\DSCSToolsMBEWorker.py", line 85, in raise_exception
CodeHandlers.DSCSToolsMBEWorker.ScriptHandlerError: (RuntimeError('Something is wrong with input stream'), 'item_name.mbe')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "CodeHandlers\DSCSToolsMBEWorker.py", line 90, in raise_exception
  File "CodeHandlers\DSCSToolsMBEWorker.py", line 144, in run
  File "CodeHandlers\DSCSToolsHandler.py", line 115, in pack_mbe
RuntimeError: Something is wrong with input stream```
Pherakki commented 2 years ago

Fixed in next PR