Hi, we’re installing both the following GIthub repos on AWS:
- nmt-wizard docker (all frameworks + task/data management etc)
- nmt-wizard (client/server for running (1) above)
(1) worked fine.
(2) gives a bug (server side) when we try and configure it with the JSON config:
python3
worker.py
myserver.json
2020-01-11 16:45:34,548 - nmtwizard.configuration - INFO - Loading services from /home/bilal/test/nmt-wizard/server
2020-01-11 16:45:34,549 - nmtwizard.configuration - INFO - Loading service configuration myserver.json
2020-01-11 16:45:34,680 - nmtwizard.configuration - INFO - Loaded service myserver (total capacity: [0, 0])
2020-01-11 16:45:34,681 - worker - INFO - Running worker for myserver - PID = 14988
Traceback (most recent call last):
File "
worker.py
", line 112, in
redis.hset(keys, “current_configuration”, current_configuration)
File "/home/bilal/.local/lib/python3.6/site-packages/redis/
client.py
", line 2742, in hset
return self.execute_command(‘HSET’, name, key, value)
File "/home/bilal/.local/lib/python3.6/site-packages/redis/
client.py
", line 838, in execute_command
conn.send_command(*args)
File "/home/bilal/.local/lib/python3.6/site-packages/redis/
connection.py
", line 686, in send_command
self.send_packed_command(self.pack_command(*args),
File "/home/bilal/.local/lib/python3.6/site-packages/redis/
connection.py
", line 737, in pack_command
for arg in imap(self.encoder.encode, args):
File "/home/bilal/.local/lib/python3.6/site-packages/redis/
connection.py
", line 118, in encode
“byte, string or number first.” % typename)
redis.exceptions.DataError: Invalid input of type: ‘NoneType’. Convert to a byte, string or number first.