Opened 20 years ago
Closed 15 years ago
#2982 closed defect (fixed)
Error updating ticket
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | plugin - spam-filter | 
| Component: | plugin/spamfilter | Version: | none | 
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
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 (0)
Change History (6)
follow-up: 2 comment:1 by , 20 years ago
| Description: | modified (diff) | 
|---|---|
| Resolution: | → invalid | 
| Status: | new → closed | 
comment:2 by , 19 years ago
| Resolution: | invalid | 
|---|---|
| Status: | closed → reopened | 
| Version: | 0.9.4 → 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 by , 19 years ago
| Component: | general → spamfilter | 
|---|---|
| Milestone: | → none | 
comment:4 by , 16 years ago
| Milestone: | not applicable → spam-filter-plugin | 
|---|---|
| Owner: | removed | 
| Status: | reopened → new | 
comment:6 by , 15 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → 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…