So I've been trying to get it to work. PyGTK and Python is installed (Had to use Python2 because Python3 gets a syntax error). The program opens, and when I select my Kindle from the list, it doesn't do anything. Just sits there. If I try to manually open the collections file, it succeeds, but obviously doesn't show any books. When I select the folder or try to refresh the file/book list, it shows:
Code:
Traceback (most recent call last):
File "Kindelabra.py", line 395, in refresh
self.kindle.init_data()
AttributeError: KindleUI instance has no attribute 'kindle'
. Any ideas?
EDIT: So I tried it on my Ubuntu install, and it wouldn't work either. I then realized that I needed to actually go IN to the folder and then click OK. This fixed it for Ubuntu. I tried this same thing on Arch, and it gets stuck on "Loading files... Please wait". Terminal output is:
Code:
Loading documents.........................................Traceback (most recent call last):
File "./Kindelabra.py", line 108, in load
self.refresh(widget)
File "./Kindelabra.py", line 395, in refresh
self.kindle.init_data()
File "/home/dennis-arch/Programs/richardpeng-Kindelabra-1f78da6/kindle.py", line 125, in init_data
self.load_folder(folder)
File "/home/dennis-arch/Programs/richardpeng-Kindelabra-1f78da6/kindle.py", line 133, in load_folder
for root, dirs, files in os.walk(os.path.join(self.root, path)):
File "/usr/lib/python2.7/os.py", line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File "/usr/lib/python2.7/os.py", line 284, in walk
if isdir(join(top, name)):
File "/usr/lib/python2.7/genericpath.py", line 41, in isdir
st = os.stat(s)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 106: ordinal not in range(128)
q^CTraceback (most recent call last):
File "./Kindelabra.py", line 416, in <module>
KindleUI()
File "./Kindelabra.py", line 79, in __init__
gtk.main()
Could it be because it's Arch (which means it runs the latest everything)?