pywin32-bugs Mailing List for Python for Windows Extensions (Page 23)
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...> - 2011-03-30 12:14:34
|
Bugs item #3260092, was opened at 2011-03-30 12:14 Message generated for change (Tracker Item Submitted) made by tjgolden You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3260092&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: Tim Golden (tjgolden) Assigned to: Nobody/Anonymous (nobody) Summary: Unable to build pywin32 against python tip Initial Comment: Trying to build pywin32 @ ff9086ad5e86 against python tip @ 80e71592b114 C:\work-in-progress\python\pywin32\isapi\src\Utils.cpp(41) : error C2660: '_PyUnicodeUCS2_AsDefaultEncodedString' : function does not take 2 arguments error: command '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3260092&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-26 10:09:43
|
Feature Requests item #3244607, was opened at 2011-03-25 19:40 Message generated for change (Comment added) made by amauryf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3244607&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: Amaury Forgeot d'Arc (amauryf) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32 for PyPy Initial Comment: I've just managed to make pywin32 compile and work on top of PyPy. I open this ticket to keep track of the various changes that I made to the pywin32 source code. I'm currently preparing patches; for the moment, changes are of two kinds: - In some .cpp files you can find "if PyString_Check(xxx)" without surrounding parentheses. This works on CPython because PyString_Check is actually a macro which adds parentheses to its expression; with PyPy PyString_Check is a function. - With PyPy it's not allowed to change ob_type after object creation. This is used a lot by all PyIBase subclasses. The solution I found is to pass the TypeObject to the base constructor, and ensure that ob_type is set just before calling _Py_NewReference(). Of course these two lines can be replaced by "PyObject_Init(this, type);" ---------------------------------------------------------------------- >Comment By: Amaury Forgeot d'Arc (amauryf) Date: 2011-03-26 11:09 Message: PyObject_Init is already present in Python2.2 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-26 01:46 Message: Sounds great to me. Use of PyObject_Init sounds good too so long as it also works in earlier Python version (I seem to recall that function was added in later versions). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3244607&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-26 00:46:49
|
Feature Requests item #3244607, was opened at 2011-03-26 05:40 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3244607&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: Amaury Forgeot d'Arc (amauryf) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32 for PyPy Initial Comment: I've just managed to make pywin32 compile and work on top of PyPy. I open this ticket to keep track of the various changes that I made to the pywin32 source code. I'm currently preparing patches; for the moment, changes are of two kinds: - In some .cpp files you can find "if PyString_Check(xxx)" without surrounding parentheses. This works on CPython because PyString_Check is actually a macro which adds parentheses to its expression; with PyPy PyString_Check is a function. - With PyPy it's not allowed to change ob_type after object creation. This is used a lot by all PyIBase subclasses. The solution I found is to pass the TypeObject to the base constructor, and ensure that ob_type is set just before calling _Py_NewReference(). Of course these two lines can be replaced by "PyObject_Init(this, type);" ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-03-26 11:46 Message: Sounds great to me. Use of PyObject_Init sounds good too so long as it also works in earlier Python version (I seem to recall that function was added in later versions). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3244607&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-25 18:40:05
|
Feature Requests item #3244607, was opened at 2011-03-25 19:40 Message generated for change (Tracker Item Submitted) made by amauryf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3244607&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: Amaury Forgeot d'Arc (amauryf) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32 for PyPy Initial Comment: I've just managed to make pywin32 compile and work on top of PyPy. I open this ticket to keep track of the various changes that I made to the pywin32 source code. I'm currently preparing patches; for the moment, changes are of two kinds: - In some .cpp files you can find "if PyString_Check(xxx)" without surrounding parentheses. This works on CPython because PyString_Check is actually a macro which adds parentheses to its expression; with PyPy PyString_Check is a function. - With PyPy it's not allowed to change ob_type after object creation. This is used a lot by all PyIBase subclasses. The solution I found is to pass the TypeObject to the base constructor, and ensure that ob_type is set just before calling _Py_NewReference(). Of course these two lines can be replaced by "PyObject_Init(this, type);" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3244607&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-24 22:26:57
|
Bugs item #3238774, was opened at 2011-03-24 09:20 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3238774&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: Chris Lambacher (lambacck) Assigned to: Nobody/Anonymous (nobody) Summary: Calls from VBScript clobber passed args Initial Comment: I am running into a bug that was submitted erroneously to the python language bug tracker: http://bugs.python.org/issue1156179 I am using v216 with Python 2.6. The original reporter did some excellent detective work on what is happening. From his description: I'm using Python 2.4.0 and VBScript under ASP on IIS 5. If I call a Python function from VBScript AND pass a local var as the first parameter AND don't use the return value, then the local var I passed in is, upon the function's return, set to Null. If I store the return value (even if there isn't one) OR pass the return value to another function, this doesn't happen. I'm attaching some snippets that demonstrate and work around the bug. He later updates the problem to be: call go(x) clobbers x, as I've said before, but... call aTwoParamFunction("somethingStatic", x, y) clobbers x as well! y is not clobbered. If someone can point me in the general right direction, I am willing to try and fix the bug, but as of right now the active script stuff looks like a maze of twisty little passages, all alike. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-03-25 09:26 Message: > Why do we need to pass the return value back if the caller does not ask for it? The problem is that from Python's POV, the caller *has* asked for a result to be placed in a BYREF param. This is why there is no problem with only BYVAL params as there is literally nowhere to put it. ---------------------------------------------------------------------- Comment By: Chris Lambacher (lambacck) Date: 2011-03-25 06:55 Message: I missed your earlier comment so my "discovery" would appear to be obvious from the information you provided. It probably follows on that this happens with other VB languages (like VBA) but not with javascript. Your answer about not having a place to put the return value sounds correct. Why do we need to pass the return value back if the caller does not ask for it? VB makes a distinction between Functions and Subroutines and has a call convention that explicitly drops the return value using the Call keyword or by not having parens around the function/method/sub arguments. ---------------------------------------------------------------------- Comment By: Chris Lambacher (lambacck) Date: 2011-03-25 06:20 Message: More info: Looks like this happens with a registered com object as well, so it seems like it is an issue with values passed in to a COM function from at the very least VBScript in IIS (I am using windows 7). At least it gives me a place to look. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-24 09:37 Message: That is going to be very hard to avoid given the dynamic nature of Python and VBScript - when "go" returns (with an implied value of None or with any explicit value), pythoncom looks for somewhere to stick the result. As the only place is the byref arg, that is where it is placed. It is probably possible to work around this by doing something like having the function raise a COMServerException with a hresult of S_OK, or by tricking VB into not passing the args byref. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3238774&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-24 19:55:44
|
Bugs item #3238774, was opened at 2011-03-23 17:20 Message generated for change (Comment added) made by lambacck You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3238774&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: Chris Lambacher (lambacck) Assigned to: Nobody/Anonymous (nobody) Summary: Calls from VBScript clobber passed args Initial Comment: I am running into a bug that was submitted erroneously to the python language bug tracker: http://bugs.python.org/issue1156179 I am using v216 with Python 2.6. The original reporter did some excellent detective work on what is happening. From his description: I'm using Python 2.4.0 and VBScript under ASP on IIS 5. If I call a Python function from VBScript AND pass a local var as the first parameter AND don't use the return value, then the local var I passed in is, upon the function's return, set to Null. If I store the return value (even if there isn't one) OR pass the return value to another function, this doesn't happen. I'm attaching some snippets that demonstrate and work around the bug. He later updates the problem to be: call go(x) clobbers x, as I've said before, but... call aTwoParamFunction("somethingStatic", x, y) clobbers x as well! y is not clobbered. If someone can point me in the general right direction, I am willing to try and fix the bug, but as of right now the active script stuff looks like a maze of twisty little passages, all alike. ---------------------------------------------------------------------- >Comment By: Chris Lambacher (lambacck) Date: 2011-03-24 14:55 Message: I missed your earlier comment so my "discovery" would appear to be obvious from the information you provided. It probably follows on that this happens with other VB languages (like VBA) but not with javascript. Your answer about not having a place to put the return value sounds correct. Why do we need to pass the return value back if the caller does not ask for it? VB makes a distinction between Functions and Subroutines and has a call convention that explicitly drops the return value using the Call keyword or by not having parens around the function/method/sub arguments. ---------------------------------------------------------------------- Comment By: Chris Lambacher (lambacck) Date: 2011-03-24 14:20 Message: More info: Looks like this happens with a registered com object as well, so it seems like it is an issue with values passed in to a COM function from at the very least VBScript in IIS (I am using windows 7). At least it gives me a place to look. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-23 17:37 Message: That is going to be very hard to avoid given the dynamic nature of Python and VBScript - when "go" returns (with an implied value of None or with any explicit value), pythoncom looks for somewhere to stick the result. As the only place is the byref arg, that is where it is placed. It is probably possible to work around this by doing something like having the function raise a COMServerException with a hresult of S_OK, or by tricking VB into not passing the args byref. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3238774&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-23 22:20:36
|
Bugs item #3238774, was opened at 2011-03-23 17:20 Message generated for change (Tracker Item Submitted) made by lambacck You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3238774&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: Chris Lambacher (lambacck) Assigned to: Nobody/Anonymous (nobody) Summary: Calls from VBScript clobber passed args Initial Comment: I am running into a bug that was submitted erroneously to the python language bug tracker: http://bugs.python.org/issue1156179 I am using v216 with Python 2.6. The original reporter did some excellent detective work on what is happening. From his description: I'm using Python 2.4.0 and VBScript under ASP on IIS 5. If I call a Python function from VBScript AND pass a local var as the first parameter AND don't use the return value, then the local var I passed in is, upon the function's return, set to Null. If I store the return value (even if there isn't one) OR pass the return value to another function, this doesn't happen. I'm attaching some snippets that demonstrate and work around the bug. He later updates the problem to be: call go(x) clobbers x, as I've said before, but... call aTwoParamFunction("somethingStatic", x, y) clobbers x as well! y is not clobbered. If someone can point me in the general right direction, I am willing to try and fix the bug, but as of right now the active script stuff looks like a maze of twisty little passages, all alike. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3238774&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-23 15:14:58
|
Bugs item #3237838, was opened at 2011-03-23 23:14 Message generated for change (Tracker Item Submitted) made by winterttr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3237838&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: winterTTr (winterttr) Assigned to: Nobody/Anonymous (nobody) Summary: cannot insert multi menu item into shell context menu Initial Comment: I am trying to use pywin32 com to develop a shell extension which will add the menu item to shell context menu. I do a lot test using win32gui.InsertMenu, but i can not add more than one item to the context menu, I can just add one menu item, the following call to InsertMenu seem to be no effect. I tried use the context_menu.py under "C:\Python27\Lib\site-packages\win32comext\shell\demos\servers", and add one line like below: 39 items = [] 40 items.append("balabala...") But the result is that, only "balabala..." can be insert into the context menu, so the demo file also fail on my machine. I think this maybe a problem of pywin32, so I report it and hope you to check. Environment: windows 7 x86-32bit + python27 + pywin32-216.win32-py2.7.exe ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3237838&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-16 15:36:58
|
Bugs item #3190497, was opened at 2011-02-23 12:08 Message generated for change (Comment added) made by cort You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190497&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: Cort Danger Stratton (cort) Assigned to: Nobody/Anonymous (nobody) Summary: Can't run pythonwin with 215-amd64-py3.2 Initial Comment: After installing fresh Python 3.2 and pywin32-215-amd64-py3.2 packages, I get an error when I try to run pythonwin: "The Application can not locate win32ui.pyd (or Python) (126) The Specified module could not be found." In case it's relevant, I also get a stack trace at the end of the installation process: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x0000000004693630> ignored ---------------------------------------------------------------------- >Comment By: Cort Danger Stratton (cort) Date: 2011-03-16 08:36 Message: Problem still occuring with build amd64 build 216. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190497&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-14 14:08:06
|
Patches item #3203451, was opened at 2011-03-09 00:18 Message generated for change (Comment added) made by fredrior You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3203451&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: Fredrik Orderud (fredrior) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect/missing file attribute constants Initial Comment: The seems to be some issues with the windows file attribute constants in win32/Lib/winnt.py. * FILE_ATTRIBUTE_ENCRYPTED seems to have incorrect value. * FILE_ATTRIBUTE_DEVICE, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED and FILE_ATTRIBUTE_VIRTUAL are missing. ---------------------------------------------------------------------- >Comment By: Fredrik Orderud (fredrior) Date: 2011-03-14 15:08 Message: The constants are retrieved from my local Windows SDK in: C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\WinNT.h I don't know if redistributing this fille is allowed, but you can find identical typedefs in (with the exception of FILE_ATTRIBUTE_VIRTUAL): http://source.winehq.org/source/include/winnt.h ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3203451&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-10 23:36:43
|
Bugs item #3192904, was opened at 2011-02-26 03:41 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&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: j petrick (jpetrick1) Assigned to: Nobody/Anonymous (nobody) Summary: v215/py.32 win32 install fails 32 and 64-bit Initial Comment: Both pywin32-215.win32-py3.2.exe and pywin32-215.win-amd64-py3.2.exe throw and exception on install: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x033995B0> ignored As a result, import win32com.client as win32 fails like this: Traceback (most recent call last): File "D:\EQ\InventoryDumps\testScript1.py", line 1, in <module> import win32com.client as win32 File "D:\Python32\lib\site-packages\win32com\__init__.py", line 5, in <module> import win32api, sys, os ImportError: DLL load failed: The specified module could not be found. Importing sys and os separately works fine, looks like win32api install failed. ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-10 23:36 Message: I just "double clicked the installer" in windows. Has tried both with "admin" and "regular user" rights. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-08 09:07 Message: running the post-install script was to be my next suggestion :) How did you start the installer - from a cmd-prompt? IThis has been reported before, but it works fine for many (including me) too! ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 08:49 Message: Update: I ran "C:\Python32\Scripts\pywin32_postinstall.py -install" after the failed installation, and now it works :) I'm happy! Still, the installer should be investigated though if you have the time. Mark: Thanks for your time and effort on this project! ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 08:41 Message: Hi! I am on Vista 64bit, using Python 3.2. It fails with pywin32-216.1.win32-py3.2.exe! By accident, I noticed that I could install the 64 bit python and the 64bit pywin without any problems. Unfortunately, I have to control a 32 bit com object, so I uninstalled all python, deleted registry and the python directory and started from scratch with 32bit python and pywin, and then it fails. Is there something I can do to help you debug this? I'm not sure where to start. JF ---------------------------------------------------------------------- Comment By: j petrick (jpetrick1) Date: 2011-03-08 00:42 Message: 216 build, 64-bit installed OK. I didn't try the 32-bit version. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-07 21:32 Message: Do you have the same problem in build 216? ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-07 19:01 Message: I have the exact same problem! Solved it yet? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-08 23:18:29
|
Patches item #3203451, was opened at 2011-03-09 00:18 Message generated for change (Tracker Item Submitted) made by fredrior You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3203451&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: Fredrik Orderud (fredrior) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect/missing file attribute constants Initial Comment: The seems to be some issues with the windows file attribute constants in win32/Lib/winnt.py. * FILE_ATTRIBUTE_ENCRYPTED seems to have incorrect value. * FILE_ATTRIBUTE_DEVICE, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED and FILE_ATTRIBUTE_VIRTUAL are missing. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3203451&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-08 09:07:56
|
Bugs item #3192904, was opened at 2011-02-26 14:41 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&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: j petrick (jpetrick1) Assigned to: Nobody/Anonymous (nobody) Summary: v215/py.32 win32 install fails 32 and 64-bit Initial Comment: Both pywin32-215.win32-py3.2.exe and pywin32-215.win-amd64-py3.2.exe throw and exception on install: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x033995B0> ignored As a result, import win32com.client as win32 fails like this: Traceback (most recent call last): File "D:\EQ\InventoryDumps\testScript1.py", line 1, in <module> import win32com.client as win32 File "D:\Python32\lib\site-packages\win32com\__init__.py", line 5, in <module> import win32api, sys, os ImportError: DLL load failed: The specified module could not be found. Importing sys and os separately works fine, looks like win32api install failed. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-03-08 20:07 Message: running the post-install script was to be my next suggestion :) How did you start the installer - from a cmd-prompt? IThis has been reported before, but it works fine for many (including me) too! ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 19:49 Message: Update: I ran "C:\Python32\Scripts\pywin32_postinstall.py -install" after the failed installation, and now it works :) I'm happy! Still, the installer should be investigated though if you have the time. Mark: Thanks for your time and effort on this project! ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 19:41 Message: Hi! I am on Vista 64bit, using Python 3.2. It fails with pywin32-216.1.win32-py3.2.exe! By accident, I noticed that I could install the 64 bit python and the 64bit pywin without any problems. Unfortunately, I have to control a 32 bit com object, so I uninstalled all python, deleted registry and the python directory and started from scratch with 32bit python and pywin, and then it fails. Is there something I can do to help you debug this? I'm not sure where to start. JF ---------------------------------------------------------------------- Comment By: j petrick (jpetrick1) Date: 2011-03-08 11:42 Message: 216 build, 64-bit installed OK. I didn't try the 32-bit version. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-08 08:32 Message: Do you have the same problem in build 216? ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 06:01 Message: I have the exact same problem! Solved it yet? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-08 08:49:02
|
Bugs item #3192904, was opened at 2011-02-26 03:41 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&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: j petrick (jpetrick1) Assigned to: Nobody/Anonymous (nobody) Summary: v215/py.32 win32 install fails 32 and 64-bit Initial Comment: Both pywin32-215.win32-py3.2.exe and pywin32-215.win-amd64-py3.2.exe throw and exception on install: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x033995B0> ignored As a result, import win32com.client as win32 fails like this: Traceback (most recent call last): File "D:\EQ\InventoryDumps\testScript1.py", line 1, in <module> import win32com.client as win32 File "D:\Python32\lib\site-packages\win32com\__init__.py", line 5, in <module> import win32api, sys, os ImportError: DLL load failed: The specified module could not be found. Importing sys and os separately works fine, looks like win32api install failed. ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 08:49 Message: Update: I ran "C:\Python32\Scripts\pywin32_postinstall.py -install" after the failed installation, and now it works :) I'm happy! Still, the installer should be investigated though if you have the time. Mark: Thanks for your time and effort on this project! ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 08:41 Message: Hi! I am on Vista 64bit, using Python 3.2. It fails with pywin32-216.1.win32-py3.2.exe! By accident, I noticed that I could install the 64 bit python and the 64bit pywin without any problems. Unfortunately, I have to control a 32 bit com object, so I uninstalled all python, deleted registry and the python directory and started from scratch with 32bit python and pywin, and then it fails. Is there something I can do to help you debug this? I'm not sure where to start. JF ---------------------------------------------------------------------- Comment By: j petrick (jpetrick1) Date: 2011-03-08 00:42 Message: 216 build, 64-bit installed OK. I didn't try the 32-bit version. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-07 21:32 Message: Do you have the same problem in build 216? ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-07 19:01 Message: I have the exact same problem! Solved it yet? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-08 08:41:38
|
Bugs item #3192904, was opened at 2011-02-26 03:41 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&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: j petrick (jpetrick1) Assigned to: Nobody/Anonymous (nobody) Summary: v215/py.32 win32 install fails 32 and 64-bit Initial Comment: Both pywin32-215.win32-py3.2.exe and pywin32-215.win-amd64-py3.2.exe throw and exception on install: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x033995B0> ignored As a result, import win32com.client as win32 fails like this: Traceback (most recent call last): File "D:\EQ\InventoryDumps\testScript1.py", line 1, in <module> import win32com.client as win32 File "D:\Python32\lib\site-packages\win32com\__init__.py", line 5, in <module> import win32api, sys, os ImportError: DLL load failed: The specified module could not be found. Importing sys and os separately works fine, looks like win32api install failed. ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 08:41 Message: Hi! I am on Vista 64bit, using Python 3.2. It fails with pywin32-216.1.win32-py3.2.exe! By accident, I noticed that I could install the 64 bit python and the 64bit pywin without any problems. Unfortunately, I have to control a 32 bit com object, so I uninstalled all python, deleted registry and the python directory and started from scratch with 32bit python and pywin, and then it fails. Is there something I can do to help you debug this? I'm not sure where to start. JF ---------------------------------------------------------------------- Comment By: j petrick (jpetrick1) Date: 2011-03-08 00:42 Message: 216 build, 64-bit installed OK. I didn't try the 32-bit version. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-07 21:32 Message: Do you have the same problem in build 216? ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-07 19:01 Message: I have the exact same problem! Solved it yet? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-07 21:32:25
|
Bugs item #3192904, was opened at 2011-02-26 14:41 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&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: j petrick (jpetrick1) Assigned to: Nobody/Anonymous (nobody) Summary: v215/py.32 win32 install fails 32 and 64-bit Initial Comment: Both pywin32-215.win32-py3.2.exe and pywin32-215.win-amd64-py3.2.exe throw and exception on install: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x033995B0> ignored As a result, import win32com.client as win32 fails like this: Traceback (most recent call last): File "D:\EQ\InventoryDumps\testScript1.py", line 1, in <module> import win32com.client as win32 File "D:\Python32\lib\site-packages\win32com\__init__.py", line 5, in <module> import win32api, sys, os ImportError: DLL load failed: The specified module could not be found. Importing sys and os separately works fine, looks like win32api install failed. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-03-08 08:32 Message: Do you have the same problem in build 216? ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 06:01 Message: I have the exact same problem! Solved it yet? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-03-07 19:01:45
|
Bugs item #3192904, was opened at 2011-02-26 03:41 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&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: j petrick (jpetrick1) Assigned to: Nobody/Anonymous (nobody) Summary: v215/py.32 win32 install fails 32 and 64-bit Initial Comment: Both pywin32-215.win32-py3.2.exe and pywin32-215.win-amd64-py3.2.exe throw and exception on install: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x033995B0> ignored As a result, import win32com.client as win32 fails like this: Traceback (most recent call last): File "D:\EQ\InventoryDumps\testScript1.py", line 1, in <module> import win32com.client as win32 File "D:\Python32\lib\site-packages\win32com\__init__.py", line 5, in <module> import win32api, sys, os ImportError: DLL load failed: The specified module could not be found. Importing sys and os separately works fine, looks like win32api install failed. ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-07 19:01 Message: I have the exact same problem! Solved it yet? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-02-28 14:49:11
|
Bugs item #3190606, was opened at 2011-02-23 16:37 Message generated for change (Comment added) made by tjdeveloper You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&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: TJ Developer (tjdeveloper) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32-215.win32-py2.6.exe ERROR Initial Comment: So after struggling with errors trying to use the 64 bit version of PythonWin, I learned that my application can only interface with the 32 bit version. So I uninstalled EVERYTHING today and decided to start over. Due to the constraints of my application (ArcGIS), I have to use the Python 2.6 version. I downloaded pywin32-215.win32-py2.6.exe, but I'm getting the follow error at the very end of the install: 'import site' failed; use -v for traceback Traceback (most recent call last): File "<string>", line 5, in <module> ImportError: No module named os Any advice on what might be the problem here? Thanks! ---------------------------------------------------------------------- >Comment By: TJ Developer (tjdeveloper) Date: 2011-02-28 08:49 Message: Okay, I got it fixed. I had to uninstall EVERYTHING. Then I cleaned up the registry a little. When I reinstalled, I started with the Python26 files and put them in C:\Python26\ArcGIS, followed by the numpy files and last was the PythonWin install. I still got the following error for PythonWin: close failed in file object destructor: Error in sys.excepthook: Original exception was: However, it appears to have at least installed this time and is working so far. Not sure what that error is or how critical it is???? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-02-24 16:19 Message: Sorry I wasn't clear - I was referring to the python install, not pywin32. The pywin32 installer is failing to load python, so it looks as though python itself is messed up. ---------------------------------------------------------------------- Comment By: TJ Developer (tjdeveloper) Date: 2011-02-24 08:51 Message: I simply downloaded the .exe file (the one in the thread title) and ran it. There is no "reinstall" because the program did not install. Due to this error, the install failed. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-02-23 17:09 Message: This implies the python install is pretty borked - how did you install it and can you try reinstalling it? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-02-28 04:11:58
|
Patches item #3194663, was opened at 2011-02-27 23:11 Message generated for change (Tracker Item Submitted) made by rvolpe-swn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3194663&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: rv...@se... (rvolpe-swn) Assigned to: Nobody/Anonymous (nobody) Summary: Prevent LoadPythonServiceClass from importing non-services Initial Comment: The current implementation of LoadPythonServiceClass appends the target module's directory to sys.path. This means that if the target module's name is shadowed by that of another module already on sys.path, that shadowing module will be imported instead, leading to a cryptic "Python could not find the service class in the module" error logged to the Application event log. As an example, attempting to load the module "C:\Python27\lib\site-packages\pywinservice_example\test.py" loads the module "C:\Python27\lib\test\__init__.pyc" instead. This patch changes the logic to insert the module's directory at the beginning of sys.path, then remove it after attempting to import the module. The upside is that formerly shadowed module names (like "test.py") are now usable as service module names. The downside is that if the service module attempts to import another module with the same name, the service module itself will be imported instead. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3194663&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-02-26 03:41:52
|
Bugs item #3192904, was opened at 2011-02-25 19:41 Message generated for change (Tracker Item Submitted) made by jpetrick1 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&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: j petrick (jpetrick1) Assigned to: Nobody/Anonymous (nobody) Summary: v215/py.32 win32 install fails 32 and 64-bit Initial Comment: Both pywin32-215.win32-py3.2.exe and pywin32-215.win-amd64-py3.2.exe throw and exception on install: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x033995B0> ignored As a result, import win32com.client as win32 fails like this: Traceback (most recent call last): File "D:\EQ\InventoryDumps\testScript1.py", line 1, in <module> import win32com.client as win32 File "D:\Python32\lib\site-packages\win32com\__init__.py", line 5, in <module> import win32api, sys, os ImportError: DLL load failed: The specified module could not be found. Importing sys and os separately works fine, looks like win32api install failed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3192904&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-02-24 22:19:36
|
Bugs item #3190606, was opened at 2011-02-24 09:37 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&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: TJ Developer (tjdeveloper) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32-215.win32-py2.6.exe ERROR Initial Comment: So after struggling with errors trying to use the 64 bit version of PythonWin, I learned that my application can only interface with the 32 bit version. So I uninstalled EVERYTHING today and decided to start over. Due to the constraints of my application (ArcGIS), I have to use the Python 2.6 version. I downloaded pywin32-215.win32-py2.6.exe, but I'm getting the follow error at the very end of the install: 'import site' failed; use -v for traceback Traceback (most recent call last): File "<string>", line 5, in <module> ImportError: No module named os Any advice on what might be the problem here? Thanks! ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-02-25 09:19 Message: Sorry I wasn't clear - I was referring to the python install, not pywin32. The pywin32 installer is failing to load python, so it looks as though python itself is messed up. ---------------------------------------------------------------------- Comment By: TJ Developer (tjdeveloper) Date: 2011-02-25 01:51 Message: I simply downloaded the .exe file (the one in the thread title) and ran it. There is no "reinstall" because the program did not install. Due to this error, the install failed. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-02-24 10:09 Message: This implies the python install is pretty borked - how did you install it and can you try reinstalling it? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-02-24 14:51:27
|
Bugs item #3190606, was opened at 2011-02-23 16:37 Message generated for change (Comment added) made by tjdeveloper You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&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: TJ Developer (tjdeveloper) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32-215.win32-py2.6.exe ERROR Initial Comment: So after struggling with errors trying to use the 64 bit version of PythonWin, I learned that my application can only interface with the 32 bit version. So I uninstalled EVERYTHING today and decided to start over. Due to the constraints of my application (ArcGIS), I have to use the Python 2.6 version. I downloaded pywin32-215.win32-py2.6.exe, but I'm getting the follow error at the very end of the install: 'import site' failed; use -v for traceback Traceback (most recent call last): File "<string>", line 5, in <module> ImportError: No module named os Any advice on what might be the problem here? Thanks! ---------------------------------------------------------------------- >Comment By: TJ Developer (tjdeveloper) Date: 2011-02-24 08:51 Message: I simply downloaded the .exe file (the one in the thread title) and ran it. There is no "reinstall" because the program did not install. Due to this error, the install failed. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-02-23 17:09 Message: This implies the python install is pretty borked - how did you install it and can you try reinstalling it? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-02-23 23:09:08
|
Bugs item #3190606, was opened at 2011-02-24 09:37 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&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: TJ Developer (tjdeveloper) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32-215.win32-py2.6.exe ERROR Initial Comment: So after struggling with errors trying to use the 64 bit version of PythonWin, I learned that my application can only interface with the 32 bit version. So I uninstalled EVERYTHING today and decided to start over. Due to the constraints of my application (ArcGIS), I have to use the Python 2.6 version. I downloaded pywin32-215.win32-py2.6.exe, but I'm getting the follow error at the very end of the install: 'import site' failed; use -v for traceback Traceback (most recent call last): File "<string>", line 5, in <module> ImportError: No module named os Any advice on what might be the problem here? Thanks! ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-02-24 10:09 Message: This implies the python install is pretty borked - how did you install it and can you try reinstalling it? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-02-23 22:37:20
|
Bugs item #3190606, was opened at 2011-02-23 16:37 Message generated for change (Tracker Item Submitted) made by tjdeveloper You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&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: TJ Developer (tjdeveloper) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32-215.win32-py2.6.exe ERROR Initial Comment: So after struggling with errors trying to use the 64 bit version of PythonWin, I learned that my application can only interface with the 32 bit version. So I uninstalled EVERYTHING today and decided to start over. Due to the constraints of my application (ArcGIS), I have to use the Python 2.6 version. I downloaded pywin32-215.win32-py2.6.exe, but I'm getting the follow error at the very end of the install: 'import site' failed; use -v for traceback Traceback (most recent call last): File "<string>", line 5, in <module> ImportError: No module named os Any advice on what might be the problem here? Thanks! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190606&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-02-23 20:08:58
|
Bugs item #3190497, was opened at 2011-02-23 12:08 Message generated for change (Tracker Item Submitted) made by cort You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190497&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: Cort Danger Stratton (cort) Assigned to: Nobody/Anonymous (nobody) Summary: Can't run pythonwin with 215-amd64-py3.2 Initial Comment: After installing fresh Python 3.2 and pywin32-215-amd64-py3.2 packages, I get an error when I try to run pythonwin: "The Application can not locate win32ui.pyd (or Python) (126) The Specified module could not be found." In case it's relevant, I also get a stack trace at the end of the installation process: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 332, in install File "<string>", line 15, in write AttributeError: 'NoneType' object has no attribute 'write' Exception AttributeError: "'NoneType' object has no attribute 'flush'" in <__main__.Tee object at 0x0000000004693630> ignored ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3190497&group_id=78018 |