View Single Post
Old 01-07-2009, 02:59 PM   #24
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,462
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by kafka399 View Post
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
That error indicates you are launching calibre with an argument. launch it as just

Code:
calibre
kovidgoyal is offline   Reply With Quote