From wdierkes at 5dollarwhitebox.org Thu Jun 4 18:49:22 2015 Content-Type: multipart/mixed; boundary="===============4386452137956202244==" MIME-Version: 1.0 From: BJ Dierkes To: devel at lists.fedoraproject.org Subject: Re: Issues with bodhi (No JSON object could be decoded) Date: Tue, 18 May 2010 17:56:19 -0500 Message-ID: <43074BCD-6F08-4F22-8CCF-115BF19CF84B@5dollarwhitebox.org> In-Reply-To: 1273822894.3910.11.camel@bobvila --===============4386452137956202244== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/jso= n'] Data: close_bugs=3DTrue&edited=3D&suggest_reboot=3DFalse&unstable_karma=3D-= 3&password=3Dxxxxxxx&stable_karma=3D3&builds=3Dmysql-mmm-2.2.1-1.fc12&autok= arma=3DTrue&inheritance=3DFalse¬es=3D&request=3Dtesting&bugs=3D&type_=3D= bug&login=3DLogin&user_name=3Dderks ServerError(https://admin.fedoraproject.org/updates/save, 200, Error return= ed 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 =3D 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 =3D req_params, auth_params =3D auth_params) File "/usr/lib/python2.6/site-packages/fedora/client/proxyclient.py", lin= e 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.fedoraprojec= t.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: New Update Form --- derks --===============4386452137956202244==--