Open atirut-w opened 2 months ago
same issue in NixOS 23.11 KDE 5.27
i posted a fix https://github.com/casualsnek/waydroid_script/pull/161
i posted a fix #161
where is the solution bro
where is the solution bro
Brother, do yourself a service by clicking on the "Files Changed" tab.
I confirmed #161,#166 (#159) fix target url and enable us to save apk, but it doesn't work still. Because this apk is not extractable as a zip.
raceback (most recent call last):
File "/home/user/waydroid_script/main.py", line 358, in <module>
main()
File "/home/user/waydroid_script/main.py", line 354, in main
interact()
File "/home/user/waydroid_script/main.py", line 256, in interact
install_app(args)
File "/home/user/waydroid_script/main.py", line 113, in install_app
item.install()
File "/home/user/waydroid_script/stuff/general.py", line 177, in install
self.copy()
File "/home/user/waydroid_script/stuff/smartdock.py", line 70, in copy
self.extract_app_lib(os.path.join(self.copy_dir, self.partition, "priv-app/SmartDock/smartdock.apk"))
File "/home/user/waydroid_script/stuff/general.py", line 105, in extract_app_lib
with zipfile.ZipFile(apk_file_path, "r") as apk:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/zipfile/__init__.py", line 1349, in __init__
self._RealGetContents()
File "/usr/lib/python3.12/zipfile/__init__.py", line 1416, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
The script gets stuck in a loop trying to redownload and failing from MD5 mismatches.