Edgewall Software

Ticket #4603 (closed defect: duplicate)

Opened 23 months ago

Last modified 23 months ago

Uploading image to trac.edgewall.com fails

Reported by: kkatzke@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.3
Severity: normal Keywords:
Cc:

Description

When trying to upload an image using the 'attachment' feature at trac.edgewall.org, I encounter an error: Trac detected an internal error:

This is reproduceable every time I try to attach a picture to trac.edgewall.org; however, I only tested with .png images named "Picture #.png" where # is a number.

The traceback was:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, 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 475, 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

Change History

Changed 23 months ago by eblot

I think this is a duplicate of #4087.

Changed 23 months ago by kkatzke@…

  • status changed from new to closed
  • resolution set to duplicate

Apologies. Looks like you're right that it's a duplicate of #4807.

Add/Change #4603 (Uploading image to trac.edgewall.com fails)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.