Ticket #2982 (closed defect: fixed)
Opened 6 years ago
Last modified 20 months ago
Error updating ticket
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | plugin - spam-filter |
| Component: | plugin/spamfilter | Version: | none |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by cboos) (diff)
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 131, in run
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 194, in process_request
self._do_save(req, db, ticket)
File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 344, in _do_save
newChildren = map(string.atoi, re.findall("\d+", newChildren))
File "/usr/lib/python2.3/sre.py", line 166, in findall
return _compile(pattern, 0).findall(string)
TypeError: expected string or buffer
Attachments
Change History
comment:1 follow-up: ↓ 2 Changed 6 years ago by cboos
- Description modified (diff)
- Resolution set to invalid
- Status changed from new to closed
comment:2 in reply to: ↑ 1 Changed 5 years ago by anonymous
- Resolution invalid deleted
- Status changed from closed to reopened
- Version changed from 0.9.4 to none
Replying to cboos:
Well, the newChildren = map(string.atoi, re.findall("\d+", newChildren))
piece is certainly not coming from the canonical Trac.
Sorry, but we can't help for code/patches we know nothing about...
How about this case then: from http://dev.rubyonrails.org
Got this using Firefox 1.5.0.7 in ubuntu, but exactly the same edit worked on winxp with IE 6. Even tried with a single line 'reply' that contained just the generated 'replying to' line, which was:
Replying to [ticket:5608 rubyonrails@datanomisch.de]:
Error occurred when clicking 'preview'. Posting this message with the same firefox browser and preview is working.
Traceback (most recent call last):
File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line 335, in dispatch_request
dispatcher.dispatch(req)
File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line 220, in dispatch
resp = chosen_handler.process_request(req)
File "/opt/csw/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 263, in process_request
self._validate_ticket(req, ticket)
File "/opt/csw/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 52, in _validate_ticket
for field, message in manipulator.validate_ticket(req, ticket):
File "build/bdist.solaris-2.11-i86pc/egg/tracspamfilter/adapters.py", line 37, in validate_ticket
File "build/bdist.solaris-2.11-i86pc/egg/tracspamfilter/api.py", line 78, in test
File "build/bdist.solaris-2.11-i86pc/egg/tracspamfilter/filters/regex.py", line 39, in test
TypeError: expected string or buffer
comment:3 Changed 5 years ago by cboos
- Component changed from general to spamfilter
- Milestone set to none
comment:4 Changed 2 years ago by cboos
- Milestone changed from not applicable to spam-filter-plugin
- Owner jonas deleted
- Status changed from reopened to new
comment:5 Changed 20 months ago by dstoecker
Still an issue?
comment:6 Changed 20 months ago by dstoecker
- Resolution set to fixed
- Status changed from new to closed



Well, the newChildren = map(string.atoi, re.findall("\d+", newChildren))
piece is certainly not coming from the canonical Trac.
Sorry, but we can't help for code/patches we know nothing about...