You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server traceback shows that "version" string is too long...
[ERROR] [2019-09-03 15:24:27,769] django.request: Internal Server Error: /securesync/api/register
Traceback (most recent call last):
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/core/handlers/base.py", line 115, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(*args, **kwargs)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/securesync/devices/api_views.py", line 97, in register_device
client_device.save(imported=True)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/securesync/devices/models.py", line 348, in save
super(Device, self).save(*args, **kwargs)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/securesync/engine/models.py", line 354, in save
super(SyncedModel, self).save(*args, **kwargs)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/db/models/base.py", line 546, in save
force_update=force_update, update_fields=update_fields)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/db/models/base.py", line 650, in save_base
result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/db/models/manager.py", line 215, in _insert
return insert_query(self.model, objs, fields, **kwargs)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/db/models/query.py", line 1661, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/db/models/sql/compiler.py", line 937, in execute_sql
cursor.execute(sql, params)
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/db/backends/mysql/base.py", line 130, in execute
six.reraise(utils.DatabaseError, utils.DatabaseError(*tuple(e.args)), sys.exc_info()[2])
File "/var/www/ka-lite-central/centralserver/../ka-lite-submodule/python-packages/django/db/backends/mysql/base.py", line 120, in execute
return self.cursor.execute(query, args)
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 226, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorvalue
DatabaseError: (1406, "Data too long for column 'version' at row 1")
Server traceback shows that "version" string is too long...
The text was updated successfully, but these errors were encountered: