Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#1944 closed defect (fixed)

At mythtv site, AttributeError: 'module' object has no attribute 'TICKET_ADMIN'

Reported by: Mike Cannon <m_cannon@…> 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:

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 Christopher Lenz, 14 years ago

Resolution: invalid
Status: newclosed

The mythtv site needs to be updated. This particular problem has been fixed in [1862].

comment:2 by polarfox@…, 14 years ago

Component: generalticket system
Resolution: invalid
Severity: normalmajor
Status: closedreopened

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 Matthew Good, 14 years ago

Keywords: Trac 0.9.pre removed
Milestone: 0.9
Owner: changed from Jonas Borgström to Matthew Good
Status: reopenednew

Ugh, it looks like this was reintroduced in [1874]

comment:4 by Matthew Good, 14 years ago

Resolution: fixed
Status: newclosed

This is fixed (again) in [2245]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.