![]() |
#1 |
Gadgetic Young Man
![]() ![]() ![]() ![]() Posts: 58
Karma: 300
Join Date: Nov 2010
Location: Toronto, Ontario, Canada
Device: BlackBerry Z30, Sony PRS-650, Samsung Galaxy Note 10.1
|
![]()
I had added a couple new books to my Calibre library earlier today (dry, reference textbooks
![]() Code:
calibre, version 0.8.68 ERROR: Error: Error communicating with device 'ascii' codec can't encode character u'\uf025' in position 83: ordinal not in range(128) Traceback (most recent call last): File "/usr/lib/calibre/calibre/gui2/device.py", line 84, in run self.result = self.func(*self.args, **self.kwargs) File "/usr/lib/calibre/calibre/gui2/device.py", line 437, in _books mainlist = self.device.books(oncard=None, end_session=False) File "/usr/lib/calibre/calibre/devices/prs505/driver.py", line 199, in books bl = USBMS.books(self, oncard=oncard, end_session=end_session) File "/usr/lib/calibre/calibre/devices/usbms/driver.py", line 212, in books for path, dirs, files in os.walk(ebook_dir): 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 294, in walk for x in walk(new_path, topdown, onerror, followlinks): 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 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'\uf025' in position 83: ordinal not in range(128) ![]() ![]() Any ideas on what the issue may be? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,300
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
First, dont use the arch package, use the official calibre binary. Then fix your arch install to have a UTF-8 based locale. Then fix whatever file is causing that error to have its filename encoded in utf-8.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Gadgetic Young Man
![]() ![]() ![]() ![]() Posts: 58
Karma: 300
Join Date: Nov 2010
Location: Toronto, Ontario, Canada
Device: BlackBerry Z30, Sony PRS-650, Samsung Galaxy Note 10.1
|
Thanks for the advice. Calibre works correctly now. Installed it using this command:
Code:
sudo python2 -c "import sys; py = sys.version_info[0] > 2; u = __import__('urllib.request' if py else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main(install_dir='/opt')" |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error communicating with Device | Poppa1956 | Calibre | 5 | 09-08-2012 07:17 PM |
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: | e-bookuser | Devices | 1 | 07-03-2011 04:09 PM |
Error Communicating with Device | Stephen Dedalus | Devices | 16 | 05-08-2011 12:13 PM |
Error communicating with device | alroy | Calibre | 1 | 10-30-2010 10:51 AM |
ver 0.6.3 error: Error communicating with device PRS-505 | scripo | Calibre | 4 | 08-01-2009 10:38 PM |