View Single Post
Old 03-01-2009, 09:17 PM   #46
TS-Rick
Member
TS-Rick began at the beginning.
 
TS-Rick's Avatar
 
Posts: 22
Karma: 20
Join Date: Dec 2008
Location: Mass, USA
Device: CyBook Gen3, iPhone, PRS-505 (Blue)
I use the AppleScript with no problems.
Mac OS 10.5.6
Python provided with the system.

The error is saying it can't find the python program.
The script executes the following command:
python MobiDeDRMPath encryptedFilePath unlockedFilePath encryptionKey

I believe this assumes that python can be found on the path.

Is the path setup correctly?

My python is located in /usr/bin
Which points to the python provided by Leopard.

Macintosh:~ rick$ echo $PATH
/sw/bin:/sw/sbin:/Users/rick/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin:/usr/X11R6/bin
Macintosh:~ rick$ which python
/usr/bin/python
Macintosh:~ rick$ ls -la /usr/bin/python
lrwxr-xr-x 1 root wheel 72 Nov 5 2007 /usr/bin/python -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python
Macintosh:~ rick$

Hope this helps...

Rick
TS-Rick is offline   Reply With Quote