Opened 11 years ago

Closed 11 years ago

#43 closed defect (invalid)

ftputil-2.4.2b2.tar.gz seems to be corrupt

Reported by: ssteiner Owned by: schwa
Priority: minor Milestone: 2.4.2
Component: Website Version: 2.4.2b2
Keywords: download, attachment, wiki, format Cc:


Trying to pull down the gz file to see why I was getting a missing file on installation:

# wget

# tar zxvf ftputil-2.4.2b2.tar.gz tar: Unrecognized archive format: Inappropriate file type or format tar: Error exit delayed from previous errors.

# gunzip ftputil-2.4.2b2.tar.gz gzip: ftputil-2.4.2b2.tar.gz: not in gzip format

Change History (3)

comment:1 Changed 11 years ago by ssteiner

File cannot be downloaded with wget but does work when downloaded with web browser.

The link name implies that it will be a .gz download but the link actually gets redirected to a web page with a real download link on it.

comment:2 Changed 11 years ago by schwa

Keywords: download attachment wiki format added
Priority: blockerminor
Status: newassigned

Hi ssteiner, thanks for reporting! :-)

The links in the table at the top of the download page are direct download links and work for a direct download with wget (just tested). It's a bit unfortunate that wget keeps the suffix ?format=raw in the filename unless you use the -o option, though a webbrowser usually removes it. The query string makes the difference between a direct download and a preview page.

Probably you used the links at the end of the page. These are auto-generated by Trac, and the links in this section lead to HTML preview pages which are practically useless if not confusing for tar.gz files. So far, I haven't found a way to remove the attachment section without editing the page template. However, changing the template affects all wiki pages and it gets lost after every Trac update.

As a workaround, I've added an additional "heading" in the same layout as the auto-generated "Attachment" heading to notify people of the problem.

comment:3 Changed 11 years ago by schwa

Resolution: invalid
Status: assignedclosed

I close this ticket with a status of "invalid" since the tar.gz file seems to be ok.

Nonetheless I'm thankful for tips on how to deal with this confusion in the wiki. Please send tips to the mailing list or in private e-mail.

Note: See TracTickets for help on using tickets.