wonderunit / storyboarder

✏️ Storyboarder makes it easy to visualize a story as fast you can draw stick figures.
https://wonderunit.com/storyboarder
3.2k stars 298 forks source link

Bug Report Title: Storyboarder Fails to Load Existing pref.json File while exporting to video #2553

Open ianparra opened 3 months ago

ianparra commented 3 months ago

Hi, I am truly enjoying this software. Thanks for providing such a powerful and fun tool! However, I am experiencing issues with exporting to video.

Description: Storyboarder is unable to load the existing pref.json file located in C:\Users\computer\AppData\Roaming\Storyboarder. Despite the file being present and correctly formatted, the application throws an ENOENT error indicating that the file or directory could not be found, and subsequently loads default preferences.

Steps to Reproduce:

Open Storyboarder. Wait for the application to attempt loading preferences. Expected Behavior: Storyboarder should successfully read the pref.json file and apply the saved preferences.

Actual Behavior: The application fails to read the pref.json file, throwing the following error:

[2024-07-20 17:45:33.370] [info] Loading preferences from C:\Users\computer\AppData\Roaming\Storyboarder\pref.json [2024-07-20 17:45:33.380] [error] Could not read prefs. Loading defaults. [2024-07-20 17:45:33.383] [error] Error: ENOENT: no such file or directory, open 'C:\Users\computer\AppData\Roaming\Storyboarder\pref.json' As a result, Storyboarder loads default preferences instead.

Environment:

Storyboarder Version: [Insert Version Number] Operating System: Windows 10 User Directory: C:\Users\computer\AppData\Roaming\Storyboarder\ pref.json File Contents:

{ "version": "2.1.0", "enableDrawingSoundEffects": false, "enableDrawingMelodySoundEffects": true, "enableUISoundEffects": false, "enableHighQualityAudio": false, "enableTooltips": true, "enableAspirationalMessages": true, "defaultBoardTiming": "1000", "pomodoroTimerMinutes": 25, "importTargetLayer": "reference", "enableCanvasPaintingOpacity": true, "enableBrushCursor": true, "enableStabilizer": true, "enableAnalytics": true, "enableAutoSave": true, "enableForcePsdReloadOnFocus": true, "enableDiagnostics": false, "lastUsedFps": 24, "allowNotificationsForLineMileage": true, "enableNotifications": true, "import": { "offset": [ 0, 0 ], "skipBlankBoards": true }, "enableBoardAudition": true, "enableHighQualityDrawingEngine": true, "straightLineDelayInMsecs": 650, "enableWatermark": true, "recentDocuments": [ { "boards": 2, "time": 1722203908393, "title": "monkey_storyboard_01", "filename": "D:\Users\computer\Pictures\projects\sideHustle\monkey\monkey_storyboard_01\monkey_storyboard_01.storyboarder" }, { "boards": 2, "time": 1721538994166, "title": "test_storyboard", "filename": "D:\Users\computer\Pictures\projects\sideHustle\test_storyboard\test_storyboard.storyboarder" } ], "toolbar": { "tools": { "light-pencil": { "color": 9489401, "palette": [ 13619151, 10463450, 9489401 ], "strokeOpacity": 1 }, "brush": { "color": 9489401, "palette": [ 5090293, 6323595, 10395294 ], "strokeOpacity": 1 }, "tone": { "color": 1452607, "palette": [ 1452607, 1452607, 1452607 ], "strokeOpacity": 1 }, "pencil": { "color": 1184274, "palette": [ 3618615, 2240817, 1184274 ], "strokeOpacity": 1 }, "pen": { "color": 0, "palette": [ 3618615, 2240817, 0 ], "strokeOpacity": 1 }, "note-pen": { "color": 16007990, "palette": [ 5025616, 16750592, 16007990 ], "strokeOpacity": 1 }, "eraser": { "color": 16777215, "palette": [ 16777215, 16777215, 16777215 ], "strokeOpacity": 1 } }, "captions": false }, "absolutePathToImageEditor": "C:\Program Files\Adobe\Adobe Photoshop 2020\Photoshop.exe" } Additional Information:

The pref.json file and directory have been verified to exist. File and directory permissions have been checked and are set to allow full control. The application is being run with administrator privileges. No other applications are locking the file or directory.

lucasnwd commented 3 months ago

I'm having the same problem with the AppImage in the Linux Mint. It just doesn't open.