Yes, that is very strange. Things like that should cause SyntaxErrors,
and if that was the only/last URL, you shouldn't even /need/ a comma
there. Whenever I've had bus errors, it usually ends up being a
threading problem, or a problem with a C extension.
_Nik
On 4/19/2012 8:59 AM, Harald Sigh Andertun wrote:
> I actually just found the problem (by accident)
>
> I had forgot a comma in the urls.py
>
> urlpatterns = patterns('',
> url(r'^admin/', include(admin.site.urls))*,*
> )
> ^^ here
>
> I am surprised this mistake caused a bus error.
>
> Thanks for the help anyway :)
>
> - Harald
>
>
> Den torsdag den 19. april 2012 17.50.16 UTC+2 skrev David Markey:
>
> 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 all
>
> I am totally new to django. Have followed theintro tutorial
> until part 2
> <https://docs.djangoproject.com/en/dev/intro/tutorial02/>, 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
> <https://groups.google.com/d/msg/django-users/-/8EP1qv3APR4J>.
> To post to this group, send email to
> [email protected]
> <mailto:[email protected]>.
> To unsubscribe from this group, send email to
> [email protected]
> <mailto:django-users%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en
> <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/-/b2YP3DyFrq0J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.