Skip to content

File interactions over WiFi not working #80

@TizioMaurizio

Description

@TizioMaurizio

Anytime i double click a file in the right part of the main panel or try to download one by clicking Transfer the program hangs with 0% in the File Transfer popup window.
File list and terminal seem to work properly, trying to transfer a file from local to board doesn't seem to have any effect.

I'm connecting to an ESP32-CAM board over WiFi.
I get the problem in both .exe version and main.py ran from Pycharm IDE imported project, in pycharm I can also read an exception sometime after the program freezes:

Exception in thread Thread-2: Traceback (most recent call last): File "C:\Users\Maurizio\anaconda3\envs\pythonProject\lib\threading.py", line 932, in _bootstrap_inner self.run() File "C:\Users\Maurizio\anaconda3\envs\pythonProject\lib\threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "C:\Users\Maurizio\Documents\Arduino\uPyLoader\src\connection\wifi_connection.py", line 187, in _read_file_job (sz,) = struct.unpack("<H", self.ws.read(2)) File "C:\Users\Maurizio\Documents\Arduino\uPyLoader\src\connection\websocket.py", line 63, in read hdr = self.recvexactly(2) File "C:\Users\Maurizio\Documents\Arduino\uPyLoader\src\connection\websocket.py", line 52, in recvexactly raise TimeoutError() TimeoutError

I would like to congratulate for your job anyway, I'm pretty new to Micropython on a microcontroller and after working with webrepl for sometime I was about to implement a GUI for file browsing myself, but after a quick search I found this project that seems really promising!

P.S.
I also noticed that your program's terminal is way faster than Webrepl's one which is a big bonus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions