[modwsgi] Re: WSGIScriptAlias contains russian characters in directory part

2009-07-23 Thread Graham Dumpleton
2009/7/22 Graham Dumpleton graham.dumple...@gmail.com: Can you try attached binary and let me know if it works. Don't have enough time tonight to set up example with Unicode filenames. At least still works for hello world with normal file names. Unless I have done something stupid in way I am

[modwsgi] Re: WSGIScriptAlias contains russian characters in directory part

2009-07-23 Thread Mike Plavsky
The same result. It doesn't work :( Still says fopen failed Shouldn't you have used something like _wfopen? On Jul 23, 11:37 am, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/7/22 Graham Dumpleton graham.dumple...@gmail.com: Can you try attached binary and let me know if it works.

[modwsgi] Re: WSGIScriptAlias contains russian characters in directory part

2009-07-23 Thread Graham Dumpleton
2009/7/23 Graham Dumpleton graham.dumple...@gmail.com: 2009/7/23 Mike Plavsky supermapl...@gmail.com: The same result. It doesn't work :( Still says fopen failed Shouldn't you have used something like _wfopen? I did use _wfopen(). The fopen() message is mine and I didn't distinguish. I

[modwsgi] FileWrapper for uploads

2009-07-23 Thread gert
wsgi file downloads -- class FileWrapper(object): def __init__(self, fp, blksize=8192): self.fp = fp self.blksize=blksize def __getitem__(self, key): data = self.fp.read(self.blksize) if data: return data raise IndexError

[modwsgi] mod_wsgi + cherrypy + html forms

2009-07-23 Thread Eder Carneiro
Hi all I'm in beginning of using mod_wsgi and cherrypy. I read about mod_wsgi + cherrypy integration on this group's wiki, and following that guide, i could get them working toghether in a simple hello world like application. My apache wsgi configuration is set do point to a directory, instead

[modwsgi] Re: FileWrapper for uploads

2009-07-23 Thread gert
On Jul 23, 9:27 pm, gert gert.cuyk...@gmail.com wrote: On Jul 23, 7:28 pm, gert gert.cuyk...@gmail.com wrote: wsgi file downloads -- class FileWrapper(object):     def __init__(self, fp, blksize=8192):         self.fp = fp         self.blksize=blksize

[modwsgi] i just found the hg button :)

2009-07-23 Thread gert
Go to administration - source tab to switch to a hg repositories --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups modwsgi group. To post to this group, send email to modwsgi@googlegroups.com To unsubscribe from this

[modwsgi] Re: mod_wsgi + cherrypy + html forms

2009-07-23 Thread Graham Dumpleton
2009/7/24 Eder Carneiro edercarne...@gmail.com: Hi all I'm in beginning of using mod_wsgi and cherrypy. I read about mod_wsgi + cherrypy integration on this group's wiki, and following that guide, i could get them working toghether in a simple hello world like application. My apache wsgi

[modwsgi] Re: FileWrapper for uploads

2009-07-23 Thread Graham Dumpleton
2009/7/24 gert gert.cuyk...@gmail.com: On Jul 23, 9:27 pm, gert gert.cuyk...@gmail.com wrote: On Jul 23, 7:28 pm, gert gert.cuyk...@gmail.com wrote: wsgi file downloads -- class FileWrapper(object):     def __init__(self, fp, blksize=8192):        

[modwsgi] Re: WSGIPythonHome ignored under Windows

2009-07-23 Thread Graham Dumpleton
It seems thatPYTHONHOMEhas a totally different meaning onWindows than UNIX boxes. OnWindowsit seems the only thing it is used for is to resolve where relative URLs in PYTHONPATH are rooted at. Not true.  Look at lines 483-490 of getpathp.c:        if (pythonhome == NULL || *pythonhome ==

[modwsgi] Re: i just found the hg button :)

2009-07-23 Thread Graham Dumpleton
2009/7/24 gert gert.cuyk...@gmail.com: On Jul 24, 12:28 am, gert gert.cuyk...@gmail.com wrote: Go to administration - source tab to switch to a hg repositories And when can we expect Graham to push on this button :) Is this going to be like a Twilight Zone episode I saw many years ago where