View Single Post
Old 05-26-2014, 10:47 PM   #756
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,179
Karma: 6565382
Join Date: Nov 2009
Device: many
Hi AaronShep,

Okay I grabbed Paul's Applescript (gotta love that icon!) and ran it stock with just the new mobi_split.py file put in KindleUnpack v0.65.app/Contents/Resources/ to update it.

I ran it on your test case and all images were successfully unpacked and copied to their correct location.

So I can't recreate what is happening to you here.

Since you are on Mac OS X 10.6.8 you must have multiple system Pythons installed alongside your latest Python 2.7.6 version and my guess is that an earlier version is being found first by the Applescript and not the very latest Python 2.7.6

One way to check is to open Terminal.app and type the following command and hit return:

which python


On my machine this reports the following
/Library/Frameworks/Python.framework/Versions/2.7/bin/python


and then type the following and hit return

echo $PATH


On my machine this looks as follows (this comes from installing ActiveState's Active Python community addition under Mac OS X 10.9.3)

/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin


That should show you which version of python is found first on your system.

Alternatively you could type in the following and then hit return

/usr/bin/env python

You should see something like the following:

ActivePython 2.7.6.9 (ActiveState Software Inc.) based on
Python 2.7.6 (default, Feb 27 2014, 14:06:06)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>


To exit from this simply enter the following and hit return

quit()

Please let me know what you find out.

KevinH
KevinH is offline   Reply With Quote