|
|
#1 |
|
Liseuse Lover
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
|
Conflict between Calibre and mounted TrueCrypt device volume
Hi all,
This may be an unusual/edge case, I don't know. I have an external USB hard drive entirely encrypted (so not a separate truecrypt container on a partition, nor a encrypted partition, but a device-hosted truecrypt volume) using TrueCrypt's volume creation wizard and choosing the 'encrypt a non-system partition/drive' option. If this device is mounted via truecrypt, calibre fails to detect the reader properly when it is subsequently attached (reader shows up with 0KB mem, card is not detected, get the following error: ERROR: Error: Error communicating with device unsupported operand type(s) for +: 'NoneType' and 'str' Traceback (most recent call last): File "calibre\gui2\device.pyo", line 57, in run File "calibre\gui2\device.pyo", line 199, in _books File "calibre\devices\prs505\driver.pyo", line 103, in books TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' ) This behavior only occurs when the encrypted drive is mounted, not when it is attached but not mounted, it also does not happen when a truecrypt container/file is mounted. Behavior occurs on windows XP, any of the Calibre 0.6.x series, TrueCrypt 6.2a and earlier. I will test this under linux shortly. Of course it is no big deal to unmount the drive before attaching the reader (if slightly annoying), but the behavior is a little odd so I thought I'd mention it. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Interesting. Can you post the output of
calibre-debug -d with the reader and the truecrypt volume connected |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Liseuse Lover
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
|
With truecrypt volume mounted:
Code:
USB devices on system: [u'usb\\root_hub&vid8086&pid2832&rev0003', u'usb\\root_hu
b&vid8086&pid2830&rev0003', u'usb\\root_hub&vid8086&pid2831&rev0003', u'usb\\roo
t_hub&vid8086&pid2835&rev0003', u'usb\\root_hub&vid8086&pid2834&rev0003', u'usb\
\root_hub20&vid8086&pid2836&rev0003', u'usb\\root_hub20&vid8086&pid283a&rev0003'
, u'usb\\vid_03f0&pid_171d&rev_0100', u'usb\\vid_0424&pid_2504&rev_0001', u'usb\
\vid_04e8&pid_1f05&rev_0000', u'usb\\vid_054c&pid_031e&rev_0229', u'usb\\vid_08f
f&pid_2580&rev_0623', u'usb\\vid_413c&pid_1002&rev_0200', u'usb\\vid_413c&pid_20
02&rev_0200', u'usb\\vid_413c&pid_2002&rev_0200&mi_00', u'usb\\vid_413c&pid_2002
&rev_0200&mi_01', u'usb\\vid_413c&pid_3016&rev_0007']
Drives detected:
(ID, Partitions, Drive letter)
('IDE\\DISKTOSHIBA_MK1214GAH_______________________BW001C__\\5&89C8242&0
&0.0.0', 'No mount points found')
('USBSTOR\\DISK&VEN_SONY&PROD_PRS-505/UC&REV_1000\\080046100067F7BF&0',
'No mount points found')
('USBSTOR\\DISK&VEN_SONY&PROD_PRS-505/UC:MS&REV_1000\\080046100067F7BF&1
', 'No mount points found')
('USBSTOR\\DISK&VEN_SONY&PROD_PRS-505/UC:SD&REV_1000\\080046100067F7BF&2
', 'No mount points found')
Looking for BEBOOK
Looking for BEBOOK_MINI
Looking for BLACKBERRY
Looking for CYBOOKG3
Looking for EB600
Looking for ILIAD
Looking for IREXDR1000
Looking for JETBOOK
Looking for KINDLE
Looking for KINDLE2
Looking for KINDLE_DX
Looking for PRS500
Looking for PRS505
Looking for PRS700
Looking for ANDROID
Looking for CYBOOK_OPUS
Looking for COOL_ER
Device possibly connected: <calibre.devices.prs505.driver.PRS505 object at 0x02B
0A510>
Trying to open device... OK
Main memory: None
Total space: (0, 0, 0)
Code:
USB devices on system: [u'usb\\root_hub&vid8086&pid2832&rev0003', u'usb\\root_hu
b&vid8086&pid2830&rev0003', u'usb\\root_hub&vid8086&pid2831&rev0003', u'usb\\roo
t_hub&vid8086&pid2835&rev0003', u'usb\\root_hub&vid8086&pid2834&rev0003', u'usb\
\root_hub20&vid8086&pid2836&rev0003', u'usb\\root_hub20&vid8086&pid283a&rev0003'
, u'usb\\vid_03f0&pid_171d&rev_0100', u'usb\\vid_0424&pid_2504&rev_0001', u'usb\
\vid_04e8&pid_1f05&rev_0000', u'usb\\vid_054c&pid_031e&rev_0229', u'usb\\vid_08f
f&pid_2580&rev_0623', u'usb\\vid_413c&pid_1002&rev_0200', u'usb\\vid_413c&pid_20
02&rev_0200', u'usb\\vid_413c&pid_2002&rev_0200&mi_00', u'usb\\vid_413c&pid_2002
&rev_0200&mi_01', u'usb\\vid_413c&pid_3016&rev_0007']
Drives detected:
(ID, Partitions, Drive letter)
('IDE\\DISKTOSHIBA_MK1214GAH_______________________BW001C__\\5&89C8242&0
&0.0.0', 'No mount points found')
('USBSTOR\\DISK&VEN_SONY&PROD_PRS-505/UC&REV_1000\\080046100067F7BF&0',
2, u'F:\\')
('USBSTOR\\DISK&VEN_SONY&PROD_PRS-505/UC:MS&REV_1000\\080046100067F7BF&1
', 3, u'G:\\')
('USBSTOR\\DISK&VEN_SONY&PROD_PRS-505/UC:SD&REV_1000\\080046100067F7BF&2
', 'No mount points found')
Looking for BEBOOK
Looking for BEBOOK_MINI
Looking for BLACKBERRY
Looking for CYBOOKG3
Looking for EB600
Looking for ILIAD
Looking for IREXDR1000
Looking for JETBOOK
Looking for KINDLE
Looking for KINDLE2
Looking for KINDLE_DX
Looking for PRS500
Looking for PRS505
Looking for PRS700
Looking for ANDROID
Looking for CYBOOK_OPUS
Looking for COOL_ER
Device possibly connected: <calibre.devices.prs505.driver.PRS505 object at 0x02B
0A510>
Trying to open device... OK
Main memory: u'F:\\'
Total space: (220368896, 4005060608L, 0)
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre uses WMI to query the OS for the mounted drive points. Presumably TrueCrypt is interfering with that process somehow.
|
|
|
|
|
|
#5 |
|
Liseuse Lover
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
|
Bugger. I'll go see if the truecrypt guys know why this might be. Thanks. If I hear anything I'll update this thread.
|
|
|
|
| Advert | |
|
|
![]() |
| Tags |
| truecrypt, windows |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRS-650 Extra Mounted Volume "Setting" | slantybard | Sony Reader | 12 | 09-23-2010 04:51 AM |
| Does Sony Reader Library conflict with Calibre? | jessie102 | Calibre | 20 | 09-01-2010 08:15 PM |
| Calibre linux mounting conflict -- PRS-505/Ubuntu | cutterjohn42 | Calibre | 1 | 11-25-2009 02:51 PM |
| TrueCrypt port to DR? | mail4peter | iRex | 0 | 10-07-2009 10:48 AM |
| Abandoned attempt to use calibre with SSH mounted drive | astrodad | Calibre | 9 | 10-06-2008 10:46 AM |