D23384: [WIP] Adding support for mounting KIOFuse URLs for applications that don't use KIO

Nathaniel Graham noreply at phabricator.kde.org
Sun Dec 1 04:58:53 GMT 2019


ngraham added a comment.


  In D23384#569929 <https://phabricator.kde.org/D23384#569929>, @feverfew wrote:
  
  > This isn't reaching KIOFuse at all. I believe this is related to this bug and that you've also blogged about:
  >  https://bugs.kde.org/show_bug.cgi?id=330192
  >  https://pointieststick.com/2018/01/17/videos-on-samba-shares/
  >
  > This can be solved in this patch (and I did, although I removed it at Harald's request). I think I'll move it back in, and will leave it if it does solve this issue for you.
  
  
  Great! Once it's back in, I'll re-test that.
  
  > You must be doing something wrong. FUSE provides output of all calls that it receives (and how kio-fuse responds). Let me write the instructions more verbosely for CLI to make sure no steps are missed:
  >  `$ killall kio-fuse`
  >  `$ export QT_LOGGING_RULES="*.debug=true"`
  >  `$ kio-fuse $myFavLocation -d &> ~/kio-fuse-debug.txt` (I recommend `$myFabLocation` isn't empty if you haven't installed the `kio-fuse-tmpfiles.conf` exclusion file at the system level.)
  > 
  > Then open the file in the media player. Once your done simply attach `~/kio-fuse-debug.txt` here.
  >  It's really important for us to know what kind of read requests are being called to help us diagnose the issue.
  
  I think I found part of the problem. When I follow these instructions, the log file has only a single line:
  
    kio-fuse: command not found
  
  This is because the path it is installed to (`~/kde/usr/lib64/libexec/`) is not in `$PATH`. When I add that location to `$PATH` and try again, the log file contains the following:
  
    FUSE library version: 3.8.0
    unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
    INIT: 7.31
    flags=0x03fffffb
    max_readahead=0x00020000
       INIT: 7.31
       flags=0x00409021
       max_readahead=0x00020000
       max_write=0x00100000
       max_background=0
       congestion_threshold=0
       time_gran=1000000000
       unique: 2, success, outsize: 80
    unique: 4, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 7327
       unique: 4, error: -38 (Function not implemented), outsize: 16
    unique: 6, opcode: LOOKUP (1), nodeid: 1, insize: 47, pid: 7327
       unique: 6, error: -2 (No such file or directory), outsize: 16
    unique: 8, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 7327
       unique: 8, error: -2 (No such file or directory), outsize: 16
    unique: 10, opcode: LOOKUP (1), nodeid: 1, insize: 44, pid: 10077
       unique: 10, success, outsize: 144
    unique: 12, opcode: LOOKUP (1), nodeid: 3, insize: 62, pid: 10077
       unique: 12, success, outsize: 144
    unique: 14, opcode: LOOKUP (1), nodeid: 4, insize: 46, pid: 10077
       unique: 14, success, outsize: 144
    unique: 16, opcode: LOOKUP (1), nodeid: 5, insize: 47, pid: 10077
       unique: 16, success, outsize: 144
    unique: 18, opcode: LOOKUP (1), nodeid: 6, insize: 48, pid: 10077
       unique: 18, success, outsize: 144
    unique: 20, opcode: LOOKUP (1), nodeid: 7, insize: 62, pid: 10077
       unique: 20, success, outsize: 144
    unique: 22, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 10077
       unique: 22, success, outsize: 32
    unique: 24, opcode: FLUSH (25), nodeid: 8, insize: 64, pid: 10077
       unique: 24, success, outsize: 16
    unique: 26, opcode: RELEASE (18), nodeid: 8, insize: 64, pid: 0
       unique: 26, success, outsize: 16
    unique: 28, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 10077
       unique: 28, success, outsize: 32
    unique: 30, opcode: FLUSH (25), nodeid: 8, insize: 64, pid: 10077
       unique: 30, success, outsize: 16
    unique: 32, opcode: RELEASE (18), nodeid: 8, insize: 64, pid: 0
       unique: 32, success, outsize: 16
    unique: 34, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 10077
       unique: 34, success, outsize: 32
    unique: 36, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 10077
       unique: 36, success, outsize: 120
    unique: 38, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 10084
       unique: 38, success, outsize: 120
    unique: 40, opcode: READ (15), nodeid: 8, insize: 80, pid: 10088
       unique: 40, success, outsize: 16400
    unique: 42, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
    unique: 44, opcode: LOOKUP (1), nodeid: 1, insize: 44, pid: 31993
       unique: 44, success, outsize: 144
    unique: 46, opcode: LOOKUP (1), nodeid: 3, insize: 62, pid: 31993
       unique: 46, success, outsize: 144
    unique: 48, opcode: LOOKUP (1), nodeid: 4, insize: 46, pid: 31993
       unique: 48, success, outsize: 144
    unique: 50, opcode: LOOKUP (1), nodeid: 5, insize: 47, pid: 31993
       unique: 50, success, outsize: 144
    unique: 52, opcode: LOOKUP (1), nodeid: 6, insize: 48, pid: 31993
       unique: 52, success, outsize: 144
    unique: 54, opcode: LOOKUP (1), nodeid: 7, insize: 62, pid: 31993
       unique: 54, success, outsize: 144
    unique: 56, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 31993
       unique: 56, success, outsize: 120
    unique: 58, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 31993
       unique: 58, success, outsize: 32
    unique: 60, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 12447
       unique: 60, success, outsize: 32
    unique: 62, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 2478
       unique: 62, success, outsize: 32
    unique: 64, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 31756
       unique: 64, success, outsize: 32
    unique: 66, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 1967
       unique: 66, success, outsize: 32
    unique: 68, opcode: OPEN (14), nodeid: 8, insize: 48, pid: 30958
       unique: 68, success, outsize: 32
       unique: 42, success, outsize: 4112
    unique: 70, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 70, success, outsize: 120
    unique: 72, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 31993
       unique: 72, success, outsize: 120
    unique: 74, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 74, success, outsize: 16400
    unique: 76, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
    unique: 78, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
    unique: 80, opcode: FLUSH (25), nodeid: 8, insize: 64, pid: 12447
       unique: 80, success, outsize: 16
    unique: 82, opcode: RELEASE (18), nodeid: 8, insize: 64, pid: 0
       unique: 82, success, outsize: 16
    unique: 84, opcode: FLUSH (25), nodeid: 8, insize: 64, pid: 31993
       unique: 84, success, outsize: 16
    unique: 86, opcode: RELEASE (18), nodeid: 8, insize: 64, pid: 0
       unique: 86, success, outsize: 16
       unique: 76, success, outsize: 32784
    unique: 88, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 88, success, outsize: 28688
    unique: 90, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
    unique: 92, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 78, success, outsize: 65552
       unique: 90, success, outsize: 36880
    unique: 94, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 94, success, outsize: 61456
    unique: 96, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 96, success, outsize: 36880
    unique: 98, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 92, success, outsize: 131088
    unique: 100, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 100, success, outsize: 126992
    unique: 102, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
    unique: 104, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 98, success, outsize: 131088
       unique: 102, success, outsize: 4112
    unique: 106, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 106, success, outsize: 131088
    unique: 108, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 104, success, outsize: 126992
       unique: 108, success, outsize: 4112
    unique: 110, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 31756
       unique: 110, success, outsize: 120
    unique: 112, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 30958
       unique: 112, success, outsize: 120
    unique: 114, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 1967
       unique: 114, success, outsize: 120
    unique: 116, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 2478
       unique: 116, success, outsize: 120
    unique: 118, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 118, success, outsize: 131088
    unique: 120, opcode: FLUSH (25), nodeid: 8, insize: 64, pid: 31756
       unique: 120, success, outsize: 16
    unique: 122, opcode: FLUSH (25), nodeid: 8, insize: 64, pid: 30958
       unique: 122, success, outsize: 16
    unique: 124, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
    unique: 126, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
    unique: 128, opcode: FLUSH (25), nodeid: 8, insize: 64, pid: 1967
       unique: 128, success, outsize: 16
    unique: 130, opcode: FLUSH (25), nodeid: 8, insize: 64, pid: 2478
       unique: 130, success, outsize: 16
    unique: 132, opcode: RELEASE (18), nodeid: 8, insize: 64, pid: 0
       unique: 132, success, outsize: 16
    unique: 134, opcode: RELEASE (18), nodeid: 8, insize: 64, pid: 0
       unique: 134, success, outsize: 16
    unique: 136, opcode: RELEASE (18), nodeid: 8, insize: 64, pid: 0
       unique: 136, success, outsize: 16
    unique: 138, opcode: RELEASE (18), nodeid: 8, insize: 64, pid: 0
       unique: 138, success, outsize: 16
       unique: 124, success, outsize: 131088
    unique: 140, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 126, success, outsize: 131088
    unique: 142, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 140, success, outsize: 131088
    unique: 144, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 142, success, outsize: 131088
    unique: 146, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 144, success, outsize: 131088
    unique: 148, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 146, success, outsize: 131088
    unique: 150, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 148, success, outsize: 131088
    unique: 152, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 150, success, outsize: 131088
    unique: 154, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 152, success, outsize: 131088
    unique: 156, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 154, success, outsize: 131088
    unique: 158, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 156, success, outsize: 131088
    unique: 160, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 158, success, outsize: 131088
    unique: 162, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 160, success, outsize: 131088
    unique: 164, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 162, success, outsize: 131088
    unique: 166, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 164, success, outsize: 131088
    unique: 168, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 166, success, outsize: 131088
    unique: 170, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 168, success, outsize: 131088
    unique: 172, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 170, success, outsize: 131088
    unique: 174, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 172, success, outsize: 131088
    unique: 176, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 174, success, outsize: 131088
    unique: 178, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 176, success, outsize: 131088
    unique: 180, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 178, success, outsize: 131088
    unique: 182, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 180, success, outsize: 131088
    unique: 184, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 182, success, outsize: 131088
    unique: 186, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 184, success, outsize: 131088
    unique: 188, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 186, success, outsize: 131088
    unique: 190, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 188, success, outsize: 131088
    unique: 192, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 190, success, outsize: 131088
    unique: 194, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 192, success, outsize: 131088
    unique: 196, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 194, success, outsize: 131088
    unique: 198, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 196, success, outsize: 131088
    unique: 200, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 198, success, outsize: 131088
    unique: 202, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 200, success, outsize: 131088
    unique: 204, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 202, success, outsize: 131088
    unique: 206, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 204, success, outsize: 131088
    unique: 208, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 206, success, outsize: 131088
    unique: 210, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 208, success, outsize: 131088
    unique: 212, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 210, success, outsize: 131088
    unique: 214, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 212, success, outsize: 131088
    unique: 216, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 214, success, outsize: 131088
    unique: 218, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 216, success, outsize: 131088
    unique: 220, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 218, success, outsize: 131088
       unique: 220, success, outsize: 112656
    unique: 222, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 222, success, outsize: 120
    unique: 224, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 224, success, outsize: 8208
    unique: 226, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 226, success, outsize: 4112
    unique: 228, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 228, success, outsize: 16400
    unique: 230, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 230, success, outsize: 32784
    unique: 232, opcode: LOOKUP (1), nodeid: 1, insize: 44, pid: 10077
       unique: 232, success, outsize: 144
    unique: 234, opcode: LOOKUP (1), nodeid: 3, insize: 62, pid: 10077
       unique: 234, success, outsize: 144
    unique: 236, opcode: LOOKUP (1), nodeid: 4, insize: 46, pid: 10077
       unique: 236, success, outsize: 144
    unique: 238, opcode: LOOKUP (1), nodeid: 5, insize: 47, pid: 10077
       unique: 238, success, outsize: 144
    unique: 240, opcode: LOOKUP (1), nodeid: 6, insize: 48, pid: 10077
       unique: 240, success, outsize: 144
    unique: 242, opcode: LOOKUP (1), nodeid: 7, insize: 62, pid: 10077
       unique: 242, success, outsize: 144
    unique: 244, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 10077
       unique: 244, success, outsize: 120
    unique: 246, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 246, success, outsize: 65552
    unique: 248, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 248, success, outsize: 120
    unique: 250, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 250, success, outsize: 120
    unique: 252, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 252, success, outsize: 131088
    unique: 254, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 254, success, outsize: 120
    unique: 256, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 256, success, outsize: 120
    unique: 258, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 258, success, outsize: 120
    unique: 260, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 260, success, outsize: 120
    unique: 262, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 262, success, outsize: 131088
    unique: 264, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 264, success, outsize: 120
    unique: 266, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 266, success, outsize: 120
    unique: 268, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 268, success, outsize: 120
    unique: 270, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 270, success, outsize: 120
    unique: 272, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 272, success, outsize: 120
    unique: 274, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 274, success, outsize: 131088
    unique: 276, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 276, success, outsize: 120
    unique: 278, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 278, success, outsize: 120
    unique: 280, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 280, success, outsize: 120
    unique: 282, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 282, success, outsize: 120
    unique: 284, opcode: READ (15), nodeid: 8, insize: 80, pid: 10091
       unique: 284, success, outsize: 131088
    unique: 286, opcode: GETATTR (3), nodeid: 8, insize: 56, pid: 10091
       unique: 286, success, outsize: 120
  
  It should probably not assume that `<prefix>/usr/lib64/libexec/` is in `$PATH`, at the minimum.
  
  > I'm a bit confused. Which one of the three are you doing:
  > 
  > 1. Opening a KIO Url via Dolphin.
  > 2. Opening a KIOFuse mount local URL via Dolphin.
  > 3. Opening a KIOFuse URL via the media players file picker.
  
  #2.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D23384

To: feverfew, fvogt, davidedmundson, dfaure, ngraham
Cc: sitter, davidedmundson, kde-frameworks-devel, ngraham, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191201/9fa6609a/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list