Log in

Help~ no such table: spirit_cache

UnknownArtMike Lee
  • 1
  • 20 Feb '15

Hi All Spirit member,

I got an error such as following while I am adopting the "example" website. Do you know what I did wrong?

OperationalError at /user/login/
no such table: spirit_cache
Request Method: POST
Request URL: http://localhost:8000/user/login/
Django Version: 1.7.4
Exception Type: OperationalError
Exception Value:
no such table: spirit_cache
Exception Location: /Users/Administrator/Desktop/usfeel/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 485
Python Executable: /Users/Administrator/Desktop/usfeel/bin/python
Python Version: 2.7.6
Python Path:
['/Users/Administrator/Desktop/usfeel/spirit',
'/Users/Administrator/Desktop/usfeel/lib/python27.zip',
'/Users/Administrator/Desktop/usfeel/lib/python2.7',
'/Users/Administrator/Desktop/usfeel/lib/python2.7/plat-darwin',
'/Users/Administrator/Desktop/usfeel/lib/python2.7/plat-mac',
'/Users/Administrator/Desktop/usfeel/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/Administrator/Desktop/usfeel/Extras/lib/python',
'/Users/Administrator/Desktop/usfeel/lib/python2.7/lib-tk',
'/Users/Administrator/Desktop/usfeel/lib/python2.7/lib-old',
'/Users/Administrator/Desktop/usfeel/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/Administrator/Desktop/usfeel/lib/python2.7/site-packages']
Server time: Fri, 20 Feb 2015 02:43:31 +0000

nitelyEsteban Castro Borsani
  • 20 Feb '15

Hi!

You forget to run the ┬┤python manage.py createcachetable spirit_cache┬┤ command. Follow all the installation steps.

UnknownArtMike Lee
  • 20 Feb '15

Yep. Thank you for your help. nitely.

I got another one. Any idea?
[Errno 61] Connection refused

POST

Request URL: http://localhost:8000/user/register/
Django Version: 1.7.4
Exception Type: error
Exception Value:
[Errno 61] Connection refused
Exception Location: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py in create_connection, line 571
Python Executable: /Users/Administrator/Desktop/usfeel/bin/python
Python Version: 2.7.6

4na4silvestris
  • 23 Feb '15

You're trying to use port 8000 which is blocked by default.

iptables -A INPUT -p tcp --dport 8000 -j ACCEPT

/etc/init.d/iptables restart
/etc/init.d/networking restart

Reply