Bug 1390390 - fpaste Error With -d -P options && fpaste --sysinfo is stuck Without Root Permissions.
Summary: fpaste Error With -d -P options && fpaste --sysinfo is stuck Without Root Per...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fpaste
Version: 25
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-31 23:33 UTC by yucef sourani
Modified: 2017-08-24 15:52 UTC (History)
3 users (show)

Fixed In Version: fpaste-0.3.9.0-1.fc26
Clone Of:
Environment:
Last Closed: 2017-08-24 15:52:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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