#1944 closed defect (fixed)
At mythtv site, AttributeError: 'module' object has no attribute 'TICKET_ADMIN'
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | ticket system | Version: | devel |
Severity: | major | Keywords: | |
Cc: | m_cannon@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This is GREAT software, but I did hit a snag at mythtv site.
I opened a new ticket on mythtv (Ticket #235), added an attachment, then (oops) tried to replace that attachment.
—>
Powered by Trac 0.9.pre By Edgewall Software.
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 203, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 452, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 312, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 272, in process_request
self._do_save(req, attachment)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 334, in _do_save
perm_map = {'ticket': perm.TICKET_ADMIN,
AttributeError: 'module' object has no attribute 'TICKET_ADMIN'
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
Component: | general → ticket system |
---|---|
Resolution: | invalid |
Severity: | normal → major |
Status: | closed → reopened |
I still have problems with this, I'm using trunk, and it says I have revision 2244 of trac/attachment.py
Traceback (most recent call last):
File "/opt/Python-2.3/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 205, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/opt/Python-2.3/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/opt/Python-2.3/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/opt/Python-2.3/lib/python2.3/site-packages/trac/attachment.py", line 265, in process_request
self._do_save(req, attachment)
File "/opt/Python-2.3/lib/python2.3/site-packages/trac/attachment.py", line 327, in _do_save
perm_map = {'ticket': perm.TICKET_ADMIN,
AttributeError: 'module' object has no attribute 'TICKET_ADMIN'
comment:3 by , 19 years ago
Keywords: | Trac 0.9.pre removed |
---|---|
Milestone: | → 0.9 |
Owner: | changed from | to
Status: | reopened → new |
Ugh, it looks like this was reintroduced in [1874]
comment:4 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is fixed (again) in [2245]
The mythtv site needs to be updated. This particular problem has been fixed in [1862].