Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when connecting to an LTI tool in "Student View" mode #4

Open
bermudezjd opened this issue Mar 6, 2014 · 0 comments
Open

Error when connecting to an LTI tool in "Student View" mode #4

bermudezjd opened this issue Mar 6, 2014 · 0 comments

Comments

@bermudezjd
Copy link
Contributor

Error is coming from middleware. Here's the trace:

Traceback:
File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

  1.             response = middleware_method(request)
    
    File "/django-auth-lti/django_auth_lti/middleware.py" in process_request
  2.             user = auth.authenticate(request=request)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/contrib/auth/init.py" in authenticate
  3.         user = backend.authenticate(**credentials)
    
    File "/django-auth-lti/django_auth_lti/backends.py" in authenticate
  4.             UserModel.USERNAME_FIELD: username,
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/manager.py" in get_or_create
  5.     return self.get_queryset().get_or_create(**kwargs)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/query.py" in get_or_create
  6.                 six.reraise(*exc_info)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/query.py" in get_or_create
  7.                 obj.save(force_insert=True, using=self.db)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/base.py" in save
  8.                    force_update=force_update, update_fields=update_fields)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/base.py" in save_base
  9.         updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/base.py" in _save_table
  10.         result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/base.py" in _do_insert
  11.                            using=using, raw=raw)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/manager.py" in _insert
  12.     return insert_query(self.model, objs, fields, **kwargs)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/query.py" in insert_query
  13. return query.get_compiler(using=using).execute_sql(return_id)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
  14.         cursor.execute(sql, params)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/backends/util.py" in execute
  15.         return super(CursorDebugWrapper, self).execute(sql, params)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/backends/util.py" in execute
  16.             return self.cursor.execute(sql, params)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/utils.py" in exit
  17.             six.reraise(dj_exc_type, dj_exc_value, traceback)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/backends/util.py" in execute
  18.             return self.cursor.execute(sql, params)
    
    File "/home/vagrant/.virtualenvs/icommons_lti_tools/local/lib/python2.7/site-packages/django/db/backends/oracle/base.py" in execute
  19.         return self.cursor.execute(query, self._param_generator(params))
    

Exception Type: DatabaseError at /lti_tools/wordpress/
Exception Value: ORA-12899: value too large for column "TERMTOOL"."AUTH_USER"."USERNAME" (actual: 40, maximum: 30)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant