Change shebang to ensure Python 2 usage

Asked by Bryan English

I think we should change the shebang line to ensure Python 2 usage, as I have 3 set as default. This will produce and error as the statvfs package is deprecated, but available, in 2 and removed in 3. The error this produces in Deja Dup is "could not understgand duplicity version".

Question information

Language:
English Edit question
Status:
Answered
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#1

It is released in source form with python2 in the shebang. The setup.py we use does not change it. This sounds like a packaging issue. What source did you use?

Revision history for this message
Bryan English (irateswami) said :
#2

It was installed via the Deja Dup program automatically, so this is probably an issue with them. Had I installed via apt the binary would have been different?

Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#3

I'm going to convert this to a bug against Ubuntu's duplicity (upstream from me). It seems to be an error in packaging.

Can you help with this problem?

Provide an answer of your own, or ask Bryan English for more information if necessary.

To post a message you must log in.