On Thu, Apr 19, 2012 at 5:11 PM, Harald Sigh Andertun
<harald.ander...@gmail.com> wrote:
> I'm sorry. Actually that was not the solution. It works sometimes now, which
> it didn't before. I'll attach a screenshot.
>
> I'm on mac (OS X Lion).
>

A bus error occurs due to unaligned memory access, or access to a non
existent memory address. In the absence of an actual bug (which others
would see), this clearly indicates that one or another of the C
libraries used by python conflicts with it.

This could happen if you compiled a C library to use with python, like
one of the many python packages that consist of a small C library
(mysql and postgresql DB adaptors, PIL, many others), and use it with
a different python than it was compiled against.

It probably has very little to do with django - django is pure python
- but with one of the libraries that is used by django or your code.
The solution is simple; remove everything, start from scratch and
recompile/reinstall everything relevant.

It is probably trickier as OS X does interesting things with python,
and most users end up with a system python and a user python. Making
sure your installed extensions are compiled and used with the right
python is then what is important.

Cheers

Tom

-- 
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