F-Droid crashes when trying to update app

  • Device OS and version: Android 7.1.1
  • Device model/manufacturer: Nexus 6
  • F-Droid version: 0.102.1

What did you do?

  • Add a new repository I manage to the F-Droid repository list;
  • Run "Update repositories" and install an app from there;
  • Add an updated apk to the repo; fdroid update -c; fdroid server update -v ("Simple Binary Repository" workflow);
  • Update the repository on the phone, the updated app shows up as an available update;
  • Tap on the app to update it.
  • F-Droid crashes.

Crash log: https://clbin.com/0T8da

repo_name is set (not-empty) in config.py and shows correctly as name="..." in the index.xml. This is always reproducible.