duplicati icon indicating copy to clipboard operation
duplicati copied to clipboard

Python on OS X 10.6?

Open autumnwalker opened this issue 8 years ago • 4 comments

  • [x] I have searched open and closed issues for duplicates.

Environment info

  • Duplicati version: 2.0.2.1
  • Operating system: Mac OS X 10.6
  • Backend: SSH

Description

Cannot get Duplicati to launch on older Mac box - running OS X 10.6. I've installed mono, but no dice. I think this is a python issue, but not sure how to correct. From terminal: ''' :~ $ /Applications/Duplicati.app/Contents/MacOS/duplicati Server has started and is listening on 127.0.0.1, port 8200 Request error: Unexpected error: System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/usr/bin/python2.7', CommandLine='"/Applications/Duplicati.app/Contents/Resources/OSXTrayHost/osx-trayicon-rumps.py"', CurrentDirectory='', Native error= Cannot find the specified file at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in :0 at System.Diagnostics.Process.Start () [0x0003a] in :0 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in :0 at Duplicati.GUI.TrayIcon.RumpsRunner.Restart () [0x0005c] in :0 at Duplicati.GUI.TrayIcon.RumpsRunner.Init (System.String[] args) [0x0000c] in :0 at Duplicati.GUI.TrayIcon.Program.RealMain (System.String[] _args) [0x004a5] in :0 '''

autumnwalker avatar Dec 16 '17 21:12 autumnwalker

Can you confirm if /usr/bin/python2.7 exists?

On my system it's a symlink: /usr/bin/python2.7 -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

I get the exact same error if I remove my symlink, so chances are that if your python 2.7 installation is intact - but the symlink is missing - you just need to add it to resolve the problem.

Assuming that you have the python2.7 binary in the same location as I do, you can create the symlink like this: sudo ln -s ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /usr/bin/python2.7

Pectojin avatar Dec 30 '17 00:12 Pectojin

Closing this due to lack of feedback. If you feel that it's still an open issue, please feel free to reopen this.

warwickmm avatar Feb 02 '19 05:02 warwickmm

Issue is now somewhat outdated technically. as macOS 12.3 removed Python 2.7, replacing it with nothing. Duplicati response was to use Python 3 (with manual work...) because Python 2 reached end of life in 2020.

Closing this due to lack of feedback. If you feel that it's still an open issue, please feel free to reopen this.

but then it wasn't closed, so here's another call. If nothing comes back, it will automatically close eventually.

ts678 avatar Jan 28 '24 19:01 ts678

This issue is stale because it has been open for 15 days with no activity.

github-actions[bot] avatar Apr 29 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 15 days since being marked as stale.

github-actions[bot] avatar May 15 '24 01:05 github-actions[bot]