Opened 2 years ago

Closed 2 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:


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/", line 554, in _dispatch_request
  File "/usr/lib/python2.7/site-packages/trac/web/", line 247, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.7/site-packages/trac/ticket/", line 182, in process_request
    return self._process_ticket_request(req)
  File "/usr/lib/python2.7/site-packages/trac/ticket/", line 625, in _process_ticket_request
    self._do_save(req, ticket, action)
  File "/usr/lib/python2.7/site-packages/trac/ticket/", line 1357, in _do_save
  File "/usr/lib/python2.7/site-packages/trac/ticket/", line 369, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "build/bdist.linux-x86_64/egg/tracext/ircannouncer/", line 57, in ticket_changed
    self.notify('ticket', values)
  File "build/bdist.linux-x86_64/egg/tracext/ircannouncer/", line 39, in notify, values)
  File "/usr/lib64/python2.7/", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/", line 1581, in __request
  File "/usr/lib64/python2.7/", line 1086, in dumps
    data = m.dumps(params)
  File "/usr/lib64/python2.7/", line 633, in dumps
    dump(v, write)
  File "/usr/lib64/python2.7/", line 655, in __dump
    f(self, value, write)
  File "/usr/lib64/python2.7/", line 736, in dump_struct
    dump(v, write)
  File "/usr/lib64/python2.7/", line 655, in __dump
    f(self, value, write)
  File "/usr/lib64/python2.7/", line 736, in dump_struct
    dump(v, write)
  File "/usr/lib64/python2.7/", line 647, in __dump
    raise TypeError, "cannot marshal %s objects" % type(value)
TypeError: cannot marshal <class 'trac.util.text.Empty'> objects

Change History (1)

comment:1 Changed 2 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Ah thanks, I forgot to disable a trac plugin.

Note: See TracTickets for help on using tickets.