Latest version crashes on `update -c` with `AttributeError`
I've just made a fresh clone, initialized a new (blank) repo, put a single .apk
into it, and ran fdroid update -c
. Tried with multiple .apk
files (one at a time), results were always the same: after complaining about signing (WARNING: Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
plus This jar contains entries whose certificate chain is not validated.
), fdroid
crashed with the following exception:
CRITICAL: Unknown exception found! Traceback (most recent call last): File "/mnt/av/src/git/fd_gitlab/fdroidserver/fdroid", line 150, in main() File "/mnt/av/src/git/fd_gitlab/fdroidserver/fdroid", line 126, in main mod.main() File "/mnt/ubu/home/av/src/git/fd_gitlab/fdroidserver/fdroidserver/update.py", line 1730, in main metadata.write_yaml(f, app) File "/mnt/ubu/home/av/src/git/fd_gitlab/fdroidserver/fdroidserver/metadata.py", line 1127, in write_yaml yaml_app = _app_to_yaml(app) File "/mnt/ubu/home/av/src/git/fd_gitlab/fdroidserver/fdroidserver/metadata.py", line 1051, in _app_to_yaml cm.yaml_set_comment_before_after_key(field, 'bogus') AttributeError: 'CommentedMap' object has no attribute 'yaml_set_comment_before_after_key'
Running on Linux Mint 18.1 here; an older version of fdroid
(from about January) works fine on the same environment. If any further details are needed, please let me know. Currently this is a show-stopper for me as I cannot test my changes I wanted to submit as MRs