Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-26-2009, 09:11 AM   #1
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
Cybook Eject

I couldn't find a referece to this elsewhere so here goes.

On my MAC, it gets upset if you don't eject usb devices properly. Calibre with the Cybook mounts correctly and allows transfer to and from the Cybook without any issues.

I also use Calibre to download the newspapers and so you require to keep Calibre running.

If I want to remove my Cybook, Calibre doesn't appear to have the facility to release the Cybook (& SD Card) so when I try to eject the Cybook, my Mac tells me I cannot as it is in use by another programme (Calibre) The only way I can eject is to close Calibre, eject the Cybook & restart Calibre to allow newspapers to be scheduled for the following day.

Would it be possible to get an "Eject" button or "Safely Remove" function?

OR, show me how to do it without having to close and restart all teh time as I may have missed something

Thank you
pthwaite is offline   Reply With Quote
Old 02-26-2009, 02:59 PM   #2
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: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm as far as I know, calibre shouldn't be holding any open files on the device if it has no running jobs, so you should be able to eject the device. At least, this works for the 505, perhaps user_none, the developer of the Cybook driver can comment.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-26-2009, 04:53 PM   #3
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
In the terminal.app could you run and post the output of the following after you get the error about not being able to unmount the Cbyook.

Code:
$ lsof | grep calibre
user_none is offline   Reply With Quote
Old 02-27-2009, 12:35 PM   #4
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
User_none, here is the code as requested. There is a lot of it...

