JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.04.2015, 06:26
weblurker weblurker is offline
Linkgrabbing Monster
 
Join Date: Mar 2009
Posts: 84
Default JD1 no longer saving and restoring the download queue?

Hello.

I entered some download links into the JD1 Download queue, for files hosted on keep2share.cc. After exiting JD1 and then restarting it the next day, the Download queue was empty.

I tried 3 tests this just now:

- Entered download links into the JD1 queue, exited, restarted.

- Entered download links, hit File, Save, Save Linklist, exited, restarted.

- Entered download links, hit File, Save, Backup, exited, restarted.

In all three cases, when JD1 started up again, the Download queue was empty.

Is there an option that must be enabled so that JD1 will save and restore the download list?

Where does JD1 store the download queue? Maybe that file was accidentally set to read only.
Reply With Quote
  #2  
Old 04.04.2015, 06:53
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,219
Default

Please check /config/database.script, if it's too big, you need to increase Java heap space, or reduce the number of links.
__________________
FAQ: How to upload a Log
Reply With Quote
  #3  
Old 04.04.2015, 08:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

start java with more memory
java -Xmx1024m -jar JDownloader.jar
in command shell (cmd.exe)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 04.04.2015, 08:45
weblurker weblurker is offline
Linkgrabbing Monster
 
Join Date: Mar 2009
Posts: 84
Default

Quote:
Originally Posted by tony2long View Post
Please check /config/database.script, if it's too big, you need to increase Java heap space, or reduce the number of links.
The database.script file is 6,024KB. Is that too big?

I entered only one link from Keep2share.cc into the download queue.

Last edited by weblurker; 04.04.2015 at 08:51.
Reply With Quote
  #5  
Old 04.04.2015, 08:51
weblurker weblurker is offline
Linkgrabbing Monster
 
Join Date: Mar 2009
Posts: 84
Default

Quote:
Originally Posted by Jiaz View Post
start java with more memory
java -Xmx1024m -jar JDownloader.jar
in command shell (cmd.exe)
I used that command line to start JD1.

After JD1 came up, I entered a K2S.cc link, waited for a minute, then exited JD1 using the "X" button on the top right corner.

I then started JD1 using the java -Xmx1024m -jar JDownloader.jar command line and when it started, the download queue was empty.

BTW, sometimes I run JD1 and JD2 at the same time. (FWIW, the reconnect script for my Dlink router doesn't work in JD2 but does work in JD1. Also, the deep link inspection in JD1 works on a web site to extract mp3 files. The JD2 deep inspection doesn't work on that site.).

I tried a few more tests.

- Shut down all programs. Started JD1 from the desktop icon, entered a single K2S.CC link, waited, exited JD1. Then I restarted JD1. The download queue was empty.

- Shut down all programs. Started JD1 from the command line java -Xmx1024m -jar JDownloader.jar, entered a single K2S.CC link, waited, exited JD1, restarted JD1. The download queue was empty.

JD2 doesn't have this problem, only JD1.

AFAIK, no one else has mentioned this problem, there must be something specific to my system.

Perhaps the database.script file is too big or has been corrupted.

Last edited by weblurker; 04.04.2015 at 09:08.
Reply With Quote
  #6  
Old 04.04.2015, 10:52
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,219
Default

Quote:
Originally Posted by weblurker View Post
The database.script file is 6,024KB. Is that too big?

I entered only one link from Keep2share.cc into the download queue.
Less then 10 MB is not too big, maybe It's broken or corrupted.
Try remove some links instead of add links.
If still fails, try delete all links or start with empty list (settings will be requested).
__________________
FAQ: How to upload a Log
Reply With Quote
  #7  
Old 04.04.2015, 12:00
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,233
Default

if you assume config/ is corrupted, adding and deleting objects inside JDownloader interface is pointless. Your better off closing JD, renaming config/ to config.old/ and restarting (this will create new configs).
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 05.04.2015 at 03:19.
Reply With Quote
  #8  
Old 04.04.2015, 20:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

I also guess the config is broken. Backup the folder and then delete it / rename it.
Then JDownloader 1 config should work again.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 05.04.2015, 02:21
weblurker weblurker is offline
Linkgrabbing Monster
 
Join Date: Mar 2009
Posts: 84
Default

