rmdir missing 1 required positional argument: 'missing_okay'
Closed this issue · 0 comments
I created an empty dir "sd", then tried to remove it.
$ ../mqboard/mqboard --server mqtt.xxxxxx.com --verbose --timeout 60 --port 8883 --tls --prefix aiotcomqtt ls
Connecting to mqtt.xxxxxx.com:8883
Subscribing to aiotcomqtt/mqb/reply/out/TY9CSRko and aiotcomqtt/mqb/reply/err/TY9CSRko
Pub aiotcomqtt/mqb/cmd/eval/TY9CSRko #0 last=True len=123
Received reply on topic 'aiotcomqtt/mqb/reply/out/TY9CSRko' with QoS 1
0.271kB in 0.697s -> 0.388kB/s
2700 board_config.py
2621 boot.py
0 lib/
3644 main.py
0 safemode/
0 sd/
0 src/
$ ../mqboard/mqboard --server mqtt.xxxxxx.com --verbose --timeout 60 --port 8883 --tls --prefix aiotcomqtt rmdir sd
Traceback (most recent call last):
File "../mqboard/mqboard", line 133, in
cli(obj={})
File "/home/fredrick/Development/micropython/mqboard/venv/lib/python3.6/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/home/fredrick/Development/micropython/mqboard/venv/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/fredrick/Development/micropython/mqboard/venv/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/fredrick/Development/micropython/mqboard/venv/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/fredrick/Development/micropython/mqboard/venv/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/fredrick/Development/micropython/mqboard/venv/lib/python3.6/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
TypeError: rmdir() missing 1 required positional argument: 'missing_okay'