pylons 1.0 paste problem with python 2.6 and page load

2010-10-05 Thread Stratos Papadopoulos
Hello All, I recently upgrade a project from pylons v0.9.7 to 1.0. Under Debian Lenny with python 2.5 I have no problems in running it with the paste server. However under Ubuntu 10.04 and python 2.6, paste is not able to serve any page, and I get the following error messages: --

Re: pylons 1.0 paste problem with python 2.6 and page load

2010-10-05 Thread Hermenegildo Konstantin
I had the same issue. I had to remove all non-ASCII characters from first html that is dsiplayed. Other non-ASCII characters display ok, but the first page, ( html, not controller), must be without non ASCII characters On 5 list, 14:16, Stratos Papadopoulos wrote: > Hello All, > > I recently upgr

Re: pylons 1.0 paste problem with python 2.6 and page load

2010-10-05 Thread Hermenegildo Konstantin
you have non ascii character in your html on the very first page that loads on localhost:5000 you can put : print repr(data) before: data = str(data) # XXX Should really reject non-string non-buffers to see which character is giving you trouble On Oct 5, 2:16 pm, Stratos Papadopoulos wrot

Re: pylons 1.0 paste problem with python 2.6 and page load

2010-10-05 Thread Hermenegildo Konstantin
remove all non ASCII characters from html of the first page that is displayed. You can add : print repr(data) before: data = str(data) # XXX Should really reject non-string non-buffers to see which character and in which line is giving you trouble On Oct 5, 2:16 pm, Stratos Papadopoulos w

Re: pylons 1.0 paste problem with python 2.6 and page load

2010-10-06 Thread Hermenegildo Konstantin
Sorry for multiple messages. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For

Re: pylons 1.0 paste problem with python 2.6 and page load

2010-10-06 Thread Stratos Papadopoulos
On Oct 5, 3:16 pm, Stratos Papadopoulos wrote: > > However under Ubuntu 10.04 and python 2.6, paste is not able to serve > any page, and I get the following error messages: > > the following packages exist in the virtual environment: > Routes-1.12.3-py2.6.egg, Paste-1.7.5.1-py2.6.egg, Pylons-1.0