Hi i have setup the fdroid repo by me and when the action run i get an error.
He find all my last releases and in the step F-Droid: Creating metadata stubs the action is running in the error.
2025/12/16 18:57:23 Running "/usr/bin/fdroid update --pretty --create-metadata --delete-unknown" in ../fdroid
2025-12-16 18:57:24,019 WARNING: unsafe permissions on 'config.yml' (should be 0600)!
2025-12-16 18:57:24,020 WARNING: repo_icon "repo/icons/icon.png" does not exist! Check "config.yml".
2025-12-16 18:57:24,182 CRITICAL: Unknown exception found!
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/androguard/core/bytecodes/apk.py", line 1556, in get_android_resources
return self.arsc["resources.arsc"]
~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'resources.arsc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/fdroid", line 33, in <module>
sys.exit(load_entry_point('fdroidserver==2.4.2', 'console_scripts', 'fdroid')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fdroidserver/__main__.py", line 222, in main
raise e
File "/usr/lib/python3/dist-packages/fdroidserver/__main__.py", line 203, in main
mod.main()
File "/usr/lib/python3/dist-packages/fdroidserver/update.py", line 2674, in main
apks, cachechanged = process_apks(apkcache, repodirs[0], knownapks,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fdroidserver/update.py", line 2073, in process_apks
(skip, apk, cachethis) = process_apk(apkcache, apkfilename, repodir, knownapks,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fdroidserver/update.py", line 1930, in process_apk
apk = scan_apk(apkfile)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fdroidserver/update.py", line 1613, in scan_apk
scan_apk_androguard(apk, apk_file)
File "/usr/lib/python3/dist-packages/fdroidserver/update.py", line 1754, in scan_apk_androguard
arsc = apkobject.get_android_resources()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/androguard/core/bytecodes/apk.py", line 1562, in get_android_resources
self.arsc["resources.arsc"] = ARSCParser(self.zip.read("resources.arsc"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/androguard/core/bytecodes/axml/__init__.py", line 1321, in __init__
self.packages[package_name].append(ARSCResTypeSpec(self.buff, pc))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/androguard/core/bytecodes/axml/__init__.py", line 2181, in __init__
raise ResParserError("res1 must be zero!")
androguard.core.bytecodes.axml.ResParserError: res1 must be zero!
2025/12/16 18:57:48 Error while running "fdroid update -c": exit status 1
Hi i have setup the fdroid repo by me and when the action run i get an error.
He find all my last releases and in the step
F-Droid: Creating metadata stubsthe action is running in the error.Can you help me to fix it?
Here is the log from Actions: