narrowtux / SmartModInserter

Manages mods for factorio
GNU Lesser General Public License v3.0
38 stars 12 forks source link

Doesn't start on linux, unhelpful error message #1

Closed YPetremann closed 8 years ago

YPetremann commented 9 years ago

When I try to start this tool on linux I get :

$ java -jar FactorioModManager-0.2.0.jar 
Exception in Application start method
Jul 29, 2015 11:01:27 PM com.narrowtux.fmm.dirwatch.SimpleDirectoryWatchService run
INFO: Starting file watcher service.

And it stop.

narrowtux commented 9 years ago

ah that shitty javafx exception collection "service" just omits it. I'll see how I can reenable it and I'll send you another jar you can test.

YPetremann commented 9 years ago

I think I've found the problem here ...

Your program crash because I use it on linux and you haven't defined a way to do things when things are not defined, in that case it correspond to this message.

 // linux users have to define everything themselves

But how ?

I think you should have like factorio a setting file always at a specific position relative to the executable so if it doesn't exist, it would create it and all of the folders needed. Then it would try to autodetect from common locations (absolute and relative to the executable). Finally it would ask the user for which directory to use.

narrowtux commented 9 years ago

Whenever a path has not been automatically found, the settings window should appear promting the user to define this.

YPetremann notifications@github.com schrieb am Do., 6. Aug. 2015 um 23:07 Uhr:

I think I've found the problem here ...

Your program crash because I use it on linux and you haven't defined a way to do things when things are not defined, in that case it correspond to this message.

// linux users have to define everything themselves

But how ?

I think you should have like factorio a setting file always at a specific position relative to the executable so if it doesn't exist, it would create it and all of the folders needed. Then it would try to autodetect from common locations (absolute and relative to the executable). Finally it would ask the user.

— Reply to this email directly or view it on GitHub https://github.com/narrowtux/FactorioModManager/issues/1#issuecomment-128507686 .