TNFS Client (nicht Server!) für Windows/macOS?

Moderatoren: Sleeπ, andymanone

Antworten
Online
Benutzeravatar
JAC!
Beiträge: 121
Registriert: 18.06.2021 23:13
Has thanked: 69 times
Been thanked: 101 times
Kontaktdaten:

TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von JAC! »

Hallo zusammen,
gibt's es sowas? Googlen hat erst mal nichts gebracht.
Viele Grüße, Peter.
Visit https://www.wudsn.com the home of WUDSN IDE.


Online
Benutzeravatar
JAC!
Beiträge: 121
Registriert: 18.06.2021 23:13
Has thanked: 69 times
Been thanked: 101 times
Kontaktdaten:

Re: TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von JAC! »

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.

tschak909
Beiträge: 202
Registriert: 17.08.2021 00:22
Has thanked: 4 times
Been thanked: 142 times
Kontaktdaten:

Re: TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von tschak909 »

There is a FUSE driver, yes, but there is also a stand-alone client (the tnfs_client.py) too.

-Thom

Online
Benutzeravatar
JAC!
Beiträge: 121
Registriert: 18.06.2021 23:13
Has thanked: 69 times
Been thanked: 101 times
Kontaktdaten:

Re: TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von JAC! »

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
Visit https://www.wudsn.com the home of WUDSN IDE.

Benutzeravatar
cas
Beiträge: 843
Registriert: 18.06.2021 21:01
Wohnort: Solar System
Has thanked: 189 times
Been thanked: 389 times
Kontaktdaten:

Re: TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von cas »

JAC! hat geschrieben:
25.12.2023 21:10
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
Yes, your Python is too new, as the code is Python2 (not Python3) code.

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

Benutzeravatar
DjayBee
Beiträge: 678
Registriert: 17.08.2021 04:02
Has thanked: 418 times
Been thanked: 199 times
Kontaktdaten:

Re: TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von DjayBee »

JAC! hat geschrieben:
25.12.2023 21:10
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
Probier's mal damit:
Dateianhänge
tnfscl.zip
(8.35 KiB) 12-mal heruntergeladen

Online
Benutzeravatar
JAC!
Beiträge: 121
Registriert: 18.06.2021 23:13
Has thanked: 69 times
Been thanked: 101 times
Kontaktdaten:

Re: TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von JAC! »

Excellent, that one works out of the box. Do you have a link for reference where it's from?
TNFS-Shell.png
Visit https://www.wudsn.com the home of WUDSN IDE.

Benutzeravatar
Dinadan
Beiträge: 130
Registriert: 18.08.2021 17:17
Has thanked: 196 times
Been thanked: 41 times
Kontaktdaten:

Re: TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von Dinadan »

# Copyright (c) 2012 Radu Cristescu
#
# Adapted to Python 3 by Thomas Meyer in 2022

Benutzeravatar
DjayBee
Beiträge: 678
Registriert: 17.08.2021 04:02
Has thanked: 418 times
Been thanked: 199 times
Kontaktdaten:

Re: TNFS Client (nicht Server!) für Windows/macOS?

Beitrag von DjayBee »

JAC! hat geschrieben:
26.12.2023 00:40
Do you have a link for reference where it's from?
https://github.com/FujiNetWIFI/spectran ... ree/master

Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast