View Single Post
Old 25.07.2020, 17:07
mgpai mgpai is offline
Script Master
Join Date: Sep 2013
Posts: 1,053

Originally Posted by sherbee View Post
Still geting error like: 'Wrapped org.appwork.exceptions.WTFException: \jdownloader\logs\extracting\*.txt'

But it should report error message: 'Log file for archive "" + archive.getName()
+ "" not found.' Right?
That message will be displayed only on 'method of null' error (if 'log' is 'null'). This seems to be a different error which is thrown right at the beginning when executing "archive.getExtractionLog()" method, which disables the script and prevents the rest of the code from being executed.

Alternatively, you can use while loop to check the folder contents of 'open', and execute the script only after it is empty. It might then even work even without 'log = null' check.

Unfortunately I cannot test it since I am unable to reproduce the error. Feel free to find me in JD Chat if need any help with the script/troubleshooting.

Reply With Quote