hi,

I am on latest trunk and using latest photologue trunk. When I install it as 
per instructions I get the error given below. I haven't a clue as to what that 
message means. I know it has nothing to do with unicode as my db is unicode. 
If I comment out 'photologue' in installed apps, the app runs. Can anyone shed 
any light on this. The error traceback is as under:

Environment:

Request Method: GET
Request URL: http://dtc.web/
Django Version: 1.2 pre-alpha SVN-11585
Python Version: 2.6.0
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.comments',
 'dtc.web',
 'django.contrib.admin',
 'photologue']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware')


Template error:
In template /home/lawgon/projects/quadmulc/dtc/templates/base.html, error at 
line 60
   Caught an exception while rendering: ERROR:  current transaction is 
aborted, commands ignored until end of transaction block

SET client_encoding to 'UNICODE'
   50 :             </ul>


   51 :         </div>


   52 :     </div>


   53 :     


   54 : </div>


   55 : <div id="ads">


   56 :     <div id="updates" class="boxed">


   57 :         <h2 class="title">Recent Reports</h2>


   58 :         <div class="content">


   59 :         {% get_reports 10 as lt %}


   60 :              {% if lt %} 


   61 :             <ul>


   62 :             {% for p in lt %}


   63 :                 <li>


   64 :                     <h3><a href="{% url report_by_id id=p.id %}"> {{ 
p.title }}</a></h3>


   65 :                 </li>


   66 :              {% endfor %}   


   67 :             </ul>


   68 :             {% endif %}


   69 :         </div>


   70 :     </div>


Traceback:
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in 
get_response
  92.                 response = callback(request, *callback_args, 
**callback_kwargs)
File "/home/lawgon/projects/quadmulc/dtc/web/views.py" in index
  67.     return render_to_response('web/index.html', 
context_instance=RequestContext(request))
File "/usr/lib/python2.6/site-packages/django/shortcuts/__init__.py" in 
render_to_response
  20.     return HttpResponse(loader.render_to_string(*args, **kwargs), 
**httpresponse_kwargs)
File "/usr/lib/python2.6/site-packages/django/template/loader.py" in 
render_to_string
  108.     return t.render(context_instance)
File "/usr/lib/python2.6/site-packages/django/template/__init__.py" in render
  178.         return self.nodelist.render(context)
File "/usr/lib/python2.6/site-packages/django/template/__init__.py" in render
  779.                 bits.append(self.render_node(node, context))
File "/usr/lib/python2.6/site-packages/django/template/debug.py" in 
render_node
  71.             result = node.render(context)
File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py" in 
render
  97.         return compiled_parent.render(context)
File "/usr/lib/python2.6/site-packages/django/template/__init__.py" in render
  178.         return self.nodelist.render(context)
File "/usr/lib/python2.6/site-packages/django/template/__init__.py" in render
  779.                 bits.append(self.render_node(node, context))
File "/usr/lib/python2.6/site-packages/django/template/debug.py" in 
render_node
  81.             raise wrapped

Exception Type: TemplateSyntaxError at /
Exception Value: Caught an exception while rendering: ERROR:  current 
transaction is aborted, commands ignored until end of transaction block

SET client_encoding to 'UNICODE'

-- 
regards
kg
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to