-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTODO
More file actions
97 lines (73 loc) · 3.85 KB
/
Copy pathTODO
File metadata and controls
97 lines (73 loc) · 3.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
TODOs HARD
- test on windows - create an exe
- handle addresses instead of numeric IPs
- info/debug messages re-partition
- GUI?
- implement * for rm/get/put
TODOs
- errors refactor
- the approach of return an outcome does not make sense with multiple command
probably its just better to print directly in the command
- why when multiple files with the same (insensitive) name exists, get -s does not work properly?
TO_DEBUGs
- convert %s -> fstringpy
- why after transfer some files to SD (using USB), put -S tries to overwrite all (mtime problem)?
- don't throw commexecerror on xls() xtree() xfind() (WTF?)
- fix get for FILEs which adds \. (cant remember what this means)
- fix 1000MB might happen => 1 characters of space to keep into account
- testing get/put for single file sharing
DONEs
- provide suggestion/completion even for options?
- consider adding another logging level
- --sync with GET and PUT
- allow -d <dest> for get and put
- transfer reverses order (GET 10 11 12..)
- alias supporting multiple commands?
- separating commands by \n or ;
- command `set` for set variables
- ctr+c while transferring - check for put
- get -sp * -> creates folder 'samples' by itself
- s now is -NS not only -N - check for put
- -S does not work
- .esrc as execute every line
- don't show "." in put -p
- don't show already existent folders for put -sp [get -sp]
[WARN] {easyshare.utils.c:49} set_int failed: 'NoneType' object has no attribute '_handle'
[WARN] {easyshare.utils.c:56} get_int failed: 'NoneType' object has no attribute '_handle'
[ERROR] {easyshare.es.client:393} CommandExecutionError: ['REXEC_DISABLED']
Traceback (most recent call last):
File "/home/stefano/Develop/easyshare/easyshare/es/client.py", line 384, in execute_command
executor(args, None) # will be provided by decorators
File "/home/stefano/Develop/easyshare/easyshare/es/client.py", line 194, in wrapper
api(client, args, conn)
File "/home/stefano/Develop/easyshare/easyshare/es/client.py", line 221, in require_unix_wrapper
return api(client, args, conn)
File "/home/stefano/Develop/easyshare/easyshare/es/client.py", line 749, in rshell
ensure_success_response(rshell_resp)
File "/home/stefano/Develop/easyshare/easyshare/es/client.py", line 96, in ensure_success_response
raise CommandExecutionError(formatted_errors_from_error_response(resp))
easyshare.es.client.CommandExecutionError: ['REXEC_DISABLED']
[DEBUG] {easyshare.es.shell} Command outcome: ['REXEC_DISABLED']
[WARN] {easyshare.es.errors:267} err expected of type int or str, found <class 'list'>
[WARN] {easyshare.es.errors:268} File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/stefano/Develop/easyshare/easyshare/es/__main__.py", line 215, in <module>
main()
File "/home/stefano/Develop/easyshare/easyshare/es/__main__.py", line 205, in main
shell.input_loop()
File "/home/stefano/Develop/easyshare/easyshare/es/shell.py", line 139, in input_loop
self.execute(command_line)
File "/home/stefano/Develop/easyshare/easyshare/es/shell.py", line 152, in execute
self._execute_multi(self._split_command(cmd))
File "/home/stefano/Develop/easyshare/easyshare/es/shell.py", line 196, in _execute_multi
print_errors(outcome)
File "/home/stefano/Develop/easyshare/easyshare/es/errors.py", line 255, in print_errors
_print_error(e)
File "/home/stefano/Develop/easyshare/easyshare/es/errors.py", line 268, in _print_error
log.w(stacktrace(color=ansi.FG_YELLOW))
File "/home/stefano/Develop/easyshare/easyshare/utils/inspection.py", line 23, in stacktrace
return fg("\n".join(traceback.format_stack()), color)
stefano-arch.animehd:/ —— /home/stefano/Develop/easyshare> o animehd2
Write failed