I have seen this before. Some python installations do not have saxutils. Check in your site packages.
Massimo On Apr 27, 2:10 pm, Tito Garrido <[email protected]> wrote: > No I can't. > # python > Python 2.4.2 (#1, Aug 1 2008, 00:14:49) > [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)] on linux2 > Type "help", "copyright", "credits" or "license" for more information.>>> > from xml.sax.saxutils import quoteattr > > Traceback (most recent call last): > File "<stdin>", line 1, in ? > ImportError: No module named xml.sax.saxutils > > Regards, > > Tito > > > > On Mon, Apr 27, 2009 at 3:22 PM, mdipierro <[email protected]> wrote: > > > which python version. From the python shell can you do > > > from xml.sax.saxutils import quoteattr > > > ? > > > On Apr 27, 1:16 pm, Tito Garrido <[email protected]> wrote: > > > Hey Folks, > > > I'm trying to run it on a SLES10 SP2 and I've got: > > > # ./web2py.py > > > Traceback (most recent call last): > > > File "./web2py.py", line 14, in ? > > > from gluon.widget import start > > > File "/home/titog/web2py/gluon/widget.py", line 28, in ? > > > from gluon.main import HttpServer, save_password > > > File "/home/titog/web2py/gluon/main.py", line 32, in ? > > > from restricted import RestrictedError > > > File "/home/titog/web2py/gluon/restricted.py", line 21, in ? > > > from html import BEAUTIFY > > > File "/home/titog/web2py/gluon/html.py", line 20, in ? > > > import sanitizer > > > File "/home/titog/web2py/gluon/sanitizer.py", line 14, in ? > > > from xml.sax.saxutils import quoteattr > > > ImportError: No module named xml.sax.saxutils > > > > On Mon, Apr 27, 2009 at 2:36 PM, ceej <[email protected]> wrote: > > > > > So does this mean if we update our applications will break if they use > > > > has_key ? If so what can has_key be replaced with? > > > > > Many thanks > > > > > On Apr 26, 11:42 pm, mdipierro <[email protected]> wrote: > > > > > Hello everybody, > > > > > > thanks to Douglas and Alvaro we have a new version in trunk that > > works > > > > > with 2.4 and no longer contains has_key (deprecated). > > > > > > A lot of lines of code have changed to achieve this so please get the > > > > > latest trunk and try it. > > > > > > Any future patch must be against launchpad 688 or google svn 853 or > > > > > subsequent versions. > > > > > > Massimo > > > > -- > > > Linux User #387870 > > > .........____ > > > .... _/_õ|__| > > > ..º[ .-.___.-._| . . . . > > > .__( o)__( o).:_______ > > -- > Linux User #387870 > .........____ > .... _/_õ|__| > ..º[ .-.___.-._| . . . . > .__( o)__( o).:_______ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

