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

2022-05-02 Thread Steven Manross
Solved.  Huge thanks for pointing me to what I should have read to begin with.  
 ☹

Thank you very much!

In case anyone finds this thread...

Solution was to run:

# cd \python38 (where my python was installed):

# python Scripts/pywin32_postinstall.py -install

... per the link Mark provided (post install script is a little above this 
entry point in the article).

https://github.com/mhammond/pywin32/blob/main/README.md#the-specified-procedure-could-not-be-found--entry-point-not-found-errors

Steven
-Original Message-
From: Mark Hammond  
Sent: Monday, May 02, 2022 4:41 PM
To: Steven Manross ; python-win32@python.org
Subject: Re: [python-win32] [ANN] pywin32 build 304 released

On 3/05/2022 5:31 am, Steven Manross wrote:
> 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).

The README has a section dedicated to this - 
https://github.com/mhammond/pywin32/blob/main/README.md#the-specified-procedure-could-not-be-found--entry-point-not-found-errors
 
- tl;dr, you probably have duplicate pywin32 DLLs installed, possibly 
because the different versions were installed using different techniques.

Cheers,

Mark
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


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

2022-05-02 Thread Mark Hammond

On 3/05/2022 5:31 am, Steven Manross wrote:

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).


The README has a section dedicated to this - 
https://github.com/mhammond/pywin32/blob/main/README.md#the-specified-procedure-could-not-be-found--entry-point-not-found-errors 
- tl;dr, you probably have duplicate pywin32 DLLs installed, possibly 
because the different versions were installed using different techniques.


Cheers,

Mark
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


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

2022-05-02 Thread Steven Manross
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:
http://www.w3.org/1999/xhtml;>




Test
<% @ Language = Python %>
<%
Response.Write("Test 2 ")
%>





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)
 in 
> 1 import win32api

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

-Original Message-
From: python-win32  On 
Behalf Of Mark Hammond
Sent: Monday, May 02, 2022 12:59 AM
To: python-win32@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@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@python.org
https://mail.python.org/mailman/listinfo/python-win32
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


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

2022-05-02 Thread Mark Hammond

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@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@python.org
https://mail.python.org/mailman/listinfo/python-win32