View Single Post
Old 01-07-2009, 02:25 PM   #23
kafka399
Member
kafka399 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2009
Device: cybook
Quote:
Originally Posted by user_none View Post
Hm... I'm using Ubuntu 8.10 for all development. Did you run calibre_postinstall after installing the the latest version of Calibre? Could you verify that you have this file /usr/share/hal/fdi/policy/20thirdparty/10-calibre.fdi and that it contains an entry for the cybook?
history |grep calibre
513 sudo easy_install -U calibre
515 sudo easy_install -U calibre
516 sudo calibre_postinstall


ls -lta /usr/share/hal/fdi/policy/20thirdparty/10-calibre.fdi
-rw-r--r-- 1 root root 6076 2009-01-07 12:38 /usr/share/hal/fdi/policy/20thirdparty/10-calibre.fdi

10-calibre.fdi file contains this piece:

<device>
<match key="info.category" string="volume">
<match key="@info.parent:@info.parent:@info.parent:@info. parent:usb.vendor_id" int="0xbda">
<match key="@info.parent:@info.parent:@info.parent:@info. parent:usb.product_id" int="0x703">
<match key="@info.parent:@info.parent:@info.parent:@info. parent:usb.device_revision_bcd" int="0x110">
<match key="volume.is_partition" bool="true">
<merge key="volume.label" type="string">Cybook Gen 3 Storage Card</merge>
<merge key="calibre.cardvolume" type="string">CYBOOKG3</merge>
</match>
</match>
</match>
</match>
</match>
</device>

When I plug Cybook and choose open the content of Cybook with calibre, it gives me this error:

[Errno 21] Is a directory
Detailed traceback:
Traceback (most recent call last):
File "/usr/bin/calibre", line 8, in
load_entry_point('calibre==0.4.126', 'gui_scripts', 'calibre')()
File "build/bdist.linux-i686/egg/calibre/gui2/main.py", line 1575, in main
File "build/bdist.linux-i686/egg/calibre/gui2/main.py", line 654, in add_filesystem_book
File "build/bdist.linux-i686/egg/calibre/gui2/main.py", line 701, in _add_books
IOError: [Errno 21] Is a directory
kafka399 is offline   Reply With Quote