#7603 Problem with package-owner-aliases cron script on bastion servers
Opened 5 months ago by smooge. Modified 4 months ago

  • Describe what you need us to do:

Cron outputs every several hours a traceback on usr/local/bin/lock-wrapper package-owner-aliases /usr/local/bin/package-owner-aliases.sh

Traceback (most recent call last):
File "/usr/local/bin/owner-email.py", line 49, in <module>
for project in get_pagure_projects():
File "/usr/local/bin/owner-email.py", line 40, in get_pagure_projects
data = response.json()
File "/usr/lib/python2.7/site-packages/requests/models.py", line 802, in json
return json.loads(self.text, **kwargs)
File "/usr/lib64/python2.7/site-packages/simplejson/init.py", line 516, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 374, in decode
obj, end = self.raw_decode(s)
File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 404, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
error creating owner-alias file

  • When do you need this? (YYYY/MM/DD)

  • When is this no longer needed or useful? (YYYY/MM/DD)

  • If we cannot complete your request, what is the impact?

I'm going to run this one manually, as far as I can tell the JSON files are returning JSON

Completed fine when I ran it.

Do we see more errors in the logs?

Yes, it's sporadic. Today has had it at:
4:58 am

Metadata Update from @bowlofeggs:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

4 months ago

Login to comment on this ticket.