View Single Post
Old 01-10-2013, 11:08 AM   #73
motomac
Member
motomac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2013
Device: Kindle Touch
Hello!
I tried to run you app on Mac OS. But it's too hard. I tried 3 python versions, any kinds of PIL installation, but I still have an error:
Code:
MacBook-Air-motomac:~ motomac$ /Users/motomac/Downloads/kcc-master/kcc/comic2ebook.py -p K4 "/Users/motomac/Pictures/manga.cbz"
Traceback (most recent call last):
  File "/Users/motomac/Downloads/kcc-master/kcc/comic2ebook.py", line 41, in <module>
    import image, cbxarchive
  File "/Users/motomac/Downloads/kcc-master/kcc/image.py", line 99
    except IOError as e:
                    ^
SyntaxError: invalid syntax
If I try to drop cbz-file on the icon, I see an error. Log file:
Code:
Traceback (most recent call last):
  File "/Users/motomac/Downloads/kcc-master/KindleComicConverter.app/Contents/Resources/comic2ebook.py", line 41, in <module>
    import image, cbxarchive
  File "/Users/motomac/Downloads/kcc-master/KindleComicConverter.app/Contents/Resources/image.py", line 17, in <module>
    from PIL import Image, ImageDraw
ImportError: No module named PIL
I tried to install PIL from dmg and from macports...
Code:
sudo port install py25-pil
Please, help me.

P.S. I have Kindle Touch, and I'm not sure, this mobi-file will work on it without margins. Please, can anybody upload some manga mobi-file in KF8 (800*600px)?
motomac is offline   Reply With Quote