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

delete do not work over USB connection #44

Open
Sfinx opened this issue Jul 21, 2018 · 3 comments
Open

delete do not work over USB connection #44

Sfinx opened this issue Jul 21, 2018 · 3 comments

Comments

@Sfinx
Copy link

Sfinx commented Jul 21, 2018

ubuntu:~/E-Book$ dptrp1 --client-id .dpt-client --key .dpt.key --addr [fe80::60a7:46ff:fe5d:3375%enp0s20u9] list-documents
Document/Samples/Note_Sample.pdf
Document/Note/Legal Pad_20180721 (2).pdf
Document/Note/Legal Pad_20180721 (1).pdf
Document/Note/Legal Pad_20180721.pdf
Document/Samples/Basic_Operation_Guide.pdf
Document/dia.pdf
Document/Samples/Document_Sample.pdf
Document/Samples/Connectivity_Guide.pdf
rus@Yasha:~/E-Book$ dptrp1 --client-id .dpt-client --key .dpt.key --addr [fe80::60a7:46ff:fe5d:3375%enp0s20u9] delete Document/dia.pdf
Traceback (most recent call last):
  File "/usr/local/bin/dptrp1", line 142, in <module>
    commands[args.command](dp, *args.command_args)
  File "/usr/local/bin/dptrp1", line 38, in do_delete_document
    data = d.delete_document(remote_path)
  File "/usr/local/lib/python3.6/dist-packages/dptrp1/dptrp1.py", line 239, in delete_document
    remote_id = self._resolve_object_by_path(remote_path).json()['entry_id']
KeyError: 'entry_id'
ubuntu:~/E-Book$ 
@Sfinx
Copy link
Author

Sfinx commented Jul 21, 2018

So new-folder option just exiting without any message or new folder created

@damon-kwok
Copy link

@Sfinx what's the [fe80::60a7:46ff:fe5d:3375%enp0s20u9] ?

@Sfinx
Copy link
Author

Sfinx commented Aug 17, 2018

@damon-kwok

You have to read the:

https://github.com/janten/dpt-rp1-py/blob/master/docs/linux-ethernet-over-usb.md

It is connected dpt-rp1

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

2 participants