I got same issue here, let me figure out wether can be fixed.
``` bash
root@evsio0nHK:~# kamctl add evsio0n 123
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/kamailio//kamctl/dbtextdb/dbtextdb.py", line
1243, in <module>
main(sys.argv)
File "/usr/lib/x86_64-linux-gnu/kamailio//kamctl/dbtextdb/dbtextdb.py", line
1230, in main
dataset = conn.Execute(' '.join(argv[1:]))
File "/usr/lib/x86_64-linux-gnu/kamailio//kamctl/dbtextdb/dbtextdb.py", line
423, in Execute
self.WriteTempTable()
File "/usr/lib/x86_64-linux-gnu/kamailio//kamctl/dbtextdb/dbtextdb.py", line
1138, in WriteTempTable
self.temp_file.write(header.strip() + '\n')
File "/usr/lib/python3.9/tempfile.py", line 613, in func_wrapper
return func(*args, **kwargs)
TypeError: a bytes-like object is required, not 'str'
ERROR: introducing the new user 'evsio0n' to the database failed
root@evsio0nHK:~#
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2469#issuecomment-1140153300
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/2469/1140153300(a)github.com>