[python-win32] Error running Python 3.12 app as a Windows Service (app created using pyinstaller 6.6.0)

2024-04-15 Thread Alok Bhargava
Hi all, I am running into an issue that I am unable to track down a resolution for. I have developed a Python Flask application for which I created a single-file executable using pyinstaller that I wish to run as a Windows Service. I researched on the internet to find the common Python

[python-win32] Error on to load pywin32 installing odoo with python 3.7.4

2021-06-09 Thread Messias Monteiro
Hi All, I´m experiencing the following error.. can you help? Kind regards, C:\Users\Messias\Desktop\Pycharm_Projects\Odoo14_exe\venv\Scripts\python.exe C:/Users/Messias/Desktop/Pycharm_Projects/Odoo14_exe/Odoo14/odoo-bin --conf

Re: [python-win32] error 1: incorrect function when starting service python

2021-03-30 Thread Shaik Saleem Basha
Both the laptop has same version On Tue, 30 Mar 2021, 22:41 Tim Roberts, wrote: > Shaik Saleem Basha wrote: > > Issue: > > > > 1.I have created a python script for windows service, service is > > creating I can't able to run I'm getting the following error ( The > > pythonftp service

Re: [python-win32] error 1: incorrect function when starting service python

2021-03-30 Thread Tim Roberts
Shaik Saleem Basha wrote: Issue: 1.I have created a python script for windows service, service is creating I can't able to run I'm getting the following error ( The pythonftp service terminated with the following service-specific error: Incorrect function.) in windows logs. 2.I'm able to

[python-win32] error 1: incorrect function when starting service python

2021-03-30 Thread Shaik Saleem Basha
Hi Everyone I'm facing an issue while running a python script as a windows service can anyone help me??Issue:1.  I have created a python script for windows service, service is creating I can't able to run I'm getting the following error ( The pythonftp service terminated with the following

Re: [python-win32] Error: VARIANT Type is unknown

2021-02-02 Thread Olle Pontén
Yes I did. It produced the variant type unknown error as described in the first post. import win32api import win32com.server.util from win32com import client as w32Client win32Client = win32com.client.gencache.EnsureDispatch("{69072C2D-6ED1-4051-BF8D-70286A303CDD}") s = "AL" r = "On"

Re: [python-win32] Error: VARIANT Type is unknown

2021-01-26 Thread Tim Roberts
Olle Pontén wrote: Hmm ok, I could find the following information using OLEView (se attachment). It states that the two in parameters are noted as VT_LPWSTR for the scriptCmd command. Would that mean that I have no way of interfacing with them at all? No, it doesn't mean that!  If it

Re: [python-win32] Error: VARIANT Type is unknown

2021-01-26 Thread Olle Pontén
Thanks for the response! Hmm ok, I could find the following information using OLEView (se attachment). It states that the two in parameters are noted as VT_LPWSTR for the scriptCmd command. Would that mean that I have no way of interfacing with them at all? I would prefer exhausting what I can do

Re: [python-win32] Error: VARIANT Type is unknown

2021-01-21 Thread Mark Hammond
On 21/01/2021 10:00 pm, Olle Pontén wrote: Hello! I'm quite new to the pywin32 package (as in I have never interacted with it before). I'm currently trying to implement a python interface to a win32 bit program that I can connect to using the ordinary win32com.client.Dispatch method. This

[python-win32] Error: VARIANT Type is unknown

2021-01-21 Thread Olle Pontén
Hello! I'm quite new to the pywin32 package (as in I have never interacted with it before). I'm currently trying to implement a python interface to a win32 bit program that I can connect to using the ordinary win32com.client.Dispatch method. This program controls an microscope camera and the only

Re: [python-win32] Error in word with AddTextbox

2016-02-23 Thread Tim Roberts
Sylvain Fauveau wrote: > I'm trying to add a textbox in word with python 2.7 / pywin 220 Under Windows > Server 2008. > > from win32com.client import Dispatch, constants > word = Dispatch('Word.Application') > document = word.Documents.Add() > orientation = constants.wdTextOrientationHorizontal

[python-win32] Error in word with AddTextbox

2016-02-23 Thread Sylvain Fauveau
Hi.   I'm trying to add a textbox in word with python 2.7 / pywin 220 Under Windows Server 2008.   from win32com.client import Dispatch, constants word = Dispatch('Word.Application') document = word.Documents.Add() orientation = constants.wdTextOrientationHorizontal left = 100 top = 100 width =

Re: [python-win32] Error R6034 when I import uuid

2015-04-24 Thread Blair Hall
Blair Hall wrote: I get your point that the first manifest I provided is not specific to the DLL, but the second (embedded in the DLL) manifest that I posted seems to identify a particular version of msvcr90.dll. Sadly, Windows does not worry about matching the version of msvcr90.dll:

Re: [python-win32] Error R6034 when I import uuid

2015-04-22 Thread Tim Roberts
Blair Hall wrote: I get your point that the first manifest I provided is not specific to the DLL, but the second (embedded in the DLL) manifest that I posted seems to identify a particular version of msvcr90.dll. Sadly, Windows does not worry about matching the version of msvcr90.dll: it

Re: [python-win32] Error R6034 when I import uuid

2015-04-21 Thread Blair Hall
I have used py2exe on another project that creates an EXE. This project also imports uuid (it basically imports the same stuff I am using now, but for a different application). In that case, the manifest seems to work as expected. So, I wonder what is different in the case of my DLL? Well

Re: [python-win32] Error R6034 when I import uuid

2015-04-20 Thread Tim Roberts
Blair Hall wrote: One ugly alternative would be to edit sys.path in your code before you start your imports. If you remove everything but the Windows directories, that should solve the problem. I don't follow. Surely sys.path has nothing to do with it? It is the

Re: [python-win32] Error R6034 when I import uuid

2015-04-18 Thread Blair Hall
You might consider double-checking your message subjects before responding. That's especially important when you read the digest. Oh dear, I am sorry. I hadn't twigged to how that worked. I have restored the original subject now, from my initial post. Hope that helps. Blair Hall wrote:

Re: [python-win32] Error R6034 when I import uuid

2014-11-05 Thread Roger Upole
This appears to be due to way rpcrt4.dll is loaded by ctypes. If a side-by-side assembly has already loaded a version that’s not compatible with the activation context of Python itself, ctypes will attempt to use it anyway. Roger Blair Hall blairdh...@gmail.com wrote in message

Re: [python-win32] Error while building pywin32

2014-10-21 Thread Bharath Ramesh
Hi Mark, Thank you for the pointer. For some reason I had the Windows 8 SDK in the include path, this was causing compiler to somehow pick up those header files ahead of Vista SDK. For what it is worth, seems like in the newer SDK Microsoft has decided to rename IAsyncOperation to

Re: [python-win32] Error R6034 when I import uuid

2014-10-17 Thread Vernon D. Cole
Which version of Python are you running? 32 or 64 bit? Which version of pywin32? Which version of Windows? Can you make a small test case that will demonstrate the error? On Thu, Oct 16, 2014 at 7:47 PM, Blair Hall blairdh...@gmail.com wrote: I have a small python COM server that worked fine

[python-win32] Error R6034 when I import uuid

2014-10-16 Thread Blair Hall
I have a small python COM server that worked fine with Excel until I decided to import the standard Python 'uuid' module. Now I get the Windows Runtime error R6034 An application has made an attempt to load the C runtime library incorrectly I there anything that I can do to fix this?

Re: [python-win32] Error[windows 8.1 machine]: The ordinal 782 could not be located in the dynamic link library C:\Windows\System32\urlmon.dll

2014-02-27 Thread Mark Hammond
FTR, the original poster just emailed me to say he neglected to mention this problem is with a py2exe built binary - py2exe has a known problem where it sometimes copies DLLs it shouldn't - so nothing to see here :) Mark On 28/02/2014 4:44 PM, Raghavendra Prasad NL wrote: I am using

[python-win32] Error starting Windows services using PYMQI

2013-02-07 Thread Leonard.Berman
Hi, We are Python novices but have some Windows services written in Python 2.4.3 by somebody no longer at our company. These services use MQ-Series. We are trying to install and run these services on another machine on which Python was previously not installed. We successfully installed the

Re: [python-win32] Error starting Windows services using PYMQI

2013-02-07 Thread Amaury Forgeot d'Arc
Hi, 2013/2/7 leonard.ber...@surecomp.com Python could not import the service's module File C:\Documents and Settings\BinaJ\Desktop\ibswin\exe\COMMON\Scripts\interfaceServices.py, line 184, in ? import pymqi File C:\Documents and

[python-win32] Error while executing pythonWin script

2012-10-12 Thread Pamidi, Srinu
Hi, we are getting exceptions while executing pythonWin script. Please find attachment contains error messages. The python script uses ArcInfo toolbox(ESRI component) to perform geoprocessing opeations. script was implemented on python21,pythonwin32. Now I am trying to run old version of

Re: [python-win32] Error trying to do a EmptyFolder() (MAPI)

2012-04-19 Thread Sriram ET.
On Tue, Apr 17, 2012 at 6:55 AM, Mark Hammond skippy.hamm...@gmail.comwrote: On 14/04/2012 3:19 PM, Sriram ET. wrote: I have a folder in the Root Folder of a message store that I am trying to clear using EmptyFolder(). The code is as follows: folder = store.OpenEntry(eid,

Re: [python-win32] Error trying to do a EmptyFolder() (MAPI)

2012-04-16 Thread Mark Hammond
On 14/04/2012 3:19 PM, Sriram ET. wrote: I have a folder in the Root Folder of a message store that I am trying to clear using EmptyFolder(). The code is as follows: folder = store.OpenEntry(eid, None, MOD_FLAG) hr = folder.EmptyFolder(0, None, 0) I get the

[python-win32] Error trying to do a EmptyFolder() (MAPI)

2012-04-13 Thread Sriram ET.
I have a folder in the Root Folder of a message store that I am trying to clear using EmptyFolder(). The code is as follows: folder = store.OpenEntry(eid, None, MOD_FLAG) hr = folder.EmptyFolder(0, None, 0) I get the error: ' Error: unsupported operand type(s) for

[python-win32] Error launching python.exe [The application failed to initialize properly (0x0150002)]

2011-10-24 Thread Roberto Aguilar
Hello, I work on a Python application that runs on Windows. Lately we've been seeing a strange error pop up on a few installations (say 10 out of ~2000). When launching Python the following error pops up in a windows dialog: The application failed to initialize properly (0x0150002) Searching

[python-win32] Error Quitting Excel Instance when One is Already Open

2011-05-24 Thread Mark Mordeca
Greetings, I am having a problem with using win32com to open an instance of Excel when there is already one open. I would appreciate any help. My example goes as follows: The user has an Excel file (and therefore an EXCEL.exe process) open already. I do:

Re: [python-win32] Error Quitting Excel Instance when One is Already Open

2011-05-24 Thread Mark Hammond
Sadly this is all under the control of Excel, so I've no good advice. The poor advice I can offer is (1) for your own piece of mind, see if you can get the same basic behaviour with wscript and a .vbs script, (2) to try and see if you can find a similar problem in any language/environment (eg,

Re: [python-win32] Error 500 on IIS

2009-04-27 Thread Vernon Cole
win32all is a very old name which is still hanging around in some documentation. The package is now referred to as pywin32. http://sourceforge.net/projects/pywin32/ Which versions of Python and pywin32 are you using? -- Vernon Cole On Mon, Apr 27, 2009 at 9:22 AM, Iuri iurisil...@gmail.com

Re: [python-win32] Error 500 on IIS

2009-04-27 Thread Iuri
Oh, sorry. I'm using pywin32-212.win32-py2.6.exe and Python 2.6. I did some tests. Calling a new object with Python Interpreter (Server.CreateObject(Python.Interpreter)), I got this error: Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error /teste.asp, line 3 The call to

Re: [python-win32] Error with VixCom operation; TypeError: The VARIANT type is unknown (0x00000015)

2009-02-19 Thread Thomas Heller
Tim Roberts schrieb: Vinay Anantharaman wrote: Hi, I am trying to translate an error into text by using a library function in vix com: http://www.vmware.com/products/beta/vmware_server/vix_api/ReferenceGuide/lang/com/functions/GetErrorText.html My code is as follows: vixLib

[python-win32] Error with VixCom operation; TypeError: The VARIANT type is unknown (0x00000015)

2009-02-17 Thread Vinay Anantharaman
Hi, I am trying to translate an error into text by using a library function in vix com: http://www.vmware.com/products/beta/vmware_server/vix_api/ReferenceGuide/lang/com/functions/GetErrorText.html My code is as follows: vixLib =

Re: [python-win32] Error with VixCom operation; TypeError: The VARIANT type is unknown (0x00000015)

2009-02-17 Thread Tim Roberts
Vinay Anantharaman wrote: Hi, I am trying to translate an error into text by using a library function in vix com: http://www.vmware.com/products/beta/vmware_server/vix_api/ReferenceGuide/lang/com/functions/GetErrorText.html My code is as follows: vixLib =

Re: [python-win32] Error with VixCom operation; TypeError: The VARIANT type is unknown (0x00000015)

2009-02-17 Thread Greg Ewing
Tim Roberts wrote: It's kind of loony for an API to use a 64-bit integer as an error number, but that's what they're doing. This is Windows, remember. There are large numbers of things that can go wrong. -- Greg ___ python-win32 mailing list

Re: [python-win32] error: 'CoInitialize not found'

2008-09-30 Thread Dahlstrom, Roger
, 2008 10:41 AM To: python-win32@python.org Subject: [python-win32] error: 'CoInitialize not found' Hi, is someone among you guys out there familier with this kind of error message or rather knows the cause and the solution?: File F:\2_4_2\lib\site-packages\win32com\client\dynamic.py, line 78

[python-win32] error: 'CoInitialize not found'

2008-09-29 Thread Solomon.Zewdie.Altek
Hi, is someone among you guys out there familier with this kind of error message or rather knows the cause and the solution?: File F:\2_4_2\lib\site-packages\win32com\client\dynamic.py, line 78, in _GetGoodDispatch pywintypes.com_error: (-2147221008, 'CoInitialize not found.', None, None)

Re: [python-win32] error in list length

2008-07-21 Thread Larry Bates
knish wrote: Hi, Thank you for your reply. I will remember your point and send the code from the console. BRgds, kNish Larry Bates wrote: kNish wrote: Hi, The following lines of code gives an error starting with line where len() is used

Re: [python-win32] error in list length

2008-07-20 Thread knish
Hi, Thank you for your reply. I will remember your point and send the code from the console. BRgds, kNish Larry Bates wrote: kNish wrote: Hi, The following lines of code gives an error starting with line where len() is used local_BkFiles =

Re: [python-win32] error in list length

2008-07-10 Thread Tim Golden
kNish wrote: The following lines of code gives an error starting with line where len() is used [... snip code for the moment ...] META-ADVICE: kNish, when you're posting a question, please, please, post post the traceback you got. Cut-and-paste it from the console window into the email.

Re: [python-win32] error in list length

2008-07-10 Thread Larry Bates
kNish wrote: Hi, The following lines of code gives an error starting with line where len() is used local_BkFiles = glob.glob(localDirectoryName+'\\*' + data + '*bk*') local_BkFiles.sort(key=str.upper) last_pv_File_Name = local_PvFiles[len(local_PvFiles)-1]

[python-win32] error in list length

2008-07-09 Thread kNish
Hi, The following lines of code gives an error starting with line where len() is used local_BkFiles = glob.glob(localDirectoryName+'\\*' + data + '*bk*') local_BkFiles.sort(key=str.upper) last_pv_File_Name = local_PvFiles[len(local_PvFiles)-1]

[python-win32] Error 'Member not found' in Word.Basic automation

2008-06-07 Thread Andrew Z
I would like to automate Word 95 through 2007 using Word.Basic. The code works fine on Windows XP + Word 95, but it fails on Windows XP + Word 2007. Code: import win32com.client app = win32com.client.Dispatch(Word.Basic) app.AppShow() Error: File COMObject Word.Basic, line 2, in AppShow

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

2008-05-30 Thread siddhartha veedaluru
Hi all, The following code snippet gives the error import wmi c = wmi.WMI() for i in c.Win32_Product(): print i.Name Output --- Windows Installer Clean Up Python 2.5.1 Debugging Tools for Windows Windows Resource Kit Tools Adobe Reader 8.1.2 Java(TM) SE Runtime Environment 6 Java(TM) 6

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] Error while trying to compile a C module using MinGW

2008-05-18 Thread Laurent Gautier
Some follow-up. When having a minimal Path variable defined (that is with only C:\MinGW\bin), python setup.py build does work. There might be something in my complete regular Path that confuses distutils. 2008/5/18 Laurent Gautier [EMAIL PROTECTED]: Hi, I am experiencing problems while

[python-win32] Error 1789 during logon, except not really called

2008-03-14 Thread le dahut
Hello, I'm using this code : mypdc = 'mypdc' dusers = 'DomName\DomainUsers' obj = 'C:\\Mylogfile.log' try: domainusers_sid = wsec.LookupAccountName(mypdc, dusers)[0] info = wsec.DACL_SECURITY_INFORMATION sd = wsec.GetFileSecurity(obj, info)

Re: [python-win32] Error 1789 during logon, except not really called

2008-03-14 Thread le dahut
Sorry I forgot some informations. The error is : 1789, 'LookupAccountName', The trust relationship between this workstation and the primary domain failed. As I said, this doesn't always happen, sometimes logon runs successfully and ACLs are correctly set (this is why I use 'LookupAccountName').

Re: [python-win32] Error 1789 during logon, except not really called

2008-03-14 Thread Tim Golden
[.. snipped ..] le dahut: I'm not sure which bit is wrong. I could point out that traceback.print_exc () will *print* the current exception (to stdout / stderr, not sure) and *return* None, so your line: logging.debug('Error %s'%traceback.print_exc()) probably doesn't do what you want, as it

Re: [python-win32] Error 1789 during logon, except not really called

2008-03-14 Thread le dahut
What strange is is that: try: wsec.LookupAccountName(...) except: print 'Error' shows : - a traceback, as if I didn't put LookupAccountName in a try/except statement - the string 'error' so the program has also switched to except as if the try/except has been correctly interpreted So we

Re: [python-win32] Error 1789 during logon, except not really called

2008-03-14 Thread Tim Golden
le dahut wrote: What strange is is that: try: wsec.LookupAccountName(...) except: print 'Error' shows : - a traceback, as if I didn't put LookupAccountName in a try/except statement - the string 'error' so the program has also switched to except as if the try/except has been

Re: [python-win32] Error 1789 during logon, except not really called

2008-03-14 Thread le dahut
Tim Golden wrote : le dahut wrote: What strange is is that: try: wsec.LookupAccountName(...) except: print 'Error' shows : - a traceback, as if I didn't put LookupAccountName in a try/except statement - the string 'error' so the program has also switched to except as if the

Re: [python-win32] Error 1789 during logon, except not really called

2008-03-14 Thread Tim Golden
le dahut wrote: Tim Golden wrote : le dahut wrote: What strange is is that: try: wsec.LookupAccountName(...) except: print 'Error' shows : - a traceback, as if I didn't put LookupAccountName in a try/except statement - the string 'error' so the program has also switched to

Re: [python-win32] error

2008-02-21 Thread Simon Dahlbacka
Let's start with the obvious, you *do* have the MSMQ stuff installed? /Simon 2008/2/21, Sagar Khushalani [EMAIL PROTECTED]: that was the error for the example from the website. here it the error for my program. Traceback (most recent call last): File C:\Homework\Python\main.py, line 73,

Re: [python-win32] error

2008-02-20 Thread Sagar Khushalani
Thanks! Another question, related and random. Someone, anyone? I am trying to implement an MSMQ, and I have no idea whats going wrong. I looked at: http://comsci.liu.edu/~murali/python/python28.txt one of the few places that actually has help with that. I tried to implement it but for some

Re: [python-win32] error

2008-02-19 Thread Tim Roberts
Sagar Khushalani wrote: I'm using wxPython and the processing module. I create a main file which has a gui with buttons. Each button creates starts a separate process. However, when I click any of the buttons, I get an stderr/stdout box from wxPython with the following error. I checked

[python-win32] error

2008-02-18 Thread Sagar Khushalani
I'm using wxPython and the processing module. I create a main file which has a gui with buttons. Each button creates starts a separate process. However, when I click any of the buttons, I get an stderr/stdout box from wxPython with the following error. I checked online, and found some similar

Re: [python-win32] Error when trying to open a Microsoft Project file

2007-05-30 Thread Tim Roberts
Daryl Spitzer wrote: I'm trying to open a Microsoft Project file using the following: from win32com.client import Dispatch a=Dispatch(MSProject.Application) a.Visible=1 a.FileOpen(C:\test.mpp) ...but I get this error message. Traceback (most recent call last): File

[python-win32] error on shell.SHChangeNotify

2007-05-22 Thread Roger Upole
TK Soh wrote: I am trying to use SHChangeNotify to refresh the icon on the explorer windows in the following script, but got an error: -- import sys from win32com.shell import shell, shellcon def notify(f): shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM,

Re: [python-win32] error on shell.SHChangeNotify

2007-05-22 Thread TK Soh
On 5/22/07, Roger Upole [EMAIL PROTECTED] wrote: Try a newer build of pywin32. There was a bug in some older versions regarding how the function determined whether it needed a file path or an id list. Thanks. Actually I'm using the win32 extension bundled with ActivePython, so I'd like to

[python-win32] [Python-Win32] error on shell.SHChangeNotify

2007-05-21 Thread TK Soh
I am trying to use SHChangeNotify to refresh the icon on the explorer windows in the following script, but got an error: -- import sys from win32com.shell import shell, shellcon def notify(f): shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM,

[python-win32] Error FindPerformanceAttributesByName

2007-05-16 Thread le dahut
Hi, I'm using win32pdhutil.FindPerformanceAttributesByName in order to know if 'explorer.exe' is running or not. Sometimes I get this error : File win32pdhutil.pyc, line 97, in FindPerformanceAttributesByName File win32pdhutil.pyc, line 60, in GetPerformanceAttributes pywintypes.error:

Re: [python-win32] Error FindPerformanceAttributesByName

2007-05-16 Thread Tim Golden
le dahut wrote: Hi, I'm using win32pdhutil.FindPerformanceAttributesByName in order to know if 'explorer.exe' is running or not. Sometimes I get this error : File win32pdhutil.pyc, line 97, in FindPerformanceAttributesByName File win32pdhutil.pyc, line 60, in

Re: [python-win32] Error FindPerformanceAttributesByName

2007-05-16 Thread Graham Bloice
Tim Golden wrote: le dahut wrote: Hi, I'm using win32pdhutil.FindPerformanceAttributesByName in order to know if 'explorer.exe' is running or not. Sometimes I get this error : File win32pdhutil.pyc, line 97, in FindPerformanceAttributesByName File win32pdhutil.pyc, line 60, in

Re: [python-win32] Error FindPerformanceAttributesByName

2007-05-16 Thread le dahut
Tim Golden wrote : le dahut wrote: Hi, I'm using win32pdhutil.FindPerformanceAttributesByName in order to know if 'explorer.exe' is running or not. Sometimes I get this error : File win32pdhutil.pyc, line 97, in FindPerformanceAttributesByName File win32pdhutil.pyc, line 60, in

[python-win32] Error 438: Object doesn't support this property or method.

2007-03-14 Thread Sandeep Patil , Bangalore
Hi! I have created python object in VB. But when I try to use this object I get Error 438: Object doesn't support this property or method. Set py = CreateObject(Python) py.exec (print 'hello') Also can I get how to register the class in the windows Registry with name Python I

Re: [python-win32] Error message....

2005-12-21 Thread Tim Roberts
On Tue, 20 Dec 2005 11:05:12 -0800, I wrote: On Mon, 19 Dec 2005 08:58:17 -0500, [EMAIL PROTECTED] wrote: I am trying to use the OSISoft PI (Plant Information) API to collect data about processes within our facility, however, when I try to connect to the PI server using their API calls, I

Re: [python-win32] Error message....

2005-12-20 Thread Tim Roberts
On Mon, 19 Dec 2005 08:58:17 -0500, [EMAIL PROTECTED] wrote: I am trying to use the OSISoft PI (Plant Information) API to collect data about processes within our facility, however, when I try to connect to the PI server using their API calls, I get the following error from ctypes import *

[python-win32] Error message....

2005-12-19 Thread eric . powell
Hello all! I am trying to use the OSISoft PI (Plant Information) API to collect data about processes within our facility, however, when I try to connect to the PI server using their API calls, I get the following error from ctypes import * PiAPI=windll.piapi32 valid = 0 status =

[python-win32] Error calling win32pdh.EnumObjectItems

2005-11-28 Thread Rogelio Flores
Can anyone tell me what this error message means? win32pdhutil.ShowAllProcesses() Traceback (most recent call last): File stdin, line 1, in ? File c:\...\win32pdhutil.py, line 67, in ShowAllProcesses items, instances = win32pdh.EnumObjectItems(None,None,object, win32pdh.PERF_

Re: [python-win32] Error calling win32pdh.EnumObjectItems

2005-11-28 Thread Mark Hammond
November 2005 10:04 AM To: python-win32@python.org Subject: [python-win32] Error calling win32pdh.EnumObjectItems Can anyone tell me what this error message means? win32pdhutil.ShowAllProcesses() Traceback (most recent call last): File stdin, line 1, in ? File c:\...\win32pdhutil.py

Re: [python-win32] error message after many win32pipe.popen calls

2005-11-16 Thread Jürgen Kareta
Hi Tim, thanks for your suggestions. Does it fail if you run it outside of Pythonwin? No it doesn't. So I can ignore this error, as the script will normally run outside Pythonwin. Are you sure you're closing all of the pipes properly before starting a new one? Yes, I explicitly close the

Re: [python-win32] error message after many win32pipe.popen calls

2005-11-15 Thread Bill Burns
[Jürgen wrote] Hi all, currently I'm testing a scipt which converts many (500) ps files to pdf. I use ghostscript and the conversion is done by win32pipe.popen( ps2pdf.bat inputfile outputfile). I got the following error message, but it seems that all files were correctly converted:

Re: [python-win32] error message after many win32pipe.popen calls

2005-11-15 Thread Jürgen Kareta
Hi Bill, thanks for your help, it works for me too :-) Jürgen [Jürgen wrote] Hi all, currently I'm testing a scipt which converts many (500) ps files to pdf. I use ghostscript and the conversion is done by win32pipe.popen( ps2pdf.bat inputfile outputfile). I got the following error

[python-win32] ERROR installing pywin32 for python 2.2

2005-01-11 Thread Charlie Taylor
I am getting an error from the install of... pywin32-203.win32-py2.2.exe on an NT 4.0 system. It looks like the import win32trace statement is the point of failure and gives the error message... error: (3, 'CreateMutex', 'The system cannot find the path specified.') Does anyone recognize this