Forums

python manage.py migrate returns Bus error

Hi all,

I've an issue.

I created a new django app and when I tried run python manage.py migrate it returns me Bus error. Could you please help me with that?

Here is my database configuration.

    DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': env("DB_NAME"),
        'USER': env("DB_USER"),
        'PASSWORD': env("DB_PASSWORD"),
        'HOST': env("DB_HOST"),
    }
}

Here is my .env variables:

DB_HOST='<my-username>.mysql.pythonanywhere-services.com'
DB_USER='<my-username>'
DB_PASSWORD='<my-password>'
DB_NAME='<my-username>$<my-db-name>'

Thanks

Could you show full error message?

it is full enter image description here

https://screencast-o-matic.com/i/crVuQRR1rx

Hi, I see we already answered you by email. I'm posting part of our reply in case if someone else would experience similiar issue in the future:

A bus error means that Python itself is crashing, which is not something that could be fixed by a server restart. If you're using Django >= 3.0 with Python 3.7 it might be happening because of a bug in Python 3.7.0, which is the point release of 3.7 that your account is configured to use. We can change it to 3.7.5, which does not have that bug, by changing your account's system image to our latest one.

thanks