Issues with bodhi (No JSON object could be decoded)

BJ Dierkes wdierkes at 5dollarwhitebox.org
Tue May 18 22:56:19 UTC 2010


Sorry, just saw your reply

On May 14, 2010, at 2:41 AM, Luke Macken wrote:
> 
> I'm seeing your POST requests in the logs, but some of them are not
> hitting bodhi's save() method, which means it's not getting past the
> identity layer. Does it work after you `rm ~/.fedora/.fedora_session`?
> Also, does passing -v to bodhi show anything useful?
> 

Removing the session doesn't work.  

$ bodhi -n --type bug mysql-mmm-2.2.1-1.fc12 --username derks -v
proxyclient.__init__:entered
proxyclient.__init__:exited
Creating a new update for mysql-mmm-2.2.1-1.fc12
No session cached for "derks"
No session cached for "derks"
Password for derks: 
Creating a new update for mysql-mmm-2.2.1-1.fc12
No session cached for "derks"
proxyclient.send_request: entered
Creating request https://admin.fedoraproject.org/updates/save
Headers: ['User-agent: Fedora Bodhi Client/0.5.1', 'Accept: application/json']
Data: close_bugs=True&edited=&suggest_reboot=False&unstable_karma=-3&password=xxxxxxx&stable_karma=3&builds=mysql-mmm-2.2.1-1.fc12&autokarma=True&inheritance=False&notes=&request=testing&bugs=&type_=bug&login=Login&user_name=derks
ServerError(https://admin.fedoraproject.org/updates/save, 200, Error returned from simplejson while processing https://admin.fedoraproject.org/updates/save: No JSON object could be decoded)
Traceback (most recent call last):
  File "/usr/bin/bodhi", line 178, in main
    data = bodhi.save(**extra_args)
  File "/usr/lib/python2.6/site-packages/fedora/client/bodhi.py", line 111, in save
    'bugs': bugs,
  File "/usr/lib/python2.6/site-packages/fedora/client/baseclient.py", line 316, in send_request
    req_params = req_params, auth_params = auth_params)
  File "/usr/lib/python2.6/site-packages/fedora/client/proxyclient.py", line 313, in send_request
    {'url': url, 'err': str(e)})
ServerError: ServerError(https://admin.fedoraproject.org/updates/save, 200, Error returned from simplejson while processing https://admin.fedoraproject.org/updates/save: No JSON object could be decoded)



I added a print statement to /usr/lib/python2.6/site-packages/fedora/client/proxyclient.py and got back HTML which looks to be the web version of the new update page as the title is:

<title>New Update Form</title>


---
derks



More information about the devel mailing list