--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/8EP1qv3APR4J.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Bus error is usually a very low level problem.Can you give a screen shot?
If you are on linux, also post dmesg.
On 19 April 2012 16:36, Harald Sigh Andertun wrote:
Hi allI am totally new to django. Have followed the intro tutorial until part 2, but when I start the development server and tries to access the admin page Python crashes immediately. The console prints "Bus error: 10".I have been googling for a while now, but can't figure out why this error occurs.Is it a code error, or an environment issue?I use Python 2.6.2 and Django 1.4.0, and I have choosen sqlite3 as db.I hope someone can enlighten me in what direction the problem might be ;)Cheers,Harald
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/8EP1qv3APR4J.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/b2YP3DyFrq0J.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/wbphSrYwBCoJ.
I'll attach a screenshot. It works for some time, but eventually crashes.I'm on Mac OS X Lion.
Den torsdag den 19. april 2012 17.50.16 UTC+2 skrev David Markey:
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/c4km0y-4gekJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
<django_intro_crash.png>
Xavier.
<django_intro_crash.png>
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
_Nik