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

/ui/ventures/*/venture/ is not compatible with SQLite backend #23

Closed
ambv opened this issue Jul 20, 2012 · 1 comment
Closed

/ui/ventures/*/venture/ is not compatible with SQLite backend #23

ambv opened this issue Jul 20, 2012 · 1 comment

Comments

@ambv
Copy link

ambv commented Jul 20, 2012

Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/ui/ventures/*/venture/

Django Version: 1.4
Python Version: 2.7.3
Installed Applications:
[u'django.contrib.auth',
u'django.contrib.contenttypes',
u'django.contrib.sessions',
u'django.contrib.sites',
u'django.contrib.messages',
u'django.contrib.staticfiles',
u'django.contrib.admin',
u'djcelery',
u'south',
u'lck.django.common',
u'lck.django.activitylog',
u'lck.django.profile',
u'lck.django.score',
u'lck.django.tags',
u'gunicorn',
u'fugue_icons',
u'bob',
u'tastypie',
u'ralph.account',
u'ralph.business',
u'ralph.cmdb',
u'ralph.discovery',
u'ralph.integration',
u'ralph.ui',
u'ralph.dnsedit',
u'ralph.util',
u'ajax_select',
u'powerdns']
Installed Middleware:
(u'django.middleware.gzip.GZipMiddleware',
u'django.middleware.common.CommonMiddleware',
u'django.contrib.sessions.middleware.SessionMiddleware',
u'lck.django.common.middleware.TimingMiddleware',
u'django.middleware.locale.LocaleMiddleware',
u'django.middleware.csrf.CsrfViewMiddleware',
u'django.contrib.auth.middleware.AuthenticationMiddleware',
u'django.contrib.messages.middleware.MessageMiddleware',
u'lck.django.activitylog.middleware.ActivityMiddleware',
u'lck.django.common.middleware.ForceLanguageCodeMiddleware')

Traceback:
File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

  1.                     response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  2.             return view_func(request, _args, *_kwargs)
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/views/generic/base.py" in view
  3.         return self.dispatch(request, _args, *_kwargs)
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
  4.     return handler(request, _args, *_kwargs)
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/project/src/ralph/ui/views/ventures.py" in get
  5.     return super(VenturesVenture, self).get(_args, *_kwargs)
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/views/generic/base.py" in get
  6.     context = self.get_context_data(**kwargs)
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/project/src/ralph/ui/views/ventures.py" in get_context_data
  7.         datapoints = set(dp for dp, in query.values_list('start').distinct())
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/project/src/ralph/ui/views/ventures.py" in
  8.         datapoints = set(dp for dp, in query.values_list('start').distinct())
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/db/models/query.py" in _result_iter
  9.             self._fill_cache()
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/db/models/query.py" in _fill_cache
  10.                 self._result_cache.append(self._iter.next())
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/db/models/query.py" in iterator
  11.         for row in self.query.get_compiler(self.db).results_iter():
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in results_iter
  12.     for rows in self.execute_sql(MULTI):
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
  13.     cursor.execute(sql, params)
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/db/backends/util.py" in execute
  14.         return self.cursor.execute(sql, params)
    
    File "/Users/ambv/Documents/Projekty/Python/ralph/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute
  15.         return Database.Cursor.execute(self, query, params)
    

Exception Type: DatabaseError at /ui/ventures/*/venture/
Exception Value: no such function: GREATEST

@ghost ghost assigned deshipu Jul 20, 2012
@quamilek quamilek closed this as completed Jul 9, 2014
@quamilek quamilek reopened this Jul 9, 2014
@xor-xor
Copy link
Contributor

xor-xor commented Aug 7, 2014

Operation "Bug Burial" starts in 3...2...1... 😉

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

No branches or pull requests

4 participants