Re: [python-win32] building pywin32 on Server 2003 x64

2008-05-30 Thread Mark Hammond
There is a buglet in bdist_wininst and --skip-build - note that the filename created by your process doesn't have "py2.6" included in the filename. To fix that, the final command should also include "--target-version=2.6" Cheers, Mark From: Marc-André Belzile [mailto:[EMAIL PROTECTED]

Re: [python-win32] building pywin32 on Server 2003 x64

2008-05-30 Thread Marc-André Belzile
Meanwhile, if you're still up to the challenge, here are the steps I used for building pywin32 for vista 64: 1) svn co http://svn.python.org/projects/python/trunk python 2) compile python 2.6 for x64 from VS2008 IDE or Windows SDK 3) open x64 command-prompt 4) log as anonymous to pywin32 serve

Re: [python-win32] Exception setting a string using COM

2008-05-30 Thread Tim Roberts
Aleksandr VLADIMIRSKIY wrote: I'm attempting to set a string value using a COM interface to an application. I get the following traceback. Could anyone help me understand the nature of the error or how I might begin to discover it? ... In [11]: item.Path = "" --

[python-win32] Exception setting a string using COM

2008-05-30 Thread Aleksandr VLADIMIRSKIY
Hello, I'm attempting to set a string value using a COM interface to an application. I get the following traceback. Could anyone help me understand the nature of the error or how I might begin to discover it? Thank you, Aleksandr Code and traceback: In [2]: from win32com.client import Dispat

Re: [python-win32] building pywin32 on Server 2003 x64

2008-05-30 Thread Mark Hammond
pywin32 builds on a 64bit environment, but you need the SVN trunk of Python, the CVS trunk of pywin32, and VS2008. VS2005 support isn't *that* interesting to me as there are no Python binaries available built with that compiler and I can't get VS.NET to build with the most recent Vista SDK, which

Re: [python-win32] Request for comments

2008-05-30 Thread Tim Golden
Mike Driscoll wrote: I was looking at the front page and thought it might be nice to have a section devoted to Networking / Remote Access. Or maybe that's rolled into one of the other categories and I missed it. Sounds good. In the "building and deploying" section, I see you have MinGW. I hav

Re: [python-win32] building pywin32 on Server 2003 x64

2008-05-30 Thread Tim Roberts
Hanni Ali wrote: I am attempting to build pywin32 for a 64 bit deployment. Wow, that's a big task. I hope you will be able to share what you learn with Mark. Many people will be interested in this in the future. Mark will have to decide whether the 64-bit version will need to be called "

Re: [python-win32] Request for comments

2008-05-30 Thread Mike Driscoll
Tim Golden wrote: [Ton van Vliet] IMHO the links could be a bit more visible. When looking at the 'Where do I begin' paragraph, it took me quite some time to notice that there *were* actually links in there (after being taken there by clicking on the 'Where do I begin' link in the left hand

[python-win32] building pywin32 on Server 2003 x64

2008-05-30 Thread Hanni Ali
Hi All, I am attempting to build pywin32 for a 64 bit deployment. It is necessary for us to use 64 bit python due to objects within our application exceeding 2GB in size. I am attempting to do so using msvc 2005 which I know is not ideal, but I have managed to build the other dependencies (Pytho

Re: [python-win32] Error while listing the Installed Software using wmi module

2008-05-30 Thread Tim Golden
siddhartha veedaluru wrote: Hi all, The following code snippet gives the error import wmi c = wmi.WMI() for i in c.Win32_Product(): print i.Name WMI returns the Name as a unicode object. You usually need to encode that one way or another to print it out / save it to a file, etc. Try this:

Re: [python-win32] Request for comments

2008-05-30 Thread Tim Golden
[Ton van Vliet] IMHO the links could be a bit more visible. When looking at the 'Where do I begin' paragraph, it took me quite some time to notice that there *were* actually links in there (after being taken there by clicking on the 'Where do I begin' link in the left hand column already seve

Re: [python-win32] Request for comments

2008-05-30 Thread Ton van Vliet
On Thu, 22 May 2008 17:21:47 +0100, you wrote: >I have a request of the python-win32 community. Have a look at: > >http://timgolden.me.uk/python-on-windows/ > >In particular, click through to the section on the Registry >(which is the only section which has anything useful in it!) >and then tell