Modify ↓
Opened 15 years ago
Closed 15 years ago
#8517 closed defect (wontfix)
AttributeError: 'NoneType' object has no attribute 'rfind'
Reported by: | nkatsy | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.5rc2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /build/installer/5893
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'2188023fbf669d8095110f1f', 'action': u'invalidate', 'config': u'installer', 'id': u'5893'}
User Agent was: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.11) Gecko/20080528 Fedora/2.24.3-7.fc10 Epiphany/2.22 Firefox/3.0
System Information
Trac | 0.11.5rc2
|
Python | 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)]
|
setuptools | 0.6c2
|
psycopg2 | 2.0.11
|
Genshi | 0.6dev-r1063
|
Bitten | 0.6dev-r657
|
Subversion | 1.5.4 (r33841)
|
RPC | 1.0.6
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11.5rc2-py2.5.egg/trac/web/main.py", line 444, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11.5rc2-py2.5.egg/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.5/site-packages/Bitten-0.6dev_r657-py2.5.egg/bitten/web_ui.py", line 473, in process_request self._do_invalidate(req, build, db) File "/usr/lib/python2.5/site-packages/Bitten-0.6dev_r657-py2.5.egg/bitten/web_ui.py", line 612, in _do_invalidate step.delete(db=db) File "/usr/lib/python2.5/site-packages/Bitten-0.6dev_r657-py2.5.egg/bitten/model.py", line 575, in delete log.delete(db=db) File "/usr/lib/python2.5/site-packages/Bitten-0.6dev_r657-py2.5.egg/bitten/model.py", line 734, in delete log_file = self.get_log_file(log_file[0]) File "/usr/lib/python2.5/site-packages/Bitten-0.6dev_r657-py2.5.egg/bitten/model.py", line 716, in get_log_file if filename != os.path.basename(filename): File "/usr/lib/python2.5/posixpath.py", line 112, in basename return split(p)[1] File "/usr/lib/python2.5/posixpath.py", line 77, in split i = p.rfind('/') + 1 AttributeError: 'NoneType' object has no attribute 'rfind'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Well, as the traceback shows, that's a Bitten issue.
eek, still no InterTrac link to that project… see http://bitten.edgewall.org