pywin32-bugs Mailing List for Python for Windows Extensions (Page 29)
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-27 01:28:39
|
Bugs item #3096076, was opened at 2010-10-27 12:28 Message generated for change (Tracker Item Submitted) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3096076&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: Mark Hammond (mhammond) Assigned to: Nobody/Anonymous (nobody) Summary: input vs raw_input in pythonwin Initial Comment: via a personal email, which included screenshots of 'input' showing the prompt in the interactive window and a blank popup dialog for the input, vs raw_input showing the prompt in the dialog as expected... I have found a strange bug with the function input, for example: number = int(raw_input("Number:")) Will open up an input window that says: "Number:" but using only: number = input("Number:") Will open up an input window that says nothing. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3096076&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-27 01:25:57
|
Bugs item #3058010, was opened at 2010-09-02 16:58 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058010&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: kxroberto (kxroberto) Assigned to: Nobody/Anonymous (nobody) Summary: breakpoint delete crash Initial Comment: File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 267, in OnKeyDown return DebuggerWindow.OnKeyDown(self, msg) File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 164, in OnKeyDown self.DeleteSelected() File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 333, in DeleteSelected for bplist in Breakpoint.bplist.itervalues(): RuntimeError: dictionary changed size during iteration ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-27 12:25 Message: Fixed - thanks! Checking in Pythonwin/pywin/debugger/debugger.py; new revision: 1.27; previous revision: 1.26 ---------------------------------------------------------------------- Comment By: kxroberto (kxroberto) Date: 2010-10-26 09:18 Message: create a breakpoint debugger step-into F11 or so open breakpoint window. mark breakpoint and press delete key I guess the problem is directly with .itervalues itself : bplist changing during iteration . changed (back?) to .values() and seems to work then. bogus py3/2to3 however ... => list(...itervalues()) ? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-10-23 12:07 Message: I can't repro this - can you please provide more details so I can? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058010&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-27 01:02:44
|
Bugs item #3094288, was opened at 2010-10-25 04:57 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3094288&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: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: PyIProfAdmin.h(6) : error C2143: syntax error : missing ';' Initial Comment: I'm trying to build python for win using VS2008, python 2.7 on XP. After going through some mapi issues, the compilation now fails with this message. Please find the complete trace attached ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-27 12:02 Message: The problem seems to be that IProfAdmin isn't defined. I guess this will have something to do with the windows sdk version being used - I can see that interface defined in mapix.h, which should be included via PyMAPIUtil.h. You might need to grep your SDK dir to find where this is defined, or try and diagnose why it isn't being included for you (eg, some #define needed before including mapi, etc) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3094288&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-25 22:18:33
|
Bugs item #3058010, was opened at 2010-09-02 08:58 Message generated for change (Comment added) made by kxroberto You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058010&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: Works For Me Priority: 5 Private: No Submitted By: kxroberto (kxroberto) Assigned to: Nobody/Anonymous (nobody) Summary: breakpoint delete crash Initial Comment: File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 267, in OnKeyDown return DebuggerWindow.OnKeyDown(self, msg) File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 164, in OnKeyDown self.DeleteSelected() File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 333, in DeleteSelected for bplist in Breakpoint.bplist.itervalues(): RuntimeError: dictionary changed size during iteration ---------------------------------------------------------------------- >Comment By: kxroberto (kxroberto) Date: 2010-10-26 00:18 Message: create a breakpoint debugger step-into F11 or so open breakpoint window. mark breakpoint and press delete key I guess the problem is directly with .itervalues itself : bplist changing during iteration . changed (back?) to .values() and seems to work then. bogus py3/2to3 however ... => list(...itervalues()) ? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-10-23 03:07 Message: I can't repro this - can you please provide more details so I can? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058010&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-25 14:52:03
|
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-10-25 16:52 Message: No problem, I'm still adding some stuff for the rules. The first one are easy changes, the tuple change need some time ;) I have a problem to compile the exchange part because of missing libs. ("exchange: No library 'Ex2KSdk'") Could you give me a hint what to do? I will then move the changes, compile and test. Thanks a lot. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-10-23 03:00 Message: Sorry for the delay in looking at this. It seems that the changes to mapilib.i and mapiutil should really go in exchange.i. There are a few issues in PyMAPIObject_AsROWLIST: * The error message needs updating (ie, it refers to SRowSet etc instead of ROWLIST), * The line in the 'done:' label + if (!rc && (ppResult)) { should be: + if (!rc && (*ppResult)) { * The reference counting of 'rowEntries' and 'rowObject' are wrong. + rowEntries = NULL; + rowObject = NULL; // important for cleanup both of these should Py_DECREF() the objects before nulling them (it looks like there is a bug in PyMAPIObject_AsSRowSet, which you copied this from. Further, 'rowEntries' isn't checked for NULL and will crash if you pass a dict without an 'entries' element, and isn't Py_DECREF's in done: * You should probably treat a ROWENTRY object as a simple tuple instead of a dict, to be consistent with the other mapi helpers. It would be great if you could address these and I'd be happy to integrate it. Also, the line: ---------------------------------------------------------------------- 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-10-24 17:57:19
|
Bugs item #3094288, was opened at 2010-10-24 17:57 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3094288&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: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: PyIProfAdmin.h(6) : error C2143: syntax error : missing ';' Initial Comment: I'm trying to build python for win using VS2008, python 2.7 on XP. After going through some mapi issues, the compilation now fails with this message. Please find the complete trace attached ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3094288&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-24 17:55:20
|
Bugs item #3094208, was opened at 2010-10-24 14:38 Message generated for change (Settings changed) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3094208&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: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: 'OleSetOleError': identifier not found Initial Comment: Hi, I'm trying to build release 214 with VC2008 on XP. First it complained about some mapi stuff it could not found, I then installed 'Microsoft Exchange Server MAPI Client', but the compilation process still fails with : com/win32comext/mapi/src/mapi.cpp(933) : error C3861: 'OleSetOleError': identifi er not found Is there a way to resolve this or to find more info on what is going on ? Is it possible to skip certain modules (like mapi) ? Thank you and regards, Erik please find enclosed the complete compiler trace ---------------------------------------------------------------------- >Comment By: https://www.google.com/accounts () Date: 2010-10-24 17:55 Message: Completely cleaning the build tree resolved this. Apparently there are issues when the project is rebuild after a failed attempt ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3094208&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-24 14:38:53
|
Bugs item #3094208, was opened at 2010-10-24 14:38 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3094208&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: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: 'OleSetOleError': identifier not found Initial Comment: Hi, I'm trying to build release 214 with VC2008 on XP. First it complained about some mapi stuff it could not found, I then installed 'Microsoft Exchange Server MAPI Client', but the compilation process still fails with : com/win32comext/mapi/src/mapi.cpp(933) : error C3861: 'OleSetOleError': identifi er not found Is there a way to resolve this or to find more info on what is going on ? Is it possible to skip certain modules (like mapi) ? Thank you and regards, Erik please find enclosed the complete compiler trace ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3094208&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-23 04:28:08
|
Bugs item #2962078, was opened at 2010-03-03 05:10 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2962078&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: 6 Private: No Submitted By: kxroberto (kxroberto) Assigned to: Nobody/Anonymous (nobody) Summary: build 214: crash of Menu/Edit/Replace Initial Comment: happens with Menu/Edit/Replace (Ctrl-H) permanently: PythonWin 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 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:\PYTHON23\Lib\site-packages\pythonwin\pywin\scintilla\view.py", line 358, in OnCmdEditReplace find.ShowReplaceDialog() File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 39, in ShowReplaceDialog _ShowDialog(ReplaceDialog) File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 50, in _ShowDialog curDialog = dlgClass() File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 162, in __init__ dialog.Dialog.__init__(self,self._GetDialogTemplate()) File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\mfc\dialog.py", line 33, in __init__ dlg=win32ui.CreateDialogIndirect(id) SystemError: C:\sf\python\dist23\src\Objects\longobject.c:240: bad argument to internal function win32ui.error: Error in Command Message handler for command ID 57641, Code 0 (seems to be not with py2.5) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-23 15:28 Message: Fixed: Checking in win32/src/win32dynamicdialog.cpp; new revision: 1.7; previous revision: 1.6 Checking in CHANGES.txt; new revision: 1.63; previous revision: 1.62 ---------------------------------------------------------------------- Comment By: kxroberto (kxroberto) Date: 2010-09-27 19:08 Message: patch attached ---------------------------------------------------------------------- Comment By: kxroberto (kxroberto) Date: 2010-09-02 16:57 Message: reproduced with another py2.3.5 session. not with py2.6 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2962078&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-23 01:35:18
|
Bugs item #2984089, was opened at 2010-04-09 05:32 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2984089&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: Invalid Priority: 5 Private: No Submitted By: easperhe (easperhe) Assigned to: Nobody/Anonymous (nobody) Summary: Newbie Pythonwin (build214) questions Initial Comment: All, I just started using Pythonwin (build214) interactive Window yesterday. I was experimenting with View/Options. I'm having 2 problems. I've googled/search and can't find anything on these 2 issues: * The "tab size" and "indent size" and "insert spaces" options don't seem to work for me. Am I missing something basic here? I've been playing around with it quite a bit and can't see to get them to work. * I much prefer my background to be black when developing code. I did find that I could do this by setting the background color of "whitespace" to black. The only problem is that I can no longer see my black cursor then. For the mean time, I'm using a gray background. Thanks in Advance! ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-23 12:35 Message: Sorry for the delay, but you should try emailing the pyt...@py... mailing list for general support queries. ---------------------------------------------------------------------- Comment By: easperhe (easperhe) Date: 2010-04-09 07:42 Message: All, I realized the "tab size" and "indent size" only pertains to the script window and not the interactive window. Not sure why. But, I can live this the tab size and indent size only impacting the script window. Still wondering if anyone knows how to modify the black cursor to another color. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2984089&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-23 01:33:56
|
Bugs item #2983917, was opened at 2010-04-09 00:33 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2983917&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: com Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Marc-André Belzile (mabxsi) Assigned to: Nobody/Anonymous (nobody) Summary: Python AX script engine issue Initial Comment: My ActiveX object leaks when I submit it as a named item to the Python AX script engine (IActiveScript::AddNamedItem) with my AX site application. I'm using build 214 on a Vista 64 bit machine. The leak is not there though with build 212, the regression seems to have been introduced with build 213. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-23 12:33 Message: I can't reproduce this - there is a 'axscript/test/leakTest.py script which adds a 'Test' instance as a named item and the script indicates neither COM objects nor Python objects are leaking. Is there some way you can repro this for me? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2983917&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-23 01:23:28
|
Bugs item #3029949, was opened at 2010-07-15 22:09 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3029949&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: com Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Erik Janssen (erikjanssen) Assigned to: Nobody/Anonymous (nobody) Summary: Type information lost in enumeration of COM objects Initial Comment: I am using the pywin32-214.win32-py2.7.exe distribution. I notice type information is not always available. In the following 3-line snippet 'SearchResult' is an enumerator of objects of a certain type'. Coding it like this everything is fine and python knows the type of f: for i in range(0,result.SearchResults.Count): f = result.SearchResults.Item(i) print f.StartTime, "-", f.EndTime, f.Camera.CameraName But in the following code, imho preffered, python complains about f being IUnknown and can't continue: for f in result.SearchResults: print f print f.StartTime, "-", f.EndTime, f.Camera.CameraName In the generated files (gencache) all information seems to be available, as in the IDL of the COM component. I can supply lot's of additional information but I don't know what is making sense and what isn't. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-23 12:23 Message: That is very strange - they look identical! ---------------------------------------------------------------------- Comment By: Erik Janssen (erikjanssen) Date: 2010-07-19 19:32 Message: Here is the relevant IDL, assuming that is what you refer to: 223 interface IFootageDescriptionEnumerator : IDispatch 224 { 225 [id(DISPID_NEWENUM), propget] HRESULT _NewEnum([out, retval] IUnknown** Enumerator); 226 [id(DISPID_VALUE), propget] HRESULT Item([in] VARIANT Index, [out, retval] IFootageDescription **FootageInfo); 227 [id(0x00000001), propget] HRESULT Count([out, retval] long * Count); 228 }; I notice that another enumarator works fine in python, it is in the IDL declared as: 131 interface ICameraEnumerator : IDispatch{ 132 [id(0xfffffffc), propget] HRESULT _NewEnum([out, retval] IUnknown **CameraEnum); 133 [id(00000000), propget] HRESULT Item([in] int Index, [out, retval] ICamera **CameraInfo); 134 [id(00000000), propput] HRESULT Item([in] int Index, [in] ICamera *CameraInfo); 135 [id(0x00000001), propget] HRESULT Count([out, retval] int *Count); Hope that helps. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-07-16 02:40 Message: Does the item have a _NewEnum method? If so, how is it defined? Otherwise I am surprised IUnknown is returned - it should behave identically to when you call Item() manually. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3029949&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-23 01:07:23
|
Bugs item #3058010, was opened at 2010-09-02 16:58 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058010&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: Works For Me Priority: 5 Private: No Submitted By: kxroberto (kxroberto) Assigned to: Nobody/Anonymous (nobody) Summary: breakpoint delete crash Initial Comment: File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 267, in OnKeyDown return DebuggerWindow.OnKeyDown(self, msg) File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 164, in OnKeyDown self.DeleteSelected() File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 333, in DeleteSelected for bplist in Breakpoint.bplist.itervalues(): RuntimeError: dictionary changed size during iteration ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-23 12:07 Message: I can't repro this - can you please provide more details so I can? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058010&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-23 01:00:57
|
Bugs item #3058134, was opened at 2010-09-02 22:01 Message generated for change (Comment added) made by mhammond 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: Mark Hammond (mhammond) Date: 2010-10-23 12:00 Message: Sorry for the delay in looking at this. It seems that the changes to mapilib.i and mapiutil should really go in exchange.i. There are a few issues in PyMAPIObject_AsROWLIST: * The error message needs updating (ie, it refers to SRowSet etc instead of ROWLIST), * The line in the 'done:' label + if (!rc && (ppResult)) { should be: + if (!rc && (*ppResult)) { * The reference counting of 'rowEntries' and 'rowObject' are wrong. + rowEntries = NULL; + rowObject = NULL; // important for cleanup both of these should Py_DECREF() the objects before nulling them (it looks like there is a bug in PyMAPIObject_AsSRowSet, which you copied this from. Further, 'rowEntries' isn't checked for NULL and will crash if you pass a dict without an 'entries' element, and isn't Py_DECREF's in done: * You should probably treat a ROWENTRY object as a simple tuple instead of a dict, to be consistent with the other mapi helpers. It would be great if you could address these and I'd be happy to integrate it. Also, the line: ---------------------------------------------------------------------- Comment By: Patrick Breucking (marquies) Date: 2010-09-29 01: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 21: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 23: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-10-23 00:37:48
|
Bugs item #3075531, was opened at 2010-09-26 01:11 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3075531&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: andrewme2 (andrewme2) Assigned to: Nobody/Anonymous (nobody) Summary: Content of mutable objects changes when I type the dot '.' Initial Comment: >From the Python interpreter, create this function: >>> def myfunc(some_list): >>> some_list.append(2) >>> return some_list Now create an empty list 'abc' and type "myfunc(abc)." to invoke autocompletion. Without hitting enter, erase the line. 'abc' will now contain the number 2. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-23 11:37 Message: This is because pythonwin evaluates function calls and indexes (ie, [x]) for autocomplete, which probably isn't ideal, but is useful. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3075531&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-23 00:23:45
|
Bugs item #3077881, was opened at 2010-09-29 19:51 Message generated for change (Comment added) made by mhammond 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: Closed >Resolution: Invalid 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: Mark Hammond (mhammond) Date: 2010-10-23 11:23 Message: This is just a "feature" of Windows. ---------------------------------------------------------------------- Comment By: nathon zhou (nathonzhou) Date: 2010-09-30 13: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-10-23 00:22:24
|
Bugs item #3090267, was opened at 2010-10-19 17:58 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3090267&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: com Group: None >Status: Closed >Resolution: Out of Date Priority: 5 Private: No Submitted By: Mikko Arminen (mikkoarminen) Assigned to: Nobody/Anonymous (nobody) Summary: universal.RegisterInterfaces / _univgw.CreateVTable - Error Initial Comment: Hi, I'm trying to register interface of SolidWorks addin using: universal.RegisterInterfaces('{C71C31CD-898C-11D4-AEF6-00C04F603FAF}', 0, 18, 0, ['ISwAddin']) but this causes the following error: File "C:\Users\tunnus\Desktop\python_sutut\PyAddin_sw2010\pyaddin\SolidWorks\__init__.py", line 21, in <module> universal.RegisterInterfaces('{C71C31CD-898C-11D4-AEF6-00C04F603FAF}', 0, 18, 0, ['ISwAddin']) File "C:\Python26\lib\site-packages\win32com\universal.py", line 67, in RegisterInterfaces _doCreateVTable(iid, name, is_dispatch, method_defs) File "C:\Python26\lib\site-packages\win32com\universal.py", line 76, in _doCreateVTable vtbl = _univgw.CreateVTable(defn, is_dispatch) SystemError: error return without exception set I'm using: Windows 7 x64, python 2.6.6 64bit, pywin32-214.win-amd64-py2.6. The universal._doCreateVTable is getting parameters: iid='{DA306A0D-EAC5-4406-8610-B1DA805D9270}' interface_name='ISwAddin' is_dispatch=0 method_defs=[((u'ConnectToSW', u'ThisSW', u'Cookie', u'IsConnected'), 1, (1, (), [(9, 1, None, None), (3, 1, None, None), (16395, 10, None, None)], 1, 1, 4, 0, 24, (3, 0, None, None), 0)), ((u'DisconnectFromSW', u'IsDisconnected'), 2, (2, (), [(16395, 10, None, None)], 1, 1, 4, 0, 32, (3, 0, None, None), 0))] Am I doing something stupid or what's the problem? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-23 11:22 Message: The universal support in win32com was not implemented in build 214 (although the message could obviously have been clearer). It has been fixed now, so should be in build 215 - in the meantime I suggest trying a 32bit build. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3090267&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-21 18:02:28
|
Bugs item #3092278, was opened at 2010-10-21 14:02 Message generated for change (Tracker Item Submitted) made by cameraguy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3092278&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: Paul Carroll (cameraguy) Assigned to: Nobody/Anonymous (nobody) Summary: Unresolved external symbol _CLSID_MachineDebugManager Initial Comment: Hi, I've some (rather old) python scripts that I'm trying to get running on my 'new' computer. In particular, the scripts make use of the Mr. Hammond's Win32 extensions, and my new machine is a Windows 7x64 box, using VS 2008. I installed Python 2.7, and win32 build 214. On my first attempt to install (setup.py -p install), I got a compilation error -- the one described in bug #3084013. So, to resolve this error, I re-synced with the latest Win32 from CVS, and now when I attempt to install, it gets further but I then get the linker error "Unresolved external _CLISD_MachineDebugManager" when attempting to build axdebug.pyd I tried both ehte x86 and x64 variants of the base python tool (v2.7) -- same result. Any suggestions? Thanks /Paul ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3092278&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-21 00:45:35
|
Bugs item #2929574, was opened at 2010-01-10 22:01 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2929574&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: Fixed Priority: 5 Private: No Submitted By: Tyler (programmer09) Assigned to: Nobody/Anonymous (nobody) Summary: Win32Job Fails to Build Initial Comment: I get an error about an undeclared identifier when I try to build PyWin32-214. I have Visual Studio 2008, with the Windows SDK for Windows 7, Windows XP Pro (SP3), Python 2.6.4. Attached is the output of python setup.py -v build that I redirected to a file. ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2010-10-20 19:45 Message: Identical to #3084013, fixed now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2929574&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-20 23:22:01
|
Feature Requests item #3091600, was opened at 2010-10-21 09:22 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3091600&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 C () Assigned to: Nobody/Anonymous (nobody) Summary: Install into other site-packages directory Initial Comment: We have a network site-packages directory where we can install packages in one place to be available to several users without them having to require installing things like this on each machine. However, the installer does not give the choice of which site-packages directory to use. Feature request: Can the installation path please be manually editable so that we can override the installation directory? Many thanks, Matt ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3091600&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-19 06:58:04
|
Bugs item #3090267, was opened at 2010-10-19 09:58 Message generated for change (Tracker Item Submitted) made by mikkoarminen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3090267&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: com Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mikko Arminen (mikkoarminen) Assigned to: Nobody/Anonymous (nobody) Summary: universal.RegisterInterfaces / _univgw.CreateVTable - Error Initial Comment: Hi, I'm trying to register interface of SolidWorks addin using: universal.RegisterInterfaces('{C71C31CD-898C-11D4-AEF6-00C04F603FAF}', 0, 18, 0, ['ISwAddin']) but this causes the following error: File "C:\Users\tunnus\Desktop\python_sutut\PyAddin_sw2010\pyaddin\SolidWorks\__init__.py", line 21, in <module> universal.RegisterInterfaces('{C71C31CD-898C-11D4-AEF6-00C04F603FAF}', 0, 18, 0, ['ISwAddin']) File "C:\Python26\lib\site-packages\win32com\universal.py", line 67, in RegisterInterfaces _doCreateVTable(iid, name, is_dispatch, method_defs) File "C:\Python26\lib\site-packages\win32com\universal.py", line 76, in _doCreateVTable vtbl = _univgw.CreateVTable(defn, is_dispatch) SystemError: error return without exception set I'm using: Windows 7 x64, python 2.6.6 64bit, pywin32-214.win-amd64-py2.6. The universal._doCreateVTable is getting parameters: iid='{DA306A0D-EAC5-4406-8610-B1DA805D9270}' interface_name='ISwAddin' is_dispatch=0 method_defs=[((u'ConnectToSW', u'ThisSW', u'Cookie', u'IsConnected'), 1, (1, (), [(9, 1, None, None), (3, 1, None, None), (16395, 10, None, None)], 1, 1, 4, 0, 24, (3, 0, None, None), 0)), ((u'DisconnectFromSW', u'IsDisconnected'), 2, (2, (), [(16395, 10, None, None)], 1, 1, 4, 0, 32, (3, 0, None, None), 0))] Am I doing something stupid or what's the problem? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3090267&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-15 02:42:39
|
Bugs item #3084013, was opened at 2010-10-08 16:52 Message generated for change (Settings changed) made by rupole 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: Closed >Resolution: Fixed 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. ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2010-10-14 21:42 Message: Fixed in win32job.i r1.7 ---------------------------------------------------------------------- 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-14 12:03:35
|
Feature Requests item #1409321, was opened at 2006-01-18 19:20 Message generated for change (Comment added) made by ghazel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1409321&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: Greg Hazel (ghazel) Assigned to: Nobody/Anonymous (nobody) Summary: prompt to create non-existent files Initial Comment: Really two feature requests. 1. Support for '\n' newlines. I'd prefer that it open both and save unix-style, but any other feature which would allow me to work on unix-style newlines without damaging the file would be helpful. 2. Allow notepad-style "Cannot find the X.EXT file. Do you want to create a new file?" ---------------------------------------------------------------------- >Comment By: Greg Hazel (ghazel) Date: 2010-10-14 12:03 Message: Patch create_file.diff mimics the notepad behavior. ---------------------------------------------------------------------- Comment By: Greg Hazel (ghazel) Date: 2010-10-14 12:00 Message: Ok, the first one has been done for awhile. The second is not though, so we'll make this ticket focus on that. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1409321&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-14 12:03:03
|
Feature Requests item #1409321, was opened at 2006-01-18 19:20 Message generated for change (Settings changed) made by ghazel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1409321&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: Greg Hazel (ghazel) Assigned to: Nobody/Anonymous (nobody) >Summary: prompt to create non-existent files Initial Comment: Really two feature requests. 1. Support for '\n' newlines. I'd prefer that it open both and save unix-style, but any other feature which would allow me to work on unix-style newlines without damaging the file would be helpful. 2. Allow notepad-style "Cannot find the X.EXT file. Do you want to create a new file?" ---------------------------------------------------------------------- Comment By: Greg Hazel (ghazel) Date: 2010-10-14 12:00 Message: Ok, the first one has been done for awhile. The second is not though, so we'll make this ticket focus on that. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1409321&group_id=78018 |
From: SourceForge.net <no...@so...> - 2010-10-14 12:00:36
|
Feature Requests item #1409321, was opened at 2006-01-18 19:20 Message generated for change (Comment added) made by ghazel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1409321&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: Greg Hazel (ghazel) Assigned to: Nobody/Anonymous (nobody) >Summary: prompt to create non-existant files Initial Comment: Really two feature requests. 1. Support for '\n' newlines. I'd prefer that it open both and save unix-style, but any other feature which would allow me to work on unix-style newlines without damaging the file would be helpful. 2. Allow notepad-style "Cannot find the X.EXT file. Do you want to create a new file?" ---------------------------------------------------------------------- >Comment By: Greg Hazel (ghazel) Date: 2010-10-14 12:00 Message: Ok, the first one has been done for awhile. The second is not though, so we'll make this ticket focus on that. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1409321&group_id=78018 |