--> --> -->
 
 
<type 'exceptions.ValueError'>
Python 2.7.11: /usr/bin/python
Mon May 29 01:47:41 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/corbama/run.cgi in ()
     82         print "</pre>"
     83     else:
=>   84         BonitoCGI(user=username).run_unprotected (selectorname='corpname')
     85 
     86 # vim: ts=4 sw=4 sta et sts=4 si tw=80:
BonitoCGI = <class __main__.BonitoCGI>, user undefined, username = None, ).run_unprotected undefined, selectorname undefined
 /usr/lib/python2.7/site-packages/bonito/CGIPublisher.py in run_unprotected(self=<__main__.BonitoCGI instance>, path=['jobs'], selectorname='corpname', outf=<open file '<stdout>', mode 'w'>)
    269         if self._has_access or path[0] == 'feedback':
    270             methodname, tmpl, result = self.process_method (path[0], path,
=>  271                                                                     named_args)
    272         else: # redirect to login or raise error
    273             methodname = path[0]
named_args = {'corpname': u'corbama-net-non-tonal'}
 /usr/lib/python2.7/site-packages/bonito/CGIPublisher.py in process_method(self=<__main__.BonitoCGI instance>, methodname='jobs', pos_args=['jobs'], named_args={'corpname': u'corbama-net-non-tonal'})
    304             return (methodname,
    305                     getattr (method, 'template', methodname + '.tmpl'),
=>  306                     self.call_method (method, pos_args, named_args))
    307         except Exception, e:
    308             if self.format == 'json':
self = <__main__.BonitoCGI instance>, self.call_method = <bound method BonitoCGI.call_method of <__main__.BonitoCGI instance>>, method = <bound method BonitoCGI.jobs of <__main__.BonitoCGI instance>>, pos_args = ['jobs'], named_args = {'corpname': u'corbama-net-non-tonal'}
 /usr/lib/python2.7/site-packages/bonito/CGIPublisher.py in call_method(self=<__main__.BonitoCGI instance>, method=<bound method BonitoCGI.jobs of <__main__.BonitoCGI instance>>, args=['jobs'], named_args={'corpname': u'corbama-net-non-tonal'})
    167         na = named_args.copy()
    168         correct_types (na, function_defaults (method), 1, safe=0)
=>  169         return apply (method, args[1:], na)
    170         
    171     def call_function (self, func, args, **named_args):
builtin apply = <built-in function apply>, method = <bound method BonitoCGI.jobs of <__main__.BonitoCGI instance>>, args = ['jobs'], na = {}
 /usr/lib/python2.7/site-packages/bonito/usercgi.py in jobs(self=<__main__.BonitoCGI instance>, finished=False)
    225                                   {"user" : self._user, "finished" : finished})
    226         import json
=>  227         jobs = json.loads(jobs[0])
    228         out = {'jobs': jobs, 'view_type' : 'user', 'no_corpus_show': 1}
    229         return out
jobs = ('', 200), json = <module 'json' from '/usr/lib64/python2.7/json/__init__.pyc'>, json.loads = <function loads>
 /usr/lib64/python2.7/json/__init__.py in loads(s='', encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw={})
    337             parse_int is None and parse_float is None and
    338             parse_constant is None and object_pairs_hook is None and not kw):
=>  339         return _default_decoder.decode(s)
    340     if cls is None:
    341         cls = JSONDecoder
global _default_decoder = <json.decoder.JSONDecoder object>, _default_decoder.decode = <bound method JSONDecoder.decode of <json.decoder.JSONDecoder object>>, s = ''
 /usr/lib64/python2.7/json/decoder.py in decode(self=<json.decoder.JSONDecoder object>, s='', _w=<built-in method match of _sre.SRE_Pattern object>)
    362 
    363         """
=>  364         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    365         end = _w(s, end).end()
    366         if end != len(s):
obj undefined, end undefined, self = <json.decoder.JSONDecoder object>, self.raw_decode = <bound method JSONDecoder.raw_decode of <json.decoder.JSONDecoder object>>, s = '', idx undefined, _w = <built-in method match of _sre.SRE_Pattern object>, ).end undefined
 /usr/lib64/python2.7/json/decoder.py in raw_decode(self=<json.decoder.JSONDecoder object>, s='', idx=0)
    379         try:
    380             obj, end = self.scan_once(s, idx)
    381         except StopIteration:
=>  382             raise ValueError("No JSON object could be decoded")
    383         return obj, end
builtin ValueError = <type 'exceptions.ValueError'>

<type 'exceptions.ValueError'>: No JSON object could be decoded
      args = ('No JSON object could be decoded',)
      message = 'No JSON object could be decoded'