Skip to content
This repository was archived by the owner on Jul 3, 2022. It is now read-only.
This repository was archived by the owner on Jul 3, 2022. It is now read-only.

Add windows support #3

@Redstonerayy

Description

@Redstonerayy

Building the server on windows, installing the library and connecting to the server works fine.
But uppon entering a command except pwd or help it is not working anymore because of missing
path support.

Error Logs from command line:

$ python rfap_pycli.py 
Welcome to rfap-pycli!
server address: localhost
Connecting to localhost...
sent ping
Connected successfully
←[36mrfap> ←[0mhelp   
help is coming soon xD
←[36mrfap> ←[0mpwd
/
←[36mrfap> ←[0mcd aseprite
Traceback (most recent call last):
  File "C:\Users\anton\Programming\rfap\rfap-pycli\rfap_pycli.py", line 142, in <module>
    pwd = command_cd(pwd, args)
  File "C:\Users\anton\Programming\rfap\rfap-pycli\rfap_pycli.py", line 48, in command_cd
    metadata = client.rfap_info(argument)
  File "c:\users\anton\programming\rfap\librfap\librfap\client.py", line 104, in rfap_info
    _, _, metadata, _, _, _ = self.recv_command()
  File "c:\users\anton\programming\rfap\librfap\librfap\client.py", line 52, in recv_command
    data = self.socket.recv(2+4+(16*1024*1024)+4+(16*1024*1024))
ConnectionAbortedError: [WinError 10053] Eine bestehende Verbindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds infomore information is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions