On Tuesday, 12 June 2012 15:31:26 UTC+2, Michel Albert wrote:
>
> On Tuesday, 27 March 2012 23:39:11 UTC+2, alonn wrote:
>>
>> this is what I got from tailing the mod_wsgi error stack:
>>
>> [Tue Mar 27 23:14:16 2012] [error] [client 127.0.0.1]     from sqlalchemy 
>> import create_engine,String,Unicode,Integer, Column, func,distinct, desc
>> [Tue Mar 27 23:14:16 2012] [error] [client 127.0.0.1]   File 
>> "/path/to/virtualenv/app/data/virtenv/lib/python2.6/site-packages/sqlalchemy/__init__.py",
>>  
>> line 10, in <module>
>> [Tue Mar 27 23:35:50 2012] [error] [client 127.0.0.1] AttributeError: 
>> 'module' object has no attribute 'exc'
>>
>> actually when I run the file directly from python without mod_wsgi the 
>> error doesn' t show up.. strange
>>
>> I'll be glas any help/exprience  with this strange problem? 
>>
>
> I have the exact same problem... Did you find a solution yet on your end? 
>

Upon closer inspection it was an access rights problem. mod_wsgi could not 
write into it's "egg-cache". 
The following section of the docs explains how to fix this: 
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Access_Rights_Of_Apache_User

After that I had to restart the server. Not only touch the WSGI file!

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/TRdHQW89m0IJ.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to