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 08-31-2010, 12:36 AM   #1
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
Calibre Mount Helper in Ubuntu 10.04

How is this supposed to work? Am I set up wrongly?

At the moment I have this in my /media folder:

Code:
disk
disk-1
disk-3
Jetbook Main Memory
Jetbook Main Memory (1)
Jetbook Storage Card
Jetbook Storage Card (1)
When Calibre exits, it does not always clean up after itself.

I'm also getting multiple entries in my hal.mtab file:

Code:
/dev/sdh    1000    0    vfat    nosuid,nodev,uhelper=hal,uid=1000,umask=0077,shortname=winnt,utf8    /media/disk
/dev/sdh    1000    0    vfat    nosuid,nodev,uhelper=hal,uid=1000,umask=0077,shortname=winnt,utf8    /media/disk
/dev/sdg    1000    0    vfat    nosuid,nodev,uhelper=hal,uid=1000,umask=0077,shortname=winnt,utf8    /media/disk-2
/dev/sdh    1000    0    vfat    nosuid,nodev,uhelper=hal,uid=1000,umask=0077,shortname=winnt,utf8    /media/disk
I've cleaned both of these out a few times, but I'd like to know how Calibre expects to work, and whether something is awry with my setup. Even after cleaning them up, if I restart Calibre, multiple folders get recreated sometimes. The number of folders keeps increasing overall.

Thanks.
capidamonte is offline   Reply With Quote
Old 08-31-2010, 01:10 AM   #2
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
I think I may have a clue to what's going on.

If I have a root file manager (Thunar) open, the Libre's disks get mounted as root. Calibre is running as my regular user. I'm thinking that when it exits, Calibre cannot clean up.

Linux gurus: Is there anyway to avoid this, aside from not having a root File Manager open?

Thanks.
capidamonte is offline   Reply With Quote
Advert
Old 08-31-2010, 11:29 AM   #3
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,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you need ti use the eject action within calibre to have the directories unmounted and removed.
kovidgoyal is offline   Reply With Quote
Old 08-31-2010, 06:08 PM   #4
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
I do that. The system won't let me unmount them once Calibre sees them, anyway. Sometimes it takes a while to properly unmount the drives (using Calibre) from my desktop but not more than 30 seconds or so. If I don't wait, I get scrambled files (sync issues.) Calibre will have indicated that I am unmounted already, though.

Nonetheless, it still leaves folders in /media -- it almost seems like the system is catching it first, then Calibre is making changes but sometimes Calibre doesn't quite catch it in time.

I'm not getting consistent naming on the folders, either. Sometimes they are Jetbook Main Memory, Jetbook Storage Card or multiple variants, and sometimes, as right now, I'm actually getting three disk names: disk, disk-1 and disk-3, which makes zero sense. disk-3 is owned by root for some reason. When Calibre unmounts the disks, disk-3 is left behind.

It's weird and inconsistent.

I just unmounted and remounted after changing disk-3 ownership to my username. This time I got disk and disk-1 and Jetbook Main Memory. disk-1 and Jetbook Main Memory both lead to the Libre's main memory. disk is the storage card. disk-3 is still empty.

Unmounting via Calibre leaves disk-3 and Jetbook Main Memory behind. Remounting produces disk and disk-1, Jetbook Main Memory(1) and Jetbook Storage Card. The old Jetbook Main Memory and disk-3 are still there. So now I have six folders in /media. Unmount: the three Jetbook folders remain behind with disk-3.

My next remount added two more Jetbook folders, but only one disk folder. You can see part of what's happening here. When Calibre finds folders that it left behind, it makes new ones. The disk thing seems to be beyond simple observation -- it's got to be related to whether Calibre is successfully creating its own folders, and the timing of it.

At the moment I have seven folders for the two external disks in the Libre.

I also have two extra entries apiece for /media/disk and /media/disk-1 in my .hal-mtab file, even after a reboot.

Something is up.

Last edited by capidamonte; 08-31-2010 at 06:35 PM.
capidamonte is offline   Reply With Quote
Old 08-31-2010, 09:10 PM   #5
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,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you've got two automount system vying for control, calibre's and your OSes. Turn either one off and you should see consistent behavior.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-31-2010, 10:26 PM   #6
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
Care to give a hint on how to shut off Calibre's? I can't seem to find it in the preferences or the manual.