Quote:
Originally Posted by Jiaz View Post
I also guess the config is broken. Backup the folder and then delete it / rename it.
Then JDownloader 1 config should work again.
That worked.

FWIW, the database.script file was about 400K in the new constructed config folder compared to about 6M in the old one.
Reply With Quote
  #10  
Old 05.04.2015, 09:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Thanks for the feedback. In old JD1, as all is saved within a single file, a corruption of that file causes very bad problems. In JD2 this no longer can happen.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 05.04.2015, 21:02
weblurker weblurker is offline
Linkgrabbing Monster
 
Join Date: Mar 2009
Posts: 84
Default

Quote:
Originally Posted by Jiaz View Post
Thanks for the feedback. In old JD1, as all is saved within a single file, a corruption of that file causes very bad problems. In JD2 this no longer can happen.
I suspect what happened was a result of occasionally downloading podcasts from a sports web page.

I have to use the deep link inspection feature of JD1, which can detect the mp3 file but also finds all the icons and other objects on the web page.

A few times, I've accidentally sent all the detected objects into the download queue, which can add up to 300+ entries. I clear the download queue as fast as I can before everything is downloaded.

But that big load of entries is likely why the database.script file was so big and probably why it became corrupted.

Is there any way to shrink the size of that file and correct the corruption but also preserve the settings?
Reply With Quote
  #12  
Old 05.04.2015, 22:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

JDownloader does this automatically in case it still can work with database. I would finish links and then start with fresh config
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 06.04.2015, 02:28
weblurker weblurker is offline
Linkgrabbing Monster
 
Join Date: Mar 2009
Posts: 84
Default

Quote:
Originally Posted by Jiaz View Post
JDownloader does this automatically in case it still can work with database. I would finish links and then start with fresh config
OK, thanks.

I noticed your post about JD1 no longer being updated in the file host forum.

So I think I'll switch to JD2 and find some other way to download the mp3 podcast files, other than using JD1.
Reply With Quote
  #14  
Old 06.04.2015, 09:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

why not continue to use jd? it seems you used it before, why change now?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 06.04.2015, 10:32
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,233
Default

JD1 and JD2 should be able to download the podcast using the deep decrypt method. In JD2 you can filter results via file type or filename and just add the audio you want, and delete the rest.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #16  
Old 07.04.2015, 02:48
weblurker weblurker is offline
Linkgrabbing Monster
 
Join Date: Mar 2009
Posts: 84
Default

Quote:
Originally Posted by Jiaz View Post
why not continue to use jd? it seems you used it before, why change now?
JD1 takes quite a long time to load and I'd prefer to run just one program. JD1 was able to handle the podcast download and everything else as well.

I found that I can use the Firefox "View Page", then "Media", which brings up a list of all the objects on that podcast web page. I can then save the mp3 from the object list.

I'm always running Firefox anyway, so I'll use JD2 as the download manager and Firefox to download the podcasts.

Quote:
Originally Posted by raztoki View Post
JD1 and JD2 should be able to download the podcast using the deep decrypt method. In JD2 you can filter results via file type or filename and just add the audio you want, and delete the rest.

raztoki
JD1 deep decrypt was able to find all the objects on the web page but the JD2 deep decrypt usually comes up with an empty list. JD2 generally can do everything JD1 does, except for that one thing.

If you're curious, this is an example of a podcast link:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

JD1 brings up a big list of objects and one of them is the mp3 file. JD2 displays one file link, which is listed as offline.
Reply With Quote
  #17  
Old 07.04.2015, 10:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

It's a bug. Will fix it as soon as possible

Yes JD1 works and JD2 only finds one link -> bug
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 08.04.2015, 08:06
weblurker weblurker is offline
Linkgrabbing Monster
 
Join Date: Mar 2009
Posts: 84
Default

Quote:
Originally Posted by Jiaz View Post
It's a bug. Will fix it as soon as possible

Yes JD1 works and JD2 only finds one link -> bug
Thanks.

BTW, I suspect if you enter that link into JD1 and then send the big list of objects into the download queue, you'll probably replicate the database.script corruption that prevents JD1 from saving and then restoring the download queue.
Reply With Quote
  #19  
Old 08.04.2015, 09:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Many links do not cause database.script corruption. There are many possible causes for this. Java crashes/JDownloader kills/PC Shutdown without closing JDownloader.....
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 21:37.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.