"...Howard:~ Howard$ lsof | grep calibre
calibre 5902 Howard cwd DIR 14,5 374 2868939 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources
calibre 5902 Howard txt REG 14,5 83348 2868919 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/calibre
calibre 5902 Howard txt REG 14,5 81564 2869292 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/array.so
calibre 5902 Howard txt REG 14,5 195224 2869328 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/zlib.so
calibre 5902 Howard txt REG 14,5 65840 2869258 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_AE.so
calibre 5902 Howard txt REG 14,5 38784 2869271 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_Evt.so
calibre 5902 Howard txt REG 14,5 102056 2869272 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_File.so
calibre 5902 Howard txt REG 14,5 63120 2869323 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/strop.so
calibre 5902 Howard txt REG 14,5 62916 2869309 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/operator.so
calibre 5902 Howard txt REG 14,5 47668 2869306 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/math.so
calibre 5902 Howard txt REG 14,2 9888 3257736 /Users/Howard/.calibre-fontconfig/1e62fa04fe49a82c8b3e31e02fcbf7dd-x86.cache-2
calibre 5902 Howard txt REG 14,5 3128196 2868852 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/Python.framework/Versions/2.6/Python
calibre 5902 Howard txt REG 14,5 85824 2868842 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/libusb.dylib
calibre 5902 Howard txt REG 14,2 19376 3257748 /Users/Howard/.calibre-fontconfig/a1a78d9c18cd095d3829c724810e6ffb-x86.cache-2
calibre 5902 Howard txt REG 14,2 18392 3257756 /Users/Howard/.calibre-fontconfig/bc06c1eea3e636f72101cafc3fb39508-x86.cache-2
calibre 5902 Howard txt REG 14,2 18528 3257760 /Users/Howard/.calibre-fontconfig/ba022efc551c75e21c690774bbcf5304-x86.cache-2
calibre 5902 Howard txt REG 14,5 784180 2869382 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/PIL/_imaging.so
calibre 5902 Howard txt REG 14,5 66828 2869293 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/binascii.so
calibre 5902 Howard txt REG 14,5 38236 2869281 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_random.so
calibre 5902 Howard txt REG 14,5 43112 2869296 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/cStringIO.so
calibre 5902 Howard txt REG 14,5 37720 2869298 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/fcntl.so
calibre 5902 Howard txt REG 14,5 102528 2868994 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/Authorization/_Authorization.so
calibre 5902 Howard txt REG 14,5 39304 2869305 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/MacOS.so
calibre 5902 Howard txt REG 14,5 60256 2869266 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_collections.so
calibre 5902 Howard txt REG 14,5 51084 2869325 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/time.so
calibre 5902 Howard txt REG 14,5 448008 2869311 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/pyexpat.so
calibre 5902 Howard txt REG 14,5 33852 2869273 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_functools.so
calibre 5902 Howard txt REG 14,5 41444 2869313 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/PyQt4/Qt.so
calibre 5902 Howard txt REG 14,5 154212 2869322 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/sip.so
calibre 5902 Howard txt REG 14,5 1183404 2869316 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/PyQt4/QtNetwork.so
calibre 5902 Howard txt REG 14,5 331272 2869317 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/PyQt4/QtSvg.so
calibre 5902 Howard txt REG 14,5 736092 2868893 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/QtSvg.framework/Versions/4/QtSvg
calibre 5902 Howard txt REG 14,5 59968 2869321 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/select.so
calibre 5902 Howard txt REG 14,5 77368 2869288 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_struct.so
calibre 5902 Howard txt REG 14,5 106724 2869285 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_socket.so
calibre 5902 Howard txt REG 14,5 29496 2869302 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/grp.so
calibre 5902 Howard txt REG 14,5 65804 2869287 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_ssl.so
calibre 5902 Howard txt REG 14,2 2295501 613209 /System/Library/Fonts/LucidaGrande.dfont
calibre 5902 Howard txt REG 14,5 4181384 2869314 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/PyQt4/QtCore.so
calibre 5902 Howard txt REG 14,5 5074412 2868863 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore
calibre 5902 Howard txt REG 14,5 18676644 2869315 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/PyQt4/QtGui.so
calibre 5902 Howard txt REG 14,5 20187204 2868873 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
calibre 5902 Howard txt REG 14,5 2365148 2868883 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
calibre 5902 Howard txt REG 14,5 537724 2869318 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/PyQt4/QtWebKit.so
calibre 5902 Howard txt REG 14,5 21676324 2868903 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/QtWebKit.framework/Versions/4/QtWebKit
calibre 5902 Howard txt REG 14,5 671816 2869319 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/PyQt4/QtXml.so
calibre 5902 Howard txt REG 14,5 1011644 2868913 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/QtXml.framework/Versions/4/QtXml
calibre 5902 Howard txt REG 14,5 42876 2869276 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_locale.so
calibre 5902 Howard txt REG 14,5 142500 2869269 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_curses.so
calibre 5902 Howard txt REG 14,5 315736 2868847 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/plugins/pictureflow.so
calibre 5902 Howard txt REG 14,5 54672 2868846 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/plugins/msdes.so
calibre 5902 Howard txt REG 14,5 55116 2868848 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/plugins/usbobserver.so
calibre 5902 Howard txt REG 14,5 38144 2869274 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_hashlib.so
calibre 5902 Howard txt REG 14,5 49932 2869283 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_sha256.so
calibre 5902 Howard txt REG 14,5 698556 2868840 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/libncurses.5.dylib
calibre 5902 Howard txt REG 14,5 244368 2868845 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/plugins/lzx.so
calibre 5902 Howard txt REG 14,5 156960 2869295 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/cPickle.so
calibre 5902 Howard txt REG 14,5 115468 2869284 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_sha512.so
calibre 5902 Howard txt REG 14,5 29372 2869259 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_bisect.so
calibre 5902 Howard txt REG 14,5 153764 2869297 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/datetime.so
calibre 5902 Howard txt REG 14,5 93844 2869304 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/itertools.so
calibre 5902 Howard txt REG 14,5 1169476 2869286 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_sqlite3.so
calibre 5902 Howard txt REG 14,5 223484 2869268 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_ctypes.so
calibre 5902 Howard txt REG 14,5 29180 2869290 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_weakref.so
calibre 5902 Howard txt REG 14,5 45892 2869275 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/_heapq.so
calibre 5902 Howard txt REG 14,5 137432 2869310 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lib-dynload/parser.so
calibre 5902 Howard txt REG 14,2 108072 3257724 /Users/Howard/.calibre-fontconfig/b0a71e6bf6a8a1a908413a823d76e21f-x86.cache-2
calibre 5902 Howard txt REG 14,2 19320 3257796 /Users/Howard/.calibre-fontconfig/d67f60e970c6378deca460e2d4a106e9-x86.cache-2
calibre 5902 Howard txt REG 14,2 18304 3257804 /Users/Howard/.calibre-fontconfig/ddbd7b13a6107d9809ee2e9bda1eeb71-x86.cache-2
calibre 5902 Howard txt REG 14,2 63928 3257780 /Users/Howard/.calibre-fontconfig/79652363633577d7d713baab7f54ad8c-x86.cache-2
calibre 5902 Howard txt REG 14,2 18496 3257808 /Users/Howard/.calibre-fontconfig/dff97e17f0a16753982c22213791434a-x86.cache-2
calibre 5902 Howard txt REG 14,5 8320368 2869344 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/lib/python2.6/lxml/etree.so
calibre 5902 Howard txt REG 14,5 486856 2868838 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/libfontconfig.1.dylib
calibre 5902 Howard txt REG 14,2 63816 3257828 /Users/Howard/.calibre-fontconfig/fde37821cbdb1159b4eac7aa64d92051-x86.cache-2
calibre 5902 Howard txt REG 14,5 467268 2868837 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/libexpat.1.dylib
calibre 5902 Howard txt REG 14,5 1386988 2868839 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Frameworks/libfreetype.6.dylib
calibre 5902 Howard txt REG 14,2 428168 3257706 /Users/Howard/.calibre-fontconfig/84c0f976e30e948e99073af70f4ae876-x86.cache-2
calibre 5902 Howard txt REG 14,2 262944 3257740 /Users/Howard/.calibre-fontconfig/0f0db7876307790c19e1f91eb9095080-x86.cache-2
calibre 5902 Howard txt REG 14,2 262248 3257744 /Users/Howard/.calibre-fontconfig/1487dd4aecf3164c4a11193169052443-x86.cache-2
calibre 5902 Howard txt REG 14,2 261936 3257788 /Users/Howard/.calibre-fontconfig/480b001d1ab99a92ee52aee96868b317-x86.cache-2
calibre 5902 Howard txt REG 14,2 261944 3257792 /Users/Howard/.calibre-fontconfig/c29b45c0b175bd96c37f111e1cf4898f-x86.cache-2
calibre 5902 Howard txt REG 14,5 117628 2868926 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/iconengines/libqsvg.dylib
calibre 5902 Howard txt REG 14,5 100564 2868929 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/imageformats/libqgif.dylib
calibre 5902 Howard txt REG 14,5 144144 2868927 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/iconengines/libqsvgicon.dylib
calibre 5902 Howard txt REG 14,5 111704 2868930 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/imageformats/libqico.dylib
calibre 5902 Howard txt REG 14,5 91420 2868933 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/imageformats/libqsvg.dylib
calibre 5902 Howard txt REG 14,2 37540 322685 /Library/InputManagers/SpeedDownload Enhancer/SpeedDownloadEnhancer.bundle/Contents/MacOS/SpeedDownloadEnhancer
calibre 5902 Howard txt REG 14,5 360344 2868931 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/imageformats/libqjpeg.dylib
calibre 5902 Howard txt REG 14,5 743240 2868932 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/imageformats/libqmng.dylib
calibre 5902 Howard txt REG 14,5 696404 2868934 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/imageformats/libqtiff.dylib
calibre 5902 Howard txt REG 14,2 10244016 7355715 /usr/share/icu/icudt36l.dat
calibre 5902 Howard txt REG 14,2 5425538 618732 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc
calibre 5902 Howard txt REG 14,2 61520 3995577 /Library/InputManagers/SIMBL/SIMBL.bundle/Contents/MacOS/SIMBL
calibre 5902 Howard txt REG 14,2 367168 586270 /System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
calibre 5902 Howard txt REG 14,2 314128 586267 /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
calibre 5902 Howard txt REG 14,2 11214440 6604796 /private/var/folders/N8/N8txjE2pF60Mowy1Cb1nbk+++TI/-Caches-/com.apple.ATS/annex_aux
calibre 5902 Howard txt REG 14,2 19336 5945358 /private/var/folders/N8/N8txjE2pF60Mowy1Cb1nbk+++TI/-Caches-/com.apple.IntlDataCache.le.sbdl
calibre 5902 Howard txt REG 14,2 163664 2366032 /Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports
calibre 5902 Howard txt REG 14,2 2621440 9371718 /Library/Caches/com.apple.LaunchServices-023501.csstore
calibre 5902 Howard txt REG 14,5 663024 2868918 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/MacOS/accessible/libqtaccessiblewidgets.dylib
calibre 5902 Howard txt REG 14,2 306320 7347022 /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib
calibre 5902 Howard txt REG 14,2 102488 9000675 /private/var/folders/N8/N8txjE2pF60Mowy1Cb1nbk+++TI/-Caches-/com.apple.IntlDataCache.le.kbdx
calibre 5902 Howard txt REG 14,2 1832384 862206 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/SArtFile.bin
calibre 5902 Howard txt REG 14,2 10826160 7363283 /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
calibre 5902 Howard txt REG 14,2 5836820 697452 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/ArtFile.bin
calibre 5902 Howard txt REG 14,2 144580 618802 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
calibre 5902 Howard txt REG 14,2 490410 7347552 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
calibre 5902 Howard txt REG 14,2 808008 864903 /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat
calibre 5902 Howard txt REG 14,2 1059792 7351201 /usr/lib/dyld
calibre 5902 Howard txt REG 14,2 137953280 9371720 /private/var/db/dyld/dyld_shared_cache_i386
calibre 5902 Howard txt REG 14,2 450560 586262 /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
calibre 5902 Howard txt REG 14,2 614080 586263 /System/Library/CoreServices/Encodings/libKoreanConverter.dylib
calibre 5902 Howard 0r CHR 3,2 0t0 67208836 /dev/null
calibre 5902 Howard 1 PIPE 0x51b3068 16384
calibre 5902 Howard 2 PIPE 0x51b3068 16384
calibre 5902 Howard 3r REG 14,5 7886 2868940 /Volumes/Portable/Applications/E Reader Apps/calibre.app/Contents/Resources/__boot__.py
calibre 5902 Howard 4 PIPE 0x51b451c 16384
calibre 5902 Howard 5 PIPE 0x51b46ac 16384
calibre 5902 Howard 6 PIPE 0x51b4648 16384
calibre 5902 Howard 7 PIPE 0x51b32c0 16384
calibre 5902 Howard 8r REG 14,2 5425538 618732 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc
calibre 5902 Howard 9u unix 0x480a440 0t0 /var/folders/N8/N8txjE2pF60Mowy1Cb1nbk+++TI/-Tmp-/calibre_server
calibre 5902 Howard 10u unix 0x7e1fc38 0t0 ->0x40c9bb0
calibre 5902 Howard 11u unix 0x40c9bb0 0t0 ->0x7e1fc38
calibre 5902 Howard 12w REG 14,2 0 9400484 /Users/Howard/.calibre_calibre GUI.lock
calibre 5902 Howard 13u unix 0x4705088 0t0 /var/folders/N8/N8txjE2pF60Mowy1Cb1nbk+++TI/-Tmp-/calibre_serverg_QoyN_5902_
calibre 5902 Howard 14 PIPE 0x51b483c 16384
calibre 5902 Howard 15 (revoked)
calibre 5902 Howard 16 (revoked)
calibre 5902 Howard 17u REG 14,2 98304 9166064 /Users/Howard/Desktop/Calibre Library/metadata.db
calibre 5902 Howard 18 PIPE 0x51b2dac 16384
calibre 5902 Howard 19 PIPE 0x51b2a28 16384
calibre 5902 Howard 20r REG 14,2 144580 618802 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
calibre 5902 Howard 21r REG 14,2 490410 7347552 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
calibre 5902 Howard 22 (revoked)
calibre 5902 Howard 23 (revoked)
calibre 5902 Howard 24 (revoked)
calibre 5902 Howard 25 (revoked)
calibre 5902 Howard 26 (revoked)
calibre 5902 Howard 27 (revoked)
calibre 5902 Howard 28 (revoked)
calibre 5902 Howard 29 (revoked)
calibre 5902 Howard 30 (revoked)
calibre 5902 Howard 31 (revoked)
Howard:~ Howard$
..."

