Re: fedora-review and/or pkgdb problem?

2013-02-24 Thread Tom Hughes

On 23/02/13 15:44, Tom Hughes wrote:

On 23/02/13 15:26, Alec Leamas wrote:

On 2013-02-23 16:09, Tom Hughes wrote:


I'm not quite sure if this is a bug in fedora-review, python-fedora,
or whether pkgdb is returning broken responses or something?

Tom


Hm... Which f-r version are you running (release, devel?) and on what
(F18, rawhide...)


Just using 0.3.1-3 from the F18 repos, and I've had that version
installed since 12th Jan and it was working just a couple of days ago
which is why I'm kind of suspecting that something is up with pkgdb
given that it seems to be barfing processing the response.


It seems to be working again now...

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: fedora-review and/or pkgdb problem?

2013-02-23 Thread Alec Leamas

On 2013-02-23 16:09, Tom Hughes wrote:
Attempts to run fedora-review seem to be failing today (it was working 
a couple of days ago) when it tries to query pkgdb to see if there is 
already a package with the same name:


02-23 14:44 requests.packages.urllib3.connectionpool DEBUG POST 
https://admin.fedoraproject.org/pkgdb/acls/name/nodejs-ms HTTP/1.1 
200 1800

02-23 14:44 root DEBUGException down the road...
Traceback (most recent call last):
  File 
/usr/lib/python2.7/site-packages/FedoraReview/review_helper.py, line 
183, in run

self._do_run()
  File 
/usr/lib/python2.7/site-packages/FedoraReview/review_helper.py, line 
176, in _do_run

self.__do_report()
  File 
/usr/lib/python2.7/site-packages/FedoraReview/review_helper.py, line 
75, in __do_report

self.__run_checks(self.bug.spec_file, self.bug.srpm_file)
  File 
/usr/lib/python2.7/site-packages/FedoraReview/review_helper.py, line 
89, in __run_checks

writedown=not Settings.no_report)
  File /usr/lib/python2.7/site-packages/FedoraReview/checks.py, line 
310, in run_checks

run_check(name)
  File /usr/lib/python2.7/site-packages/FedoraReview/checks.py, line 
292, in run_check

check.run()
  File 
/usr/lib/python2.7/site-packages/FedoraReview/plugins/generic.py, 
line 2025, in run

p.get_package_info(name)
  File /usr/lib/python2.7/site-packages/fedora/client/pkgdb.py, line 
139, in get_package_info

req_params=data)
  File /usr/lib/python2.7/site-packages/fedora/client/baseclient.py, 
line 344, in send_request

auth_params=auth_params, retries=retries)
  File 
/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py, line 
394, in send_request

if 'exc' in data:
TypeError: argument of type 'NoneType' is not iterable

I'm not quite sure if this is a bug in fedora-review, python-fedora, 
or whether pkgdb is returning broken responses or something?


Tom

Hm... Which f-r version are you running (release, devel?) and on what 
(F18, rawhide...)


--alec
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: fedora-review and/or pkgdb problem?

2013-02-23 Thread Alec Leamas

On 2013-02-23 16:09, Tom Hughes wrote:
Attempts to run fedora-review seem to be failing today (it was working 
a couple of days ago) when it tries to query pkgdb to see if there is 
already a package with the same name:



I'm not quite sure if this is a bug in fedora-review, python-fedora, 
or whether pkgdb is returning broken responses or something?


Tom

And the practical walk-around: look into ~/.cache/fedora-review.log and 
you will find the name of the test that fails. Use -x flag to exclude 
it, and you should get a template


Of course, a bug filed  at https://fedorahosted.org/FedoraReview/ is 
appreciated :)


--alec
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: fedora-review and/or pkgdb problem?

2013-02-23 Thread Tom Hughes

On 23/02/13 15:26, Alec Leamas wrote:

On 2013-02-23 16:09, Tom Hughes wrote:


I'm not quite sure if this is a bug in fedora-review, python-fedora,
or whether pkgdb is returning broken responses or something?

Tom


Hm... Which f-r version are you running (release, devel?) and on what
(F18, rawhide...)


Just using 0.3.1-3 from the F18 repos, and I've had that version 
installed since 12th Jan and it was working just a couple of days ago 
which is why I'm kind of suspecting that something is up with pkgdb 
given that it seems to be barfing processing the response.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel