Project

General

Profile

Actions

Bug #6741

closed

rudder-dev commit fails to assign tickets for non-admin users

Added by Alexis Mousset over 9 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Category:
Rudder dev tools
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Traceback (most recent call last):
  File "/usr/bin/rudder-dev", line 1058, in <module>
    commit(arguments['<trigraph>'], arguments['<PR_comment>'])
  File "/usr/bin/rudder-dev", line 771, in commit
    user = ask_username(trigraph)
  File "/usr/bin/rudder-dev", line 380, in ask_username
    users = get_normation_users()
  File "/usr/bin/rudder-dev", line 367, in get_normation_users
    user_list = [ u for u in users.json()['users'] if u['mail'].endswith("normation.com") ]
  File "/usr/lib/python2.7/site-packages/requests/models.py", line 799, in json
    return json.loads(self.text, **kwargs)
  File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Actions

Also available in: Atom PDF