Bug 1257055 - [abrt] pkgwat: decoder.py:393:raw_decode:JSONDecodeError: Expecting value: line 2 column 1 (char 1)
[abrt] pkgwat: decoder.py:393:raw_decode:JSONDecodeError: Expecting value: li...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pkgwat (Show other bugs)
22
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ralph Bean
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:8abb966257e855fd32ff42133d7...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-26 03:47 EDT by Kamil Páral
Modified: 2016-04-04 12:15 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-04-04 12:15:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (3.90 KB, text/plain)
2015-08-26 03:47 EDT, Kamil Páral
no flags Details
File: dso_list (144 bytes, text/plain)
2015-08-26 03:47 EDT, Kamil Páral
no flags Details
File: environ (3.62 KB, text/plain)
2015-08-26 03:47 EDT, Kamil Páral
no flags Details

  None (edit)
Description Kamil Páral 2015-08-26 03:47:26 EDT
Description of problem:
pkgwat stopped working for me in the last few days. `pkgwat releases python-fedora` says "Expecting value: line 2 column 1 (char 1)".

Version-Release number of selected component:
pkgwat-0.11-1.fc22

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python2 /usr/bin/pkgwat releases python-fedora --debug
executable:     /usr/bin/pkgwat
kernel:         4.1.4-200.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
decoder.py:393:raw_decode:JSONDecodeError: Expecting value: line 2 column 1 (char 1)

Traceback (most recent call last):
  File "/usr/bin/pkgwat", line 9, in <module>
    load_entry_point('pkgwat.cli==0.11', 'console_scripts', 'pkgwat')()
  File "/usr/lib/python2.7/site-packages/pkgwat/cli/main.py", line 60, in main
    return myapp.run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 230, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/pkgwat/cli/main.py", line 55, in run_subcommand
    return super(PkgWat, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 295, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 91, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/pkgwat/cli/subcommands.py", line 180, in take_action
    start_row=args.start_row,
  File "/usr/lib/python2.7/site-packages/pkgwat/api/__init__.py", line 270, in releases
    return _make_request(path, query, strip_tags)
  File "/usr/lib/python2.7/site-packages/pkgwat/api/__init__.py", line 140, in _make_request
    d = d()
  File "/usr/lib/python2.7/site-packages/requests/models.py", line 819, in json
    return json.loads(self.text, **kwargs)
  File "/usr/lib64/python2.7/site-packages/simplejson/__init__.py", line 501, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 393, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 2 column 1 (char 1)

Local variables in innermost frame:
_w: <built-in method match of _sre.SRE_Pattern object at 0x7f3f6f5eb990>
s: u'\n<html>\n<title>Oops!</title>\n<body id="error-page">\n<head>\n<script type="text/javascript" src="/packages/_res/tw2.jquery/static/jquery/1.7.1/jquery.js" ></script>\n\n<script type="text/javascript" src="/packages/_res/moksha.wsgi.widgets.moksha_js/static/moksha.js" ></script>\n\n<script type="text/javascript" src="/packages/_res/fedoracommunity.connectors.widgets.widgets/static/js/fcomm.js" ></script>\n<style type="text/css">\n  \n#geiger {\n  position: relative;\n  width: 128px;\n  margin-left: auto;\n  margin-right: auto;\n  z-index: 1000;\n}\n\n#geiger #error-code {\n  font-size: 28px;\n  border: 1px solid blue;\n  text-align: center;\n  margin-top: -52px;\n  font-family: Comfortaa, sans-serif;\n  color: #cfe736;\n  letter-spacing: 10px;\n  margin-left: 10px;\n  margin-bottom: 0px;\n}\n\nbody, h1, h2, h3 {\n  font-family: Comfortaa, sans-serif;\n  text-transform: uppercase;\n  text-align: center;\n}\n\n#panda {\n  position: relative;\n  z-index: 0;\n  top: -50px;\n  left: 20px;\n}\n\n#hotdog {\n  position: relative;\n  z-index: 3;\n  left: 80px;\n  top: -100px;\n}\n\nh2 { \n color: white;\n text-shadow: 1px 1px 0px #db3279;\n font-size: 30px;\n margin-bottom: 0px;\n}  \n\nh3 {\n color: #db3279;\n margin-top: 2px;\n}\n\na {\n text-decoration: none;\n}\n\nbody {\n  background: black;\n}\n</style>\n</head>\n<h2>Oops, something went wrong!</h2>\n<a href="javascript:history.go(-1)"><h3>Click the panda to go back.</h3></a>\n\n<div id="geiger">\n<img src="/packages/images/geiger.png"/>\n<h3 id="error-code">500</h3>\n</div>\n\n<a href="javascript:history.go(-1)"><img id="hotdog" src="/packages/images/laser.png"/></a>\n<a href="javascript:history.go(-1)"><img id="panda" src="/packages/images/panda-wee.png"/></a>\n<br/>\n<script>\n\t\t$(document).ready(function() {\n\t\t\tfor (var i=0; i < 20; i++) {\n\t\t\t\t$("img#panda").fadeIn(4500);\n\t\t\t\t$("img#panda").fadeOut(4500);\n\t\t\t}\n\t\t\t$("img#panda").fadeIn(4500);\n\t\t}); // end doc ready\n</script>\n</body>\n</html>\n'
_PY3: False
idx: 0
self: <simplejson.decoder.JSONDecoder object at 0x7f3f6e777090>
Comment 1 Kamil Páral 2015-08-26 03:47:29 EDT
Created attachment 1067171 [details]
File: backtrace
Comment 2 Kamil Páral 2015-08-26 03:47:30 EDT
Created attachment 1067174 [details]
File: dso_list
Comment 3 Kamil Páral 2015-08-26 03:47:31 EDT
Created attachment 1067175 [details]
File: environ
Comment 4 Ralph Bean 2016-04-04 12:15:33 EDT
I think this is all working now.

Note You need to log in before you can comment on or make changes to this bug.