Hi,

I recently upgraded Pootle from version 1.1.0 to 2.0.1. Everything
seemed to be working fine after the upgrade; the front page displayed
all available projects and languages. However, when I click on a
project I get the following error: 'An error has occurred. Thank you
for your patience. near "GROUP": syntax error'.

Here is the output from the terminal:

Starting server, listening on port 8080.
2010-06-26 19:14:41,037 INFO Starting Django server, listening on port 8080
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/django/core/handlers/base.py",
line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File 
"/usr/lib/python2.5/site-packages/pootle_app/views/project/project_language_index.py",
line 74, in view
    topstats = gentopstats(lambda query:
query.filter(translation_project__project__code=project_code))
  File "/usr/lib/python2.5/site-packages/pootle_app/views/top_stats.py",
line 77, in gentopstats
    gen_top_stat(suggesters_from_suggestions(top_sugg),   _('Suggestions')),
  File "/usr/lib/python2.5/site-packages/pootle_app/views/top_stats.py",
line 33, in suggesters_from_suggestions
    return [map_num_contribs(sug, sug.suggester.user) for sug in sugs
if sug.suggester]
  File "/usr/lib/pymodules/python2.5/django/db/models/query.py", line
106, in _result_iter
    self._fill_cache()
  File "/usr/lib/pymodules/python2.5/django/db/models/query.py", line
760, in _fill_cache
    self._result_cache.append(self._iter.next())
  File "/usr/lib/pymodules/python2.5/django/db/models/query.py", line
269, in iterator
    for row in compiler.results_iter():
  File "/usr/lib/pymodules/python2.5/django/db/models/sql/compiler.py",
line 672, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/usr/lib/pymodules/python2.5/django/db/models/sql/compiler.py",
line 727, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/pymodules/python2.5/django/db/backends/sqlite3/base.py",
line 200, in execute
    return Database.Cursor.execute(self, query, params)
DatabaseError: near "GROUP": syntax error

Please CC me in on the reply, as I'm not subscribed to this list.

Thanks,

-- 
Runa A. Sandvik

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to