Hallo zusammen,
gibt's es sowas? Googlen hat erst mal nichts gebracht.
Viele Grüße, Peter.
TNFS Client (nicht Server!) für Windows/macOS?
Moderatoren: Sleeπ, andymanone
- JAC!
- Beiträge: 122
- Registriert: 18.06.2021 23:13
- Has thanked: 69 times
- Been thanked: 102 times
- Kontaktdaten:
Re: TNFS Client (nicht Server!) für Windows/macOS?
A Linux file system driver which appears to be written in Python? I don't have too much experience with both. Do you think this can somehow be sued on Windows/macOS?
Visit https://www.wudsn.com the home of WUDSN IDE.
-
- Beiträge: 203
- Registriert: 17.08.2021 00:22
- Has thanked: 4 times
- Been thanked: 145 times
- Kontaktdaten:
Re: TNFS Client (nicht Server!) für Windows/macOS?
There is a FUSE driver, yes, but there is also a stand-alone client (the tnfs_client.py) too.
-Thom
-Thom
- JAC!
- Beiträge: 122
- Registriert: 18.06.2021 23:13
- Has thanked: 69 times
- Been thanked: 102 times
- Kontaktdaten:
Re: TNFS Client (nicht Server!) für Windows/macOS?
C:\jac\system\WWW\Tools\TNFS\TNFSClient>python tnfs_client.py
File "C:\jac\system\WWW\Tools\TNFS\TNFSClient\tnfs_client.py", line 101
raise ValueError, "Wire data isn't for this command"
^
SyntaxError: invalid syntax
I assume 12 years since the last updates somehow makes it incompatible with
Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32
File "C:\jac\system\WWW\Tools\TNFS\TNFSClient\tnfs_client.py", line 101
raise ValueError, "Wire data isn't for this command"
^
SyntaxError: invalid syntax
I assume 12 years since the last updates somehow makes it incompatible with
Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32
Visit https://www.wudsn.com the home of WUDSN IDE.
- cas
- Beiträge: 861
- Registriert: 18.06.2021 21:01
- Wohnort: Solar System
- Has thanked: 196 times
- Been thanked: 399 times
- Kontaktdaten:
Re: TNFS Client (nicht Server!) für Windows/macOS?
Yes, your Python is too new, as the code is Python2 (not Python3) code.JAC! hat geschrieben: ↑25.12.2023 21:10C:\jac\system\WWW\Tools\TNFS\TNFSClient>python tnfs_client.py
File "C:\jac\system\WWW\Tools\TNFS\TNFSClient\tnfs_client.py", line 101
raise ValueError, "Wire data isn't for this command"
^
SyntaxError: invalid syntax
I assume 12 years since the last updates somehow makes it incompatible with
Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32
In Python 2, not everything required a function call syntax, like the "print" command
print "Hello World"
In Python 3, everything has to be a function call, so the "print()" syntax is
print ("Hello World")
The tnfs_client.py code does contain "python 2" style statements, so you need to find a python 2 interpreter for your OS.
Another telling sign is the new of the (unix) interpreter found in the first line, it references "/usr/bin/python", which is usually the Python 2 interpreter, while Python3 would be "/usr/bin/python3"
Oh the joy of incompatible software upgrades :)
Greetings
Carsten
- DjayBee
- Beiträge: 702
- Registriert: 17.08.2021 04:02
- Has thanked: 433 times
- Been thanked: 204 times
- Kontaktdaten:
Re: TNFS Client (nicht Server!) für Windows/macOS?
Probier's mal damit:
- Dateianhänge
-
- tnfscl.zip
- (8.35 KiB) 14-mal heruntergeladen
- JAC!
- Beiträge: 122
- Registriert: 18.06.2021 23:13
- Has thanked: 69 times
- Been thanked: 102 times
- Kontaktdaten:
Re: TNFS Client (nicht Server!) für Windows/macOS?
Excellent, that one works out of the box. Do you have a link for reference where it's from?
Visit https://www.wudsn.com the home of WUDSN IDE.
- Dinadan
- Beiträge: 138
- Registriert: 18.08.2021 17:17
- Has thanked: 208 times
- Been thanked: 43 times
- Kontaktdaten:
Re: TNFS Client (nicht Server!) für Windows/macOS?
# Copyright (c) 2012 Radu Cristescu
#
# Adapted to Python 3 by Thomas Meyer in 2022
#
# Adapted to Python 3 by Thomas Meyer in 2022
Wer ist online?
Mitglieder in diesem Forum: MurphyFox und 0 Gäste