Change shebang to ensure Python 2 usage
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:
- 2018-08-11
- Last reply:
- 2018-08-21
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?
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?
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.