[python-win32] Sending a binary file from ASP

2005-04-25 Thread Emlyn Jones
Hello, I am trying to get an ASP script to download a file. The file arrives at the correct size but is corrupted, what am I missing? If I run the get_file function directly at the command prompt and save the resulting data it is fine, so there must be something wrong with the way I send the data f

[python-win32] Binary data in ASP

2005-04-26 Thread Emlyn Jones
Hello, I am trying to get an ASP script to download a file. The file arrives at the correct size but is corrupted, what am I missing? If I run the get_file function directly at the command prompt and save the resulting data it is fine, so there must be something wrong with the way I send the data f

[python-win32] Swig DLL with ASP

2005-06-02 Thread Emlyn Jones
ort (which takes me back to the loading other DLL's question). Any help will be much appreciated. Regards, Emlyn Jones ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] polling values from physical sensors

2005-07-06 Thread Emlyn Jones
Have you had a look at the Python robotics toolkit? http://emergent.brynmawr.edu/~dblank/pyro/ I'm not sure of the windows support but someone there might be able to help you. Cheers, Emlyn. On 7/6/05, Reenaers, Ludovic <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I'm using pytho

[python-win32] Python ASP Install

2005-10-14 Thread Emlyn Jones
Hello, I've written a web application using the Win32 IIS stuff. It uses a few .py modules and a collection of ASP pages using Python. I was wondering if anybody had any experience in distributing and installing an application like this and could offer any useful tips/gotchas. At the moment the pl

[python-win32] Pythoncom error

2006-03-15 Thread Emlyn Jones
Hello, I'm stress testing an application I have written using the Python Asp bindings, on occasions I get an ASP 0147 error (Internal Server Error), In the IIS logs it manifests itself as a c005 trapable error. Having attatched a debugger I noticed this in the resulting logs ..snip.. Wed M

Re: [python-win32] Pythoncom error

2006-03-16 Thread Emlyn Jones
On 3/15/06, Mark Hammond <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm stress testing an application I have written using the Python Asp > > bindings, on occasions I get an ASP 0147 error (Internal Server > > Error), In the IIS logs it manifests itself as a c005 trapable > > error. > > That sou

[python-win32] Distributing a Python app using MSI

2006-03-27 Thread Emlyn Jones
Hello, This maybe better suited to the Distutils-SIG, but for now I'll try it here. I'm just wondering if anybody on this list has ever used the msilib functions used to build the Python installer to build an MSI installer for their own Python application. Sort of like distutils but to install sc

Re: [python-win32] Distributing a Python app using MSI

2006-03-28 Thread Emlyn Jones
On 3/28/06, Mark Mc Mahon <[EMAIL PROTECTED]> wrote: > Hi Emlyn, > > On 3/28/06, Emlyn Jones <[EMAIL PROTECTED]> wrote: > > Hello, > > This maybe better suited to the Distutils-SIG, but for now I'll try it here. > > I'm just wondering if anybody on

Re: [python-win32] Distributing a Python app using MSI

2006-03-28 Thread Emlyn Jones
> On 3/28/06, Emlyn Jones <[EMAIL PROTECTED]> wrote: > > On 3/28/06, Mark Mc Mahon <[EMAIL PROTECTED]> wrote: > > > Hi Emlyn, > > > > > > On 3/28/06, Emlyn Jones <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > This m

[python-win32] Windows Service Parameters

2006-04-06 Thread Emlyn Jones
Hello, Does anybody have an example of getting hold of the "start parameters" in a Python windows service? I was half expecting them to be passed to SvcDoRun but I can't see that they are. Cheers, Emlyn. ___ Python-win32 mailing list Python-win32@python.

Re: [python-win32] Windows Service Parameters

2006-04-07 Thread Emlyn Jones
On 4/7/06, Mark Hammond <[EMAIL PROTECTED]> wrote: > > Hello, > > Does anybody have an example of getting hold of the "start parameters" > > in a Python windows service? > > I was half expecting them to be passed to SvcDoRun but I can't see > > that they are. > > Not an example - but they are passe

[python-win32] Python/ASP Request data with non ascii characters

2006-06-30 Thread Emlyn Jones
Hello, I've just run into a snag and I'm wondering if anybody might be able to point me towards a solution. Normally, I get data from a submitted form like this: my_string = str(Request("formstring")) which is great until formstring contains a non ascii character. When it does I get a UnicodeEnco

Re: [python-win32] Python/ASP Request data with non ascii characters

2006-07-03 Thread Emlyn Jones
On 7/1/06, Mark Hammond <[EMAIL PROTECTED]> wrote: > > I thought I would be able to do > > > > my_string = unicode(Request("formstring"),"ISO-8859-1")> > > > But i get: > > coercing to Unicode: need string or buffer, instance found. > > I'm guessing (and I mean guessing) this is because the CDispat

Re: [python-win32] Python/ASP Request data with non ascii characters

2006-07-05 Thread Emlyn Jones
On Tuesday 04 Jul 2006 04:07, you wrote: > > Hi Mark, thanks for the reply. The attribute you where > > thinking off is `Item`. > > What I'll need to work out now is which code page has been used to > > encode that Unicode string. > > I'm not sure that is relevant. If I understand correctly, the c

[python-win32] Debugging Advice

2007-03-22 Thread Emlyn Jones
Hello, I'm running a web application using a set of Windows services written in Python and a front end using ASP/Python. For historical reasons the interface between the ASP and the services uses the SoapPy package (using the built in threaded server with a little 'hack' to use HTTPConnection rathe

Re: [python-win32] Threading Issue

2007-07-03 Thread Emlyn Jones
On 7/3/07, Emlyn Jones <[EMAIL PROTECTED]> wrote: > On 7/3/07, Tim Roberts <[EMAIL PROTECTED]> wrote: > James Matthews wrote: > > > So i need to make the list a global variable > > > > No, that's not what he did at all. The names just happened to be

Re: [python-win32] Strange/impossible Python COM interface behavior

2007-07-04 Thread Emlyn Jones
On 7/4/07, Richard Bell <[EMAIL PROTECTED]> wrote: > > In my continued work on a COM automation interface for IE I've encountered a > strange/impossible Python behavior. Here's what appears to be the offending > code: > > - code - > nodes = self.DomGetNListFilterValue(node, tags, p