
On Thu, Mar 29, 2012 at 13:53, Florian Fuchs <f@state-of-mind.de> wrote:
Hi,
there seems to be a general problem running postorius with Django 1.4.
Postorius alpha1 was released the same day Django 1.4 was, so we haven't had anyone on the team so far who was running 1.4 while working on postorius.
@Florian,
My issue here is that I am not running Django 1.4 - unless I am missing something. I am not sure where it is coming from. I am on FreeBSD and I installed django-1.3.1 from the ports. A check on my installed apps shows just that. There is a port for py-django-devel but I did not install that at all:
See this
[root@jaribu] /usr/ports/www/py-django-devel# make fetch
===> py27-django-devel-17269,1 conflicts with installed package(s): py27-django-1.3.1
They install files into the same place.
You may want to stop build with Ctrl + C.
===> License check disabled, port has not defined LICENSE => Django-r17269.tar.xz doesn't seem to exist in /usr/ports/distfiles/python. => Attempting to fetch http://people.cs.nctu.edu.tw/~lwhsu/ports/distfiles/Django-r17269.tar.xz Django-r17269.tar.xz 85% of 4135 kB 135 kBps 00m04s
That shows I have django-1.3.1 installed.
I went as far as this:
mv /usr/local/lib/python2.7/site-packages/django /usr/local/lib/python2.7/site-packages/_django-1.4
Then reinstalled django-1.3.1, but I am pretty sure that the above action
wasn't necessary.
So I wiped put everything - python, django, mailman, mailman.client, py-sqlite3 - and reinstalled. Mailman gave me enough grief with bin/test and I had to wipe and reinstall several times. Perhaps it wasn't getting all the files during bin/build.
Now things look promising, but I still get errors about some templates I need to create - 500.html, 400.html....
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 283, in run self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 272, in __call__ response = self.get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 169, in get_response response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 218, in handle_uncaught_exception return callback(request, **param_dict)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/defaults.py", line 30, in server_error t = loader.get_template(template_name) # You need to create a 500.html template.
File "/usr/local/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template template, origin = find_template(template_name)
File "/usr/local/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template raise TemplateDoesNotExist(name)
TemplateDoesNotExist: 500.html
How do I create these and where do I place them? Where is the guide??
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.