JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 07.04.2020, 07:36
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default Bug when file name changed?

I try to find out why happening. But I think its bug:

Normally when download file and extract, it shows Extraction OK.
But when file name has changed, it extracts correct, but not show Extraction OK. It show "Finished".
Also this is when file name is CAPS and in JDownloader is is no caps.

I don't know why rename. It's not manual. The operating system rename when file name already exist. And I think Jdownloader does not notice.
Reply With Quote
  #2  
Old 07.04.2020, 13:41
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 54,483
Default

Hi,

I'am unable to reproduce this here.

Please add a better problem description and testlinks.

Also:

Please post your log-ID here | bitte poste deine Log-ID hier.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 14.06.2020, 07:03
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

Hello. It still happen. But not replicate.

Problem is: Extraction status not display correct in Download list.
Not always but only sometimes.
Most times it show "Extraction OK" when extraction finished succesful.

But sometimes it show "Finished" but extraction log show Succesful.
Even have in extraction log "Failed" but download list show "Finished". But it must show Error Extraction when extraction failed.

So problem is: Status after extraction not correct in download list sometimes. But why? I don't know.

You must have error in update status logic.
Reply With Quote
  #4  
Old 14.06.2020, 17:36
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

:w00t: I think I solved:

When in download list file is 2x then it update wrong package.
I give example:

I download package abc before 1 month and keep in download list.
When I download other with same name abc today it thinks it is package from before and update earlier item in list.
But it must update item of today.

So it not check correctly what item it extract.

So it must not only check name but also id or something to update correct list item.
Reply With Quote
  #5  
Old 15.06.2020, 15:09
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

Can confirm is bug?
Reply With Quote
  #6  
Old 27.06.2020, 13:03
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

@pspzockerscene
Can you confirm now it is bug?
Reply With Quote
  #7  
Old 27.06.2020, 19:29
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 54,483
Default

Sorry, I still don't understand your report ...

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #8  
Old 28.06.2020, 10:30
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

Quote:
Originally Posted by pspzockerscene View Post
Sorry, I still don't understand your report ...

-psp-
Hello,
But why? Ok I say it again.
I don't know if 100% reproduce but I think.

Here is problem again:

1. I download file and extract automatical. In download list status goes from Finished to Extraction OK.
2. I download other file and extract automatical. In download list status still is Finished. But extraction log gives: Successful.

Okay? So problem is: Status not correct from second file after extraction when first file is still in download list.

I think problem is when I download different second file but with same name like first file and first file is in downloadlist.

For reproduce please make:

1. Put automatic extraction on
2. Put in link grabber: **External links are only visible to Support Staff****External links are only visible to Support Staff**
3. Put password: 123
4. Let download
5. Let extract

It must show "Extraction OK", right?

Now follow:

1. Remove archive downloaded from download frolder
2. Remove file extracted.
3. Put in linkk grabber: **External links are only visible to Support Staff****External links are only visible to Support Staff**
4. Put password 123
5. Let download
6. Let extract

Now watch.
It must be now that status of second file is keep "Finished".
Now look extraction log it must say "succesful". So status in downloadlist is wrong it must be "Extraction OK"

Why is this? Ithink because same name (also with upper case and lower case). Jdownlowder must think that second file same file like first file and change status of first file instead.
Proof is when there is error extract with second file then status of first file change to "Extraction Error" but status of second file keeps at "Finished".

So understand now? Sorry for confuse but I think this is what the the problem is now.
Reply With Quote
  #9  
Old 29.06.2020, 13:30
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 54,483
Default

I'm getting an extraction error with your first example URL.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #10  
Old 29.06.2020, 21:22
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

Quote:
Originally Posted by pspzockerscene View Post
I'm getting an extraction error with your first example URL.

-psp-
No. I have tried again. Both link work good and download and extract. No error.

But if error first file no problem. Start with second file and after do extract first file. Then extraction error is show at first file in download list not at second file.