I hope it helps. Howard
pthwaite is offline   Reply With Quote
Old 02-27-2009, 12:44 PM   #5
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Hm... I'm not seeing Calibre holding any open files. Could you run the follwing:

Code:
$ lsof > open_files.txt
when the Cybook can't be ejected and attach the txt file it creates.
user_none is offline   Reply With Quote
Advert
Old 02-27-2009, 02:05 PM   #6
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
Unless I'm doing something wrong, here goes. I enclose a jpg file showing the output. Note that Calibre and safari were still running, but nothing else.

I can eject the SD card, it just doesn't eject the Cybook & does in fact re-mount the SD card after a short while.
Attached Thumbnails
Click image for larger version

Name:	Cybook Calibre.jpg
Views:	238
Size:	38.9 KB
ID:	24560  
pthwaite is offline   Reply With Quote
Old 02-27-2009, 02:32 PM   #7
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
Finally understood how to get you your output file.

Right, Calibre on, Cybook connected. From the Finder I try to eject the Cybook, nothing happens, try repeatedly and then run the terminal list file open command. The output is here:

Oh, & the Cybook remains connected blissfully unaware I ant it off. Close Calibre & it ejects without a murmur.

regards
Attached Files
File Type: rtf open_files.rtf (194.8 KB, 291 views)
pthwaite is offline   Reply With Quote
Old 02-27-2009, 06:26 PM   #8
TS-Rick
Member
TS-Rick began at the beginning.
 
