#5157 closed defect (duplicate)
Attach file to new ticket fails
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | attachment ticket |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
I filed ticket 5156 here and indicated that I had a file to attach. In the screen displayed after submit it asked me to choose the file to attach, I did so, entered my email address and a short description and got the following:
Oops…
Trac detected an internal error: If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.
Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.
TracGuide — The Trac User and Administration Guide
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 398, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 361, in process_request self._do_save(req, attachment) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 477, in _do_save for field, message in manipulator.validate_attachment(req, attachment): File "build/bdist.linux-x86_64/egg/tracspamfilter/adapters.py", line 130, in validate_attachment File "build/bdist.linux-x86_64/egg/tracspamfilter/api.py", line 131, in test File "build/bdist.linux-x86_64/egg/tracspamfilter/model.py", line 119, in insert File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
Attachments (0)
Change History (6)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Description: | modified (diff) |
---|
(please use verbatim blocks {{{ }}} when copy/pasting a traceback, and more generally preview the ticket description to ensure the description appears as expected)
comment:3 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:4 by , 18 years ago
follow-up: 6 comment:5 by , 18 years ago
Greetings eblot
I did preview it and it looked good enough to me. I did search for duplicates and didn't come up with anything.
Thanks for the verbatim hint though; I did not know that one.
First attempt to submit this said: "Submission rejected as potential spam (SpamBayes determined spam probability of 77.84%)" We'll see what my second attempt says.
comment:6 by , 18 years ago
Replying to tmorrison@extensis.com:
I did search for duplicates and didn't come up with anything.
Hint: whenever you get an error, look at the bottom most line, which usually looks like:
*Error: descriptive message
copy the most significant words from this descriptive message and paste them in the search field, it usually gives a list of potential duplicates quite easily.
just for kicks I tried to attach the file to this ticket also. that got the same error. It's a png file if that matters.