Edgewall Software
Modify

Opened 19 years ago

Closed 16 years ago

#1921 closed defect (fixed)

file size of attachment does not exceed 262144 bytes

Reported by: vittorio@… Owned by: Jonas Borgström
Priority: low Milestone: 0.9
Component: general Version: devel
Severity: normal Keywords: attachment
Cc: vittorio@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

the file size of attached file (slaa089a.pdf) is 202075 bytes. but trac displays: "HTML preview not available, since file-size exceeds 262144 bytes."

using trunk r2068, python 2.3, mod_python

Attachments (1)

slaa089a.pdf (197.3 KB ) - added by vittorio@… 19 years ago.
testfile not exceeding 262144 bytes

Download all attachments as: .zip

Change History (8)

by vittorio@…, 19 years ago

Attachment: slaa089a.pdf added

testfile not exceeding 262144 bytes

comment:1 by Christopher Lenz, 19 years ago

Milestone: 0.9
Priority: normallow

comment:2 by vittorio@…, 19 years ago

Cc: vittorio@… added

comment:3 by Jonas Borgström, 19 years ago

Resolution: fixed
Status: newclosed

The way Trac enforced the "max preview file size" limit was a bit confusing. It didn't look at the actual file size but the size of the file contents when it had been converted to utf-8 (for non-binary files). [2118] changed this back to the actual file size.

comment:4 by vittorio@…, 19 years ago

Resolution: fixed
Status: closedreopened

theres still (or again) something wrong. using trunk r2383 theres no "download the file" link, even no comment why. reproducible on attachment slaa089a.pdf

comment:5 by Christopher Lenz, 19 years ago

Resolution: fixed
Status: reopenedclosed

Should be fixed in [2384] and [2385].

comment:6 by anonymous, 16 years ago

Resolution: fixed
Status: closedreopened

I have this problem with my max file size set to 10485760 bytes in trac.ini. Using trac 0.11 on windows server 2008 with apache2 and python 2.5

in reply to:  6 comment:7 by anonymous, 16 years ago

Resolution: fixed
Status: reopenedclosed

Replying to anonymous:

I have this problem with my max file size set to 10485760 bytes in trac.ini. Using trac 0.11 on windows server 2008 with apache2 and python 2.5

Really sorry about that, my mistake completely. Please ignore.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.