Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5058 closed defect (duplicate)

Trac on code.djangoproject.com failed when trying to attach a file.

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: plugin/spamfilter Version:
Severity: normal Keywords:
Cc: vinay_sajip@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Python Traceback

Traceback (most recent call last):
  File "/home/trac/new-djangoproject-trac-test/trac/web/main.py", line 387, in dispatch_request
  File "/home/trac/new-djangoproject-trac-test/trac/web/main.py", line 237, in dispatch
  File "/home/trac/new-djangoproject-trac-test/trac/attachment.py", line 361, in process_request
  File "/home/trac/new-djangoproject-trac-test/trac/attachment.py", line 475, in _do_save
  File "build/bdist.linux-i686/egg/tracspamfilter/adapters.py", line 130, in validate_attachment
  File "build/bdist.linux-i686/egg/tracspamfilter/api.py", line 131, in test
  File "build/bdist.linux-i686/egg/tracspamfilter/model.py", line 119, in insert
  File "/home/trac/new-djangoproject-trac-test/trac/db/util.py", line 50, in execute
  File "/home/trac/new-djangoproject-trac-test/trac/db/util.py", line 50, in execute
  File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 3083, in execute
    parms = _quoteall(self.__unicodeConvert(parms[0]))
  File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 2300, in _quoteall
    t = tuple(map(_quote, vdict))
  File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 2268, in _quote
    return PgQuoteString(value)
TypeError: PgQuoteString() argument 1 must be string without null bytes, not str

Attachments (0)

Change History (3)

comment:1 by anonymous, 18 years ago

I am unable to attach the file, as it causes the same error here. It is just an ordinary .tar.gz file.

comment:2 by anonymous, 18 years ago

Cc: vinay_sajip@… added

Added my email address.

comment:3 by Emmanuel Blot, 18 years ago

Component: generalspamfilter
Resolution: duplicate
Status: newclosed

Duplicate of #4211, which is itself marked as a duplicate of #4087 (w/ a different error trace)

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.