Edgewall Software

Opened 17 years ago

Closed 17 years ago

#4858 closed defect (duplicate)

dev.jaws-project.com Image submission problem — at Version 1

Reported by: omi@… Owned by: Jonas Borgström
Priority: highest Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 356, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 361, in process_request
    self._do_save(req, attachment)
  File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 474, in _do_save
    for field, message in manipulator.validate_attachment(req, attachment):
  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 "/usr/lib/python2.3/site-packages/trac/db/util.py", line 47, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 255, in execute
    self.rs = self.con.db.execute(SQL % parms)
TypeError: execute() argument 1 must be string without null bytes, not str

I wanted to attach a picture there and it gave me the above error…

Change History (1)

comment:1 by Christian Boos, 17 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #4087, albeit with a slightly different error message…

Note: See TracTickets for help on using tickets.