Closed makuru-dd closed 2 years ago
Hi, you are correct - it tries to save in the system location (on Linux, wherever starsector.sh
is located). I'll make this non-fatal, in the meantime create the file (stelnet.log
) manually and give yourself ownership of it (user / group).
i did and now it starts, thanks for the help
Fixed in #90. @Makuru-DD could you test it if I gave you a build?
@jaghaimo: ok, how do i build the mod?
You don't. Here's the build: stelnet-2.6.1-rc2.zip
jup its doing it's job, it loads
java.io.FileNotFoundException: stelnet.log (Keine Berechtigung) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.
(FileOutputStream.java:213) at java.io.FileOutputStream. (FileOutputStream.java:101) at java.io.PrintWriter. (PrintWriter.java:184) at stelnet.util.Reporter.generate(Reporter.java:14) at stelnet.StelnetMod.onApplicationLoad(StelnetMod.java:31) at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source) at com.fs.state.AppDriver.begin(Unknown Source) at com.fs.starfarer.combat.CombatMain.main(Unknown Source) at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source) at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:748) 12416 [Thread-4] DEBUG stelnet.util.ConfigConstants - Reading config file 12416 [Thread-4] INFO com.fs.starfarer.loading.LoadingUtils - Loading JSON from [stelnet.json]
im using an aur package and it probably ones to save in an restricted location
possible fixes: make it to only give an error message or add redundant save location like the mod directory
error code 97929 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.io.FileNotFoundException: stelnet.log (Keine Berechtigung)