SeattleTestbed / softwareupdater

Software updater daemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError Traceback in software updater

choksi81 opened this issue · comments

My log analysis script just found a beta node that has been logging a lot of ValueError Tracebacks recently. Below is a copy of one of the errors:

1281731565.43:PID-3786:Traceback (most recent call last):
File "softwareupdater.py", line 830, in
File "softwareupdater.py", line 753, in main
File "softwareupdater.py", line 277, in do_rsync
File "softwareupdater.repyhelpercache/signeddata_repy.py", line 438, in signeddata_shouldtrust
File "softwareupdater.repyhelpercache/signeddata_repy.py", line 359, in signeddata_split
ValueError: need more than 1 value to unpack

I didn't look into why the code is setup the way it is but it looks like the offending line of code is trying to split, what it thinks is, a large string with "!" delimiters into 6 parts (using rsplit) but the string has less than 6 exclamations for some reason.

The node that I am seeing this on has an IP of 160.193.163.106

It also for some reason wasn't successfully upgraded to 0.1s-beta-r4015, it is still using version 0.1r-beta-r3519

The old software updater is about to be obsoleted.