hey there. I’ve been trying to get checkupdate (CONTRIBUTING.md · master · F-Droid / Data · GitLab) to work for the past 2 days.
I don’t know what is wrong, or how to fix it. I am trying to do the thing with fdroidserver.
my app: GitHub - v4lpt/PWG: This is a simple password generator for the android operating system.
Here are the logs:
Preview:
2024-01-06 09:17:45,869 DEBUG: Parsing manifest at 'build/v4lpt.vpt.pwg/build.gradle.kts'
2024-01-06 09:17:45,869 DEBUG: ..got package=None, version=None, vercode=None
2024-01-06 09:17:45,870 DEBUG: Parsing manifest at 'build/v4lpt.vpt.pwg/app/src/main/AndroidManifest.xml'
2024-01-06 09:17:45,870 DEBUG: ..got package=None, version=None, vercode=None
2024-01-06 09:17:45,870 DEBUG: Parsing manifest at 'build/v4lpt.vpt.pwg/app/build.gradle.kts'
2024-01-06 09:17:45,870 DEBUG: ..got package=None, version=1.0, vercode=1
2024-01-06 09:17:45,870 DEBUG: Parsing manifest at 'build/v4lpt.vpt.pwg/app/src/main/AndroidManifest.xml'
2024-01-06 09:17:45,871 DEBUG: ..got package=None, version=None, vercode=None
2024-01-06 09:17:45,871 DEBUG: Directory: build/v4lpt.vpt.pwg
2024-01-06 09:17:45,871 DEBUG: > git rev-parse --show-toplevel
2024-01-06 09:17:46,073 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/ai/f4/fdroiddata/build/v4lpt.vpt.pwg, stdin=<valid stream>, shell=False, universal_newlines=False)
2024-01-06 09:17:46,074 ERROR: ...checkupdate failed for v4lpt.vpt.pwg : '>' not supported between instances of 'int' and 'NoneType'
2024-01-06 09:17:46,075 DEBUG: Traceback (most recent call last):
File "/home/ai/f4/lib/python3.11/site-packages/fdroidserver/checkupdates.py", line 746, in main
checkupdates_app(app)
File "/home/ai/f4/lib/python3.11/site-packages/fdroidserver/checkupdates.py", line 563, in checkupdates_app
elif vercodes[-1] > app.CurrentVersionCode:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'int' and 'NoneType'
somehow it has something to do with version information, but I don’t really get why it is trying to use the very old releases, that don’t have version information.
Also this is my first time publishing an app on fdroid
Thanks in advance