#10692 closed defect (fixed)
Direct download of bigger files in source broken
Reported by: | skyper | Owned by: | skyper |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Trac | Version: | |
Keywords: | source link download | Cc: |
Description (last modified by )
- click on "Browse Source"
- click on any direct download link just behind the file size
I did test it with source:trunk/data/defaultpresets.xml and other files.
Seems to be probably cause by last update of trac./HEAD
is incorrectly added to the path,
Attachments (1)
Change History (15)
follow-up: 3 comment:1 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
follow-up: 4 comment:3 by , 9 years ago
Replying to stoecker:
What is the issue you have with this? HEAD simply refers to the most recent version.
I am not sure what causes my problem and it has something to do with my setup.
Using iceweasel 33.0 in Privat-Modus with flashgot installed I get an error message a few seconds after the normal download dialog opens. This happens with all links to source (tested with the link in description) but not with normal attachments in the tickets. Using the links on the bottom of the page to download in original format works once you have opened the specific file.
comment:4 by , 9 years ago
Resolution: | → othersoftware |
---|---|
Status: | needinfo → closed |
Replying to skyper:
Using iceweasel 33.0 in Privat-Modus with flashgot installed I get an error message a few seconds after the normal download dialog opens. This happens with all links to source (tested with the link in description) but not with normal attachments in the tickets. Using the links on the bottom of the page to download in original format works once you have opened the specific file.
Did test it on a different machine with same setup and get the same error message. Using chromium the link works, so I definitly have a problem with Iceweasel and its setup.
comment:5 by , 9 years ago
Strange wget
and curl
have problems, too:
$ wget -vd http://josm.openstreetmap.de/export/HEAD/josm/trunk/data/defaultpresets.xml DEBUG output created by Wget 1.13.4 on linux-gnu. URI encoding = »UTF-8« --2014-11-02 14:07:15-- http://josm.openstreetmap.de/export/HEAD/josm/trunk/data/defaultpresets.xml Auflösen des Hostnamen »josm.openstreetmap.de (josm.openstreetmap.de)«... 78.47.52.148, 2a01:4f8:d16:2082::2 Caching josm.openstreetmap.de => 78.47.52.148 2a01:4f8:d16:2082::2 Verbindungsaufbau zu josm.openstreetmap.de (josm.openstreetmap.de)|78.47.52.148|:80... verbunden. Created socket 3. Releasing 0x00000000021ea010 (new refcount 1). ---request begin--- GET /export/HEAD/josm/trunk/data/defaultpresets.xml HTTP/1.1 User-Agent: Wget/1.13.4 (linux-gnu) Accept: */* Host: josm.openstreetmap.de Connection: Keep-Alive ---request end--- HTTP-Anforderung gesendet, warte auf Antwort... ---response begin--- HTTP/1.1 200 Ok Date: Sun, 02 Nov 2014 13:07:15 GMT Server: Apache/2.4.7 (Ubuntu) Last-Modified: Sat, 01 Nov 2014 13:53:21 GMT Pragma: no-cache Cache-Control: no-cache Expires: Fri, 01 Jan 1999 00:00:00 GMT Content-Disposition: attachment Set-Cookie: trac_session=f1b76a572a2ac164826fae80; expires=Sat, 31 Jan 2015 13:07:15 GMT; httponly; Path=/ Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: application/atom+xml; charset=utf-8 ---response end--- 200 Ok Stored cookie josm.openstreetmap.de -1 (ANY) / <permanent> <insecure> [expiry 2015-01-31 14:07:15] trac_session f1b76a572a2ac164826fae80 Registered socket 3 for persistent reuse. URI content encoding = »utf-8« Länge: nicht spezifiziert [application/atom+xml] In »»defaultpresets.xml«« speichern. [ <=> ] 77.824 411K/s in 0,2s Disabling further reuse of socket 3. Closed fd 3 2014-11-02 14:07:15 (411 KB/s) - Lesefehler bei Byte 77824 (Erfolg).Erneuter Versuch. --2014-11-02 14:07:16-- (Versuch: 2) http://josm.openstreetmap.de/export/HEAD/josm/trunk/data/defaultpresets.xml Found josm.openstreetmap.de in host_name_addresses_map (0x21ea010) Verbindungsaufbau zu josm.openstreetmap.de (josm.openstreetmap.de)|78.47.52.148|:80... verbunden. Created socket 3. Releasing 0x00000000021ea010 (new refcount 1). ---request begin--- GET /export/HEAD/josm/trunk/data/defaultpresets.xml HTTP/1.1 Range: bytes=77824- User-Agent: Wget/1.13.4 (linux-gnu) Accept: */* Host: josm.openstreetmap.de Connection: Keep-Alive Cookie: trac_session=f1b76a572a2ac164826fae80 ---request end--- HTTP-Anforderung gesendet, warte auf Antwort... ---response begin--- HTTP/1.1 200 Ok Date: Sun, 02 Nov 2014 13:07:16 GMT Server: Apache/2.4.7 (Ubuntu) Last-Modified: Sat, 01 Nov 2014 13:53:21 GMT Pragma: no-cache Cache-Control: no-cache Expires: Fri, 01 Jan 1999 00:00:00 GMT Content-Disposition: attachment Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: application/atom+xml; charset=utf-8 ---response end--- 200 Ok Registered socket 3 for persistent reuse. URI content encoding = »utf-8« Länge: nicht spezifiziert [application/atom+xml] In »»defaultpresets.xml«« speichern. [ <=> ] 544.768 296K/s in 1,8s Disabling further reuse of socket 3. Closed fd 3 2014-11-02 14:07:18 (296 KB/s) - Lesefehler bei Byte 544768 (Erfolg).Erneuter Versuch. --2014-11-02 14:07:20-- (Versuch: 3) http://josm.openstreetmap.de/export/HEAD/josm/trunk/data/defaultpresets.xml Found josm.openstreetmap.de in host_name_addresses_map (0x21ea010) Verbindungsaufbau zu josm.openstreetmap.de (josm.openstreetmap.de)|78.47.52.148|:80... verbunden. Created socket 3. Releasing 0x00000000021ea010 (new refcount 1). ---request begin--- GET /export/HEAD/josm/trunk/data/defaultpresets.xml HTTP/1.1 Range: bytes=544768- User-Agent: Wget/1.13.4 (linux-gnu) Accept: */* Host: josm.openstreetmap.de Connection: Keep-Alive Cookie: trac_session=f1b76a572a2ac164826fae80 ---request end--- HTTP-Anforderung gesendet, warte auf Antwort... ---response begin--- HTTP/1.1 200 Ok Date: Sun, 02 Nov 2014 13:07:20 GMT Server: Apache/2.4.7 (Ubuntu) Last-Modified: Sat, 01 Nov 2014 13:53:21 GMT Pragma: no-cache Cache-Control: no-cache Expires: Fri, 01 Jan 1999 00:00:00 GMT Content-Disposition: attachment Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: application/atom+xml; charset=utf-8 ---response end--- 200 Ok Registered socket 3 for persistent reuse. URI content encoding = »utf-8« Länge: nicht spezifiziert [application/atom+xml] In »»defaultpresets.xml«« speichern. [ <=> ] 544.768 375K/s in 1,4s Disabling further reuse of socket 3. Closed fd 3 2014-11-02 14:07:22 (375 KB/s) - Lesefehler bei Byte 544768 (Erfolg).Erneuter Versuch. ....
follow-up: 9 comment:6 by , 9 years ago
Resolution: | othersoftware |
---|---|
Status: | closed → reopened |
Hmm, I get the same with wget. I depends on the file length. For shorter files it works, not for longer. Content-Length is missing for these files and they simply break in the middle of the file and also don't support restart.
Did this work before with 1.0.1?
comment:9 by , 9 years ago
Replying to stoecker:
Hmm, I get the same with wget. I depends on the file length. For shorter files it works, not for longer. Content-Length is missing for these files and they simply break in the middle of the file and also don't support restart.
Did this work before with 1.0.1?
Yes, had no problem with source:trunk/data/defaultpresets.xml or did it just lately reach the needed length to trigger thr problem ?
comment:10 by , 9 years ago
Description: | modified (diff) |
---|---|
Summary: | Incorrect link for direct download of file in source → Direct download of bigger files in source broken |
comment:11 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
What is the issue you have with this? HEAD simply refers to the most recent version.