Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5157 closed defect (duplicate)

Attach file to new ticket fails

Reported by: tmorrison@… 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 Emmanuel Blot)

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 anonymous, 18 years ago

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.

comment:2 by Emmanuel Blot, 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 Emmanuel Blot, 18 years ago

Resolution: duplicate
Status: newclosed

… and search for duplicate before submitting a new ticket.

This is a dup of #4648 that is itself a duplicate of #4087

comment:5 by tmorrison@…, 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.

in reply to:  5 comment:6 by Emmanuel Blot, 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.

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.