Last edited by sherbee; 30.06.2020 at 08:08.
Reply With Quote
  #11  
Old 30.06.2020, 10:57
jogol jogol is offline
JD Alpha
 
Join Date: Nov 2015
Location: Deutschland
Posts: 20
Default

@psp:

I've had this situation in the past several times too:

Two or more packages with different names contain the same named archives, which have different contents. Then only the first archive is downloaded and extracted, but not downloaded archive in package 2 shows the extraction log from archive in package 1.

I have prepared two different named packages, both contain the same named archives. Both archives contain different files (hope ul.to is no problem for you to test):

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

Pls try to download and extract both in one jD2 session. They contain different named files with different contents in same named archives.

Edit:
When downloaded in different jD2 sessions and extracted manually, the second package/archive is downloaded/extracted correctly (and different from first archive), but shows the extraction log from package 1.

Log ID is here: 30.06.20 11.39.27 <--> 30.06.20 11.48.35 jdlog://9809025302851/

Edit2:
The second time to perform this test to produce Log both archives were downloaded and extracted correctly in contrast to the first try when I wrote the post, but there was only one extraction log from the last extraction showing for both archives.

Last edited by jogol; 30.06.2020 at 12:11. Reason: Annotation and Log ID added
Reply With Quote
  #12  
Old 30.06.2020, 18:48
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

Quote:
Originally Posted by jogol View Post
Edit2:
The second time to perform this test to produce Log both archives were downloaded and extracted correctly in contrast to the first try when I wrote the post, but there was only one extraction log from the last extraction showing for both archives.
Good you can reproduce.
But I think you must first delete first file after download and then download second.
Reply With Quote
  #13  
Old 30.06.2020, 20:25
jogol jogol is offline
JD Alpha
 
Join Date: Nov 2015
Location: Deutschland
Posts: 20
Default

Quote:
Originally Posted by sherbee View Post
Good you can reproduce.
But I think you must first delete first file after download and then download second.
I have experienced in the past that both archives can be downloaded because package names are different and I choose to download everything in different subdirectories with the package name. If you don't download in different subdirectories then it is true that you have to delete the first archive before you can download the second one.

But in both cases only one of the same named archive files gets extracted automatically. I can extract the second one manually using the context menu entry "Archive -> Extract now". In this case the extraction logs of both archive extraction operations are the same, in fact there is only one extraction log file generated in the %localappdata%\JDownloader 2.0\logs\extracting subdirectory. This extraction log file is shown for both archives in context menu "Archive -> Show extraction log".

Last edited by jogol; 30.06.2020 at 20:28.
Reply With Quote
  #14  
Old 01.07.2020, 07:25
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

Quote:
Originally Posted by jogol View Post
If you don't download in different subdirectories then it is true that you have to delete the first archive before you can download the second one.
Yes I put in same folder. But I think my log is correct seperate for each file.

Last edited by sherbee; 01.07.2020 at 07:28.
Reply With Quote
  #15  
Old 28.07.2020, 07:10
sherbee sherbee is offline
JD Fan
 
Join Date: Mar 2019
Posts: 76
Default

Can add: This problem maybe makes new problems. I have found out here: https://board.jdownloader.org/showpo...postcount=1471

Condition for error is almost same. I think method 'archive.getExtractionLog()' is reason for error. It not check, if log is log of correct file but use log for processing.
So method 'archive.getExtractionLog()' not reliable to parse log.

I think you must change and add use of unique file id like file hash, so correct file and log can always identified.

Last edited by sherbee; 28.07.2020 at 07:17.
Reply With Quote
  #16  
Old 28.07.2020, 07:47
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,196
Default

I sent a message to Appwork about this on Monday, though I haven't heard back yet.
They are the ones that code the Eventscripter function and maintain archive extractor, by the sounds of it there is some underling issues re: filenames _2
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

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

Last edited by raztoki; 28.07.2020 at 07:49.
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 04:09.
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 - 2020, Jelsoft Enterprises Ltd.