better-adb-sync icon indicating copy to clipboard operation
better-adb-sync copied to clipboard

Non-zero exit code from adb push (SAOLogging.py:63)

Open W-quan opened this issue 1 year ago • 1 comments

[2023-07-03 17:09:01][CRITICAL] Non-zero exit code from adb push (SAOLogging.py:63)
[2023-07-03 17:09:01][DEBUG] Stack Trace (SAOLogging.py:64)
Stack (most recent call last):
  File "/Users/wzq/Applications/better-adb-sync/src/adbsync.py", line 6, in <module>
    ADBSync.main()
  File "/Users/wzq/Applications/better-adb-sync/src/ADBSync/__init__.py", line 510, in main
    fs_destination.push_tree_here(
  File "/Users/wzq/Applications/better-adb-sync/src/ADBSync/FileSystems/Base.py", line 91, in push_tree_here
    self.push_tree_here(
  File "/Users/wzq/Applications/better-adb-sync/src/ADBSync/FileSystems/Base.py", line 80, in push_tree_here
    self.push_file_here(tree_path, destination_root, show_progress = show_progress)
  File "/Users/wzq/Applications/better-adb-sync/src/ADBSync/FileSystems/Android.py", line 219, in push_file_here
    logging_fatal("Non-zero exit code from adb push")
  File "/Users/wzq/Applications/better-adb-sync/src/ADBSync/SAOLogging.py", line 64, in logging_fatal
    logging.debug("Stack Trace", stack_info = log_stack_info)
[2023-07-03 17:09:01][CRITICAL] Exiting (SAOLogging.py:65)

W-quan avatar Jul 03 '23 09:07 W-quan

I think this issue because some symbol like "?" or ":" can't be saved in some Android system (or maybe all android system?). In linux i can use any name (except slash of course), but when push file to android, it become "Non-zero exit code from adb push".

The only approach i found is just rename the file, remove the symbol.

hsnfirdaus avatar Jun 15 '24 18:06 hsnfirdaus