Opened 11 years ago

Closed 11 years ago

Last modified 11 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:
Has a Patch: no 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 Changed 11 years ago by nielx

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

Please try again now.

comment:2 Changed 11 years ago by diver

Still same problem.

comment:3 Changed 11 years ago by diver

Hmm, but attachment with another name works.

comment:4 Changed 11 years ago by nielx

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 Changed 11 years ago by andreasf

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 Changed 11 years ago by scottmc

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

comment:7 Changed 11 years ago by nielx

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 Changed 11 years ago by nielx

Resolution: fixed
Status: reopenedclosed

comment:9 Changed 11 years ago by diver

Resolution: fixed
Status: closedreopened

I can't addd attachments again, reopening.

comment:10 Changed 11 years ago by nielx

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 Changed 11 years ago by diver

I just tried and the same error appeared :-(

comment:12 Changed 11 years ago by nielx

Have you tried it with a different file name?

comment:13 Changed 11 years ago by diver

Yep, different name wored.

Note: See TracTickets for help on using tickets.