Checkpointing downloads fails


#1

i have a download running. when i close tribler (7.4.0-exp3), i see the text “checkpointing downloads” and get a lot of exceptions in the console:

INFO 1576193015.77 connection:198 (Socks5Connection) Closing session, reason stopping
INFO 1576193015.77 connection:198 (Socks5Connection) Closing session, reason unspecified
INFO 1576193015.77 connection:198 (Socks5Connection) Closing session, reason unspecified
INFO 1576193015.77 connection:198 (Socks5Connection) Closing session, reason unspecified
INFO 1576193015.81 Session:562 (Session) Tribler shutdown state notification:Shutting down TrustChain Community…
INFO 1576193015.84 Session:562 (Session) Tribler shutdown state notification:Shutting down IPv8…
INFO 1576193015.85 Session:562 (Session) Tribler shutdown state notification:Saving configuration…
INFO 1576193015.85 Session:562 (Session) Tribler shutdown state notification:Checkpointing Downloads…
ERROR 1576193016.81 LibtorrentDownloadImpl:805 (LibtorrentDownloadImpl) Resume data failed to save: <class ‘Tribler.Core.exceptions.SaveResumeDataError’>: torrent has no metadata
ERROR 1576193016.82 LibtorrentDownloadImpl:805 (LibtorrentDownloadImpl) Resume data failed to save: <class ‘Tribler.Core.exceptions.SaveResumeDataError’>: torrent has no metadata
ERROR 1576193016.82 LibtorrentDownloadImpl:805 (LibtorrentDownloadImpl) Resume data failed to save: <class ‘Tribler.Core.exceptions.SaveResumeDataError’>: torrent has no metadata
ERROR 1576193016.82 LibtorrentDownloadImpl:805 (LibtorrentDownloadImpl) Resume data failed to save: <class ‘Tribler.Core.exceptions.SaveResumeDataError’>: torrent has no metadata
ERROR 1576193016.82 LibtorrentDownloadImpl:805 (LibtorrentDownloadImpl) Resume data failed to save: <class ‘Tribler.Core.exceptions.SaveResumeDataError’>: torrent has no metadata
ERROR 1576193016.82 LibtorrentDownloadImpl:805 (LibtorrentDownloadImpl) Resume data failed to save: <class ‘Tribler.Core.exceptions.SaveResumeDataError’>: torrent has no metadata
WARNING 1576193072.73 LibtorrentMgr:513 (LibtorrentMgr) Handle (valid:True, metadata:False) - returning None as metainfo lookup result

Then the gui just does nothing, i have to kill the process.


#2

I see that fault as well


#3

@tribler55 @HardcoreGames Thank you for the report. Is it happening in Windows?


#4

yes, windows 10 ltsc x64 - did not yet try it on linux


#5

@tribler55 Thank you for your response. There will be some fixes in 7.4.0 which will likely fix this issue.


#6

This happens on My Lenovo laptop with Windows 7.


#7

Thanks, 7.4.0 seems to have a lot of the kinks straightened out


#8

not for me, still the same behaviour in 7.4.0


#9

7.4.1 just surfaced

download that and try it out, I am downloading it now


#10

This error means there is an offending (broken) checkpoint file in your “dlcheckpoints” folder in Tribler state dir. If you could send us the offending file, that will help us greatly to debug the issue.


#11

just updated to 7.4.1 and will see how this behaves now.
where can i find that file? running currently on windows

edit:
still the same behaviour


#12

On Windows, the Tribler directory is located in your Users dir. The path should be something like:

c:\users\<Your Username>\appdata\Roaming\.Tribler\7.4.X\dlcheckpoints — new version (7.4.X and later )
c:\users\<Your Username>\appdata\Roaming\.Tribler\dlcheckpoints — older versions (7.3.2 and earlier)

Note that appdata dir is a hidden one, so you should either enable Show hidden files and dirs in Explorer, or enter the path directly in Explorer’s address bar.
dlcheckpoints dir contains *.conf files - these are all your saved downloads.

If you don’t mind the privacy issue, send them all to us :wink:


#13

i use tribler only to download some audio files, so i dont mind the privacy issue that much as this is legal in my country :slight_smile:


#14

what i noticed: i have a lot of .conf files, i guess most of them are because of mining. i only downloaded maybe 5 or 6 discographies, expecting only 5-6 *.conf files


#15

have you been able to check those files?


#16

Yep, we used your files to fix the issue today for 7.4.2 release. Thanks!


#17

i just installed 7.4.2 but now my downloads are gone…? i dont see them anymore. my balance is also 0.0 MB


#18

There is an error in the upgrade procedure, it was reported a few minutes ago. We are working on a hotfix now, it will be released today.

What version did ran last before upgrading to 7.4.2 ?


#19

BTW, don’t worry, your balance/downloads/DB are fine. You just need to go to the earlier version of Tribler (like 7.4.1).


#20

7.4.1 was running before the upgrade