Re: retr.c:292: calc_rate: Assertion `bytes = 0' failed.

2005-11-24 Thread Steven M. Schweda
 I realise that 1.10.2 is the latest version, but Debian doesn't seem to
 think so :-) 

   If you expect Wget to work with files bigger than 2GB, you'll just
have to use a Wget version which works with files bigger than 2GB. 
1.10.2, for example, not 1.9.1.



   Steven M. Schweda   (+1) 651-699-9818
   382 South Warwick Street[EMAIL PROTECTED]
   Saint Paul  MN  55105-2547


RE: retr.c:292: calc_rate: Assertion `bytes = 0' failed.

2005-11-24 Thread Post, Mark K
Odd.  It didn't take me long to find this:
http://ftp.us.debian.org/debian/pool/main/w/wget/wget_1.10.2-1_i386.deb


Mark Post

-Original Message-
From: Simeon Miteff [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 24, 2005 2:10 AM
To: [EMAIL PROTECTED]
Subject: retr.c:292: calc_rate: Assertion `bytes = 0' failed.


Hi

I don't know if this is a known bug (I could not get any useful results 
out of the bugzilla), but if it isn't, the server shown in 
this example is public, so the problem should be re-producable.

I realise that 1.10.2 is the latest version, but Debian doesn't seem 
to think so :-)


Re: retr.c:292: calc_rate: Assertion `bytes = 0' failed.

2005-11-24 Thread Hrvoje Niksic
Post, Mark K [EMAIL PROTECTED] writes:

 Odd.  It didn't take me long to find this:
 http://ftp.us.debian.org/debian/pool/main/w/wget/wget_1.10.2-1_i386.deb

It's questionnable whether that's installable on stable Debian.


RE: retr.c:292: calc_rate: Assertion `bytes = 0' failed.

2005-11-24 Thread Post, Mark K
Not really.  Debian will let you install whatever you want, provided the
dependencies are satisfied.  If you set up your apt parms properly, you
can download and install packages from stable, testing, unstable, etc.
If you don't want to do that for everything, you can set them back to
just pick up new package versions from the stable channel.


Mark Post

-Original Message-
From: Hrvoje Niksic [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 24, 2005 4:43 PM
To: Post, Mark K
Cc: Simeon Miteff; [EMAIL PROTECTED]
Subject: Re: retr.c:292: calc_rate: Assertion `bytes = 0' failed.


Post, Mark K [EMAIL PROTECTED] writes:

 Odd.  It didn't take me long to find this: 
 http://ftp.us.debian.org/debian/pool/main/w/wget/wget_1.10.2-1_i386.de
 b

It's questionnable whether that's installable on stable Debian.


Re: retr.c:292: calc_rate: Assertion `bytes = 0' failed.

2005-11-24 Thread Hrvoje Niksic
Post, Mark K [EMAIL PROTECTED] writes:

 Not really.  Debian will let you install whatever you want, provided
 the dependencies are satisfied.

Which is what is questionnable -- a package from unstable or testing
usually depends on a slightly higher version of libc.  Have you tried
it?


 If you set up your apt parms properly, you can download and install
 packages from stable, testing, unstable, etc.

Yes, but if you set up apt to get the needed dependencies (such as the
newer libc) from unstable, they can easily cascade and result in a
copy of unstable replacing your stable installation.  As far as I
understand, the recommended way to backport packages is by building
the package from source.


Re: retr.c:292: calc_rate: Assertion `bytes = 0' failed.

2005-11-23 Thread Simeon Miteff


It's definitely a broken httpd. So far wget makes the best effort, it 
downloads something, and then fails with an error. Firefox completes the 
download, indicating success, but the file is incomplete. Aget bails 
before it starts, rejecting the negative file size, and links just hangs 
:-)


On Thu, 24 Nov 2005, Simeon Miteff wrote:


Hi

I don't know if this is a known bug (I could not get any useful results out 
of the bugzilla), but if it isn't, the server shown in this example is 
public, so the problem should be re-producable.


I realise that 1.10.2 is the latest version, but Debian doesn't seem to think 
so :-)


[EMAIL PROTECTED]:~$ wget -V
GNU Wget 1.9.1
snip
[EMAIL PROTECTED]:~$ uname -a
Linux io 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux
[EMAIL PROTECTED]:~$ cat /etc/issue
Debian GNU/Linux 3.1 \n \l


[EMAIL PROTECTED]:/data/iso$ wget 
http://ftp.up.ac.za/mirrors/suse.com/suse/i386/10.0/is

o/SUSE-10.0-EvalDVD-i386-GM.iso
--16:05:39-- 
http://ftp.up.ac.za/mirrors/suse.com/suse/i386/10.0/iso/SUSE-10.0-

EvalDVD-i386-GM.iso
  = `SUSE-10.0-EvalDVD-i386-GM.iso'
Resolving ftp.up.ac.za... 137.215.98.34
Connecting to ftp.up.ac.za[137.215.98.34]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]

   [  =   ] -673,009,6646.41M/s

wget: retr.c:292: calc_rate: Assertion `bytes = 0' failed.
Aborted
[EMAIL PROTECTED]:/data/iso$ wget 
http://ftp.up.ac.za/mirrors/suse.com/suse/i386/10.0/is

o/SUSE-10.0-EvalDVD-i386-GM.iso
--08:36:24-- 
http://ftp.up.ac.za/mirrors/suse.com/suse/i386/10.0/iso/SUSE-10.0-

EvalDVD-i386-GM.iso
  = `SUSE-10.0-EvalDVD-i386-GM.iso.1'
Resolving ftp.up.ac.za... 137.215.98.34
Connecting to ftp.up.ac.za[137.215.98.34]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]

   [ =] -673,009,6646.54M/s

wget: retr.c:292: calc_rate: Assertion `bytes = 0' failed.
Aborted
[EMAIL PROTECTED]:/data/iso$

The file downloads past 673MB, then (when I wasn't looking) the count becomes 
negative, then it keeps getting more negative (past -1GB), and then (again 
when I wasn't looking) it went *backwards*, got stuck for a few seconds at 
-673,009,664, and then bails as shown above.


[EMAIL PROTECTED]:~$ telnet ftp.up.ac.za 80
Trying 137.215.98.34...
Connected to ftp.up.ac.za.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 200 OK
Date: Thu, 24 Nov 2005 06:48:53 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux
Connection: close
Content-Type: text/html; charset=iso-8859-1

Regards,
Simeon.