Modify ↓
Opened 19 years ago
Closed 19 years ago
#4211 closed defect (duplicate)
error while uploading file
| Reported by: | anonymous | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.1 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Hi all. I was about to upload some files to bug.bery-project.org but i got the following error:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 379, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 230, 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 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.4/site-packages/trac/db/util.py", line 47, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.4/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 tried several times but the result is still the same. File is a .jpg by the way, since the png is huge.
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Version: | 0.10.2 → 0.10.1 |
comment:2 by , 19 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Duplicate of #4087. The interesting thing here seems to be that the error is happening with pysqlite1, which I thought would have been immune to the "binary string" problem…
Note:
See TracTickets
for help on using tickets.



Did you mean: http://bugs.beryl-project.org/ ?
The site is running 0.10.1, not 0.10.2