[python-win32] [ANN] pywin32 build 304 released

Steven Manross steven at manross.net
Mon May 2 15:31:15 EDT 2022


Thanks for the new version!

Considering I've been on build 227 forever, I tried upgrading my webserver's pywin32 build to 304 with a base of Activestate Python 3.8 (64-bit), and now I'm getting errors in my ASP pages ("500" Server Error), and in ipython (below).

Ive done all the normal things like restarting IIS, restarting the server, etc.  Ive also uninstalled, removed site-packages\win32 (and win32com + win32ext) and then reinstalled pywin32 (pip install pywin32==304).

Any thoughts would be appreciated.

I have a backup of the server from last night I can restore from if all else fails.

Hopefully the ipython output helps understand where the error is (specified procedure could not be found).

Please and Thank You for any suggestions,
Steven
----------------------------------------
Test ASP page:
<HTML lang="en" xml:lang="en" xmlns= "http://www.w3.org/1999/xhtml">
<meta charset="UTF-8">
<meta name="google" content="notranslate">
<meta http-equiv="Content-Language" content="en">
<BODY>
Test<BR>
<% @ Language = Python %>
<%
Response.Write("Test 2 <BR>")
%>
</BODY>
</HTML>

--------

C:\Users\someuser>ipython
Python 3.8.2 (default, Aug 25 2020, 15:54:26) [MSC v.1900 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.16.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import win32api
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-c0611b6ef873> in <module>
----> 1 import win32api

ImportError: DLL load failed while importing win32api: The specified procedure could not be found.

-----Original Message-----
From: python-win32 <python-win32-bounces+steven=manross.net at python.org> On Behalf Of Mark Hammond
Sent: Monday, May 02, 2022 12:59 AM
To: python-win32 at python.org
Subject: [python-win32] [ANN] pywin32 build 304 released

Hi all,
   I'm happy to announce the release of pywin32 build 304. There are a 
number of changes in this release with the significant ones listed below.

Note:
* There are no .exe installers for 32-bit 3.10+ due to Python dropping 
support for bdist_wininst.

* arm64 wheels for 3.10 and 3.11 64bit versions are available on pypi.

Downloads are available at:

   https://github.com/mhammond/pywin32/releases/tag/b304

and via pypi.

For initial support (eg, to ask questions about the release etc), please 
contact this mailing-list (python-win32 at python.org).  If you want to 
report a bug, please do so at https://github.com/mhammond/pywin32/issues

As always, thanks to everyone who contributed to this release, both in 
terms of code and reporting bugs - there were a number of new 
contributors which is great to see,

Cheers,

Mark.

Changes:

Since build 303:
----------------
* Fixed Unicode issues in the `dde` module (#1861, @markuskimius )

* Add `PRINTER_INFO_6` support for Set/GetPrinter (#1853, @CristiFati)

* Fixed codepage/mojibake issues when non-ascii characters were included
   in COM exceptions raised by Python apps. This should be invisible, but
   might break any workarounds which were used, such as using specific
   encodings in these strings. (#1823, #1833)

* Fixed a bug triggering `win32print.SetJob` to fail due to data type
   (`char*` / `wchar_t*`) mismatch (#1849, @CristiFati)

* Fix eventlog initialization (#1845, #1846, @kxrob)
_______________________________________________
python-win32 mailing list
python-win32 at python.org
https://mail.python.org/mailman/listinfo/python-win32


More information about the python-win32 mailing list