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

rmdir missing 1 required positional argument: 'missing_okay' #18

Closed
palmtreefrb opened this issue Jun 23, 2020 · 0 comments
Closed

rmdir missing 1 required positional argument: 'missing_okay' #18

palmtreefrb opened this issue Jun 23, 2020 · 0 comments

Comments

@palmtreefrb
Copy link

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'

@tve tve closed this as completed in 46ccff9 Jul 2, 2020
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