Hey all,

Porting from mod_python to mod_wsgi.  I put the following in my httpd.conf:

WSGIScriptAlias /cascade "C:\Program Files\Conifer
Systems\Cascade\csc_manager_wsgi.pyc"

<Directory "C:\Program Files\Conifer Systems\Cascade">
Order allow,deny
Allow from all
</Directory>

I got the following error in my Apache log:

[Mon Dec 01 12:27:08 2008] [error] [client 127.0.0.1]  SyntaxError:
Non-ASCII character '\\xb3' in file C:/Program Files/Conifer
Systems/Cascade/csc_manager_wsgi.pyc on line 1, but no encoding declared;
see http://www.python.org/peps/pep-0263.html for details (C:/Program
Files/Conifer Systems/Cascade/csc_manager_wsgi.pyc, line 1)


Works fine if I give it the .py file, but I prefer to ship my software as
.pyc files rather than .py files.  Is there a way to tell mod_wsgi to load a
precompiled .pyc script?

Thanks,

-- 
Matt Craighead
Founder/CEO, Conifer Systems LLC
http://www.conifersystems.com
512-772-1834

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

Reply via email to