pywin32-bugs Mailing List for Python for Windows Extensions (Page 30)
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
(24) |
May
(19) |
Jun
(15) |
Jul
(43) |
Aug
(39) |
Sep
(25) |
Oct
(43) |
Nov
(19) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(21) |
Feb
(18) |
Mar
(14) |
Apr
(80) |
May
(56) |
Jun
(24) |
Jul
(30) |
Aug
(17) |
Sep
(36) |
Oct
(106) |
Nov
(38) |
Dec
(30) |
2005 |
Jan
(14) |
Feb
(14) |
Mar
(48) |
Apr
(28) |
May
(49) |
Jun
(23) |
Jul
(9) |
Aug
(13) |
Sep
(28) |
Oct
(21) |
Nov
(8) |
Dec
(26) |
2006 |
Jan
(56) |
Feb
(33) |
Mar
(33) |
Apr
(18) |
May
(16) |
Jun
(9) |
Jul
(24) |
Aug
(16) |
Sep
(14) |
Oct
(37) |
Nov
(38) |
Dec
(22) |
2007 |
Jan
(7) |
Feb
(16) |
Mar
(11) |
Apr
(15) |
May
(15) |
Jun
(8) |
Jul
(24) |
Aug
(26) |
Sep
(18) |
Oct
(11) |
Nov
(20) |
Dec
(1) |
2008 |
Jan
(19) |
Feb
(55) |
Mar
(7) |
Apr
(35) |
May
(66) |
Jun
(38) |
Jul
(26) |
Aug
(5) |
Sep
(25) |
Oct
(25) |
Nov
(18) |
Dec
(18) |
2009 |
Jan
(25) |
Feb
(38) |
Mar
(29) |
Apr
(25) |
May
(5) |
Jun
(11) |
Jul
(16) |
Aug
(16) |
Sep
(16) |
Oct
(1) |
Nov
(15) |
Dec
(33) |
2010 |
Jan
(13) |
Feb
(11) |
Mar
(1) |
Apr
(24) |
May
(26) |
Jun
(19) |
Jul
(22) |
Aug
(51) |
Sep
(38) |
Oct
(39) |
Nov
(25) |
Dec
(27) |
2011 |
Jan
(40) |
Feb
(31) |
Mar
(21) |
Apr
(42) |
May
(11) |
Jun
(16) |
Jul
(20) |
Aug
(14) |
Sep
(6) |
Oct
(8) |
Nov
(34) |
Dec
(7) |
2012 |
Jan
(60) |
Feb
(24) |
Mar
(6) |
Apr
(28) |
May
(41) |
Jun
(15) |
Jul
(14) |
Aug
(25) |
Sep
(30) |
Oct
(18) |
Nov
(30) |
Dec
(9) |
2013 |
Jan
(3) |
Feb
(8) |
Mar
(17) |
Apr
(23) |
May
(34) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2010-10-10 22:25:16
|
Bugs item #3083722, was opened at 2010-10-08 23:50 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3083722&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Private: No Submitted By: Quentin Pradet (cygal) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32 installation fails: "unable to find vcvarsall.bat" Initial Comment: HI, I'm trying to install pywin32-214 on an up-to-date 32bit Windows XP machine. The README says that I need MSVC7; I installed Visual C++ 2010 Express, but I do not know if that provides MSVC7. That does provide vcvarsall.bat, though. It's in C:\Program File\Microsoft Visual Studio 2010\VC. C:\Documents and Settings\RT\Bureau\pywin32-214> setup.py install Building pywin32 2.7.214.0 running install running build running build_py running build_ext error: Unable to find vcvarsall.bat What can I do? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-11 09:25 Message: You don't need the C compiler to install it - just to build it from sources. You could try installing a binary version. To build it you need the same compiler as used to build python itself - eg, for Python 2.6 you need Visual Studio 2008, for 2.5 you need the earlier version. No python versions support 2010. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3083722&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-08 21:52:27
|
Bugs item #3084013, was opened at 2010-10-08 17:52 Message generated for change (Tracker Item Submitted) made by polishsputnik You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3084013&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jenn McGuire (polishsputnik) Assigned to: Nobody/Anonymous (nobody) Summary: error C2065 'JOB_OBJECT_LIMIT_RESERVED2' for cl.exe Initial Comment: I am trying to install on two different XP installs, both running Windows 7 SDK and both VS 2008 and 2010, and got this error on both, after fixing some other errors. It exits and says cl.exe failed with status 2, and win32job_py2_swig.cpp throws the error c2065 saying something about an undeclared identifier. I am stuck, so help would be appreciated. :) Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3084013&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-08 12:50:20
|
Bugs item #3083722, was opened at 2010-10-08 14:50 Message generated for change (Tracker Item Submitted) made by cygal You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3083722&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Quentin Pradet (cygal) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32 installation fails: "unable to find vcvarsall.bat" Initial Comment: HI, I'm trying to install pywin32-214 on an up-to-date 32bit Windows XP machine. The README says that I need MSVC7; I installed Visual C++ 2010 Express, but I do not know if that provides MSVC7. That does provide vcvarsall.bat, though. It's in C:\Program File\Microsoft Visual Studio 2010\VC. C:\Documents and Settings\RT\Bureau\pywin32-214> setup.py install Building pywin32 2.7.214.0 running install running build running build_py running build_ext error: Unable to find vcvarsall.bat What can I do? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3083722&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-08 07:56:44
|
Patches item #3083568, was opened at 2010-10-08 09:56 Message generated for change (Tracker Item Submitted) made by marquies You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3083568&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Patrick Breucking (marquies) Assigned to: Nobody/Anonymous (nobody) Summary: Adding support for IExchangeModifyTables for Rules and ACLs Initial Comment: This patch provides an implementation of the wrapping IExchangeModifyTable interface and the needed utility methods. The patch contains methods to wrap ROWLIST and ACTIONS structures and a set of flags to work with it. Please give me feedback if something is not conform to coding guidelines or other things to change. Thanks Patrick ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3083568&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-30 21:43:39
|
Bugs item #2846720, was opened at 2009-08-29 05:56 Message generated for change (Comment added) made by farshizzo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Farshid Lashkari (farshizzo) Assigned to: Nobody/Anonymous (nobody) Summary: win32ui crash in embedded app (212 -> 213 & 214 regression) Initial Comment: I have an application that embeds python and uses the win32ui module. Everything worked fine until I upgraded from 212 to 214. After the upgrade my application crashes on exit. The Visual Studio debugger is showing that the crash is occurring after my application calls CoUninitialize. Here is a rough outline of what my app does: CoInitialize(NULL) InitPython() RunPythonCode() //This code will import win32ui ClosePython() CoUninitialize() Simply importing the win32ui module causes the crash. I don't even need to call any of the modules functions. If I don't import win32ui then my application exits cleanly. I tried downgrading to version 213 but the crash still occurs. Version 212 seems to be the last version that was stable with my application. ---------------------------------------------------------------------- >Comment By: Farshid Lashkari (farshizzo) Date: 2010-09-30 21:43 Message: I've experienced this crash on 2.4, 2.6, and 2.7. Since reporting this issue, I've abandoned the use of win32ui, so it's not a big deal for me anymore. But if you come up with a fix, I am willing to test it out. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-30 07:57 Message: I can reproduce a problem after Py_Finalize is called - win32ui is trying to process a message (presumably sent during CoUninitialize) and getting upset as Python has been torn down. I can't explain how that has changed in recent versions though. If I change the example to CoUninitialize before the finalize everything seems to work fine. ---------------------------------------------------------------------- Comment By: Christoph Gohlke (cjgohlke) Date: 2010-09-30 06:27 Message: I can reproduce the crash with pywin32-214.win-amd64-py2.6 and main.cpp. The following code worked for me when compiled with msvc9 "cl.exe main.cpp /MD /link python26.lib ole32.lib": #include "Python.h" #include <windows.h> int main( int argc, char **argv ) { Py_Initialize(); CoInitialize(NULL); PyRun_SimpleString("import win32ui"); CoUninitialize(); Py_Finalize(); return 0; } ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-30 01:20 Message: I tried to reproduce this but hit manifest related issues trying python 2.6 - what python version are you using? ---------------------------------------------------------------------- Comment By: SourceForge Robot (sf-robot) Date: 2010-09-29 19:30 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2010-09-13 23:03 Message: I just attached a simple console app that reproduces the issue for me using Python 2.7. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-08-30 04:34 Message: I'm going to need either a repo or more details information on the crash. ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2009-08-29 06:02 Message: Forgot to mention that I'm using Python 2.4 & 2.6, and both exhibit the same behavior. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-30 07:57:27
|
Bugs item #2846720, was opened at 2009-08-29 15:56 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Farshid Lashkari (farshizzo) Assigned to: Nobody/Anonymous (nobody) Summary: win32ui crash in embedded app (212 -> 213 & 214 regression) Initial Comment: I have an application that embeds python and uses the win32ui module. Everything worked fine until I upgraded from 212 to 214. After the upgrade my application crashes on exit. The Visual Studio debugger is showing that the crash is occurring after my application calls CoUninitialize. Here is a rough outline of what my app does: CoInitialize(NULL) InitPython() RunPythonCode() //This code will import win32ui ClosePython() CoUninitialize() Simply importing the win32ui module causes the crash. I don't even need to call any of the modules functions. If I don't import win32ui then my application exits cleanly. I tried downgrading to version 213 but the crash still occurs. Version 212 seems to be the last version that was stable with my application. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-09-30 17:57 Message: I can reproduce a problem after Py_Finalize is called - win32ui is trying to process a message (presumably sent during CoUninitialize) and getting upset as Python has been torn down. I can't explain how that has changed in recent versions though. If I change the example to CoUninitialize before the finalize everything seems to work fine. ---------------------------------------------------------------------- Comment By: Christoph Gohlke (cjgohlke) Date: 2010-09-30 16:27 Message: I can reproduce the crash with pywin32-214.win-amd64-py2.6 and main.cpp. The following code worked for me when compiled with msvc9 "cl.exe main.cpp /MD /link python26.lib ole32.lib": #include "Python.h" #include <windows.h> int main( int argc, char **argv ) { Py_Initialize(); CoInitialize(NULL); PyRun_SimpleString("import win32ui"); CoUninitialize(); Py_Finalize(); return 0; } ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-30 11:20 Message: I tried to reproduce this but hit manifest related issues trying python 2.6 - what python version are you using? ---------------------------------------------------------------------- Comment By: SourceForge Robot (sf-robot) Date: 2010-09-30 05:30 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2010-09-14 09:03 Message: I just attached a simple console app that reproduces the issue for me using Python 2.7. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-08-30 14:34 Message: I'm going to need either a repo or more details information on the crash. ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2009-08-29 16:02 Message: Forgot to mention that I'm using Python 2.4 & 2.6, and both exhibit the same behavior. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-30 06:27:13
|
Bugs item #2846720, was opened at 2009-08-28 22:56 Message generated for change (Comment added) made by cjgohlke You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Farshid Lashkari (farshizzo) Assigned to: Nobody/Anonymous (nobody) Summary: win32ui crash in embedded app (212 -> 213 & 214 regression) Initial Comment: I have an application that embeds python and uses the win32ui module. Everything worked fine until I upgraded from 212 to 214. After the upgrade my application crashes on exit. The Visual Studio debugger is showing that the crash is occurring after my application calls CoUninitialize. Here is a rough outline of what my app does: CoInitialize(NULL) InitPython() RunPythonCode() //This code will import win32ui ClosePython() CoUninitialize() Simply importing the win32ui module causes the crash. I don't even need to call any of the modules functions. If I don't import win32ui then my application exits cleanly. I tried downgrading to version 213 but the crash still occurs. Version 212 seems to be the last version that was stable with my application. ---------------------------------------------------------------------- Comment By: Christoph Gohlke (cjgohlke) Date: 2010-09-29 23:27 Message: I can reproduce the crash with pywin32-214.win-amd64-py2.6 and main.cpp. The following code worked for me when compiled with msvc9 "cl.exe main.cpp /MD /link python26.lib ole32.lib": #include "Python.h" #include <windows.h> int main( int argc, char **argv ) { Py_Initialize(); CoInitialize(NULL); PyRun_SimpleString("import win32ui"); CoUninitialize(); Py_Finalize(); return 0; } ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-29 18:20 Message: I tried to reproduce this but hit manifest related issues trying python 2.6 - what python version are you using? ---------------------------------------------------------------------- Comment By: SourceForge Robot (sf-robot) Date: 2010-09-29 12:30 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2010-09-13 16:03 Message: I just attached a simple console app that reproduces the issue for me using Python 2.7. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-08-29 21:34 Message: I'm going to need either a repo or more details information on the crash. ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2009-08-28 23:02 Message: Forgot to mention that I'm using Python 2.4 & 2.6, and both exhibit the same behavior. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-30 03:56:23
|
Bugs item #3077881, was opened at 2010-09-29 17:51 Message generated for change (Comment added) made by nathonzhou You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077881&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: nathon zhou (nathonzhou) Assigned to: Nobody/Anonymous (nobody) Summary: BringWindowToTop does not work in DOS or double click it Initial Comment: Let's say the window with title 'D:\\labBufferSpace' exists. Code below does not work in DOS, or just double it. But it works well in IDLE. I do not want to run it in IDLE every time. ######################################################## import win32ui,win32con,pythoncom,win32gui,win32process,win32api pwin = win32gui.FindWindow(0,'D:\\labBufferSpace') win32gui.BringWindowToTop(pwin) ---------------------------------------------------------------------- >Comment By: nathon zhou (nathonzhou) Date: 2010-09-30 11:56 Message: Since I do not know how to update the details, add more info here. The version is pywin32-214.win32-py2.6.exe ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077881&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-30 01:20:30
|
Bugs item #2846720, was opened at 2009-08-29 15:56 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None >Status: Open Resolution: None Priority: 5 Private: No Submitted By: Farshid Lashkari (farshizzo) Assigned to: Nobody/Anonymous (nobody) Summary: win32ui crash in embedded app (212 -> 213 & 214 regression) Initial Comment: I have an application that embeds python and uses the win32ui module. Everything worked fine until I upgraded from 212 to 214. After the upgrade my application crashes on exit. The Visual Studio debugger is showing that the crash is occurring after my application calls CoUninitialize. Here is a rough outline of what my app does: CoInitialize(NULL) InitPython() RunPythonCode() //This code will import win32ui ClosePython() CoUninitialize() Simply importing the win32ui module causes the crash. I don't even need to call any of the modules functions. If I don't import win32ui then my application exits cleanly. I tried downgrading to version 213 but the crash still occurs. Version 212 seems to be the last version that was stable with my application. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-09-30 11:20 Message: I tried to reproduce this but hit manifest related issues trying python 2.6 - what python version are you using? ---------------------------------------------------------------------- Comment By: SourceForge Robot (sf-robot) Date: 2010-09-30 05:30 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2010-09-14 09:03 Message: I just attached a simple console app that reproduces the issue for me using Python 2.7. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-08-30 14:34 Message: I'm going to need either a repo or more details information on the crash. ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2009-08-29 16:02 Message: Forgot to mention that I'm using Python 2.4 & 2.6, and both exhibit the same behavior. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-29 19:30:55
|
Bugs item #2846720, was opened at 2009-08-29 05:56 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Farshid Lashkari (farshizzo) Assigned to: Nobody/Anonymous (nobody) Summary: win32ui crash in embedded app (212 -> 213 & 214 regression) Initial Comment: I have an application that embeds python and uses the win32ui module. Everything worked fine until I upgraded from 212 to 214. After the upgrade my application crashes on exit. The Visual Studio debugger is showing that the crash is occurring after my application calls CoUninitialize. Here is a rough outline of what my app does: CoInitialize(NULL) InitPython() RunPythonCode() //This code will import win32ui ClosePython() CoUninitialize() Simply importing the win32ui module causes the crash. I don't even need to call any of the modules functions. If I don't import win32ui then my application exits cleanly. I tried downgrading to version 213 but the crash still occurs. Version 212 seems to be the last version that was stable with my application. ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2010-09-29 19:30 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2010-09-13 23:03 Message: I just attached a simple console app that reproduces the issue for me using Python 2.7. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-08-30 04:34 Message: I'm going to need either a repo or more details information on the crash. ---------------------------------------------------------------------- Comment By: Farshid Lashkari (farshizzo) Date: 2009-08-29 06:02 Message: Forgot to mention that I'm using Python 2.4 & 2.6, and both exhibit the same behavior. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2846720&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-29 19:30:55
|
Bugs item #2984187, was opened at 2010-04-08 22:43 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2984187&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None >Status: Closed Resolution: Works For Me Priority: 5 Private: No Submitted By: Neil Murphy (neilhmurphy) Assigned to: Nobody/Anonymous (nobody) Summary: PythonWin Edit pythonpath doesn't work Initial Comment: I'm using PythonWin under Win7 no SP 64 bit. I try to edit pythonpath (Tools.Edit PythonPath). The help screen brings up the Active State document reardless of what I choose. ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2010-09-29 19:30 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-08-30 04:17 Message: I can't quite understand this report - it seems to work for me, although does end in an "Access Denied" error due to run being run in elevated mode. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2984187&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-29 09:51:39
|
Bugs item #3077881, was opened at 2010-09-29 17:51 Message generated for change (Tracker Item Submitted) made by nathonzhou You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077881&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: nathon zhou (nathonzhou) Assigned to: Nobody/Anonymous (nobody) Summary: BringWindowToTop does not work in DOS or double click it Initial Comment: Let's say the window with title 'D:\\labBufferSpace' exists. Code below does not work in DOS, or just double it. But it works well in IDLE. I do not want to run it in IDLE every time. ######################################################## import win32ui,win32con,pythoncom,win32gui,win32process,win32api pwin = win32gui.FindWindow(0,'D:\\labBufferSpace') win32gui.BringWindowToTop(pwin) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077881&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-28 17:24:12
|
Bugs item #3074702, was opened at 2010-09-24 05:03 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3074702&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: kxroberto (kxroberto) Assigned to: Nobody/Anonymous (nobody) Summary: frequent KeyDot failed, UnicodeError in interactive Initial Comment: build214 Firing event 'KeyDot' failed. Traceback (most recent call last): File "C:\Python23\Lib\site-packages\pythonwin\pywin\scintilla\bindings.py", line 145, in fire rc = binding.handler(*args) File "C:\Python23\Lib\site-packages\pythonwin\pywin\scintilla\view.py", line 307, in KeyDotEvent self._AutoComplete() File "C:\Python23\Lib\site-packages\pythonwin\pywin\scintilla\view.py", line 467, in _AutoComplete text = self.GetTextRange(self.LineIndex(minline),endpos) File "C:\Python23\Lib\site-packages\pythonwin\pywin\scintilla\control.py", line 362, in GetTextRange ret = ret.decode(default_scintilla_encoding) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 5946: unexpected code byte ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2010-09-28 12:24 Message: The underlying problem is how Scintilla handles (or fails to handle) multibyte characters when in utf-8 mode. None of the text handling messages (SCI_GETTEXTRANGE in this case) take continuation characters into account. If you ask for say 10 characters, what you get back is 10 bytes, which may contain partial characters at the start or the end of the buffer. The only way I can see to deal with discrete characters are the SCI_POSITIONBEFORE and SCI_POSITIONAFTER messages, which means all operations would have to be done one character at a time. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3074702&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-28 17:11:20
|
Bugs item #3076741, was opened at 2010-09-27 11:51 Message generated for change (Comment added) made by maphew You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: matt wilkie (maphew) Assigned to: Nobody/Anonymous (nobody) Summary: "This object does not support enumeration" Initial Comment: I have script which works fine with python 2.5, but in 2.6 raises error below. The script can be nabbed from http://code.google.com/p/maphew/source/browse/trunk/gis/list-fc-aliases.py. Unfortunately the script requires ArcGIS 9.3 installed on the host machine, along with arcgisscripting.py from here (http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python) plunked into C:\Python2.6\Lib\site-packages, so duplicating it is not easy. I'm hoping that someone just eyeballing the code can tell me what's wrong? Thanks {{{ Traceback (most recent call last): File "list-fc-aliases.py", line 40, in <module> getDataSets() File "list-fc-aliases.py", line 17, in getDataSets for fd in fds: File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 242, in __getitem__ raise TypeError("This object does not support enumeration") TypeError: This object does not support enumeration }}} ---------------------------------------------------------------------- >Comment By: matt wilkie (maphew) Date: 2010-09-28 10:11 Message: okay, I tried that and observe new files and directories created under ./site-packages/win32com/gen_py/ however this breaks other things. I have to delete the contents of gen_py to get any arcgisscripting calls to work again, even using the old method of creating the dispatch object. Attached is a test script and the results on my system. The gen_py dir is copied from site-packages after using win32com.client.gencache.EnsureDispatch. In the PythonWin interactive shell typing gp.<something> still shows up the objects which are later said not to exist (see sreenshot). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-27 16:55 Message: Sorry - I meant win32com.client.gencache - you need to import it first. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 16:44 Message: With that I'm told gencache doesn't exist. I'm using pywin32 build 214. {{{ PythonWin 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. Traceback (most recent call last): File "C:\Python26\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 322, in RunScript debugger.run(codeObject, __main__.__dict__, start_stepping=0) File "C:\Python26\Lib\site-packages\Pythonwin\pywin\debugger\__init__.py", line 60, in run _GetCurrentDebugger().run(cmd, globals,locals, start_stepping) File "C:\Python26\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 655, in run exec cmd in globals, locals File "C:\Python26\Lib\site-packages\arcgisscripting.py", line 67, in <module> gp=create() File "C:\Python26\Lib\site-packages\arcgisscripting.py", line 47, in create gp = win32com.gencache.EnsureDispatch("esriGeoprocessing.GpDispatch.1") AttributeError: 'module' object has no attribute 'gencache' }}} ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-27 16:04 Message: Or try replacing your call to win32com.client.Dispatch with win32com.gencache.EnsureDispatch - the latter should magically run makepy when necessary. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 16:01 Message: hmmm, I've never used makepy before. When I run it here there are about a hundred ArcGIS (actually "ESRI") type libraries available. I suppose I need to find which particular one is being called by gp.ListDatasets and run makepy on that? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-27 15:25 Message: Is it possible you need to run 'makepy' in 2.6? This could happen if 2.5 had makepy support generated but 2,6 did not (or vice versa). Assuming the same pywin32 version with both, that is the only thing I can think of. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 12:01 Message: documentation for gp.ListDatasets method: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 12:00 Message: documentation for gp.ListDatasets method - http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-28 15:58:23
|
Bugs item #3077061, was opened at 2010-09-28 03:30 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077061&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Robert Pollak (jondo) Assigned to: Nobody/Anonymous (nobody) Summary: win32ui.CreateFileDialog() should not need explicit "filter" Initial Comment: The PythonWin reference states that the "filter" argument may be None, which is its default value. But: When I omit the argument, I get "TypeError: None is not a valid string in this context". This is especially annoying because the method does not take keyword arguments, and "filter" is the last argument. So I have to fill out all arguments instead of simply calling CreateFileDialog(1). I am using pywin32 build 214: "PythonWin 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32." ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2010-09-28 10:58 Message: Fixed in win32dlg.cpp r1.14. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077061&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-28 15:55:48
|
Bugs item #3058134, was opened at 2010-09-02 14:01 Message generated for change (Comment added) made by marquies You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058134&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Patrick Breucking (marquies) Assigned to: Nobody/Anonymous (nobody) Summary: Problems with ACL Table, missing IID_IExchangeModifyTable Initial Comment: Hi, while try to read the ACL Table of a folder, I ran into this problem: In a C++ tool (MFCMAPI) this method is used to get the Property PR_ACL_TABLE in a usable data type: // Open the table in an IExchangeModifyTable interface EC_H(lpMAPIProp->OpenProperty( ulPropTag, (LPGUID)&IID_IExchangeModifyTable, 0, MAPI_DEFERRED_ERRORS, (LPUNKNOWN FAR *)&lpExchTbl)); I figured out to do this in python: table = mystore.OpenProperty(mapitags.PR_ACL_TABLE, IID_IExchangeModifyTable, 0 , mapi.MAPI_DEFERRED_ERRORS) But it seems that the MAPI Extension does not know the IID_IExchangeModifyTable type. I just got just this error: AttributeError: 'module' object has no attribute 'IID_IExchangeModifyTable' Maybe I'm wrong, but as far as i can say the MAPI Extension is incomplete in this point, or? Thanks - Marquies ---------------------------------------------------------------------- >Comment By: Patrick Breucking (marquies) Date: 2010-09-28 17:55 Message: Please have a look into the path and the other attached files. You also need some more header files from the SDK to compile. Feedback welcome. ---------------------------------------------------------------------- Comment By: Patrick Breucking (marquies) Date: 2010-09-16 13:08 Message: I started to write the code for this interface, the swig interface additions and some utility code for type conversions. I would appreciate if this additions would go into the repository. What do you think? - Marquies ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-02 15:15 Message: Yes - it is incomplete, at least wrt that interface. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058134&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-28 11:33:44
|
Bugs item #3072046, was opened at 2010-09-20 19:27 Message generated for change (Comment added) made by mac-es You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3072046&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: don () Assigned to: Nobody/Anonymous (nobody) Summary: mapi.cpp build error Initial Comment: I'm attempting to build pywin32 on my Windows 7 64-bit system. I wasn't sure if this was a supported environment or not, but I thought I'd post this anyway. VS2008 and VS2010 build environments are failing at the same point: Building pywin32 2.7.214.0 mapi.cpp com/win32comext/mapi/src/mapi.cpp(933) : error C3861: 'OleSetOleError': identifier not found com/win32comext/mapi/src/mapi.cpp(995) : error C3861: 'OleSetOleError': identifier not found com/win32comext/mapi/src/mapi.cpp(1165) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1220) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1268) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1315) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1321) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1327) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1333) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1339) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1389) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1452) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1458) : error C3861: 'SWIG_GetPtr': identifier not found error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2 ---------------------------------------------------------------------- Comment By: mac-es (mac-es) Date: 2010-09-28 13:33 Message: Had the same error, than extracted the .zip to c:\pywin32 (python is in c:\python27) and compiled again -> Success. So maybe pywin should not be compiled from a "deep" subdirectory. ---------------------------------------------------------------------- Comment By: don () Date: 2010-09-20 19:33 Message: Sorry, forgot some interesting output that comes before this point. There are several lines like this referring to various .i files before it gets to mapi.cpp: Generating wrappers for Python c:\Users\dsmith\Downloads\pywin32-214\pywin32-214\com\win32comext\mapi\src\mapi.i : Line 24. Unable to find include file mapilib.i (ignored). Generating wrappers for Python c:\Users\dsmith\Downloads\pywin32-214\pywin32-214\com\win32comext\mapi\src\PyIABContainer.i : Line 8. Unable to find include file mapilib.i (ignored). Generating wrappers for Python c:\Users\dsmith\Downloads\pywin32-214\pywin32-214\com\win32comext\mapi\src\PyIAddrBook.i : Line 6. Unable to find include file mapilib.i (ignored). Generating wrappers for Python c:\Users\dsmith\Downloads\pywin32-214\pywin32-214\com\win32comext\mapi\src\PyIAttach.i : Line 8. Unable to find include file mapilib.i (ignored). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3072046&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-28 08:30:39
|
Bugs item #3077061, was opened at 2010-09-28 10:30 Message generated for change (Tracker Item Submitted) made by jondo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077061&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Robert Pollak (jondo) Assigned to: Nobody/Anonymous (nobody) Summary: win32ui.CreateFileDialog() should not need explicit "filter" Initial Comment: The PythonWin reference states that the "filter" argument may be None, which is its default value. But: When I omit the argument, I get "TypeError: None is not a valid string in this context". This is especially annoying because the method does not take keyword arguments, and "filter" is the last argument. So I have to fill out all arguments instead of simply calling CreateFileDialog(1). I am using pywin32 build 214: "PythonWin 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32." ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077061&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-27 23:55:23
|
Bugs item #3076741, was opened at 2010-09-28 04:51 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: matt wilkie (maphew) Assigned to: Nobody/Anonymous (nobody) Summary: "This object does not support enumeration" Initial Comment: I have script which works fine with python 2.5, but in 2.6 raises error below. The script can be nabbed from http://code.google.com/p/maphew/source/browse/trunk/gis/list-fc-aliases.py. Unfortunately the script requires ArcGIS 9.3 installed on the host machine, along with arcgisscripting.py from here (http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python) plunked into C:\Python2.6\Lib\site-packages, so duplicating it is not easy. I'm hoping that someone just eyeballing the code can tell me what's wrong? Thanks {{{ Traceback (most recent call last): File "list-fc-aliases.py", line 40, in <module> getDataSets() File "list-fc-aliases.py", line 17, in getDataSets for fd in fds: File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 242, in __getitem__ raise TypeError("This object does not support enumeration") TypeError: This object does not support enumeration }}} ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-09-28 09:55 Message: Sorry - I meant win32com.client.gencache - you need to import it first. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 09:44 Message: With that I'm told gencache doesn't exist. I'm using pywin32 build 214. {{{ PythonWin 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. Traceback (most recent call last): File "C:\Python26\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 322, in RunScript debugger.run(codeObject, __main__.__dict__, start_stepping=0) File "C:\Python26\Lib\site-packages\Pythonwin\pywin\debugger\__init__.py", line 60, in run _GetCurrentDebugger().run(cmd, globals,locals, start_stepping) File "C:\Python26\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 655, in run exec cmd in globals, locals File "C:\Python26\Lib\site-packages\arcgisscripting.py", line 67, in <module> gp=create() File "C:\Python26\Lib\site-packages\arcgisscripting.py", line 47, in create gp = win32com.gencache.EnsureDispatch("esriGeoprocessing.GpDispatch.1") AttributeError: 'module' object has no attribute 'gencache' }}} ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-28 09:04 Message: Or try replacing your call to win32com.client.Dispatch with win32com.gencache.EnsureDispatch - the latter should magically run makepy when necessary. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 09:01 Message: hmmm, I've never used makepy before. When I run it here there are about a hundred ArcGIS (actually "ESRI") type libraries available. I suppose I need to find which particular one is being called by gp.ListDatasets and run makepy on that? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-28 08:25 Message: Is it possible you need to run 'makepy' in 2.6? This could happen if 2.5 had makepy support generated but 2,6 did not (or vice versa). Assuming the same pywin32 version with both, that is the only thing I can think of. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 05:01 Message: documentation for gp.ListDatasets method: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 05:00 Message: documentation for gp.ListDatasets method - http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-27 23:44:01
|
Bugs item #3076741, was opened at 2010-09-27 11:51 Message generated for change (Comment added) made by maphew You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: matt wilkie (maphew) Assigned to: Nobody/Anonymous (nobody) Summary: "This object does not support enumeration" Initial Comment: I have script which works fine with python 2.5, but in 2.6 raises error below. The script can be nabbed from http://code.google.com/p/maphew/source/browse/trunk/gis/list-fc-aliases.py. Unfortunately the script requires ArcGIS 9.3 installed on the host machine, along with arcgisscripting.py from here (http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python) plunked into C:\Python2.6\Lib\site-packages, so duplicating it is not easy. I'm hoping that someone just eyeballing the code can tell me what's wrong? Thanks {{{ Traceback (most recent call last): File "list-fc-aliases.py", line 40, in <module> getDataSets() File "list-fc-aliases.py", line 17, in getDataSets for fd in fds: File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 242, in __getitem__ raise TypeError("This object does not support enumeration") TypeError: This object does not support enumeration }}} ---------------------------------------------------------------------- >Comment By: matt wilkie (maphew) Date: 2010-09-27 16:44 Message: With that I'm told gencache doesn't exist. I'm using pywin32 build 214. {{{ PythonWin 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. Traceback (most recent call last): File "C:\Python26\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 322, in RunScript debugger.run(codeObject, __main__.__dict__, start_stepping=0) File "C:\Python26\Lib\site-packages\Pythonwin\pywin\debugger\__init__.py", line 60, in run _GetCurrentDebugger().run(cmd, globals,locals, start_stepping) File "C:\Python26\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py", line 655, in run exec cmd in globals, locals File "C:\Python26\Lib\site-packages\arcgisscripting.py", line 67, in <module> gp=create() File "C:\Python26\Lib\site-packages\arcgisscripting.py", line 47, in create gp = win32com.gencache.EnsureDispatch("esriGeoprocessing.GpDispatch.1") AttributeError: 'module' object has no attribute 'gencache' }}} ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-27 16:04 Message: Or try replacing your call to win32com.client.Dispatch with win32com.gencache.EnsureDispatch - the latter should magically run makepy when necessary. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 16:01 Message: hmmm, I've never used makepy before. When I run it here there are about a hundred ArcGIS (actually "ESRI") type libraries available. I suppose I need to find which particular one is being called by gp.ListDatasets and run makepy on that? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-27 15:25 Message: Is it possible you need to run 'makepy' in 2.6? This could happen if 2.5 had makepy support generated but 2,6 did not (or vice versa). Assuming the same pywin32 version with both, that is the only thing I can think of. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 12:01 Message: documentation for gp.ListDatasets method: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 12:00 Message: documentation for gp.ListDatasets method - http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-27 23:04:32
|
Bugs item #3076741, was opened at 2010-09-28 04:51 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: matt wilkie (maphew) Assigned to: Nobody/Anonymous (nobody) Summary: "This object does not support enumeration" Initial Comment: I have script which works fine with python 2.5, but in 2.6 raises error below. The script can be nabbed from http://code.google.com/p/maphew/source/browse/trunk/gis/list-fc-aliases.py. Unfortunately the script requires ArcGIS 9.3 installed on the host machine, along with arcgisscripting.py from here (http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python) plunked into C:\Python2.6\Lib\site-packages, so duplicating it is not easy. I'm hoping that someone just eyeballing the code can tell me what's wrong? Thanks {{{ Traceback (most recent call last): File "list-fc-aliases.py", line 40, in <module> getDataSets() File "list-fc-aliases.py", line 17, in getDataSets for fd in fds: File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 242, in __getitem__ raise TypeError("This object does not support enumeration") TypeError: This object does not support enumeration }}} ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-09-28 09:04 Message: Or try replacing your call to win32com.client.Dispatch with win32com.gencache.EnsureDispatch - the latter should magically run makepy when necessary. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 09:01 Message: hmmm, I've never used makepy before. When I run it here there are about a hundred ArcGIS (actually "ESRI") type libraries available. I suppose I need to find which particular one is being called by gp.ListDatasets and run makepy on that? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-28 08:25 Message: Is it possible you need to run 'makepy' in 2.6? This could happen if 2.5 had makepy support generated but 2,6 did not (or vice versa). Assuming the same pywin32 version with both, that is the only thing I can think of. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 05:01 Message: documentation for gp.ListDatasets method: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 05:00 Message: documentation for gp.ListDatasets method - http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-27 23:01:19
|
Bugs item #3076741, was opened at 2010-09-27 11:51 Message generated for change (Comment added) made by maphew You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: matt wilkie (maphew) Assigned to: Nobody/Anonymous (nobody) Summary: "This object does not support enumeration" Initial Comment: I have script which works fine with python 2.5, but in 2.6 raises error below. The script can be nabbed from http://code.google.com/p/maphew/source/browse/trunk/gis/list-fc-aliases.py. Unfortunately the script requires ArcGIS 9.3 installed on the host machine, along with arcgisscripting.py from here (http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python) plunked into C:\Python2.6\Lib\site-packages, so duplicating it is not easy. I'm hoping that someone just eyeballing the code can tell me what's wrong? Thanks {{{ Traceback (most recent call last): File "list-fc-aliases.py", line 40, in <module> getDataSets() File "list-fc-aliases.py", line 17, in getDataSets for fd in fds: File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 242, in __getitem__ raise TypeError("This object does not support enumeration") TypeError: This object does not support enumeration }}} ---------------------------------------------------------------------- >Comment By: matt wilkie (maphew) Date: 2010-09-27 16:01 Message: hmmm, I've never used makepy before. When I run it here there are about a hundred ArcGIS (actually "ESRI") type libraries available. I suppose I need to find which particular one is being called by gp.ListDatasets and run makepy on that? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-09-27 15:25 Message: Is it possible you need to run 'makepy' in 2.6? This could happen if 2.5 had makepy support generated but 2,6 did not (or vice versa). Assuming the same pywin32 version with both, that is the only thing I can think of. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 12:01 Message: documentation for gp.ListDatasets method: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 12:00 Message: documentation for gp.ListDatasets method - http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-27 22:25:20
|
Bugs item #3076741, was opened at 2010-09-28 04:51 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: matt wilkie (maphew) Assigned to: Nobody/Anonymous (nobody) Summary: "This object does not support enumeration" Initial Comment: I have script which works fine with python 2.5, but in 2.6 raises error below. The script can be nabbed from http://code.google.com/p/maphew/source/browse/trunk/gis/list-fc-aliases.py. Unfortunately the script requires ArcGIS 9.3 installed on the host machine, along with arcgisscripting.py from here (http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python) plunked into C:\Python2.6\Lib\site-packages, so duplicating it is not easy. I'm hoping that someone just eyeballing the code can tell me what's wrong? Thanks {{{ Traceback (most recent call last): File "list-fc-aliases.py", line 40, in <module> getDataSets() File "list-fc-aliases.py", line 17, in getDataSets for fd in fds: File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 242, in __getitem__ raise TypeError("This object does not support enumeration") TypeError: This object does not support enumeration }}} ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-09-28 08:25 Message: Is it possible you need to run 'makepy' in 2.6? This could happen if 2.5 had makepy support generated but 2,6 did not (or vice versa). Assuming the same pywin32 version with both, that is the only thing I can think of. ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 05:01 Message: documentation for gp.ListDatasets method: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-28 05:00 Message: documentation for gp.ListDatasets method - http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-27 19:01:36
|
Bugs item #3076741, was opened at 2010-09-27 11:51 Message generated for change (Comment added) made by maphew You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: matt wilkie (maphew) Assigned to: Nobody/Anonymous (nobody) Summary: "This object does not support enumeration" Initial Comment: I have script which works fine with python 2.5, but in 2.6 raises error below. The script can be nabbed from http://code.google.com/p/maphew/source/browse/trunk/gis/list-fc-aliases.py. Unfortunately the script requires ArcGIS 9.3 installed on the host machine, along with arcgisscripting.py from here (http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python) plunked into C:\Python2.6\Lib\site-packages, so duplicating it is not easy. I'm hoping that someone just eyeballing the code can tell me what's wrong? Thanks {{{ Traceback (most recent call last): File "list-fc-aliases.py", line 40, in <module> getDataSets() File "list-fc-aliases.py", line 17, in getDataSets for fd in fds: File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 242, in __getitem__ raise TypeError("This object does not support enumeration") TypeError: This object does not support enumeration }}} ---------------------------------------------------------------------- >Comment By: matt wilkie (maphew) Date: 2010-09-27 12:01 Message: documentation for gp.ListDatasets method: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- Comment By: matt wilkie (maphew) Date: 2010-09-27 12:00 Message: documentation for gp.ListDatasets method - http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-09-27 19:00:35
|
Bugs item #3076741, was opened at 2010-09-27 11:51 Message generated for change (Comment added) made by maphew You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: matt wilkie (maphew) Assigned to: Nobody/Anonymous (nobody) Summary: "This object does not support enumeration" Initial Comment: I have script which works fine with python 2.5, but in 2.6 raises error below. The script can be nabbed from http://code.google.com/p/maphew/source/browse/trunk/gis/list-fc-aliases.py. Unfortunately the script requires ArcGIS 9.3 installed on the host machine, along with arcgisscripting.py from here (http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python) plunked into C:\Python2.6\Lib\site-packages, so duplicating it is not easy. I'm hoping that someone just eyeballing the code can tell me what's wrong? Thanks {{{ Traceback (most recent call last): File "list-fc-aliases.py", line 40, in <module> getDataSets() File "list-fc-aliases.py", line 17, in getDataSets for fd in fds: File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 242, in __getitem__ raise TypeError("This object does not support enumeration") TypeError: This object does not support enumeration }}} ---------------------------------------------------------------------- >Comment By: matt wilkie (maphew) Date: 2010-09-27 12:00 Message: documentation for gp.ListDatasets method - http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=ListDatasets_method ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3076741&group_id=78018 |