Bug 1426322

Summary: Can't paste anymore with newer fpaste server
Product: [Fedora] Fedora EPEL Reporter: Remi Collet <fedora>
Component: fpasteAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: athmanem, kevin, robyduck, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fpaste-0.3.9.0-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-24 15:52:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Remi Collet 2017-02-23 16:57:18 UTC
Description of problem:
Can't paste anymore with newer fpaste server

Version-Release number of selected component (if applicable):
fpaste-0.3.7.1-8.el6.noarch


How reproducible:
Always

Steps to Reproduce:
1. date | fpaste
2.
3.

Actual results:
Uploading (0.1KiB)...
Traceback (most recent call last):
  File "/usr/bin/fpaste", line 447, in <module>
    main()
  File "/usr/bin/fpaste", line 414, in main
    [url, short_url] = paste(text, options)
  File "/usr/bin/fpaste", line 127, in paste
    response = json.loads(f.read())
  File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded


Expected results:
Uploading (0.2KiB)...
https://da.gd/kQa0X -> https://paste.fedoraproject.org/paste/BREWn4JjkiLFLZ1PHliro15M1UNdIGYhyRLivL9gydE=/


Additional info:
Version 0.3.8 works on Fedora

Comment 1 Fedora Update System 2017-08-23 22:42:04 UTC
fpaste-0.3.9.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8216a1d052

Comment 2 Fedora Update System 2017-08-24 04:49:47 UTC
fpaste-0.3.9.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8216a1d052

Comment 3 Fedora Update System 2017-08-24 15:52:02 UTC
fpaste-0.3.9.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.