Andrew Colin Kissa schreef:
On 21 Jun 2011, at 2:14 PM, Johan Hendriks wrote:
I got a few errors.
When going to the reports page and then Top Mail hosts i get the following.
(All other pages works well)
File
"/usr/local/lib/python2.7/site-packages/baruwa-1.1.0-py2.7.egg/baruwa/messages/templatetags/messages_extras.py"
in tds_geoip
144. return mark_safe(tag)
Exception Value: Caught UnboundLocalError while rendering: local variable 'tag'
referenced before assignment
This is because you do not have iPy installed.
Ok installed ipy again, and also baruwa.
The bayes and spammassin lint pages work, no error.!!
But the Top Mail host page from reports still does not work.
I do not know what to post from the debug page.
TemplateSyntaxError at /reports/10/
Caught UnboundLocalError while rendering: local variable 'tag'
referenced before assignment
Request Method: GET
Request URL: http://192.168.50.200/reports/10/
Django Version: 1.3
Exception Type: TemplateSyntaxError
Exception Value:
Caught UnboundLocalError while rendering: local variable 'tag'
referenced before assignment
Exception Location:
/usr/local/lib/python2.7/site-packages/baruwa-1.1.0-py2.7.egg/baruwa/messages/templatetags/messages_extras.py
in tds_geoip, line 144
Python Executable: /usr/local/bin/python
Python Version: 2.7.1
Python Path:
['/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/MarkupSafe-0.12-py2.7-freebsd-8.2-STABLE-amd64.egg',
'/usr/local/lib/python2.7/site-packages/Beaker-1.5.4-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/lxml-2.2.7-py2.7-freebsd-8.2-STABLE-amd64.egg',
'/usr/local/lib/python2.7/site-packages/nose-1.0.0-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/zope.interface-3.6.1-py2.7-freebsd-8.2-STABLE-amd64.egg',
'/usr/local/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-freebsd-8.2-STABLE-amd64.egg',
'/usr/local/lib/python2.7/site-packages/Babel-0.9.6-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/anyjson-0.3.1-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/IPy-0.75-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/django_celery-2.2.4-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/celery-2.2.6-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/django_picklefield-0.1.9-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/pyparsing-1.5.5-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/kombu-1.1.3-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/amqplib-0.6.1-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/Mako-0.4.1-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/simplejson-2.1.6-py2.7-freebsd-8.2-STABLE-amd64.egg',
'/usr/local/lib/python2.7/site-packages/baruwa-1.1.0-py2.7.egg',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-freebsd8',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages',
'/usr/local/lib/python2.7/site-packages/Numeric',
'/usr/local/lib/python2.7/site-packages/PIL',
'/usr/local/kde4/lib/python2.7/site-packages',
'/usr/local/lib/python2.7/site-packages/gst-0.10',
'/usr/local/lib/python2.7/site-packages/gtk-2.0']
Server time: Tue, 21 Jun 2011 15:00:17 +0200
Second problem
Also i can not view from the status page the bayes info page and spamassassin
lint page.
Error from bayes page.
Exception Type: OSError at /status/bayes/
Exception Value: [Errno 2] No such file or directory
This can be one of two issue's, either you do not have spamassassin installed
in the PATH or
you have not set 'SA_PREFS' to the correct value on your system.
And the spamassassin lint page give me the following.
Exception Type: OSError at /status/lint/
Exception Value: [Errno 2] No such file or directory
This is the same issue as above.
--
Baruwa - www.baruwa.org
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa