Re: [python-win32] com error

2005-11-07 Thread Mark Hammond
> "C:\Python22\Lib\site-packages\win32com\client\__init__.py", > line 446, in _ApplyTypes_ > return self._get_good_object_( > com_error: (-2147352567, 'Exception occurred.', (0, > None, None, None, 0, -2147024809), None) The second value in that error tuple is the error code provided by the ob

[python-win32] com error

2005-11-07 Thread Michael Johnstone
Hi I was hoping to get some help trouble shooting the following error: 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\Pyt

Re: [python-win32] VBScript compilation error - expected end of statement

2005-11-07 Thread eric . powell
Frank- How are you trying to run the script? Are you trying to use a front-end through ArcTool box, running it from the command line, or running it in PythonWin? All three should be roughly equivalent, however, it sounds like you trying to Access the script the Toolbox or Model Builder and ArcG

[python-win32] VBScript compilation error - expected end of statement

2005-11-07 Thread Frank Peacock
Hello I am running a python script which calls an ESRI ArcGIS COM function called calculatefield. If the text variable I pass to this function is longer than 10 characters I get the following error: "Microsoft VBScript compilation error - expected end of statement". I do not know what I need to do

Re: [python-win32] Installation issues....

2005-11-07 Thread Tim Golden
[John Augustine] > I am trying to install Python 2.4.2 on my XP laptop > using the MS installer > (http://www.python.org/ftp/python/2.4.2/python-2.4.2.msi) > and I get this error message when I run it: > The cabinet file "python" required for this > installation is corrupt and cannot be used. Thi