-
Notifications
You must be signed in to change notification settings - Fork 0
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
[2.2.0-beta] Error - Missing 'data/InstallationOverride.json' on Fresh Install #1
Comments
sigh I should have read this better, looks like there's a hardcoded path in here to |
I would like to note that I attempted to build from source on this version, but it couldn't find I will grab those from the standalone and update you on how that goes. Edit: Okay, so that continues, but it looks like cx_freeze is trying to access System32... Misconfigured path? Edit 2: Well I know that on Windows at least, the application relies on Microsoft Edge Webview2, is that what's happening here? I'd appreciate some context as having to run the build as administrator is sketching me out. |
Sorry, i apparently put them inside the gitignore for some reason, they are available now!
Not really sure why it's doing that.
I don't think you should be even running the build as admin? you can just run them normally without having to. |
for the main issue, the file should honestly be available at launch as i am checking if the installationOverride.json is missing or not. # path override
if not path.exists("data/installationOverride.json"):
with open("data/installationOverride.json", "w") as file:
default_config = {
"installationPath": ""
}
with open("data/installationOverride.json", 'w') as file:
dump(default_config, file, indent=4) EDIT: could be that its being called early than its supposed to be? i could probably run the installation check inside |
I see.. Well, I suppose I can specify what steps I took to see if something went awry with my process.
After testing with the .gitignore update, it still raises an "access is denied" error (Which I suppose is to be expected because that happened when I borrowed 7zr and the bat file from the releases standalone archive). (.venv) PS C:\Users##USER##\AppData\Local\Programs\rodnmod-main> python setup.py build |
I don't think you're supposed to be building Rod n' Mod inside |
Hmm. Well I am truly confused, I moved it outside of a system folder (To my D:\ drive) and it still tries to access I'll go ahead and troubleshoot best I can on my end, and try to figure out why cx_freeze is trying to access a restricted path. Thank you for your time. |
would just like to chime in and add that i'm also experiencing an update loop - unsure why this is |
@snepderg after getting my breakfast and all, i realized what you're doing wrong. (i think) you are activating the venv with otherwise im not quite sure whats happening at all |
So to be clear, I'm supposed to invoke venv from the project root dir right? I tried it with the commands from the README in the unzip directory:
Unfortunately, nothing has changed. |
hello, @snepderg & @SpaceBoyHmm are you able help me test out this version if this version fixes the issues you guys are experiencing? https://github.com/nyxical420/rodnmod/releases/download/2.2.0-beta/rodnmod-standalone-pyinstTest.zip |
@nyxical420 This works out of the box for me, although I will note that GDWeave and Pyinstaller get Windows Defender a bit riled up. |
ah, that's nice to know! with the antivirus in mind, i may have to re-introduce obfusicating the script to pyarmor then compile it to hopefully prevent antivirus detection. |
i don't think that i'm able to restart rodnmod like the way i used to do it via cx_Freeze. i will be removing the functionality until i figure out a solution for this. |
it will still be restartable when its not compiled, though |
|
No worries, thank you for taking the time to look into this for me, I appreciate the swift responses ^^ |
Trying to clean install Rod n' Mod after having an update loop occur with the previous version. Attempting to launch the application results in this error:
No such file or directory: data/installationOverride.json
Using:
This is just a guess, but maybe this file was already present for an update, causing an error for a fresh install?
Here is the log up until the error:
The text was updated successfully, but these errors were encountered: