ValueError source code string cannot contain null bytes

502 views
Skip to first unread message

Rajeshwaran

unread,
Dec 6, 2017, 11:30:16 PM12/6/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, 11:12:55 AM5/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