Bug 237735

Summary: devel/py-fusepy: examples not working
Product: Ports & Packages Reporter: Roman Bogorodskiy <novel>
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (jbeich)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Roman Bogorodskiy freebsd_committer 2019-05-03 16:42:56 UTC
fusepy ships with some examples: https://github.com/fusepy/fusepy/tree/master/examples (would be good to install that by the port btw?).

Examples are not working. E.g.:

$ sudo python3 examples/memory.py /mnt/test
DEBUG:fuse.log-mixin:-> init / ()
DEBUG:fuse.log-mixin:<- init None
DEBUG:fuse.log-mixin:-> getattr / (None,)
DEBUG:fuse.log-mixin:<- getattr {'st_mode': 16877, 'st_ctime': 1556901256.302205, 'st_mtime': 1556901256.302205, 'st_atime': 1556901256.302205, 'st_nlink': 2}  

$ ls /mnt/test
ls: /mnt/test: No such file or directory
$

That's py36-fusepy-3.0.1. I'm running fairly recent -CURRENT.

PS Actually, I think that it could be fusepy issue, not just examples. I was playing with some test code using that library and it stopped working in a similar way that examples are broken now. That was in fall of 2018. I update -CURRENT and ports once in 2-4 weeks.

Also, fuse appears to be working in general, e.g. I can use sshfs.
Comment 1 Jan Beich freebsd_committer 2019-06-01 15:26:32 UTC
I don't remember about fusepy examples but sysutils/fusefs-gitfs did work. Nowadays on -CURRENT even sysutils/fusefs-simple-mtpfs doesn't work for me.

(In reply to Roman Bogorodskiy from comment #0)
> Also, fuse appears to be working in general, e.g. I can use sshfs.

sshfs doesn't work for me: "remote host has disconnected". sshfs also depends on fusefs-libs3 aka 3.5.0 (not fusefs-libs aka 2.9.9) which isn't a good indicator the kernel didn't accidentally change in a way incompatible with old libfuse.
Comment 2 Roman Bogorodskiy freebsd_committer 2019-06-01 16:11:59 UTC
(In reply to Jan Beich from comment #1)

just checked, sshfs still works for me.
fusefs-sshfs-3.5.2
FreeBSD kloomba 13.0-CURRENT FreeBSD 13.0-CURRENT r347157 GENERIC  amd64