question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ValueError at /user error on Windows

See original GitHub issue

Summary

At first I was unable to create a device owner, and upon restarting the server got the 500 Server error - ValueError at /user

System information

  • Version: 0.4 release
  • Operating system: Windows 8.1
  • Browser: FF & Chrome

Screenshots

win8 1 start running - oracle vm virtualbox_280

Traceback or relevant snippet from server.log or browser console

kolibri.log file

``` INFO 2017-06-26 13:39:18,186 cli Kolibri running for the first time. INFO 2017-06-26 13:39:18,186 cli We don't yet use pre-migrated database seeds, so you're going to have to wait a bit while we create a blank database...

INFO 2017-06-26 13:39:28,091 cli Automatically enabling applications. ERROR 2017-06-26 13:43:42,612 base Internal Server Error: /api/facilitydataset/ Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 13:43:43,763 base Internal Server Error: /user Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 174, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 172, in get_response response = response.render() File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 160, in render self.content = self.rendered_content File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 137, in rendered_content content = template.render(context, self._request) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\backends\django.py”, line 95, in render return self.template.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 206, in render return self._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 173, in render return compiled_parent._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 69, in render result = block.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\library.py”, line 201, in render output = self.func(*resolved_args, **resolved_kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 91, in kolibri_bootstrap_collection response, kwargs, url_params = _kolibri_bootstrap_helper(context, base_name, api_resource, ‘list’, **kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 124, in _kolibri_bootstrap_helper response = client.get(url, data=kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 162, in get response = super(APIClient, self).get(path, data=data, **extra) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 88, in get return self.generic(‘GET’, path, **r) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 380, in generic return self.request(**r) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 159, in request return super(APIClient, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 111, in request request = super(APIRequestFactory, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 467, in request six.reraise(*exc_info) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 13:44:04,555 base Internal Server Error: /api/facilitydataset/ Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 13:44:05,522 base Internal Server Error: /user Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 174, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 172, in get_response response = response.render() File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 160, in render self.content = self.rendered_content File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 137, in rendered_content content = template.render(context, self._request) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\backends\django.py”, line 95, in render return self.template.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 206, in render return self._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 173, in render return compiled_parent._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 69, in render result = block.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\library.py”, line 201, in render output = self.func(*resolved_args, **resolved_kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 91, in kolibri_bootstrap_collection response, kwargs, url_params = _kolibri_bootstrap_helper(context, base_name, api_resource, ‘list’, **kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 124, in _kolibri_bootstrap_helper response = client.get(url, data=kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 162, in get response = super(APIClient, self).get(path, data=data, **extra) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 88, in get return self.generic(‘GET’, path, **r) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 380, in generic return self.request(**r) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 159, in request return super(APIClient, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 111, in request request = super(APIRequestFactory, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 467, in request six.reraise(*exc_info) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 13:44:36,638 base Internal Server Error: /api/facilitydataset/ Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 13:44:36,951 base Internal Server Error: /user Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 174, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 172, in get_response response = response.render() File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 160, in render self.content = self.rendered_content File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 137, in rendered_content content = template.render(context, self._request) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\backends\django.py”, line 95, in render return self.template.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 206, in render return self._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 173, in render return compiled_parent._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 69, in render result = block.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\library.py”, line 201, in render output = self.func(*resolved_args, **resolved_kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 91, in kolibri_bootstrap_collection response, kwargs, url_params = _kolibri_bootstrap_helper(context, base_name, api_resource, ‘list’, **kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 124, in _kolibri_bootstrap_helper response = client.get(url, data=kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 162, in get response = super(APIClient, self).get(path, data=data, **extra) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 88, in get return self.generic(‘GET’, path, **r) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 380, in generic return self.request(**r) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 159, in request return super(APIClient, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 111, in request request = super(APIRequestFactory, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 467, in request six.reraise(*exc_info) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 14:25:12,786 base Internal Server Error: /api/facilitydataset/ Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 14:25:16,177 base Internal Server Error: /user Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 174, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 172, in get_response response = response.render() File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 160, in render self.content = self.rendered_content File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 137, in rendered_content content = template.render(context, self._request) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\backends\django.py”, line 95, in render return self.template.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 206, in render return self._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 173, in render return compiled_parent._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 69, in render result = block.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\library.py”, line 201, in render output = self.func(*resolved_args, **resolved_kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 91, in kolibri_bootstrap_collection response, kwargs, url_params = _kolibri_bootstrap_helper(context, base_name, api_resource, ‘list’, **kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 124, in _kolibri_bootstrap_helper response = client.get(url, data=kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 162, in get response = super(APIClient, self).get(path, data=data, **extra) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 88, in get return self.generic(‘GET’, path, **r) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 380, in generic return self.request(**r) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 159, in request return super(APIClient, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 111, in request request = super(APIRequestFactory, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 467, in request six.reraise(*exc_info) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 14:32:48,736 base Internal Server Error: /api/facilitydataset/ Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string ERROR 2017-06-26 14:32:49,770 base Internal Server Error: /user Traceback (most recent call last): File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 174, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 172, in get_response response = response.render() File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 160, in render self.content = self.rendered_content File “C:\Python27\lib\site-packages\kolibri\dist\django\template\response.py”, line 137, in rendered_content content = template.render(context, self._request) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\backends\django.py”, line 95, in render return self.template.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 206, in render return self._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 173, in render return compiled_parent._render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 197, in _render return self.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\loader_tags.py”, line 69, in render result = block.nodelist.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 992, in render bit = node.render_annotated(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\base.py”, line 959, in render_annotated return self.render(context) File “C:\Python27\lib\site-packages\kolibri\dist\django\template\library.py”, line 201, in render output = self.func(*resolved_args, **resolved_kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 91, in kolibri_bootstrap_collection response, kwargs, url_params = _kolibri_bootstrap_helper(context, base_name, api_resource, ‘list’, **kwargs) File “C:\Python27\lib\site-packages\kolibri\core\templatetags\kolibri_tags.py”, line 124, in _kolibri_bootstrap_helper response = client.get(url, data=kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 162, in get response = super(APIClient, self).get(path, data=data, **extra) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 88, in get return self.generic(‘GET’, path, **r) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 380, in generic return self.request(**r) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 159, in request return super(APIClient, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\test.py”, line 111, in request request = super(APIRequestFactory, self).request(**kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\test\client.py”, line 467, in request six.reraise(*exc_info) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 149, in get_response response = self.process_exception_by_middleware(e, request) File “C:\Python27\lib\site-packages\kolibri\dist\django\core\handlers\base.py”, line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\django\views\decorators\csrf.py”, line 58, in wrapped_view return view_func(*args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\viewsets.py”, line 87, in view return self.dispatch(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 466, in dispatch response = self.handle_exception(exc) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\views.py”, line 463, in dispatch response = handler(request, *args, **kwargs) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\mixins.py”, line 48, in list return Response(serializer.data) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 674, in data ret = super(ListSerializer, self).data File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 239, in data self._data = self.to_representation(self.instance) File “C:\Python27\lib\site-packages\kolibri\dist\rest_framework\serializers.py”, line 614, in to_representation self.child.to_representation(item) for item in iterable File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 258, in iter self._fetch_all() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 1074, in _fetch_all self.result_cache = list(self.iterator()) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\query.py”, line 52, in iter results = compiler.execute_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 837, in execute_sql sql, params = self.as_sql() File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 389, in as_sql where, w_params = self.compile(self.where) if self.where is not None else (“”, []) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\where.py”, line 79, in as_sql sql, params = compiler.compile(child) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\sql\compiler.py”, line 366, in compile sql, params = node.as_sql(self, self.connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 158, in as_sql rhs_sql, rhs_params = self.process_rhs(compiler, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 91, in process_rhs return self.get_db_prep_lookup(value, connection) File “C:\Python27\lib\site-packages\kolibri\dist\django\db\models\lookups.py”, line 62, in get_db_prep_lookup self.lookup_name, value, connection, prepared=True)) File "C:\Python27\lib\site-packages\kolibri\dist\django\db\models\fields_init.py", line 776, in get_db_prep_lookup prepared=prepared)] File “C:\Python27\lib\site-packages\kolibri\dist\morango\utils\uuids.py”, line 38, in get_db_prep_value value = uuid.UUID(value) File “C:\Python27\lib\uuid.py”, line 134, in init raise ValueError(‘badly formed hexadecimal UUID string’) ValueError: badly formed hexadecimal UUID string


</details>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
rtibblescommented, Jun 26, 2017

On 0.4.0, can look at the console output you get when you try to create the device owner/facility on a fresh install, and post here?

1reaction
rtibblescommented, Jun 26, 2017

Righto - think I see where the issue may lie - will fix with all expedience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

#VALUE Error For One User - Microsoft Community
I have 4 users who have opened the same Excel file. One user gets #VALUE errors, but the sheet works correctly for all...
Read more >
Error "ValueError: can't format dates this early" on one PC ...
ValueError: can't format dates this early. The error seems to come from pywin32 module. The code uses a third-party library invoked by pywin32:...
Read more >
Pip install error on windows 10, possible hardcoded path #32
Hello, I got a series of errors like this: File "C:\Users\myusername\ ... ValueError: path '/Users/cvangysel/Projects/pytrec_eval/trec_eval/ ...
Read more >
Coral USB inference not working on Windows 10 (ValueError
The last line, “ValueError: Failed to load delegate from edgetpu.dll” usually means that no Coral USB device could be recognized. (If you unplug ......
Read more >
Built-in Exceptions — Python 3.11.1 documentation
It is a subclass of ValueError . UnicodeError has attributes that describe the encoding or decoding error. For example, err.object[err.start:err ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found