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

Smart Dock MD5 mismatch #159

Open
atirut-w opened this issue Apr 23, 2024 · 5 comments
Open

Smart Dock MD5 mismatch #159

atirut-w opened this issue Apr 23, 2024 · 5 comments

Comments

@atirut-w
Copy link

The script gets stuck in a loop trying to redownload and failing from MD5 mismatches.

$ sudo venv/bin/python3 main.py install smartdock
INFO: Downloading smartdock.apk now to /home/atirut/.cache/waydroid-script/downloads/smartdock.apk .....
14.7kiB [00:00, 21.6MiB/s]
WARN: md5 mismatches, redownloading now ....
14.7kiB [00:00, 23.3MiB/s]
WARN: md5 mismatches, redownloading now ....
@sdutwsl
Copy link

sdutwsl commented May 2, 2024

same issue in NixOS 23.11 KDE 5.27

@FrostNovaHD
Copy link
Contributor

i posted a fix #161

@viibhuGupta
Copy link

i posted a fix #161

where is the solution bro

@atirut-w
Copy link
Author

where is the solution bro

Brother, do yourself a service by clicking on the "Files Changed" tab.

@kasi-x
Copy link

kasi-x commented May 16, 2024

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

Screenshot from 2024-05-17 02-18-48
Screenshot from 2024-05-17 02-19-39

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

5 participants