bookworm icon indicating copy to clipboard operation
bookworm copied to clipboard

Mint Linux, can't navigate to SD card

Open alandudley opened this issue 6 years ago • 14 comments

Running in Mint 18.3, installed from software manager, shows version 1.0.0 SD card is mounted in os, on /media/username/directory, and accessible in Mint Choosing Other Locations or navigating to the root shows most folders but not /mnt or /media in the root folder, so I cannot navigate to the card where my books are stored

alandudley avatar Jun 15 '18 17:06 alandudley

Looks more of a mounting issue...if you can navigate to the folder where you have the books using the file explorer and right click the ebook then see if Bookworm shows in the context menu and try opening there... Otherwise if you can create a symlink to the folder where you have the book from a folder which shows up in the Bookworm navigation then you can try that option as well...

babluboy avatar Jun 16 '18 05:06 babluboy

It is not a mounting issue, the card is mounted and shows up in all file browsers and command line both. Your open file gui interface is hiding both /mnt and /media so there is no way to get to the card. This is a bug. Symlinks do not solve problems even as a workaround when removable media is involved. If you can't fix the gui, which seems like the correct thing to do, at least give us the option of typing in the path instead of using the gui, an option which looks like it was present in earlier versions. The path works. Why would you show the entire directory tree in the gui except for mnt and media? Those are the most important folders to have visible.

alandudley avatar Jun 17 '18 15:06 alandudley

There is no code to show or hide directory paths....couple of more suggestions:

  1. Run in debug mode and try to add a book using the window navigation and let’s see what info comes up: bookworm — debug Attach the debug data here by piping it to a file: bookworm — debug>debug.txt

  2. In preference option, try and see if you can add the folder to watch for books. Let’s see if this gives the same issue when navigating to the directory you want

  3. Try running bookworm in sudo mode to check if it’s a permission issue.

babluboy avatar Jun 17 '18 15:06 babluboy

@alandudley hi, any updates on the above. Will be good to see the debug when you try to navigate to the mounted folder...

babluboy avatar Jun 18 '18 21:06 babluboy

I don't think you're understanding me. The folders mnt and media are not on the list to be clicked on, this is the problem. They are being hidden from your folder list somehow; so there's no debug data to give you because there's nothing to click.

Those folders are also missing from the preference menu, same thing, all the other folders in the root are displayed but not mnt or media.

It looks like it installed as a flatpack, so I don't know where to find the executable to sudo it. Bookworm at the command line doesn't do it.

alandudley avatar Jun 19 '18 01:06 alandudley

Thanks for the update.I gave the wrong name for the executable. Try : com.github.babluboy.bookworm —debug > ~/debug.txt

This might be a flatpak issue. Another way will be to build from source. Instructions are on this GitHub main page but not for Mint. We can add the Mint instructions if you can figure how to build the required code and install the dependent packages based on Ubuntu build commands.

babluboy avatar Jun 19 '18 05:06 babluboy

Also run the following command to see the debug output when adding the book from command line: com.github.babluboy.bookworm —debug /media/yourname/folder/somebook.epub

Will be good to see the output of that.

babluboy avatar Jun 19 '18 05:06 babluboy

@alandudley Any updates for the above debug command?

babluboy avatar Jul 11 '18 05:07 babluboy

I have the same issue. When trying to add library path, in directory add dialog, there are no mounted partitions. See attached picture. There is no /mnt nor /media directories listed. I suspect, it might be related to gtk-file-chooser, but I have no enough experience in this to check.

Screenshot from 2019-04-08 17-29-43

debug.txt

morozsm avatar Apr 08 '19 21:04 morozsm

Also, there is some strange error, with can also be related, like: GVFS-DEBUG: 17:33:49.233: cannot open directory /usr/share/gvfs/remote-volume-monitors: Error opening directory “/usr/share/gvfs/remote-volume-monitors”: No such file or directory (WebKitWebProcess:14): GVFS-DEBUG: 17:33:49.235: org.gtk.vfs.MountTracker.listMountableInfo call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown (g-dbus-error-quark, 2)

It's weird, because /usr/share/gvfs/remote-volume-monitors definitely exists and accessible by user account.

morozsm avatar Apr 08 '19 21:04 morozsm

Logging this issue on behalf of Willem ([email protected]):

Under preferences I can only select library folders under the main disk root folders.
While my epubs are store on a 2nd disk inder /mnt/   etc.
Yet /mnt and /media  folders are not accessable.
So I cannot easily load all my epubs in bookworm library.
The work around is to access the epub directly and then select bookworm as the reader.

babluboy avatar Jul 15 '19 03:07 babluboy

@morozsm @alandudley Can you please provide details of how you got Bookworm on Mint. This issue (#290) will benefit from the same. I can also provide details for installing on Mint on the Bookworm website

babluboy avatar Dec 28 '19 08:12 babluboy

lm 19.3 I have the same problem. I can not access my external usb drive where all my data are. It behave as if it is capsuled in a snap. I got bookworm through the mint " gestionnaire de logiciels " the software manager. I do not know what to do

nonoayay avatar Jan 22 '20 16:01 nonoayay

@nonoayay Thanks for letting me know that you got Bookworm via the Mint software manager. I will check the maintainer of the software to see why Mint is not able to display some directories and mounts through the gnome file chooser

babluboy avatar Mar 22 '20 03:03 babluboy