Mitä ihmettä? (Read: I think there are rather many language based Django channels, at least there is #django-fi and #django-de, so I would guess for #django-es as well)
KeyJoo joined the channel
geekodour08 has quit
iNCoNFuN has quit
geekodour08 joined the channel
fission6 has quit
erdave has quit
Ryanar joined the channel
wolakkk joined the channel
veduardo joined the channel
wolakkk has quit
eggstyrone joined the channel
XofP joined the channel
redir joined the channel
geetar joined the channel
chasonchaffin joined the channel
lavalamp has quit
bschool
Apache is giving me a 500 internal error. https://dpaste.de/Hwr3#L10,15,59 I went into the env and made sure they were installed. Googlefu has failed me, what do I do next?
gcbirzan
bschool: Did you reload the code after you did that?
Nvm, though.
nkuttler
maybe you should install mysql-python
or mysqlclient
gcbirzan
bschool: That looks like a problem with a recursive import.
bschool
mysqlclient is installed
Creatornator joined the channel
gcbirzan
Also.
nkuttler
ImportError: No module named 'MySQLdb'
arossouw joined the channel
gcbirzan
True, but then it complains about populate() not being re-entrant.
szicari_ joined the channel
I have a feeling they might be related.
chasonchaffin has quit
knbk
that can happen if an exception leaves the registry in an inconsistent state
atula joined the channel
which seems to be the case here
ssv joined the channel
gcbirzan
True. I've seen this when I had recursive imports.
bschool
when i went into the env pip install mysql-python stated it was already installed
gcbirzan
But, I guess, I don't know, it might be a mysql thing that explodes in the wrong place.
knbk
Why do you think it's a recursive import? Looks more like it can't find MySQLdb due to some misconfiguration
bschool: can you log the python path from wsgi.py? Also, can you try to import MySQLdb in a regular python shell in the virtual env?
re1 has quit
asadjb
foo: It doesn't really matter as far as I know. The reason most people say use only lowercase (or uppercase according to me) is to keep it consistent, so if you ever need to query the db directly you don't have a mix of cases to think about.
bschool
"log the python path from wsgi"
so from wsgi.py get to /bin inside the environment
foo
[redacted]
bschool
../env/bin/
knbk
bschool: just log sys.path
bschool
wow, i feel like an idiot i have no idea what you mean by that either, let me go try to import the MySQLdb from a virtual env python shell