TS-Rick's Avatar
 
Posts: 22
Karma: 20
Join Date: Dec 2008
Location: Mass, USA
Device: CyBook Gen3, iPhone, PRS-505 (Blue)
Quote:
Originally Posted by pthwaite View Post
I can eject the SD card, it just doesn't eject the Cybook & does in fact re-mount the SD card after a short while.
I have the same re-mount problem when I eject the SD card.
Someone else said to use the Disk Utility to unmount the SD card.
This works fine for me.

Rick
TS-Rick is offline   Reply With Quote
Old 03-01-2009, 10:32 AM   #9
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
The open_files.rtf file is showing Calibre holding uk_teleph.pdf and NHS Pension guide.pdf open. I've looked though every open call in the driver and only one didn't have a corresponding close was in get_file. I've added it.

@pthwaite, those files that are still open, did you use the right click in device listing and select view to open them on the computer? If you did than it looks like the is the issue.
user_none is offline   Reply With Quote
Old 03-01-2009, 02:01 PM   #10
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
As far as I am aware, no files are or should I say, were open?

The way I normally use calibre is to have the Cybook showing the Library. Calibre is running but with nothing open. Plug in the Cybook, Calibre then detects it and copies the news feeds to the SD card.

The only other thing running is my Mail app on the MAC.

