ValueError source code string cannot contain null bytes

498 views
Skip to first unread message

Rajeshwaran

unread,
Dec 7, 2017, 4:30:16 AM12/7/17
to Django users
Hi All,

I am facing this "ValueError: source code string cannot contain null bytes" error when i create a sqlite3 database and run the application.

Steps that i do :

  1. Create database using db browser for SQLITE3
  2. Create model by running "python manage.py inspectdb > models.py"
  3. Run the application by "python manage.py runserver"
Could someone please help me with this issue.

Thanks,
Rajeshwaran
error.png

Arif Arman

unread,
May 12, 2018, 3:12:55 PM5/12/18
to Django users
Hi I am having the same error. Did you manage to solve it?
Reply all
Reply to author
Forward
0 new messages