Bug #3412

Error updating an unsigned repo with fdroidserver

Added by daithib8 over 3 years ago. Updated over 2 years ago.

Status:NewStart date:05/25/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Component:

Description

After finishing a lot of pending builds, I just checked out the code since smartcard stuff was introduced. It seems that ever since about 0dd811605944ea2cd7f71366592bd95fc9149345 an error is produced when trying to update the repo:

DEBUG: Reading config.py
Traceback (most recent call last):
File "/home/gerry/fdroidserver/fdroid", line 87, in <module>
main()
File "/home/gerry/fdroidserver/fdroid", line 83, in main
mod.main()
File "/home/gerry/fdroidserver/fdroidserver/update.py", line 1015, in main
make_index(apps, apks, repodirs0, False, categories)
File "/home/gerry/fdroidserver/fdroidserver/update.py", line 654, in make_index
repoel.setAttribute("pubkey", extract_pubkey())
File "/home/gerry/fdroidserver/fdroidserver/update.py", line 646, in extract_pubkey
+ config['smartcardoptions'])
File "/home/gerry/fdroidserver/fdroidserver/common.py", line 1434, in FDroidPopen
logging.info("> %s" % ' '.join(commands))
TypeError: sequence item 3: expected string, NoneType found)

History

#1 Updated by hans over 3 years ago

  • Target version set to make new Guardian Project FDroid repo

#2 Updated by hans over 3 years ago

I can't reproduce this with or without a smartcard. Can you give me more info on your config? Maybe the non-private/non-sensitive parts of your config.py2?

#3 Updated by daithib8 over 3 years ago

I found the problem here: I was only building an unsigned index, but the index builds when it's signed. It was failing somewhere near the end actually. I was using an unsigned index while my repo needed a lot of testing; having a source-built repo that doesn't build packages with a build server threw up a few quirks. But I see that you're suggesting removal of unsigned indices from the client: a minor annoyance, but only that.

#4 Updated by hans over 3 years ago

  • Subject changed from Error updating a repo with fdroidserver to Error updating an unsigned repo with fdroidserver
  • Target version changed from make new Guardian Project FDroid repo to 134

#5 Updated by hans over 2 years ago

  • Target version deleted (134)

Also available in: Atom PDF