Skip to content

Repl doesn't work  #5

@fake-name

Description

@fake-name
λ mploader --repl
Namespace(cache=False, compare=False, config='D:\\Profile\\Desktop\\Repository\\Programming\\ESPScreen\\workSpace\\mploader-config.py', d='.', install_firmware=False, repl=True)
Traceback (most recent call last):
  File "C:\Python38\Scripts\mploader-script.py", line 11, in <module>
    load_entry_point('micropython-uploader==0.3.2', 'console_scripts', 'mploader')()
  File "C:\Python38\lib\site-packages\micropython_uploader-0.3.2-py3.8.egg\upload\uploader.py", line 29, in uploader
  File "C:\Python38\lib\site-packages\micropython_uploader-0.3.2-py3.8.egg\upload\uploader.py", line 40, in startREPL
  File "C:\Python38\lib\subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Python38\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Python38\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

Apparently the repl depends on picocom being installed. This is undocumented, and also undiscoverable other then by digging around in the source.

Additionally, there's no picocom builds for windows as well.

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