I am following the quickstart guide available here
I am inside the fdroiddata directory and on executing command fdroid readmeta
I am getting the following error. Anyone please help. I am using F-Droid for the first time CRITICAL: 'MTuf45ZvxhMWWo4v8YBbFDTLsFcGtpcPNT' is not a valid Litecoin address in com.readrops.app. Regex pattern: ^L[a-zA-Z0-9]{33}$
I am getting the same error on executing the above command CRITICAL: 'MTuf45ZvxhMWWo4v8YBbFDTLsFcGtpcPNT' is not a valid Litecoin address in com.readrops.app. Regex pattern: ^L[a-zA-Z0-9]{33}$
I just had this problem yesterday. Python an debian’s fdroid didn’t work. You have to use the gitlab one ( r maybe you just delete com.readrops.app metadata)
you can do which fdroid to see if it uses the gitlab’s one.
( Afterwards , I had also plenty of python librairies problem, and I resolved it by installing fdroid by pip, but using gitlab’s one)
We had a bug in LiteCoin address validation and fixed it 9 months ago. (fdroidserver!644) This patch is currently exclusively available in our master branch and did not make it into any releases. (We use our master branch of fdroidserver in production btw. ). Since our setup.py is broken, pip is out of the question too. Seems the only way to get a recent copy of fdroidserver is by cloning our sourcecode using git and running fdroidserver from that local copy.
Alternatively you could just remove/fix the validation code from you local copy of fdroidserver. If you installed fdroidserver with apt the broken litecoin validation regex is located in this file: /usr/lib/python3/dist-packages/fdroidserver/metadata.py
This is the exact change to fix it: fdroidserver/metadata.py#L460 (line numbers may vary depending on which version debian is shipping) you could copy and paste the fixed regex over to your copy of that file. (Or maybe even replace that regex line with r'.*', so everything is valid.)