Kilian Krause
unread,Jul 15, 2022, 5:00:04 PM7/15/22You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Package: kea-ctrl-agent
After installation the kea-shell does not work because:
# kea-shell
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
#
Quite obviously with the current python3-kea-connector in Debian
the following patch does seem correct:
---(snip)---
--- /usr/sbin/kea-shell.orig 2022-07-15 22:20:46.534324145 +0200
+++ /usr/sbin/kea-shell 2022-07-15 22:21:12.590348119 +0200
@@ -24,7 +24,7 @@
sys.path.append('/usr/lib/python3.10/site-packages/kea')
-from kea_conn import CARequest # CAResponse
+from kea.kea_conn import CARequest # CAResponse
if sys.version_info[0] == 2:
# This is Python 2.x
@@ -34,7 +34,7 @@
return unicode(string, 'utf-8')
elif sys.version_info[0] == 3:
# This is Python 3.x
- import kea_connector3 as kea_connector
+ import kea.kea_connector3 as kea_connector
auth8 = str
else:
# This is... have no idea what it is.
---(snip)---
Best regards,
Kilian