← Back to team overview

keryx team mailing list archive

Re: The windows keryx

 

I see you are having the same problem I ran into. Its a known issue and will be fixed in Keryx 1.0 with urlgrabber.

When the current code used for downloading (urllib), loses its connection, it is not smart enough to know its reached a dead end. It just freezes waiting for more data on a closed connection. Urlgrabber I do believe will fix this by realizing the connection is lost and attempting to re-establish it to resume the download. It is not implemented yet.

So till then, force quit keryx with task manager, and run the VerifyChecksums.py script to delete the partial downloads so that they get redownloaded when you rerun keryx.

How to run VerifyChecksums.py: (assuming you have python installed :)

On the Windows command line, (do 'Start'>'Run'>'cmd' [Enter] in WinXP, and in Vista just leave out the 'Run' thing, to get there) type "cd " and the path to your project folder, something like "E:\keryx_0.92.3\projects\<projectname>\" all on one line. Note the space in the 'cd '. And replace '<projectname>' with your projects name. Then press [Enter]. Of course only type whats between the quotes "".
Now type in exactly "python ..\..\doc\VerifyChecksums.py" and press [Enter].

It should run the script which makes sure the packages are all properly downloaded and deletes any deb files that are incomplete. That way keryx will redownload that package instead of skipping it next time.

If you don't have python installed then memorize which file keryx is working on when it freezes and (after force quitting keryx) go into the 'packages' folder inside your projects folder and manually delete the file with the memorized name.

This is a quick and dirty fix, yes. But keryx is a work in progress. Please bear with us.

-jacseen


Imran wrote:
I downloaded keryx to get some updates for my offline computer. I really appreciate the software. But there seems to be a problem. If for any reason i lose connectivity during download the progress seems to stop. It shows that it is still downloading but it gets stuck at the same percentage. And the download cant be cancelled unless i end the process from the task manager.

References