Nope, the problem (in this case) is the code sanitizer.  This module is 
used for many things but the most important is error handling.
I order for 2.4 to work, you gotta have xml.sax in your sys.path or you 
can go commenting out lines of code until it works (albeit crippled).

-tim

Tito Garrido wrote:
> Could I avoid this error using mod_wsgi?
>
> Thanks,
>
> Tito
>
> On Mon, Jan 19, 2009 at 3:02 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
>   
>> No in fact xml.sax.saxutils comes standard in 2.5.
>> We do not support 2.4 but I believe 2.2-2.6 all come with saxutils.
>> Probably something is wrong with your path.
>>
>> Massimo
>>
>>
>>
>>
>> On Jan 19, 11:50 am, Tito Garrido <titogarr...@gmail.com> wrote:
>>     
>>> Hi,
>>>
>>> I tried to run web2py using python 2.4.2 on a SLES 10 server and I got:
>>>
>>> Warning: web2py requires Python 2.5 or 2.6 but you are running:
>>> 2.4.2 (#1, Aug  1 2008, 00:14:49)
>>> [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)]Traceback (most recent call 
>>> last):
>>>   File "web2py.py", line 8, in ?
>>>     from gluon.widget import start
>>>   File "/home/titog/web2py/gluon/widget.py", line 30, in ?
>>>     from gluon.main import HttpServer, save_password
>>>   File "/home/titog/web2py/gluon/main.py", line 14, in ?
>>>     from restricted import RestrictedError
>>>   File "/home/titog/web2py/gluon/restricted.py", line 8, in ?
>>>     from html import BEAUTIFY
>>>   File "/home/titog/web2py/gluon/html.py", line 11, in ?
>>>     import sanitizer
>>>   File "/home/titog/web2py/gluon/sanitizer.py", line 12, in ?
>>>     from xml.sax.saxutils import quoteattr
>>> ImportError: No module named xml.sax.saxutils
>>>
>>> I thought that web2py didn't need external libraries...
>>>
>>> Thanks,
>>>
>>> Tito
>>>
>>> On Sun, Dec 28, 2008 at 5:11 PM, sudhakar m <sudhakar...@gmail.com> wrote:
>>>       
>>>> My fault. Got few answers from old threads. Will post back if any addiional
>>>> info is required.
>>>>         
>>>> Sudhakar.M
>>>>         
>>> --
>>> Linux User #387870
>>> .........____
>>> .... _/_õ|__|
>>> ..º[ .-.___.-._| . . . .
>>> .__( o)__( o).:_______
>>>
>>>       
>
>
>
>   

-- 
Timothy Farrell <tfarr...@swgen.com>
Computer Guy
Statewide General Insurance Agency (www.swgen.com)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to