Re: [python-win32] Recommendations for releasing pywin32 without a local windows device?

2023-03-30 Thread Graham Bloice
Moving to a CI system would be good for the project long-term. Windows VM(s) should suffice short-term, I would have thought with the project profile that the cloud giants would be amenable to covering the costs. From: python-win32 on behalf of Mark Hammond Se

Re: [python-win32] Cython-generated module crashes after importing C++-extension compiled with MinGW

2013-04-30 Thread Graham Bloice
(on > windows) > > and run the resulting executable a.exe, I get the error message quoted > above. > > Strangely, changing "language='c++'" to "language='c'" in setup.py fixes this > problem. However, this is not a viable solution

Re: [python-win32] Need data type identifiers

2012-07-23 Thread Graham Bloice
This issue sometimes occurs when the typelib specifies a VARIANT type argument, implying that any VARIANT type will do, but the COM server is coded to expect an actual type and does not (incorrectly IMHO) attempt to convert the incoming VARIANT to the appropriate type. Makepy has no idea of what t

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Graham Bloice
c) was using old > generated py instead of regenerating. Why would this be? > > Either way, deleting the folder under \win32com\gen_py solved this > problem. Thanks again for the help. > [Graham Bloice said] I don't know of a way to force

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Graham Bloice
> -Original Message- > From: Kurt Munson [mailto:kurt.mun...@hbmncode.com] > Sent: 17 July 2012 16:46 > To: Graham Bloice; python-win32@python.org > Subject: RE: [python-win32] new Pywin32 errors stating 'object has no > attribute' - and the code worked previou

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Graham Bloice
ecent call last): > File "", line 1, in > File "c:\python27\lib\site-packages\win32com\client\__init__.py", line 462, > in __getattr__ > raise AttributeError("'%s' object has no attribute '%s'" % (repr(self), attr)) > AttributeError: &#x

Re: [python-win32] New win32com.client.VARIANT object

2011-10-12 Thread Graham Bloice
much more picky about the accepted types. OPC suffers a fair bit from this, as the implementation quality of OPC servers varies a lot. -- Regards, Graham Bloice ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] odbc under windows 7?

2011-09-10 Thread graham bloice
i am graham bloice and i am not the same person how is this possible ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] How to get a proxy instance of a WMI object.

2011-06-24 Thread Graham Bloice
On 24/06/2011 14:59, M Saunders TAS wrote: > > Graham Bloice wrote: >> In the Python call to AddVirtualSystemResources() you've reversed the order >> of the parameters. > Additionally the method signature for AddVirtualSystemResources() returns > > (Job, NewResou

Re: [python-win32] How to get a proxy instance of a WMI object.

2011-06-21 Thread Graham Bloice
Default') > HD.Address = 0 > VMMS.AddVirtualSystemResources([HD.gettext_(1),], VM) > > I am sure that it is something simple and obvious that I am doing incorrectly > so apologies in advance for my stupidity. > Any help or suggestions will be gratefully received. > &g

[python-win32] Missing adsi.pyd, pwin32-216

2011-03-09 Thread Graham Bloice
The dll adsi.pyd is missing from the 216 build for Python 3.2. I've checked both the 32 and 64 bit variants and it's missing from both. -- Regards, Graham Bloice ___ python-win32 mailing list python-win32@python.org http://mail.python.o

Re: [python-win32] Fixing type ID for an interface file generated by makepy

2011-01-26 Thread Graham Bloice
which I've never come across before. If you have access to it (usually via a Visual Studio install) the OLE-COM object viewer tool is very useful for spelunking into type libraries. -- Regards, Graham Bloice ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] odbc under windows 7?

2011-01-26 Thread Graham Bloice
is no 64 bit Jet driver, but from Office 2007 on, MS produced the ACE drivers (which are also available as a separate redistributable) which do appear in a 64 bit guise. Unfortunately I haven't been impressed with the drivers stability when multithreading. -- Regards, Graham Bloice ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] [Fwd: Re: Reading constants]

2009-01-28 Thread Graham Bloice
Sending this to the list were it was meant to go in the first place. -- Regards, Graham Bloice --- Begin Message --- Vernon Cole wrote: > > -- > Vernon Cole > > On Tue, Jan 27, 2009 at 9:55 AM, Charlie Clark wrote: > >> Hiya, >> >> I'm pretty ne

Re: [python-win32] problem accessing OPC clients from thread

2007-12-03 Thread Graham Bloice
t of the group then you would be automatically informed of any data (or quality) changes without the need for a polling thread. One caveat of this is that you need to have a unique client handle for each data item in the group and the supplied code always seems to just use a constant '1' in the call to OPCItems.AddItem(). (in addItem()). -- Regards, Graham Bloice ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] translating VB into Python...

2007-05-16 Thread Graham Bloice
ents def SetField(self, FieldName=defaultNamedNotOptArg, arg1=defaultUnnamedArg): """The value of the specified field.""" return self._oleobj_.InvokeTypes(0, LCID, 4, (24, 0),

Re: [python-win32] Error FindPerformanceAttributesByName

2007-05-16 Thread Graham Bloice
"" >> >> I've googled for "2147481643" but didn't find interesting pages. Can >> someone explain me what's happening ? > > Notice that the number is actually negative: -2147481643 > which equates to hex 800007d5.

Re: [python-win32] Media Wiki

2007-02-23 Thread Graham Bloice
James Matthews wrote: > I will leave the final verdict to the great users of the python mailing > list! I will decide on later based on the majority! > +1 for MoinMoin -- Regards, Graham Bloice ___ Python-win32 mailing list Python-win32@p

Re: [python-win32] Excel COM problem

2007-02-12 Thread Graham Bloice
> When you have used MakePy on the type library, things are slightly different for property accessors that take arguments. For those properties that do take arguments MakePy will generate accessors for them as methods, prefixed with "Get" or "Set" as appropriate. If you look

Re: [python-win32] Waiting for Wireless

2006-10-27 Thread Graham Bloice
> > Silly question... > > > > What is the friendly name of an network adapter? > > > > If it was Unix, I would say eri0, etc... But I can't think of a > > "friendly" name under Windows... > > I'm not sure where I got this terminus from, maybe I was inventing > it myself when I wrote this modul

Re: [python-win32] com error

2005-11-08 Thread Graham Bloice
> Traceback (most recent call last): > File > "C:\Python22\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", > line 310, in RunScript > exec codeObject in __main__.__dict__ > File > "C:\Deneb\BHSS\Projects\AKL_0502\VC\PythonApplications\OPCWriteTestor.py", > line 103, in ? >

Re: [python-win32] Fetching network interface instance names

2005-07-26 Thread Graham Bloice
two I tried worked fine (video resolutions and system slots). Graham Bloice ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32