> Here is the fix to that issue 
> http://lists.baruwa.org/pipermail/baruwa/2011-March/000623.html
>
> Don't forget to turn of your debug off when you are done.
>
> - Andrew
>
>


I now get a login page. After logging in as baruwaadmin, I get the same 
error.

Turned on debug. here are the results:

Environment:


Request Method: GET
Request URL: http://10.10.1.10/

Django Version: 1.3
Python Version: 2.6.6
Installed Applications:
['django.contrib.auth',
  'django.contrib.contenttypes',
  'django.contrib.sessions',
  'baruwa.auth',
  'baruwa.accounts',
  'baruwa.messages',
  'baruwa.lists',
  'baruwa.reports',
  'baruwa.status',
  'baruwa.config']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
  'django.middleware.common.CommonMiddleware',
  'django.contrib.sessions.middleware.SessionMiddleware',
  'django.contrib.auth.middleware.AuthenticationMiddleware',
  'django.contrib.csrf.middleware.CsrfMiddleware')


Template error:
In template 
/usr/lib/pymodules/python2.6/baruwa/templates/messages/index.html, error 
at line 79
    'messages_extras' is not a valid tag library: ImportError raised 
loading baruwa.messages.templatetags.messages_extras: 
/usr/local/lib/python2.6/dist-packages/GeoIP_Python-1.2.4-py2.6-linux-i686.egg/GeoIP.so:
 
undefined symbol: GeoIP_range_by_ip
    69 :     {% else %}


    70 : <div class="Date_Time_heading">{% trans "Date/Time" %}</div>


    71 : <div class="From_heading">{% trans "From" %}</div>


    72 : <div class="To_heading">{% trans "To" %}</div>


    73 : <div class="Subject_heading">{% trans "Subject" %}</div>


    74 : <div class="Size_heading">{% trans "Size" %}</div>


    75 : <div class="Score_heading">{% trans "Score" %}</div>


    76 :     {% endif %}


    77 : <div class="Status_heading">{% trans "Status" %}</div>


    78 : </div> <!--Heading End Here-->


    79 :  {% load messages_extras %}


    80 : {% for message in object_list %}


    81 : <div class="{{ message|tds_msg_class }}_div">


    82 : <div class="Date_Time">


    83 : <a href="{% ifnotequal view_type 'archive' %}{% url 
message-detail message.id %}{% else %}{% url archive-message-detail 
message.id %}{% endifnotequal %}">{{ message.timestamp|date:"Y-m-d 
H:i:s"  }}</a>


    84 : </div>


    85 : <div class="From_row">


    86 : <a href="{% ifnotequal view_type 'archive' %}{% url 
message-detail message.id %}{% else %}{% url archive-message-detail 
message.id %}{% endifnotequal %}">{{ message.from_address|tds_trunc:30 
}}</a>


    87 : </div>


    88 : <div class="To_row">


    89 : <a href="{% ifnotequal view_type 'archive' %}{% url 
message-detail message.id %}{% else %}{% url archive-message-detail 
message.id %}{% endifnotequal %}">{{ 
message.to_address|tds_nl_commas|linebreaksbr }}</a>


Traceback:
File 
"/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in 
get_response
   111.                         response = callback(request, 
*callback_args, **callback_kwargs)
File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/decorators.py" 
in _wrapped_view
   23.                 return view_func(request, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/baruwa/messages/views.py" in index
   141.         'quarantine_type':quarantine_type})
File 
"/usr/local/lib/python2.6/dist-packages/django/views/generic/list_detail.py" 
in object_list
   107.     t = template_loader.get_template(template_name)
File "/usr/local/lib/python2.6/dist-packages/django/template/loader.py" 
in get_template
   160.         template = get_template_from_string(template, origin, 
template_name)
File "/usr/local/lib/python2.6/dist-packages/django/template/loader.py" 
in get_template_from_string
   168.     return Template(source, origin, name)
File "/usr/local/lib/python2.6/dist-packages/django/template/base.py" in 
__init__
   108.         self.nodelist = compile_string(template_string, origin)
File "/usr/local/lib/python2.6/dist-packages/django/template/base.py" in 
compile_string
   136.     return parser.parse()
File "/usr/local/lib/python2.6/dist-packages/django/template/base.py" in 
parse
   239.                     compiled_result = compile_func(self, token)
File 
"/usr/local/lib/python2.6/dist-packages/django/template/loader_tags.py" 
in do_extends
   214.     nodelist = parser.parse()
File "/usr/local/lib/python2.6/dist-packages/django/template/base.py" in 
parse
   239.                     compiled_result = compile_func(self, token)
File 
"/usr/local/lib/python2.6/dist-packages/django/template/loader_tags.py" 
in do_block
   192.     nodelist = parser.parse(('endblock', 'endblock %s' % 
block_name))
File "/usr/local/lib/python2.6/dist-packages/django/template/base.py" in 
parse
   239.                     compiled_result = compile_func(self, token)
File 
"/usr/local/lib/python2.6/dist-packages/django/template/defaulttags.py" 
in load
   1054.                                           (taglib, e))

Exception Type: TemplateSyntaxError at /
Exception Value: 'messages_extras' is not a valid tag library: 
ImportError raised loading baruwa.messages.templatetags.messages_extras: 
/usr/local/lib/python2.6/dist-packages/GeoIP_Python-1.2.4-py2.6-linux-i686.egg/GeoIP.so:
 
undefined symbol: GeoIP_range_by_ip


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to