Kenya-DK / quantframe-react

https://quantframe.app/
Other
61 stars 16 forks source link

Error when launching quantframe executable on windows #25

Closed Heavenly47 closed 2 months ago

Heavenly47 commented 2 months ago

The error reads:

[2024-09-18 05:46:37] [CRITICAL] [AuthState] Error: "src\auth.rs:67:91", "expected value at line 1 column 1" [2024-09-18 05:46:37] [CRITICAL] [Panic] Panic: PanicInfo { payload: Any { .. }, message: Some(state not managed for field auth on command init. You must call .manage() before using this command), location: Location { file: "C:\Users\Kenya\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-1.5.2\src\state.rs", line: 51, col: 7 }, can_unwind: true, force_no_backtrace: false }

I am not an expert and do not know how to fix this, but it looks like it is searching for a script in the repository on the computer it was programmed on.

Kenya-DK commented 2 months ago

And what dit y do to get this error

Heavenly47 commented 2 months ago

I installed Quantframe via the Quantframe_1.0.4_x64_en-US windows installer and ran the accompanying Quantframe exe. This error was happening for a couple months, so I recently uninstalled and reinstalled quant and it is still happening.

Edit: I just uninstalled and reinstalled it one more time and it is still happening. I also tried installing it to my C drive instead of F but no luck

Kenya-DK commented 2 months ago

Try to delete the C:\Users\%USERPROFILE%\AppData\Local\dev.kenya.quantframe/auth.json

Heavenly47 commented 2 months ago

That solution worked! Thank you

Kenya-DK commented 2 months ago

godi