#7603 Problem with package-owner-aliases cron script on bastion servers
Closed: Fixed 18 days ago by kevin. Opened a year ago by smooge.

  • 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)

a year ago

Metadata Update from @cverna:
- Issue tagged with: medium-gain, medium-trouble

2 months ago

Metadata Update from @pingou:
- Issue assigned to pingou

18 days ago

Login to comment on this ticket.

Related Pull Requests
  • #52 Merged 17 days ago