Re: [python-win32] Multiple Extraction - ArcGIS9.2

2009-01-06 Thread Brad Posthumus
Bikash, ESRI has a great user forum for any ArcGIS scripting questions you may have. Try posting your question here: http://forums.esri.com/forums.asp?c=93 in the "ArcGIS Desktop - Geoprocessing Scripting" forum topic. >From a quick glance, your script requires three arguments: an input workspac

Re: [python-win32] Multiple Extraction - ArcGIS9.2

2009-01-06 Thread Tim Roberts
bikash.sherc...@gmail.com wrote: > yes they are really missing and tried to set up as per your > suggestion. but I got the following errors: > > Access is denied. > Error occurred while processing: Python.File > > Access is denied. > Error occurred while processing: .pyw. > > Access is denied

[python-win32] Windows Service and APPDATA for AUTO startup

2009-01-06 Thread jim . vickroy
Hello everyone,Background I've created a Windows Service that looks for its configuration data in a sub-folder of os.environ['APPDATA']. The Service is configured to automatically start after host reboot. The Service runs successfully when manually started under its custom (i,e,, not Local Sys

Re: [python-win32] Windows Service and APPDATA for AUTO startup

2009-01-06 Thread Tim Roberts
jim.vick...@noaa.gov wrote: > Hello everyone, > *_ > Background > _* > >1. I've created a Windows Service that looks for its configuration > data in a sub-folder of/ os.environ['APPDATA']/. >2. The Service is configured to automatically start after host reboot. >3. The Service run

Re: [python-win32] building pywin32 for python 2.6...

2009-01-06 Thread Mark Hammond
On 6/01/2009 8:04 AM, Raymond Stewart wrote: C:\Users\raymond.stewart\Desktop\pywin32-212>setup.py -q build Try explicitly putting the full path to the python 2.6 python.exe on the command-line - I'm guessing '.py' is associated with Python 2.5 (and on Python 2.5 and earlier, you will need to

Re: [python-win32] Windows Service and APPDATA for AUTO startup

2009-01-06 Thread Jim Vickroy
Tim Roberts wrote: jim.vick...@noaa.gov wrote: Hello everyone, *_ Background _* 1. I've created a Windows Service that looks for its configuration data in a sub-folder of/ os.environ['APPDATA']/. 2. The Service is configured to automatically start after host reboot. 3. The Ser

Re: [python-win32] building pywin32 for python 2.6...

2009-01-06 Thread Raymond Stewart
Yes, that's it. I was not actually typing "python" before setup.py As a result, instead of resolving to python 2.6 though the PATH assignment, it was resolved with through the windows file association. Does the setup file automatically choose the compiler based on the version of python? It

Re: [python-win32] building pywin32 for python 2.6...

2009-01-06 Thread Mark Hammond
> Does the setup file automatically choose the compiler based on the > version of python? It seems so as now the compile is running through > VS2008 Express. Yes - you don't need to set a compiler environment - it should "just work". > Next question. The build fails trying to include afxres.h.

Re: [python-win32] Windows Service and APPDATA for AUTO startup

2009-01-06 Thread Tim Roberts
Jim Vickroy wrote: > Tim Roberts wrote: >> Is this a custom account you created? Does it actually have a profile >> (C:\Documents and Settings\Custom User\Application Data)? >> > Yes, that folder does exist. When started manually (with that > account) the Service works; the Service fails, as n

Re: [python-win32] Windows Service and APPDATA for AUTO startup

2009-01-06 Thread Jim Vickroy
Tim Roberts wrote: Jim Vickroy wrote: Tim Roberts wrote: Is this a custom account you created? Does it actually have a profile (C:\Documents and Settings\Custom User\Application Data)? Yes, that folder does exist. When started manually (with that account) the Service works;