NethServer Version: 8
Module: Software Repositories
Hi
After adding a Repo to NS8 Software Repositories and making the error of leaving the description field empty, I get an error:
“Not possible to list apps…”
{"context":{"action":"list-modules","data":null,"extra":{"isNotificationHidden":true,"title":"Apps auflisten"},"id":"06bca426-a54b-473c-b96e-f08761101aba","parent":"","queue":"cluster/tasks","timestamp":"2024-05-21T18:44:50.43331367Z","user":"admin"},"status":"aborted","progress":0,"subTasks":[],"validated":false,"result":{"error":"Traceback (most recent call last):\n File \"/var/lib/nethserver/cluster/actions/list-modules/50read\", line 38, in <module>\n updates = cluster.modules.list_updates(rdb, skip_core_modules = True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/agent/pypkg/cluster/modules.py\", line 241, in list_updates\n if int(testing) == 0 and not v.prerelease is None:\n ^^^^^^^^^^^^\nTypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'\n","exit_code":1,"file":"task/cluster/06bca426-a54b-473c-b96e-f08761101aba","output":""}}
It is now not possible anymore to modify, correct or remove any of the repos.
Any ideas how this “bug” can be corrected?
This does seem to be a bug, as the Software Repositories can’t be managed anymore, due to an empty description field?
No apps are listed anymore in Software Center, no apps can be added or removed…
Not really good. After all, a description field should NOT be intensively parsed by any app and have blocking features!
My 2 cents
Andy