ale5000-git / tingle

Tingle - Android patcher
http://forum.xda-developers.com/showthread.php?t=3438764
GNU General Public License v3.0
160 stars 11 forks source link

7za issue #11

Closed okias closed 7 years ago

okias commented 7 years ago

7za is installed.

$ python3 main.py Where do you want to take the file to patch?

    1 - From a device (adb)                                                                                                                                                                                                           
    2 - From the input folder                                                                                                                                                                                                         

1

* OS: Linux 4.8.0-040800rc5-generic (linux)
* Mode: 1
* Working dir: /tmp/Tingle-w9jfhu2h
* Selected device: 5693a2e4
* Pulling framework from device...
3672 KB/s (5973800 bytes in 1.588s)
* Decompressing framework...
DEBUG: Decompressing framework.jar

Error: Incorrect command line Traceback (most recent call last): File "main.py", line 306, in decompress("framework.jar", "framework/"); File "main.py", line 216, in decompress subprocess.check_call(decomp_cmd); File "/usr/lib/python3.5/subprocess.py", line 581, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['7za', 'x', '-y', '-bd', '-bso0', '-tzip', '-oframework/', 'framework.jar', '*.dex']' returned non-zero exit status 7

ale5000-git commented 7 years ago

@okias: I was using a switch of 7-Zip / p7zip-full 16.02 but probably you are using 7-Zip / p7zip-full 9.20. Now I have removed the switch so it works also with the old version of 7-Zip / p7zip-full.

If you have any problem feel free to create a new ticket.