hi there,

I am getting this error when using Mysql connector:

File "/opt/b360/lib/python3.4/site-packages/django/core/handlers/base.py", 
line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File 
"/opt/b360/lib/python3.4/site-packages/django/views/generic/base.py", line 
69, in view
    return self.dispatch(request, *args, **kwargs)

  File 
"/opt/b360/lib/python3.4/site-packages/django/views/generic/base.py", line 
87, in dispatch
    return handler(request, *args, **kwargs)

  File "/opt/b360/lib/python3.4/site-packages/allauth/account/views.py", 
line 194, in get
    self.object = self.get_object()

  File "/opt/b360/lib/python3.4/site-packages/allauth/account/views.py", 
line 258, in get_object
    return queryset.get(key=self.kwargs["key"].lower())

  File "/opt/b360/lib/python3.4/site-packages/django/db/models/query.py", 
line 301, in get
    num = len(clone)

  File "/opt/b360/lib/python3.4/site-packages/django/db/models/query.py", 
line 77, in __len__
    self._fetch_all()

  File "/opt/b360/lib/python3.4/site-packages/django/db/models/query.py", 
line 854, in _fetch_all
    self._result_cache = list(self.iterator())

  File "/opt/b360/lib/python3.4/site-packages/django/db/models/query.py", 
line 220, in iterator
    for row in compiler.results_iter():

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/sql/compiler.py", 
line 709, in results_iter
    for rows in self.execute_sql(MULTI):

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/sql/compiler.py", 
line 772, in execute_sql
    sql, params = self.as_sql()

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/sql/compiler.py", 
line 93, in as_sql
    where, w_params = self.query.where.as_sql(qn=qn, 
connection=self.connection)

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/sql/where.py", line 
103, in as_sql
    sql, params = child.as_sql(qn=qn, connection=connection)

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/sql/where.py", line 
106, in as_sql
    sql, params = self.make_atom(child, qn, connection)

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/sql/where.py", line 
181, in make_atom
    lvalue, params = lvalue.process(lookup_type, params_or_value, 
connection)

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/sql/where.py", line 
365, in process
    connection=connection, prepared=True)

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/fields/__init__.py", 
line 407, in get_db_prep_lookup
    prepared=prepared)]

  File 
"/opt/b360/lib/python3.4/site-packages/django/db/models/fields/__init__.py", 
line 912, in get_db_prep_value
    return connection.ops.value_to_db_datetime(value)

  File 
"/opt/b360/lib/python3.4/site-packages/mysql/connector/django/base.py", 
line 398, in value_to_db_datetime
    return self.connection.connection.converter._datetime_to_mysql(value)

AttributeError: 'NoneType' object has no attribute 'converter'

Any Ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/55de3ab9-1734-400c-8873-1359d0ffacad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to