At that point all I try to do is (from the Finder) Eject the Cybook & SD Card.

As discussed, this fails & so I close Calibre, eject Cybook, re-start calibre ready for the next days News.
pthwaite is offline   Reply With Quote
Old 03-01-2009, 06:10 PM   #11
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: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by user_none View Post
The open_files.rtf file is showing Calibre holding uk_teleph.pdf and NHS Pension guide.pdf open. I've looked though every open call in the driver and only one didn't have a corresponding close was in get_file. I've added it.

@pthwaite, those files that are still open, did you use the right click in device listing and select view to open them on the computer? If you did than it looks like the is the issue.
Maybe be the metadata reading code is doing this? IIRC the Cybook uses the metadata plugins?
kovidgoyal is offline   Reply With Quote
Old 03-01-2009, 06:19 PM   #12
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by kovidgoyal View Post
Maybe be the metadata reading code is doing this? IIRC the Cybook uses the metadata plugins?
Yep. For some reason it only affects the PDF metadata reader... I'm not sure why but I believe it has something to do with pyPdf's PdfFileReader object. I've committed a fix to my branch. The fix will prevent this from cropping up in other metadata readers as well.

Quote:
Originally Posted by pthwaite
As far as I am aware, no files are or should I say, were open?
When you get an error about not being able to unmount a device it's because there is a file on the device that is open. Just like when you open a file in a text editor. Every app on your system opens a lot of tiles. lsof (OS X/Linux/*nix only) shows a list of every file in use (open) by every running app. The issue was Calibre is opening all PDF files on the device to read the metadata and then not closing them when finished.
user_none is offline   Reply With Quote
Old 03-02-2009, 04:43 AM   #13
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
Ah, right. thanks for that

regards, Howard
pthwaite is offline   Reply With Quote
Old 03-04-2009, 08:12 AM   #14
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
Thank you very much, I can confirm the latest calibre release fixes the Cybook eject issue
pthwaite is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle doesn't disconnect/eject from PC?? AFK_Matrix Amazon Kindle 4 05-21-2011 08:27 PM
How do I eject the reader? Mememememe Kobo Reader 19 07-05-2010 10:24 PM
DR800 How should I eject the DR? CoolDragon iRex 3 06-29-2010 03:44 AM
PRS-600 won't eject Petey Sony Reader 7 05-04-2010 08:11 AM
Can't Eject Kindle Sydney's Mom Calibre 2 02-03-2010 06:03 PM


All times are GMT -4. The time now is 04:27 AM.


MobileRead.com is a privately owned, operated and funded community.