jixxed / ed-odyssey-materials-helper

Elite Dangerous Odyssey Materials Helper
233 stars 37 forks source link

no error log, won't run. #385

Closed tounsicorp closed 2 months ago

tounsicorp commented 2 months ago

App no longer runs, no assistance, prompt closes too fast to catch the error and..?? no logs??

jixxed commented 2 months ago

try backing up and removing your app settings %localappdata%\odyssey-materials-helper

jixxed commented 2 months ago

logs are in %localappdata%\Elite Dangerous Odyssey Materials Helper Launcher\log

Banjomel commented 2 months ago

I have this problem. Log says :

2024-08-22 14:42:40 ERROR n.j.e.domain.ApplicationState - error acquiring lock java.io.FileNotFoundException: C:\Users\Mel\AppData\Local\odyssey-materials-helper\lock (Access is denied) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(Unknown Source) at java.base/java.io.FileOutputStream.(Unknown Source) at java.base/java.io.FileOutputStream.(Unknown Source) at nl.jixxed.eliteodysseymaterials/nl.jixxed.eliteodysseymaterials.domain.ApplicationState.isLocked(Unknown Source) at nl.jixxed.eliteodysseymaterials/nl.jixxed.eliteodysseymaterials.Main.main(Unknown Source)

Regards, Mel

jixxed commented 2 months ago

You can check for the existence of the file. It seems to be related to the app being ran with elevated privileges. You should never run the app as Admin. The app will ask you when it needs more privileges. You might consider backing up C:\Users\Mel\AppData\Local\odyssey-materials-helper and then removing the folder to see if that resolves your issue.

Banjomel commented 2 months ago

Thanks for your reply. I tried running as Admin because after the software updates it goes to 'running' and then the animation just disappears with nothing further happening. I've installed and uninstalled several times to no avail.

This last install a few minutes ago gave this error in the log (I think it's the same as the previous error). I did not elevate this to running as admin.

2024-08-22 19:24:40 ERROR n.j.e.domain.ApplicationState - error acquiring lock java.io.FileNotFoundException: C:\Users\Mel\AppData\Local\odyssey-materials-helper\lock (Access is denied)       at java.base/java.io.FileOutputStream.open0(Native Method)       at java.base/java.io.FileOutputStream.open(Unknown Source)       at java.base/java.io.FileOutputStream.(Unknown Source)       at java.base/java.io.FileOutputStream.(Unknown Source)       at nl.jixxed.eliteodysseymaterials/nl.jixxed.eliteodysseymaterials.domain.ApplicationState.isLocked(Unknown Source)       at nl.jixxed.eliteodysseymaterials/nl.jixxed.eliteodysseymaterials.Main.main(Unknown Source)

Regards, Mel


From: Aram @.> Sent: 22 August 2024 18:51 To: jixxed/ed-odyssey-materials-helper @.> Cc: Banjomel @.>; Comment @.> Subject: Re: [jixxed/ed-odyssey-materials-helper] no error log, won't run. (Issue #385)

You can check for the existence of the file. It seems to be related to the app being ran with elevated privileges. You should never run the app as Admin. The app will ask you when it needs more privileges. You might consider backing up C:\Users\Mel\AppData\Local\odyssey-materials-helper and then removing the folder to see if that resolves your issue.

— Reply to this email directly, view it on GitHubhttps://github.com/jixxed/ed-odyssey-materials-helper/issues/385#issuecomment-2305321884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APIA3UUANF4KTXJK7WHZQ7TZSYQKPAVCNFSM6AAAAABMLIG7AKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVGMZDCOBYGQ. You are receiving this because you commented.Message ID: @.***>

Banjomel commented 2 months ago

Hi,

Removing that folder allowed the program to run. Thanks for the solution.

Do I need to copy that folder back ?

Regards, Mel


From: Mel Evans @.> Sent: 22 August 2024 19:29 To: jixxed/ed-odyssey-materials-helper @.> Subject: Re: [jixxed/ed-odyssey-materials-helper] no error log, won't run. (Issue #385)

Thanks for your reply. I tried running as Admin because after the software updates it goes to 'running' and then the animation just disappears with nothing further happening. I've installed and uninstalled several times to no avail.

This last install a few minutes ago gave this error in the log (I think it's the same as the previous error). I did not elevate this to running as admin.

2024-08-22 19:24:40 ERROR n.j.e.domain.ApplicationState - error acquiring lock java.io.FileNotFoundException: C:\Users\Mel\AppData\Local\odyssey-materials-helper\lock (Access is denied)       at java.base/java.io.FileOutputStream.open0(Native Method)       at java.base/java.io.FileOutputStream.open(Unknown Source)       at java.base/java.io.FileOutputStream.(Unknown Source)       at java.base/java.io.FileOutputStream.(Unknown Source)       at nl.jixxed.eliteodysseymaterials/nl.jixxed.eliteodysseymaterials.domain.ApplicationState.isLocked(Unknown Source)       at nl.jixxed.eliteodysseymaterials/nl.jixxed.eliteodysseymaterials.Main.main(Unknown Source)

Regards, Mel


From: Aram @.> Sent: 22 August 2024 18:51 To: jixxed/ed-odyssey-materials-helper @.> Cc: Banjomel @.>; Comment @.> Subject: Re: [jixxed/ed-odyssey-materials-helper] no error log, won't run. (Issue #385)

You can check for the existence of the file. It seems to be related to the app being ran with elevated privileges. You should never run the app as Admin. The app will ask you when it needs more privileges. You might consider backing up C:\Users\Mel\AppData\Local\odyssey-materials-helper and then removing the folder to see if that resolves your issue.

— Reply to this email directly, view it on GitHubhttps://github.com/jixxed/ed-odyssey-materials-helper/issues/385#issuecomment-2305321884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APIA3UUANF4KTXJK7WHZQ7TZSYQKPAVCNFSM6AAAAABMLIG7AKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVGMZDCOBYGQ. You are receiving this because you commented.Message ID: @.***>

jixxed commented 2 months ago

reinstalling the app does nothing, because all the application settings are persisted between installations. that is the folder you just removed, effectively making your current installation a clean installation. The folder contains all your wishlists and loadouts that you created. if you didn't have any or don't care about them, you can delete the backup. otherwise you would have to carefully replace the contents of the relevant files. don't replace the files, since that might copy back wrong permissions. all would need to be done while the app isn't running.