pywin32-bugs Mailing List for Python for Windows Extensions (Page 19)
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-08-20 21:11:37
|
Bugs item #3395490, was opened at 2011-08-20 14:42 Message generated for change (Comment added) made by dug9 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3395490&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: dug9 (dug9) Assigned to: Nobody/Anonymous (nobody) Summary: blender python hard to install to Initial Comment: opensource Blender.org uses python and their current release B259 has a 'private copy' of python 31, complete with python and python/lib directories. I use the .zip download of blender, and unzip it to C:, so its python directory is like this: C:\blender-2.59-windows32\2.59\python I also have python installed the usual way, to C:\Python31. Your / the win32 extension installer sees the Registry value and path for regular python, and installs to that python, but does;t let me pick the blender path. If I copy site_packages from the regular python to the blender python, blender python can't find win32com.client - no module. If I hack the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.1\InstallPath > Default C:\Python31\ and change it to C:\blender-2.59-windows32\2.59\python then your / the installer correctly gets the directory, and installs it to the blender python, but the installer bombs before finishing - something about 'string'. And so blender can't find the win32com.client module. (The regular python -run from IDLE- has no problem) Thanks. more... I was using a .net thing http://pythonnet.sourceforge.net/ to wrap EarthLib (googleEarth http://earth.google.com/comapi/index.html) COM, but that pythondotnet has fallen behind (python27 is the last binary) and needs a Pro version of visual studio to build (I have free Express edition) so I can't hack it. The goal of using EarthLib from Blender is to do snapshots of the terrain, put them into blender as textured mesh, so artists can use Blender instead of Sketchup to model buildings for googleEarth or X3D deployment. ---------------------------------------------------------------------- >Comment By: dug9 (dug9) Date: 2011-08-20 15:11 Message: PS to launch googleEarth using win32Com.client: from win32com.client import Dispatch ge = Dispatch('GoogleEarth.ApplicationGE') ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3395490&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-08-20 20:42:03
|
Bugs item #3395490, was opened at 2011-08-20 14:42 Message generated for change (Tracker Item Submitted) made by dug9 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3395490&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: dug9 (dug9) Assigned to: Nobody/Anonymous (nobody) Summary: blender python hard to install to Initial Comment: opensource Blender.org uses python and their current release B259 has a 'private copy' of python 31, complete with python and python/lib directories. I use the .zip download of blender, and unzip it to C:, so its python directory is like this: C:\blender-2.59-windows32\2.59\python I also have python installed the usual way, to C:\Python31. Your / the win32 extension installer sees the Registry value and path for regular python, and installs to that python, but does;t let me pick the blender path. If I copy site_packages from the regular python to the blender python, blender python can't find win32com.client - no module. If I hack the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.1\InstallPath > Default C:\Python31\ and change it to C:\blender-2.59-windows32\2.59\python then your / the installer correctly gets the directory, and installs it to the blender python, but the installer bombs before finishing - something about 'string'. And so blender can't find the win32com.client module. (The regular python -run from IDLE- has no problem) Thanks. more... I was using a .net thing http://pythonnet.sourceforge.net/ to wrap EarthLib (googleEarth http://earth.google.com/comapi/index.html) COM, but that pythondotnet has fallen behind (python27 is the last binary) and needs a Pro version of visual studio to build (I have free Express edition) so I can't hack it. The goal of using EarthLib from Blender is to do snapshots of the terrain, put them into blender as textured mesh, so artists can use Blender instead of Sketchup to model buildings for googleEarth or X3D deployment. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3395490&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-08-13 00:54:14
|
Bugs item #3390456, was opened at 2011-08-12 19:39 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3390456&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: Accepted Priority: 5 Private: No Submitted By: adiroiban () Assigned to: Nobody/Anonymous (nobody) Summary: pywintypes must be explicitly imported before win32api Initial Comment: Hi, I just want to raise awareness of this bug that affects Twisted on Windows using a 'portable' Python installation. http://twistedmatrix.com/trac/ticket/3868 it looks like the following import will fail from win32api import OpenProcess import pywintypes while changing the import order fixed the problem. from win32api import OpenProcess import pywintypes ---- This only happend if I call python.exe from another working folder as the one hosting the python.exe file. All DLLs are in the same folder as python.exe I am thinking that win32api is only trying to load the dlls from the current working folder, not the one hosting the python.exe. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-08-13 10:54 Message: I think we will find that the magic done in pywintypes.py to locate and load the pywintypesxx.dll module is what fixes the problem in most cases - without that import I expect it is that DLL which can't be located when importing win32api. I'm not sure what a fix is though. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3390456&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-08-12 09:39:04
|
Bugs item #3390456, was opened at 2011-08-12 09:39 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3390456&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: adiroiban () Assigned to: Nobody/Anonymous (nobody) Summary: pywintypes must be explicitly imported before win32api Initial Comment: Hi, I just want to raise awareness of this bug that affects Twisted on Windows using a 'portable' Python installation. http://twistedmatrix.com/trac/ticket/3868 it looks like the following import will fail from win32api import OpenProcess import pywintypes while changing the import order fixed the problem. from win32api import OpenProcess import pywintypes ---- This only happend if I call python.exe from another working folder as the one hosting the python.exe file. All DLLs are in the same folder as python.exe I am thinking that win32api is only trying to load the dlls from the current working folder, not the one hosting the python.exe. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3390456&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-08-10 06:54:08
|
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-08-10 16:54 Message: It is fixed in hg - I hope to release a new binary within a month or so. ---------------------------------------------------------------------- Comment By: Aneesh (aneeshmbaby) Date: 2011-08-10 16:44 Message: Hi, When we can expect a fix for this issue? We have one product which makes use of this and would like to go for a release of that with Python 3.2 and PyWin32 3.2. Thanks a lot Aneesh ---------------------------------------------------------------------- Comment By: Aneesh (aneeshmbaby) Date: 2011-07-25 21:50 Message: I am also facing same problem. Today I tried to install pywin32-216.win32-py3.1.exe on two different Windows 7 Pro 32 bit machines and this issue was there always. It got installed fine on a Windows XP machine. The work around mentioned by masinghal helped in installing it but that is not good enough for us. Would like to have a solution for this quickly... Thanks, Aneesh ---------------------------------------------------------------------- Comment By: masinghal () Date: 2011-07-13 08:30 Message: I ran the postinstall script manually and it failed while creating shortcuts. It is actually trying to find the "python 3.2" folder in my user profile roaming data folder. However, python32 is installed for all users so it does not find the python 3.2 folder and fails. Easiest fix was to create the "Python 3.2" folder. Better fix would be to modify the script so that it finds the right folder. C:\Python32\Scripts>pywin32_postinstall.py -install Copied pythoncom32.dll to C:\Windows\system32\pythoncom32.dll Copied pythoncomloader32.dll to C:\Windows\system32\pythoncomloader32.dll Copied pywintypes32.dll to C:\Windows\system32\pywintypes32.dll Registered: Python.Interpreter Registered: Python.Dictionary Registered: Python -> Software\Python\PythonCore\3.2\Help[None]=None -> Software\Python\PythonCore\3.2\Help\Pythonwin Reference[None]='C:\\Python32\\ Lib\\site-packages\\PyWin32.chm' Pythonwin has been registered in context menu Can't install shortcuts - 'C:\\Users\\singhalm\\AppData\\Roaming\\Microsoft\\Win dows\\Start Menu\\Programs\\Python 3.2' is not a folder The pywin32 extensions were successfully installed. ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-11 10: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 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-08-10 06:44:27
|
Bugs item #3192904, was opened at 2011-02-26 09:11 Message generated for change (Comment added) made by aneeshmbaby 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: Aneesh (aneeshmbaby) Date: 2011-08-10 12:14 Message: Hi, When we can expect a fix for this issue? We have one product which makes use of this and would like to go for a release of that with Python 3.2 and PyWin32 3.2. Thanks a lot Aneesh ---------------------------------------------------------------------- Comment By: Aneesh (aneeshmbaby) Date: 2011-07-25 17:20 Message: I am also facing same problem. Today I tried to install pywin32-216.win32-py3.1.exe on two different Windows 7 Pro 32 bit machines and this issue was there always. It got installed fine on a Windows XP machine. The work around mentioned by masinghal helped in installing it but that is not good enough for us. Would like to have a solution for this quickly... Thanks, Aneesh ---------------------------------------------------------------------- Comment By: masinghal () Date: 2011-07-13 04:00 Message: I ran the postinstall script manually and it failed while creating shortcuts. It is actually trying to find the "python 3.2" folder in my user profile roaming data folder. However, python32 is installed for all users so it does not find the python 3.2 folder and fails. Easiest fix was to create the "Python 3.2" folder. Better fix would be to modify the script so that it finds the right folder. C:\Python32\Scripts>pywin32_postinstall.py -install Copied pythoncom32.dll to C:\Windows\system32\pythoncom32.dll Copied pythoncomloader32.dll to C:\Windows\system32\pythoncomloader32.dll Copied pywintypes32.dll to C:\Windows\system32\pywintypes32.dll Registered: Python.Interpreter Registered: Python.Dictionary Registered: Python -> Software\Python\PythonCore\3.2\Help[None]=None -> Software\Python\PythonCore\3.2\Help\Pythonwin Reference[None]='C:\\Python32\\ Lib\\site-packages\\PyWin32.chm' Pythonwin has been registered in context menu Can't install shortcuts - 'C:\\Users\\singhalm\\AppData\\Roaming\\Microsoft\\Win dows\\Start Menu\\Programs\\Python 3.2' is not a folder The pywin32 extensions were successfully installed. ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-11 05:06 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 14:37 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 14:19 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 14:11 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 06:12 Message: 216 build, 64-bit installed OK. I didn't try the 32-bit version. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-08 03:02 Message: Do you have the same problem in build 216? ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 00:31 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-08-03 17:38:18
|
Bugs item #3385752, was opened at 2011-08-03 11:38 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3385752&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: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: Byte Range Lock API incorrectly uses signed int for lock len Initial Comment: The win32 api for byte range locks, LockFileEx etc specifies unsigned (DWORD) arguments for the length of the lock. The Pywin32 api uses signed int, making it impossible to request some locks that would be allowed using the native wine32 api. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3385752&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-25 11:50:26
|
Bugs item #3192904, was opened at 2011-02-26 09:11 Message generated for change (Comment added) made by aneeshmbaby 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: Aneesh (aneeshmbaby) Date: 2011-07-25 17:20 Message: I am also facing same problem. Today I tried to install pywin32-216.win32-py3.1.exe on two different Windows 7 Pro 32 bit machines and this issue was there always. It got installed fine on a Windows XP machine. The work around mentioned by masinghal helped in installing it but that is not good enough for us. Would like to have a solution for this quickly... Thanks, Aneesh ---------------------------------------------------------------------- Comment By: masinghal () Date: 2011-07-13 04:00 Message: I ran the postinstall script manually and it failed while creating shortcuts. It is actually trying to find the "python 3.2" folder in my user profile roaming data folder. However, python32 is installed for all users so it does not find the python 3.2 folder and fails. Easiest fix was to create the "Python 3.2" folder. Better fix would be to modify the script so that it finds the right folder. C:\Python32\Scripts>pywin32_postinstall.py -install Copied pythoncom32.dll to C:\Windows\system32\pythoncom32.dll Copied pythoncomloader32.dll to C:\Windows\system32\pythoncomloader32.dll Copied pywintypes32.dll to C:\Windows\system32\pywintypes32.dll Registered: Python.Interpreter Registered: Python.Dictionary Registered: Python -> Software\Python\PythonCore\3.2\Help[None]=None -> Software\Python\PythonCore\3.2\Help\Pythonwin Reference[None]='C:\\Python32\\ Lib\\site-packages\\PyWin32.chm' Pythonwin has been registered in context menu Can't install shortcuts - 'C:\\Users\\singhalm\\AppData\\Roaming\\Microsoft\\Win dows\\Start Menu\\Programs\\Python 3.2' is not a folder The pywin32 extensions were successfully installed. ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-11 05:06 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 14:37 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 14:19 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 14:11 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 06:12 Message: 216 build, 64-bit installed OK. I didn't try the 32-bit version. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-03-08 03:02 Message: Do you have the same problem in build 216? ---------------------------------------------------------------------- Comment By: johanfo () Date: 2011-03-08 00:31 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-07-23 15:47:31
|
Bugs item #3376041, was opened at 2011-07-23 00:17 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3376041&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: Fixed Priority: 5 Private: No Submitted By: Jamie (polygnwnd) Assigned to: Nobody/Anonymous (nobody) Summary: Nondeterministic results from win32net.NetFileEnum Initial Comment: On a Windows Server 2008 (really Windows Home Server 2011) system I reliably receive no results for a simple script containing only an import statement and "print win32net.NetFileEnum(3)" when the "openfiles" command returns accurate results (multiple files open). Unexpectedly, see correct results from win32net by duplicating the "print win32net.NetFileEnum(3)" line twice. If I print the empty dictionary to stdout and then print what should be the same result a second time I get correct data instead of an empty dictionary. Part of the oddity is that the print statement in the first call is a necessity. If I assign the results from the first NetFileEnum call to a variable or simply call and ignore the result then the second call always receives an empty dictionary. This is reproducible after rebooting and in the interactive interpreter System is Windows 2008 x64 running Python 2.7.2 x64 and pywin32-216 ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-23 10:47 Message: The resume handle wasn't properly initialized, fixed in win32netfile.cpp r4149. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3376041&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-23 05:17:54
|
Bugs item #3376041, was opened at 2011-07-23 05:17 Message generated for change (Tracker Item Submitted) made by polygnwnd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3376041&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: Jamie (polygnwnd) Assigned to: Nobody/Anonymous (nobody) Summary: Nondeterministic results from win32net.NetFileEnum Initial Comment: On a Windows Server 2008 (really Windows Home Server 2011) system I reliably receive no results for a simple script containing only an import statement and "print win32net.NetFileEnum(3)" when the "openfiles" command returns accurate results (multiple files open). Unexpectedly, see correct results from win32net by duplicating the "print win32net.NetFileEnum(3)" line twice. If I print the empty dictionary to stdout and then print what should be the same result a second time I get correct data instead of an empty dictionary. Part of the oddity is that the print statement in the first call is a necessity. If I assign the results from the first NetFileEnum call to a variable or simply call and ignore the result then the second call always receives an empty dictionary. This is reproducible after rebooting and in the interactive interpreter System is Windows 2008 x64 running Python 2.7.2 x64 and pywin32-216 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3376041&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-16 18:46:04
|
Bugs item #2808783, was opened at 2009-06-18 22:44 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2808783&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: James Abbatiello (abbeyj) Assigned to: Nobody/Anonymous (nobody) Summary: Broken debug print statement in find_platform_sdk_dir() Initial Comment: In setup.py:find_platform_sdk_dir() there's a debug print statement: if DEBUG: print "PSDK: try %MSSdk%: '%s'" % sdkdir If you turn on DEBUG and have the MSSdk variable set in your environment then this will crash because the percent signs around "MSSdk" are treated as format specifiers. Trivial patch attached. ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-16 13:46 Message: Thanks, committed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2808783&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-16 08:47:11
|
Bugs item #2271571, was opened at 2008-11-12 15:16 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2271571&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: Richard Stockford (rstockford) Assigned to: Nobody/Anonymous (nobody) Summary: Browse PythonPath fails Initial Comment: With Python 2.5.2 and PyWin 2.5.2, both installed cleanly on a new XP SP2 machine, everything works as before except Browse PythonPath on the PyWin Tools menu, which gives the following error. (Edit Python Path produces a blank screen also.) >>> Failed to execute command: from pywin.tools import browseProjects;browseProjects.Browse() Traceback (most recent call last): File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\toolmenu.py", line 103, in HandleToolCommand exec "%s\n" % pyCmd File "<string>", line 1, in <module> File "C:\Python25\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 251, in DockablePathBrowser bar.CreateWindow(win32ui.GetMainFrame(), DockableBrowserCreator, "Path Browser", 0x8e0a) File "C:\Python25\Lib\site-packages\pythonwin\pywin\docking\DockingBar.py", line 72, in CreateWindow self.dialog = apply(childCreator, (self,) + childCreatorArgs) File "C:\Python25\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 245, in DockableBrowserCreator list = hl.HierInit (parent, control) File "C:\Python25\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 93, in HierInit self.AcceptRoot(self.root) File "C:\Python25\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 221, in AcceptRoot subItems = self.GetSubList(root) File "C:\Python25\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 269, in GetSubList return self.DelegateCall(item.GetSubList) File "C:\Python25\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 256, in DelegateCall return fn() File "C:\Python25\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 178, in GetSubList hKey = win32api.RegOpenKey(regutil.GetRootKey(), keyStr) error: (2, 'RegOpenKeyEx', 'The system cannot find the file specified.') ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-16 03:47 Message: See bug #3296287 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2271571&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-16 08:43:41
|
Bugs item #2803562, was opened at 2009-06-09 10:06 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2803562&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: Pending Resolution: None Priority: 5 Private: No Submitted By: Matthew Honour (mhonour) Assigned to: Nobody/Anonymous (nobody) Summary: win32security.LsaRetrievePrivateData Fails for DCOM password Initial Comment: I get 'The system cannot find the file specified' when trying to call LsaRetrievePrivateData to retrieve a DCOM user password. Calling LsaStorePrivateData for a DCOM user creates a second entry in LSA rather than updating the current entry. Primarily I want this functionality to automate the setting of DCOM passwords. ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import win32security >>> handle= win32security.LsaOpenPolicy(None, win32security.POLICY_GET_PRIVATE_INFORMATION) >>> win32security.LsaRetrievePrivateData(handle, 'SCM:{73FDDC80-AEA9-101A-98A7-00AA00374959}') File "<stdin>", line 1, in <module> pywintypes.error: (2, 'LsaRetrievePrivateData', 'The system cannot find the file specified.') Where {73FDDC80-AEA9-101A-98A7-00AA00374959} is a valid AppId which does have a RunAs password set. If I use the SrvcMgmt.cpp sample Microsoft mention in the KB article below, I can successfully read the password. If I modify win32security and recompile, I can successfully read the password. This appears to be a Microsoft shortcoming: http://support.microsoft.com/kb/259615 whereby the NULL terminator must be included when calculating the length of the keyname - the behaviour seems inconsistent. Reading the KB arcticle, it sounds like this only applies to LsaRetrievePrivateData / LsaStorePrivateData, whereas win32security uses the function PyWinObject_AsLSA_UNICODE_STRING which is used more widely. More confusing still, trying to retrieve $MACHINE.ACC from LSA works if length doesn't include the NULL terminator (the way win32security currently does it), but fails if length does include the NULL - so the behaviour is different depending on which passwords you are trying to access. ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-16 03:43 Message: Manually adding a null to the end of the key seems to work for me, ie use 'SCM:{73FDDC80-AEA9-101A-98A7-00AA00374959}\0' ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2803562&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-16 07:48:39
|
Bugs item #2928439, was opened at 2010-01-08 13:40 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2928439&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: Fixed Priority: 5 Private: No Submitted By: asklucas (asklucas) Assigned to: Nobody/Anonymous (nobody) Summary: win32com.mapi.mapi missing in 3.1 release? Initial Comment: I'm just a Python newbie so forgive me, if I did something wrong. The demo mapisend.py works fine using the 2.6 release, but using the 3.1 release I get the error below. I also noticed that the library mapi.pyd ist missing in 3.1. PythonWin 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. Traceback (most recent call last): File "C:\dev\Python31\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 322, in RunScript debugger.run(codeObject, __main__.__dict__, start_stepping=0) File "C:\dev\Python31\Lib\site-packages\pythonwin\pywin\debugger\__init__.py", line 60, in run _GetCurrentDebugger().run(cmd, globals,locals, start_stepping) File "C:\dev\Python31\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 655, in run exec(cmd, globals, locals) File "C:\dev\PyMAPIAddMailbox\mapisend.py", line 9, in <module> from win32com.mapi import mapi ImportError: cannot import name mapi >>> from win32com.mapi import mapi Traceback (most recent call last): File "<interactive input>", line 1, in <module> ImportError: cannot import name mapi >>> from win32com.mapi import mapitags >>> ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-16 02:48 Message: Mapi will now build for py3k and should be in the next release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2928439&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-16 07:32:44
|
Bugs item #3026235, was opened at 2010-07-07 04:01 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3026235&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: Fixed Priority: 5 Private: No Submitted By: Tim Golden (tjgolden) Assigned to: Nobody/Anonymous (nobody) Summary: adsi not built under py3k Initial Comment: The adsi module isn't being built under py3k (it's specifically excluded by setup.py). Is this because of a lack of round tuits, or is there something which would prevent it ever working? ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-16 02:32 Message: Swig now builds this module for Py3k. ---------------------------------------------------------------------- Comment By: Roger Upole (rupole) Date: 2010-07-12 05:59 Message: The biggest impediment is the custom version of swig used to generate com extension modules in 2.x. The source is apparently no longer available, and it will take a good deal of work to duplicate what it generates in our custom py3k port of swig. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3026235&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-16 07:14:35
|
Bugs item #3296287, was opened at 2011-05-02 10:16 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3296287&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: Richard Stockford (stockford) Assigned to: Nobody/Anonymous (nobody) Summary: Browse PythonPath fails Initial Comment: On a new Vista machine, I installed Py 3.2 and pywin32-216.win-amd64-py3.2 with no errors. PyWin works, but Tools\Browse PythonPath fails as follows: >>> Failed to execute command: from pywin.tools import browseProjects;browseProjects.Browse() Traceback (most recent call last): File "C:\Python32\Lib\site-packages\pythonwin\pywin\framework\toolmenu.py", line 103, in HandleToolCommand exec("%s\n" % pyCmd) File "<string>", line 1, in <module> File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 254, in DockablePathBrowser bar.CreateWindow(win32ui.GetMainFrame(), DockableBrowserCreator, "Path Browser", 0x8e0a) File "C:\Python32\Lib\site-packages\pythonwin\pywin\docking\DockingBar.py", line 74, in CreateWindow self.dialog = childCreator(*(self,) + childCreatorArgs) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 248, in DockableBrowserCreator list = hl.HierInit (parent, control) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 102, in HierInit self.AcceptRoot(self.root) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 238, in AcceptRoot subItems = self.GetSubList(root) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 286, in GetSubList return self.DelegateCall(item.GetSubList) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 273, in DelegateCall return fn() File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 181, in GetSubList hKey = win32api.RegOpenKey(regutil.GetRootKey(), keyStr) pywintypes.error: (2, 'RegOpenKeyEx', 'The system cannot find the file specified.') >>> Reinstall / repair of Py and PyWin makes no difference. Any advice gratefully received. Interestingly [?] this is almost an exact duplicate of my last post [2271571 of 081112, when the same error occurred on a new XP machine with an earlier version of Py, 2.5.2. I never did fix this and used the default path for everything. ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-16 02:14 Message: GetRootKey has been changed to check HKCU first. ---------------------------------------------------------------------- Comment By: Roger Upole (rupole) Date: 2011-07-12 15:16 Message: regutil.GetRootKey always return HKLM, but it should be looking in HKCU when installed per-user. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3296287&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-12 22:30:07
|
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: masinghal () Date: 2011-07-12 22:30 Message: I ran the postinstall script manually and it failed while creating shortcuts. It is actually trying to find the "python 3.2" folder in my user profile roaming data folder. However, python32 is installed for all users so it does not find the python 3.2 folder and fails. Easiest fix was to create the "Python 3.2" folder. Better fix would be to modify the script so that it finds the right folder. C:\Python32\Scripts>pywin32_postinstall.py -install Copied pythoncom32.dll to C:\Windows\system32\pythoncom32.dll Copied pythoncomloader32.dll to C:\Windows\system32\pythoncomloader32.dll Copied pywintypes32.dll to C:\Windows\system32\pywintypes32.dll Registered: Python.Interpreter Registered: Python.Dictionary Registered: Python -> Software\Python\PythonCore\3.2\Help[None]=None -> Software\Python\PythonCore\3.2\Help\Pythonwin Reference[None]='C:\\Python32\\ Lib\\site-packages\\PyWin32.chm' Pythonwin has been registered in context menu Can't install shortcuts - 'C:\\Users\\singhalm\\AppData\\Roaming\\Microsoft\\Win dows\\Start Menu\\Programs\\Python 3.2' is not a folder The pywin32 extensions were successfully installed. ---------------------------------------------------------------------- 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-07-12 20:16:59
|
Bugs item #3296287, was opened at 2011-05-02 10:16 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3296287&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: Richard Stockford (stockford) Assigned to: Nobody/Anonymous (nobody) Summary: Browse PythonPath fails Initial Comment: On a new Vista machine, I installed Py 3.2 and pywin32-216.win-amd64-py3.2 with no errors. PyWin works, but Tools\Browse PythonPath fails as follows: >>> Failed to execute command: from pywin.tools import browseProjects;browseProjects.Browse() Traceback (most recent call last): File "C:\Python32\Lib\site-packages\pythonwin\pywin\framework\toolmenu.py", line 103, in HandleToolCommand exec("%s\n" % pyCmd) File "<string>", line 1, in <module> File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 254, in DockablePathBrowser bar.CreateWindow(win32ui.GetMainFrame(), DockableBrowserCreator, "Path Browser", 0x8e0a) File "C:\Python32\Lib\site-packages\pythonwin\pywin\docking\DockingBar.py", line 74, in CreateWindow self.dialog = childCreator(*(self,) + childCreatorArgs) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 248, in DockableBrowserCreator list = hl.HierInit (parent, control) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 102, in HierInit self.AcceptRoot(self.root) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 238, in AcceptRoot subItems = self.GetSubList(root) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 286, in GetSubList return self.DelegateCall(item.GetSubList) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 273, in DelegateCall return fn() File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 181, in GetSubList hKey = win32api.RegOpenKey(regutil.GetRootKey(), keyStr) pywintypes.error: (2, 'RegOpenKeyEx', 'The system cannot find the file specified.') >>> Reinstall / repair of Py and PyWin makes no difference. Any advice gratefully received. Interestingly [?] this is almost an exact duplicate of my last post [2271571 of 081112, when the same error occurred on a new XP machine with an earlier version of Py, 2.5.2. I never did fix this and used the default path for everything. ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-12 15:16 Message: regutil.GetRootKey always return HKLM, but it should be looking in HKCU when installed per-user. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3296287&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-12 05:57:52
|
Feature Requests item #2830589, was opened at 2009-07-31 17:36 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=2830589&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: Fixed Priority: 5 Private: No Submitted By: jpoliv (jpoliv) Assigned to: Nobody/Anonymous (nobody) Summary: RFE: Vista/2008 service - "Automatically (Delayed Start)" Initial Comment: Context: Services in Windows Vista and Windows 2008 have a fourth startup type value - "Automatic (Delayed Start)" - that isn't available through the --startup command line option of a python windows service script. Description of the problem: Currently the --startup command line option only supports the "Manual", "Automatic", and "Disabled" values. Expected results: Having the fourth option "Automatically (Delayed Start)" available through the --startup command line option /jpo ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-12 00:57 Message: Startup type "delayed" has been added to win32serviceutil. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=2830589&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-12 05:04:42
|
Bugs item #3363789, was opened at 2011-07-12 14:53 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3363789&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: Invalid Priority: 5 Private: No Submitted By: Andrew (neo_bahamut) Assigned to: Nobody/Anonymous (nobody) Summary: Installer won't accept an alternative directory Initial Comment: I have a 64-bit install of the standard CPython (3.2) and I am able to install the 64-bit package of pywin32 to it without a problem. However, I need to have a 32-bit Python directory (not installed as the default Python), so that I can create 32-bit binaries with cx_Freeze. I cannot add pywin32 to the 32-bit Python's directory because the pywin32 installer (pywin32-216.1.win32-py3.2.exe) doesn't allow installation to an arbitrary directory. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-07-12 15:04 Message: This is a problem with the builtin distutils rather than pywin32. However, you can probably work around it with some registry hacks. As 32bit and 64bit processes have different views of the registry, there is no problem installing both. If you edit the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\3.2\InstallPath To point at your 32bit install, the pywin32 installer should happy install there. Note that installing the 32bit Python should have already added an entry there pointing at where you installed it. The 64bit version of Python will use the same key but without the Wow6432Node part of the key. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3363789&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-12 04:53:28
|
Bugs item #3363789, was opened at 2011-07-11 23:53 Message generated for change (Tracker Item Submitted) made by neo_bahamut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3363789&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: Andrew (neo_bahamut) Assigned to: Nobody/Anonymous (nobody) Summary: Installer won't accept an alternative directory Initial Comment: I have a 64-bit install of the standard CPython (3.2) and I am able to install the 64-bit package of pywin32 to it without a problem. However, I need to have a 32-bit Python directory (not installed as the default Python), so that I can create 32-bit binaries with cx_Freeze. I cannot add pywin32 to the 32-bit Python's directory because the pywin32 installer (pywin32-216.1.win32-py3.2.exe) doesn't allow installation to an arbitrary directory. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3363789&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-11 18:06:10
|
Feature Requests item #3362200, was opened at 2011-07-10 15:59 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3362200&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: Fixed Priority: 5 Private: No Submitted By: George Prekas (prekgeo) Assigned to: Nobody/Anonymous (nobody) Summary: EnumServicesStatusEx Initial Comment: Please implement EnumServicesStatusEx. http://msdn.microsoft.com/en-us/library/ms682640%28v=VS.85%29.aspx ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-11 13:06 Message: Added to win32service (changeset 4145) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3362200&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-10 20:59:41
|
Feature Requests item #3362200, was opened at 2011-07-10 23:59 Message generated for change (Tracker Item Submitted) made by prekgeo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3362200&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: George Prekas (prekgeo) Assigned to: Nobody/Anonymous (nobody) Summary: EnumServicesStatusEx Initial Comment: Please implement EnumServicesStatusEx. http://msdn.microsoft.com/en-us/library/ms682640%28v=VS.85%29.aspx ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=3362200&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-06 23:12:34
|
Bugs item #3356683, was opened at 2011-07-07 03:05 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3356683&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: Pending Resolution: None Priority: 5 Private: No Submitted By: LMO (rzn8tr) Assigned to: Nobody/Anonymous (nobody) Summary: Import Error: DLL load Failed Win XP Pro Initial Comment: Installed python 2.7, installed pywin32-216 without problems Uninstalled python 2.7, pywin32 Installed python 2.6 When installing pywin32-216 (or -215, same result), setup dialog shows: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 314, in install File "<string>", line 152, in LoadSystemModule ImportError: DLL load failed: The specified module could not be found. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-07-07 09:12 Message: I suspect you need the VS redistributables from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3356683&group_id=78018 |
From: SourceForge.net <no...@so...> - 2011-07-06 17:05:46
|
Bugs item #3356683, was opened at 2011-07-06 10:05 Message generated for change (Tracker Item Submitted) made by rzn8tr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3356683&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: LMO (rzn8tr) Assigned to: Nobody/Anonymous (nobody) Summary: Import Error: DLL load Failed Win XP Pro Initial Comment: Installed python 2.7, installed pywin32-216 without problems Uninstalled python 2.7, pywin32 Installed python 2.6 When installing pywin32-216 (or -215, same result), setup dialog shows: Traceback (most recent call last): File "<string>", line 604, in <module> File "<string>", line 314, in install File "<string>", line 152, in LoadSystemModule ImportError: DLL load failed: The specified module could not be found. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3356683&group_id=78018 |