Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload via TCP and restart results in ugly python exception #42

Open
eku opened this issue Mar 28, 2016 · 0 comments
Open

Upload via TCP and restart results in ugly python exception #42

eku opened this issue Mar 28, 2016 · 0 comments

Comments

@eku
Copy link

eku commented Mar 28, 2016

Many thanks for adding upload via TCP. Unfortunately a triggered restart of the NodeMCU will cause the script to hang until the module is online again and then throw an exception.

->node.restart()Traceback (most recent call last):
  File "./luatool.py", line 310, in <module>
    transport.writeln("node.restart()\r")
  File "./luatool.py", line 147, in writeln
    self.performcheck(data)
  File "./luatool.py", line 59, in performcheck
    char = self.read(1)
  File "./luatool.py", line 152, in read
    return self.socket.recv(length)
socket.error: [Errno 104] Connection reset by peer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant