Bug 1390390

Summary: fpaste Error With -d -P options && fpaste --sysinfo is stuck Without Root Permissions.
Product: [Fedora] Fedora Reporter: yucef sourani <youssef.m.sourani>
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: 25CC: athmanem, robyduck, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
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:09 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 yucef sourani 2016-10-31 23:33:07 UTC
Description of problem:
1-fpaste --sysinfo is stuck Without Root Permissions.


2-fpaste With -d and -P option  get Error:
ex :sudo fpaste --sysinfo -P "PRIVATE" -d "123456"

  File "/bin/fpaste", line 907, in <module>
    main()
  File "/bin/fpaste", line 854, in main
    [url, short_url] = paste(text, options)
  File "/bin/fpaste", line 209, in paste
    short_url = get_shortened_url(url, options.password)
  File "/bin/fpaste", line 104, in get_shortened_url
    '{' + f.readlines()[-3].decode() + '}')['short_url']
KeyError: 'short_url'


Version-Release number of selected component (if applicable):
Installed Packages
Name        : fpaste
Arch        : noarch
Epoch       : 0
Version     : 0.3.8.3
Release     : 1.fc25
Size        : 103 k
Repo        : @System
From repo   : anaconda

Comment 1 Fedora Update System 2017-08-23 22:42:17 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:54 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:09 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.