On 2011-04-26 01:38, Jonathan Nieder wrote:
> | E: internal error: download client: wrong parameter count for download 
> result message]      | 14.7KiB/s | ETA: 0s
> | E: internal error: download client: wrong parameter count for download 
> result message
> | E: internal error: download client: wrong parameter count for download 
> result message
> | E: internal error: download client: wrong parameter count for download 
> result message
> (hangs)

Hmm.

> If you have a dummy download method lying around for easy
> debugging, I'd be happy to start there. :)

There should be a very light download method available for 'file://' and
'copy://' schemes, but as I wrote these lines I realized they are
missing in Cupt v2 (#624216) :/. It should come with a next patch
release.

Debugging cupt downloader bugs is always hard, and it sounds like a task
for a hacking hours on a porter machines. I'll dedicate some time in
future for this.

Here's some tips which may or may not help you if you decide to try digging 
into:

- use '-o debug::downloader=yes';
- print out the received parameter list just before internal errors are shown;
- study receiveSocketMessage() and sendSocketMessage() functions to find
  out how do messages flow between download worker process and download
  clients, maybe the error is located there;
- thing which hangs is most probably that background download process
  (worker()), would be nice to know where it hangs.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Developer



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to