I'm not sure if I did something wrong with my upgrade here, but I'm getting an error now. I was able to successfully add my new 1.2.1 game folder, and do a pyKAN update and upgrade, but list_modules is consistently failing:
$ ./pyKAN list_modules
Using KSP Directory: /home/confusador/Games/KSP121
Traceback (most recent call last):
File "./pyKAN", line 359, in <module>
actions[options.action]['method']()
File "./pyKAN", line 165, in list_modules
if modid not in result or Version(result[modid]['version']) < Version(version):
File "/home/confusador/Downloads/pyKAN-0.1.0/libPyKAN/version.py", line 102, in __lt__
return self.__cmp__(other) < 0
File "/home/confusador/Downloads/pyKAN-0.1.0/libPyKAN/version.py", line 86, in __cmp__
if self.numpart(i) <= self.numpart(j):
File "/home/confusador/Downloads/pyKAN-0.1.0/libPyKAN/version.py", line 52, in numpart
return int(''.join(re.findall('\d',s)))
ValueError: invalid literal for int() with base 10: ''
EDIT: It occurred to me that I could probably get what I needed by grepping the repocache, and once I found the module name `./pyKAN install --module ContractConfigurator-Tourism` worked just fine as well. Not sure what it is about list_modules, maybe choking on a new name?