tve/mqboard

curdir is not consistent

Closed this issue · 0 comments

tve commented
  • ls shows '/'
  • 'get' uses curdir

Example in safemode:

(master) /h/s/e/mqboard> mqboard --prefix esp32/test -v ls
Connecting to 192.168.0.14:1883
Subscribing to esp32/test/mqb/reply/out/mhCNZUQ8 and esp32/test/mqb/reply/err/mhCNZUQ8
Pub esp32/test/mqb/cmd/eval/mhCNZUQ8 #0 last=True len=123
Received reply on topic 'esp32/test/mqb/reply/out/mhCNZUQ8' with QoS 1
0.165kB in 0.228s -> 0.723kB/s
        2621 boot.py
           0 safemode/

(master) /h/s/e/mqboard> mqboard --prefix esp32/test -v get boot.py
Connecting to 192.168.0.14:1883
Subscribing to esp32/test/mqb/reply/out/QdkzBV9E and esp32/test/mqb/reply/err/QdkzBV9E
Pub esp32/test/mqb/cmd/get/QdkzBV9E/boot.py #0 last=True len=2
Traceback (most recent call last):
  File "/safemode/mqrepl.py", line 313, in _msg_cb
  File "/safemode/mqrepl.py", line 203, in _do_get
OSError: [Errno 2] ENOENT
Aborted!