![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 488
Join Date: Mar 2010
Location: Tulsa, OK, USA
Device: Kindle 2, Sony PRS 900
|
![]()
Not sure what this is. Using latest Ubuntu... plugged in Sony 900, Calibre shows this error:
Code:
(5, 'Input/output error') Traceback (most recent call last): File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 56, in run File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 212, in _books File "/home/kovid/build/calibre/src/calibre/devices/prs505/driver.py", line 113, in books File "/home/kovid/build/calibre/src/calibre/devices/prs505/books.py", line 135, in __init__ File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse return expatbuilder.parse(file) File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 928, in parse result = builder.parseFile(file) File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 204, in parseFile buffer = file.read(16*1024) IOError: [Errno 5] Input/output error |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,139
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
that means there was an error reading from a file on the device. try rebooting your device.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 488
Join Date: Mar 2010
Location: Tulsa, OK, USA
Device: Kindle 2, Sony PRS 900
|
Thanks Kovid.
I ended up plugging it into my Windows machine and reformatting the reader drive. I'm not sure what the deal with Ubuntu is. When I use the 900 with Ubuntu a few times, the reader drive ends up being read-only. I think I will just have to stick to Windows. Unless you think this is a Calibre problem, I'd be happy to try and work through it. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,139
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I doubt it's a calibre problem. All calibre does is mount your drive and use normal filesystem callls to copy/delete file on it. Is the device being automounted by Ubuntu? If that's the case it may be mounted as root which is causing your problem. If you turn off the automounting the problem should go away.
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 488
Join Date: Mar 2010
Location: Tulsa, OK, USA
Device: Kindle 2, Sony PRS 900
|
Yeah, it's automounted by ubuntu.
How do I turn off automounting... lol |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 488
Join Date: Mar 2010
Location: Tulsa, OK, USA
Device: Kindle 2, Sony PRS 900
|
Nevermind.. google is my friend...
I did this: $ gconf-editor apps > nautilus > preferences Uncheck the "media_automount" option Uncheck the "media_automount_open" option tada.. I'll put it through the works and see if it does the trick. Thanks again Kovid. |
![]() |
![]() |
![]() |
#7 | |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Also, you can repair the file system in Ubuntu if it becomes read only. Use the following but replace sdb with the id for the 900. Code:
sudo fsck.vfat /dev/sdb -artvVw |
|
![]() |
![]() |
![]() |
#8 |
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 488
Join Date: Mar 2010
Location: Tulsa, OK, USA
Device: Kindle 2, Sony PRS 900
|
Ok, I re-enabled the automount feature to try this out.
I've noticed before that if I right click the icon on the desktop and select "safely remove" I always get this error: Code:
Error detaching: helper exited with exit code 1: sense buffer empty Error STOP UNIT for /dev/sde: Success and then "eject" the two sony drives, and then use the safely remove feature, it works fine. .... After fiddling some more, it seems best to right click the icons on the desktop and use "eject", and then to go to Places > computer and use the safely remove feature on one of the drives, which then makes all the sony-related items disappear. Ok, seems like everything is working properly, which is awesome, cause I really don't want to use windows! Alright, as far as using that code to repair the file system if I manage to make it read only... I plugged in the device and looked under "dev". There is a item called sdb, but I'm not sure if that is the ID of the device? How do I figure out the ID of the sony device? |
![]() |
![]() |
![]() |
#9 | |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
The easiest way to find the device id is to plug in the device, wait for it to be detected and do the following: Code:
$ cat /etc/mtab Code:
/dev/sdb /media/Cybook\040Gen3 vfat rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=100,shortname=mixed,dmask=0077,utf8=1,flush 0 0 |
|
![]() |
![]() |
![]() |
#10 |
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 488
Join Date: Mar 2010
Location: Tulsa, OK, USA
Device: Kindle 2, Sony PRS 900
|
Yeah, I'll be careful!
Code:
I ran the mtab thing and have this: /dev/sdb /media/READER vfat rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush 0 0 /dev/sde /media/LAUNCHER vfat ro,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush 0 0 Launcher is the Sony software that comes with the device. It always gets mounted, too. Don't think there is a way to get rid of it. Anyway, thanks for you help. Looks I'm good to go now! |
![]() |
![]() |
![]() |
Tags |
calibre, error, input, output |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDB output conversion error | silinthar | Calibre | 6 | 10-01-2010 02:18 AM |
ERROR: Error: Error communicating with device | JWood | Calibre | 10 | 04-20-2010 07:28 PM |
Grab news error with PDF output | chatainsim | Calibre | 3 | 02-28-2010 06:59 PM |
Error help: "Invalid input object: NoneType" | MichaelGray | ePub | 1 | 02-14-2010 09:16 AM |
FB2 Output error | stahanovez | Calibre | 2 | 08-02-2009 03:33 PM |