error when creating a new project

3 views
Skip to first unread message

Tonu Mikk

unread,
Dec 11, 2008, 3:30:23 PM12/11/08
to rancho...@googlegroups.com
Hi, I received this error when I created a new project. The project
gets created, but the error prevents seeing the project page. I am
using Django 1.02 on Ubuntu 8.10.

Thank you,
Tonu


TemplateSyntaxError at /project/1/overview/

Caught an exception while rendering: 'long' object has no attribute 'split'

Original Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/template/debug.py", line 71, in render_node
result = node.render(context)
File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line 915, in render
dict = func(*args)
File "/var/www/rancho/../rancho/lib/templatetags/genmenu.py", line 52, in genmenu
args = [Variable(arg).resolve(context) for arg in url.split(',')]
AttributeError: 'long' object has no attribute 'split'

Template error

In template |/var/www/rancho/templates/project/overview.html|, error at
line *12*


Caught an exception while rendering: 'long' object has no
attribute 'split'

2
3 {% load i18n usernamegen sidewidget formatdate genmenu displayevent %}
4
5 {% block pagetitle %} {{ project.name }} | {% trans "Overview" %} {%
endblock %}
6
7 {% block area_name %}
8 <p>{% trans "Project Overview & Activity" %}</p>
9 {% endblock %}
10
11 {% block menu %}
12 {% genmenu "inproject" "overview" project.id %}
13 {% endblock %}
14
15 {% block right_content %}
16
17 {% if project.description %}
18 <div class="widget">
19 <p><img class="textcenter"
src="/media/basepage/images/icons/information.png" alt="" /> {% trans
"About the project" %}</p>
20 </div>
21 <p>
22 {{ project.description }}


ranc...@gmail.com

unread,
Dec 12, 2008, 3:49:12 PM12/12/08
to Rancho
Hi Tonu,

Which Rancho version are you running? Alpha 0.1 or the SVN trunk?

That problem seems to be already pointed out and resolved:
http://trac.getrancho.com/ticket/3

Could you please try to run the Rancho SVN trunk version and tell us
if the problem persists?


Thank you,

--
The Rancho Team

Tonu Mikk

unread,
Dec 12, 2008, 4:27:52 PM12/12/08
to rancho...@googlegroups.com
Thank you Rancho developers,

I was running version 0.1. I now downloaded and starting running the
trunk (revision 31) and the problem has gone away.

Much appreciated,

Tonu
Reply all
Reply to author
Forward
0 new messages