Bug 2066567 - "-s" flag in duplicity hashbang breaks check for Python
Summary: "-s" flag in duplicity hashbang breaks check for Python
Keywords:
Status: CLOSED DUPLICATE of bug 2068479
Alias: None
Product: Fedora
Classification: Fedora
Component: duply
Version: 35
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-22 05:00 UTC by alex
Modified: 2022-03-27 14:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-03-27 14:11:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description alex 2022-03-22 05:00:00 UTC
Description of problem:
The duplicity 0.8.22-1.fc35 update added a "-s" flag to the hashbang. duply checks for the Python interpreter specified in duplicity's hashbang and doesn't handle the new flag properly, so it tries to look up "/usr/bin/python3 -s".

Version-Release number of selected component (if applicable):
2.3.1-2.fc35

How reproducible:
Always

Steps to Reproduce:
1. duply <profile> status

Actual results:
Start duply v2.3.1, time is 2022-03-21 21:56:10.

Sorry. A fatal ERROR occured:

/usr/bin/python3 -s missing. installed und available in path?
PATH='/home/alex/.local/bin:/home/alex/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin'

Expected results:
Backup status is printed.

Comment 1 Thomas Moschny 2022-03-27 14:11:58 UTC
Thanks for reporting! Handling this in bug 2068479.

*** This bug has been marked as a duplicate of bug 2068479 ***


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