Menu

#35 cant open comics from FTP

Git
closed-out-of-date
nobody
None
5
2023-09-16
2012-05-15
Troy Sankey
No

When I try to open comics from my FTP server in Thunar or Nautilus it gives the error:
"No images in /home/username/.gvfs/FTP on ftp.myserver.com/comics/comic_file.cbr"

They open fine with Evince document viewer (from Thunar). I can navigate to the FTP server using Firefox and "open with MComix" which works fine, but that's only because Firefox first downloads them to /tmp and MComix never sees the ftp:// link.

MComix 0.98
Thunar 1.4.0
gvfs and gvfs-smp are installed.
My FTP server accepts anonymous connections.

Related

Bugs: #73
Feature Requests: #5

Discussion

  • Troy Sankey

    Troy Sankey - 2012-05-15

    Here's what happens if I navigate to the gvfs directory mounted by Thunar.

    bash$ pwd
    /home/username/.gvfs/FTP on ftp.myserver.com/comics

    bash$ cp "Lisa Comics.cbr" ~/
    cp: reading 'Lisa Comics.cbr': Operation not supported

    bash$ mcomix "Lisa Comics.cbr"
    ** (process:29787): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
    ** (process:29787): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
    ** (process:29787): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
    21:28:40 WARNING: ! Could not read Lisa Comics.cbr
    21:28:41 WARNING: ! Could not read Lisa Comics.cbr

    bash$ evince "Lisa Comics.cbr"

    The last command opens Evince, downloads the comic file, and displays it. Maybe I should have made this a feature request rather than a bug report?

     
  • Oddegamra

    Oddegamra - 2012-05-15

    Hello,

    in fact, a GVFS support feature request was already created (way) in the past here (https://sourceforge.net/tracker/?func=detail&aid=3298787&group_id=341051&atid=1427791). I've been doing a bit of research in this direction and it seems that the new GVFS/GIO exposes its files by creating a virtual file system mounted at ~/.gvfs. From my understanding, regular applications should be able to treat these virtual files as regular files. It seems that this is not the case, however. I'll try to get my hands on a Linux virtual machine that supports GVFS out of the box (Ubuntu, maybe?) for further investigation.

     
  • Oddegamra

    Oddegamra - 2012-05-15

    From what I can see, a FTP GVFS share breaks MComix big time. Apparently, one or more file system operations aren't implemented that prevent opening archives with:
    - zipfile: Operation not supported
    - tarfile: Throws exception
    - unrar: Operation not supported

    Accessing files on a samba share, however, works without problems. I'm at a bit of a loss here. It might be necessary to copy the file to a persistent storage location first (i.e. /tmp), but I don't see a portable way to detect this sort of information yet.

     
  • Oddegamra

    Oddegamra - 2023-09-16
    • status: open --> closed-out-of-date
    • Group: --> Git
     

Log in to post a comment.

MongoDB Logo MongoDB