vuapo-eth / isf-jclient

java console client for the IOTA Spam Fund (http://iotaspam.com)
MIT License
17 stars 5 forks source link

Crash while writing logfile #2

Closed svenger87 closed 6 years ago

svenger87 commented 6 years ago

Spammer crashes constantly while trying to write logfile on Windows 10 and Ubuntu Xenial:

[17:12:18] [FileMngr] [ERR] C:\Users\Admin\Desktop\spammer\logs\2018-02-08_17-11-18.txt (Das System kann den angegebenen Pfad nicht finden)  java.io.FileNotFoundException: C:\Users\Admin\Desktop\spammer\logs\2018-02-08_17-11-18.txt (Das System kann den angegebenen Pfad nicht finden) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(Unknown Source) at java.io.FileOutputStream.(Unknown Source) at java.io.FileOutputStream.(Unknown Source) at iota.FileManager.write(FileManager.java:96) at iota.ui.UIManager.saveLogs(UIManager.java:65) at iota.ui.UIManager.print(UIManager.java:51) at iota.ui.UIManager.logPln(UIManager.java:75) at iota.ui.UIManager.logInf(UIManager.java:78) at iota.LogThread.run(LogThread.java:59)  [17:12:18] [FileMngr] [DBG] program will be terminated now due to above error

vuapo-eth commented 6 years ago

should be fixed in v1.0.1

svenger87 commented 6 years ago

Nope. Sadly not. logs directory is next to binary file.:

image

vuapo-eth commented 6 years ago

v1.0.2 should do it! :smile:

svenger87 commented 6 years ago

Fixed :)