Last edited by capidamonte; 08-31-2010 at 10:46 PM.
capidamonte is offline   Reply With Quote
Old 09-01-2010, 12:13 AM   #7
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,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
just delete the calibre-mount-helper program.
kovidgoyal is offline   Reply With Quote
Old 09-01-2010, 04:39 AM   #8
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
Well, there's always that.
capidamonte is offline   Reply With Quote
Old 09-01-2010, 06:20 PM   #9
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
If anyone else is on Xubuntu, I updated Thunar (file manager) to version 1.1.1 using this PPA. Seems to have solved the problem for the moment.

This new version of Thunar uses udev instead of HAL.
capidamonte is offline   Reply With Quote
Old 09-04-2010, 02:59 AM   #10
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
There's gotta be more.

I was fine for a few days. Everything worked perfectly. Calibre and system volume management cooperated to mount the disks to folders named Jetbook Main Memory and Jetbook Storage Card. I upgraded to 0.7.17 Now I'm getting the following error:

Code:
(30, 'Read-only file system')

Traceback (most recent call last):
  File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 68, in run
  File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 289, in _books
  File "/home/kovid/build/calibre/src/calibre/devices/usbms/driver.py", line 162, in books
  File "/home/kovid/build/calibre/src/calibre/devices/usbms/driver.py", line 304, in sync_booklists
  File "/home/kovid/build/calibre/src/calibre/devices/usbms/driver.py", line 301, in write_prefix
IOError: [Errno 30] Read-only file system: u'/media/Jetbook Storage Card/metadata.calibre'
And I'm getting files named Jetbook\040Storage\040Card with numerical variations. And the standard names, too.

If Calibre is not running, the disks mount normally. If I start Calibre with the disks mounted, Calibre causes files and folders to become read-only.

I have done nothing but move files on and off the SD card using Calibre (and once using the file manager, not as root.)
capidamonte is offline   Reply With Quote
Old 09-04-2010, 10:40 AM   #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,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Filesystem errors cause filesystems to be remounted as readonly in linux.
kovidgoyal is offline   Reply With Quote
Old 09-04-2010, 02:35 PM   #12
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
I think it is Calibre that is causing those errors. Something weird is going on.

This morning it was recognized fine. I transferred some files. All was good, proper foldernames in /media.

15 minutes later, I reconnected and my Libre was recognized as a MiBuk -- and folders named (1) and (2) were created. I didn't transfer any files, as last time this happened, I got files in the wrong place.

Calibre properly unmounted the device and removed the folders.

Remount, and it's a Jetbook again.

What can I do to help discover what the problem is? I can't seem to determine a consistent way to make it error out.

EDIT: maybe a clue? gparted sees both the Libre main memory and the SD card as unallocated, although the SD card appears as FAT32 when in my laptop's card-reader.

Last edited by capidamonte; 09-04-2010 at 02:37 PM.
capidamonte is offline   Reply With Quote
Old 09-04-2010, 02:57 PM   #13
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,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you can prevent it from being detected as a mibuk by disabling the mibuk plugin
kovidgoyal is offline   Reply With Quote
Old 09-04-2010, 04:39 PM   #14
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
Disabled the MiBuk plugin. Hopefully that will be the end of the issue...

Thanks, as always!
capidamonte 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
PRS-600 Cannot mount internal memory on Ubuntu 10.04 2.6.32-17-generic marcchehab Sony Reader 2 03-26-2010 08:30 AM
PRS 700 does not mount on Ubuntu 8.10 ita Sony Reader 5 06-23-2009 08:47 PM
Calibre under Ubuntu 9.04 ebeckhusen Calibre 4 04-10-2009 04:22 PM
Cannot install calibre on ubuntu 8.04 kkkidder Calibre 1 03-19-2009 10:44 PM
Calibre as a helper for PRS-505 navigation? kevin_boone Calibre 4 02-12-2009 02:09 PM


All times are GMT -4. The time now is 01:51 PM.


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