[Pidgin] #15548: NameError: global name 'now' is not defined
Pidgin
trac at pidgin.im
Fri Mar 8 10:12:14 EST 2013
#15548: NameError: global name 'now' is not defined
---------------------------+--------------------------
Reporter: datallah_test | Owner: rekkanoryo
Type: defect | Status: new
Milestone: | Component: unclassified
Version: 2.10.7 | Keywords:
---------------------------+--------------------------
==== How to Reproduce ====
While doing a POST operation on `/attachment/ticket/567/`, Trac issued an
internal error.
''(please provide additional details here)''
Request parameters:
{{{
{'__FORM_TOKEN': u'9e8878218b3efab51b206dd9',
'action': u'new',
'attachment': FieldStorage('attachment', '.hgtags',
'a3d157700972b48cf0a23b300261a5ab0c6e165b
v2.10.5\n4992bd90d8ad78ebdd324dd90d3e9d443f7dd002
v2.10.6\nad7e7fb98db3bbd7bf9ab49072fd34cd4fa25dd9 v2.10.7\n'),
'description': u'test',
'id': u'567',
'path': u'567/',
'realm': u'ticket'}
}}}
User agent: `Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22
(KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22`
==== System Information ====
''System information not available''
==== Enabled Plugins ====
''Plugin information not available''
==== Python Traceback ====
{{{
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-
packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 497, in
_dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.6/dist-
packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 214, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.6/dist-
packages/Trac-1.0-py2.6.egg/trac/attachment.py", line 509, in
process_request
data = self._do_save(req, attachment)
File "/usr/local/lib/python2.6/dist-
packages/Trac-1.0-py2.6.egg/trac/attachment.py", line 762, in _do_save
attachment.insert(filename, upload.file, size)
File "/usr/local/lib/python2.6/dist-
packages/Trac-1.0-py2.6.egg/trac/attachment.py", line 333, in insert
listener.attachment_added(self)
File "build/bdist.linux-x86_64/egg/removepending/remove_pending.py",
line 69, in attachment_added
tn.notify(ticket, newticket=False, modtime=now)
NameError: global name 'now' is not defined
}}}
--
Ticket URL: <https://developer.pidgin.im/ticket/15548>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list