Hey guys, i'm quite the novice at this, so i hope you'll bear with me.

My intention is to start up my online clothing store using satchmo,
but my python experience is very limited, as is my linux experience
(apart from having used it as a personal computer every now and then
before going back to windows).

I'm using a VPS from www.asmallorange.com, and have set up satchmo to
run in a virtualenv using apache and mod_wsgi, it seems to work ok, at
least it publishes the templates i've made out (although admittedly
tehy are just skeletons at this point). When however, I try to enter
into the admin area, i am presented with a login/username screen, and
when i enter my username/login there, i get this message from my
browser (chrome):

No data received
Unable to load the web page because the server sent no data.

Not the most intuitive error, and the debug option doesn't seem to
kick in with further information.

Looking into the apache error_log, i get this:

httpd: Objects/typeobject.c:3134: PyType_Ready: Assertion `(type-
>tp_flags & (1L<<13)) == 0' failed.
[Thu Nov 10 18:39:24 2011] [notice] child pid 15258 exit signal
Aborted (6)

I'm unsure what i need to share with you guys, but here's my
django.wsgi file settings:

#!/home/odinfigh/odin/odin/bin/python2.6

import os, sys, site

os.environ['PYTHON_EGG_CACHE'] ='/home/odinfigh/odin/odin/store/tmp'
# add virtualenv python libs
site.addsitedir('/home/odinfigh/odin/odin/lib/python2.6/site-
packages')

# append the project path to system path
sys.path.append('/home/odinfigh/odin/odin/')
sys.path.append('/home/odinfigh/odin/odin/store')
sys.path.append('/home/odinfigh/odin')

# set the settings module
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

# init the wsgi handler
from django.core.handlers.wsgi import WSGIHandler
application = WSGIHandler()

/home/odinfigh/odin/odin is the virtualenv, and /store is the satchmo
store of course, the satchmo files are stored in /home/odinfigh/odin/
odin/src/satchme, and django in the site directory defined in the wsgi
file.

I don't know if that's what's causing the problems, but i've only
allowed apache to serve files statically from /store/apache (where the
wsgi file is kept), /store/static and /store/media, since it seems to
have no problems serving the templates which aren't explicitly
allowed, i doubt that's the problem, but who knows, figured i'd give
as much info as i could think of :)

Any help would be really appreciated, it feels like none of the
standard settings worked for me and i've had to fight tooth and nail
for the smallest things to work hah, probably due to my lack of linux
skills and not setting things up right the first time,  but my google
fu has finally failed as i found no help online for this, so hopefully
you can help me.

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo 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/satchmo-users?hl=en.

Reply via email to