lurkbbs / e621dl

The automated download script for e621.net. Originally by @wwyaiykycnf.
11 stars 3 forks source link

Program closes exactly when a Error occurs and can't see what the problem is. #4

Closed huskelord closed 5 years ago

huskelord commented 5 years ago

I noticed that when there is a bug that the program will put a error script but will immediately close after the script comes up. I was wondering if there was a way for the program to know not to close when there is a error but put up a press enter to close message and not close or something similar. Also could you put up a press enter to close when the program has finished.

lurkbbs commented 5 years ago

With shortcuts made in multithreaded code, it's not that simple. I'll do it someday, but until that time you can run e621dl from command line. Just right click on empty space in a folder with e621dl, select "PowerShell" or "Command Line" and type ./e621dl.exe there. This way app won't close window.

Alternatively, place bat file from zip below in a folder with e621dl.exe and run from it. It should give you "press any key to continue" when script ends with or without errors e621_noclose.zip

lurkbbs commented 5 years ago

Also, there is new bug in this update? If there is, can you copy your config.ini here or send me to lurkbbs@gmail.com ?

huskelord commented 5 years ago

No there was not a new bug its was just me having a typo in the folder names causing the game to crash. I had to record the program and stop the video at the time it closed to figure out what was wrong because the error text explained it but I couldent see it.

lurkbbs commented 5 years ago

OK. So, e621_noclose.bat is good enough?

huskelord commented 5 years ago

Yep. I don’t have any problems at all.

On Mon, Feb 25, 2019 at 4:10 PM lurkbbs notifications@github.com wrote:

OK. So, e621_noclose.bat is good enough?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lurkbbs/e621dl/issues/4#issuecomment-467204253, or mute the thread https://github.com/notifications/unsubscribe-auth/AtHF-FXAEY7NEZanWIIbYO1IsTZRNdhkks5vRF9MgaJpZM4bOtqm .