On Thu, Apr 20, 2006 at 10:39:30AM +0100, robert w hall wrote:
Cronocloud's error log (long) is posted on playstation2-linux general forum. I haven't yet bottomed what is going wrong, so would like to try on my own system.
One part of the problem, at least, is revealed by the error message """ [downloads (child)]: cmd: wget -O - --load-cookies $HOME/.dillo/cookies.txt 'http://easynews.dl.sourceforge.net/sourceforge/gaim/gaim-1.5.0.tar.gz' [downloads (child)]: to: /home/CronoCloud/gaim-1.5.0.tar.gz [downloads (child)]: pid=4020, Running: wget -O - --load-cookies $HOME/.dillo/cookies.txt 'http://easynews.dl.sourceforge.net/sourceforge/gaim/gaim-1.5.0.tar.gz' wget: unrecognized option `--load-cookies' [downloads (child)]: pid=4020, done! """ --load-cookies looks to have been introduced between wget 1.6 and 1.7. At a guess, the user's version is not newer than 1.7.
From a dillo perspective, we require the use of wget, and effectively require the use of a newish wget, without testing for its existence or version.
The error log as presented without using --disable-dlgui seems mostly silent on the problem. That could be because (GNU v 1.9.1, at least) "wget --WTF?" returns success. More likely, though, in downloads.cc, child_init() returns void, so even if execvp(dl_argv[0], dl_argv) failed and returned something, we still wouldn't see it. In downloads-old.c, the return value of pclose(in_stream) is checked, so wget returning failure could generate a sane message in that case. But, as shown above, we already print the stderr output as a hint. Short version: it looks like a dillo problem to me. Since we rely on wget at run time, we should either use a run time check, or also require it at build time with a configure check. I suspect it isn't trivially resolvable, since the run time check feels complicated, and the build time check can't know what is available at run time in general. For the user, installing a newer (or fuller) wget might remove some of the observable part of the problem. No patches, sorry. f -- Francis Daly francis@daoine.org