Bug 237735 - devel/py-fusepy: examples not working
Summary: devel/py-fusepy: examples not working
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2019-05-03 16:42 UTC by Roman Bogorodskiy
Modified: 2021-01-31 02:14 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.
FreeBSD kloomba 13.0-CURRENT FreeBSD 13.0-CURRENT r347157 GENERIC  amd64
Comment 3 Jan Beich freebsd_committer 2021-01-31 02:14:12 UTC
This port isn't maintained since ports r563446.