Opened 10 years ago
Closed 10 years ago
#2800 closed bug (Fixed)
TypeError: cannot marshal <class 'trac.util.text.Empty'> objects
| Reported by: | Doadin | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | needs verified |
| Component: | Unknown | Version: | other (please specify) |
| Keywords: | Cc: |
Description
How to Reproduce
While doing a POST operation on /ticket/2474, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{u'__FORM_TOKEN': u'7ab1f959df4840603f2f4d32',
u'action': u'resolve',
u'action_resolve_resolve_resolution': u'Invalid',
u'comment': u'',
u'field_component': u'Core',
u'field_keywords': u'',
u'field_milestone': u'2.0.x',
u'field_priority': u'minor',
u'field_summary': u'Replace add_torrent with async_add_torrent',
u'field_type': u'patch',
u'field_version': u'develop (git)',
'id': u'2474',
u'replyto': u'',
u'sfp_email': u'',
u'sfph_mail': u'',
u'start_time': u'1404732159706907',
u'submit': u'Submit changes',
u'view_time': u'1404732159706907'}
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36
System Information
System information not available
Enabled Plugins
Plugin information not available
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 554, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 247, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 182, in process_request
return self._process_ticket_request(req)
File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 625, in _process_ticket_request
self._do_save(req, ticket, action)
File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 1357, in _do_save
replyto=req.args.get('replyto'))
File "/usr/lib/python2.7/site-packages/trac/ticket/model.py", line 369, in save_changes
listener.ticket_changed(self, comment, author, old_values)
File "build/bdist.linux-x86_64/egg/tracext/ircannouncer/listener.py", line 57, in ticket_changed
self.notify('ticket', values)
File "build/bdist.linux-x86_64/egg/tracext/ircannouncer/listener.py", line 39, in notify
self.bot.ircannouncer.notify(type, values)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1581, in __request
allow_none=self.__allow_none)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1086, in dumps
data = m.dumps(params)
File "/usr/lib64/python2.7/xmlrpclib.py", line 633, in dumps
dump(v, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 655, in __dump
f(self, value, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 736, in dump_struct
dump(v, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 655, in __dump
f(self, value, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 736, in dump_struct
dump(v, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 647, in __dump
raise TypeError, "cannot marshal %s objects" % type(value)
TypeError: cannot marshal <class 'trac.util.text.Empty'> objects
Note:
See TracTickets
for help on using tickets.



Ah thanks, I forgot to disable a trac plugin.