Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2660 closed bug (fixed)

[Trac] can't attach files

Reported by: diver Owned by: nielx
Priority: normal Milestone: R1
Component: Website/Trac Version: R1/pre-alpha1
Keywords: Cc: andreas.faerber@…
Blocked By: Blocking:
Platform: All

Description

I tried to add png image to the #2659

Oops… Trac detected an internal error: Exception: Failed to create unique name: /var/trac/dev.haiku-os.org/attachments/ticket/2659/input_server_bt.100.png

There was an internal error in Trac. It is recommended that you inform your local Trac administrator and give him all the information he needs to reproduce the issue.

To that end, you could a ticket at this site.

The action that triggered the error was: POST: /attachment/ticket/2659/

Change History (13)

comment:1 by nielx, 16 years ago

Owner: changed from haiku-web to nielx
Status: newassigned

Please try again now.

comment:2 by diver, 16 years ago

Still same problem.

comment:3 by diver, 16 years ago

Hmm, but attachment with another name works.

comment:4 by nielx, 16 years ago

Resolution: fixed
Status: assignedclosed

I'll close this ticket now. I have deleted the old file with the name that was taken, and I know how this happened. The fix is still in the works (albeit currently not yet done).

N.

comment:5 by andreasf, 16 years ago

Cc: andreas.faerber@… added
Resolution: fixed
Status: closedreopened

Just encountered the same issue at ticket #2695.

In between uniqueness messages as above, on one try I also got a "too many files open" error with non-styled Python traceback.

comment:6 by scottmc, 16 years ago

this appears to be working again, so can probably close again.

comment:7 by nielx, 16 years ago

Yes, unfortunately, the log file I got from this hang is different from previous logs. I thought I would be able to find the problem, or that I would be able to work around this (recurring) problem, but now I'm not too sure.

N.

comment:8 by nielx, 16 years ago

Resolution: fixed
Status: reopenedclosed

comment:9 by diver, 16 years ago

Resolution: fixed
Status: closedreopened

I can't addd attachments again, reopening.

comment:10 by nielx, 16 years ago

Resolution: fixed
Status: reopenedclosed

I restarted apache again. I'm sorry, but this problem will pop up every now and then. It cannot be predicted, and as such, there is no workaround. I did collect more data this time, which I'll be uploading to the Trac guys this weekend.

comment:11 by diver, 16 years ago

I just tried and the same error appeared :-(

comment:12 by nielx, 16 years ago

Have you tried it with a different file name?

comment:13 by diver, 16 years ago

Yep, different name wored.

Note: See TracTickets for help on using tickets.