Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12080 closed defect (cantfix)

ValueError: No JSON object could be decoded

Reported by: kristian.kolb@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /ticket/3250, Trac issued an internal error.

(I followed a link in a notification mail regarding an open ticket, got the error message instead of seeing the ticket.)

Request parameters:

{'id': u'3250'}

User agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

System Information

Trac 0.12.2
Docutils 0.8.1
Genshi 0.6
Pygments 1.4
pysqlite 2.6.0
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3]
setuptools 7.0
SQLite 3.7.9
jQuery 1.4.2

Enabled Plugins

CustomerIntegration 1.0
FlexibleAssignTo 0.8.13
TracAccountManager 0.2.1dev-r4679

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 169, in process_request
    return self._process_ticket_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 614, in _process_ticket_request
    get_reporter_id(req, 'author'), field_changes)
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 1576, in _insert_ticket_data
    fields = self._prepare_fields(req, ticket)
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 1472, in _prepare_fields
    field = get_developers()
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 1439, in get_developers
    customer = CustomerIntegration.CustomerIntegration.get_developers_list()
  File "build/bdist.linux-x86_64/egg/CustomerIntegration/CustomerIntegration.py", line 160, in get_developers_list
    response = json.loads(r.content)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Attachments (0)

Change History (1)

comment:1 by Ryan J Ollos, 9 years ago

Resolution: cantfix
Status: newclosed

PluginIssue: CustomerIntegration

Also it looks like you are working with modified Trac source code.

Last edited 9 years ago by Ryan J Ollos (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.