Open zambanini opened 5 years ago
You're using Python 2.7, whereas the minimum supported Python version is 3.x (I don't remember which version exactly).
[borg@localhost pycache]$ ftpfs 172.18.51.17 /mnt/calmotion1 Traceback (most recent call last): File "/home/borg/.local/bin/ftpfs", line 9, in
load_entry_point('ftpfs==0.2', 'console_scripts', 'ftpfs')() File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 547, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2719, in load_entry_point return ep.load() File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2379, in load return self.resolve() File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2385, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/home/borg/.local/lib/python3.4/site-packages/ftpfs/main.py", line 126 self._ftp.sendcmd(f'SITE CHMOD {mode & 0o777:3o} {path}') ^
is there any debug switch, to see what args the script sees? or do you offer paid remote support (no rush)
The error message is about Python being unable to parse f-strings, which were introduced in Python 3.6 (so turns out the project requires Python 3.6 to run). I can backport the package to 3.4 if you want :)
ftpfs 172.18.51.17 /mnt/calmotion does the same.
do you have any hint?