473,480 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Python COM Makepy Excel 9.0 error

Has anyone seen this? When I run the COM Makepy utility and choose
Microsoft Excel 9.0 Object Library (1.3), I get an application error
message:

PythonWin: Pythonwin.exe - Application Error
The instruction at "0x77fcc87" referenced memory at "0x0307a705". The
memory could not be "read".

I do not get this error when I choose the Microsoft Office 9.0 Object
Library (2.1).

I have tried this from one other computer and got a similar error
message. I looked all over the 'net for enlightenment and have so far
been unsuccessful. Does anyone have an idea what can be going on and
how to get around it?

I am using Python 2.4 under Windows 2000SP4. I have also installed
pywin32 (build 203 for Python 2.4) and py2exe-0.5.4 for Python 2.4.

Python 2.3 and the COM Makepy utility (Python 2.3 version) seems to run
okay.

I am writing a rather complicated set of instructions to manipulate a
series of Excel 2000 spreadsheets and have already added quite a few of
the features from Python 2.4, so I hope I do not have to revert back to
Python 2.3. Any suggestions?

Thank you, in advance,
Christopher D. Morgan, P.E., Ph.D.

Jul 18 '05 #1
2 2160
nv*****@gmail.com wrote:
Has anyone seen this? When I run the COM Makepy utility and choose
Microsoft Excel 9.0 Object Library (1.3), I get an application error
message:

PythonWin: Pythonwin.exe - Application Error
The instruction at "0x77fcc87" referenced memory at "0x0307a705". The
memory could not be "read".

I do not get this error when I choose the Microsoft Office 9.0 Object
Library (2.1).

I have tried this from one other computer and got a similar error
message. I looked all over the 'net for enlightenment and have so far
been unsuccessful. Does anyone have an idea what can be going on and
how to get around it?

I am using Python 2.4 under Windows 2000SP4. I have also installed
pywin32 (build 203 for Python 2.4) and py2exe-0.5.4 for Python 2.4.

Python 2.3 and the COM Makepy utility (Python 2.3 version) seems to run
okay.

I am writing a rather complicated set of instructions to manipulate a
series of Excel 2000 spreadsheets and have already added quite a few of
the features from Python 2.4, so I hope I do not have to revert back to
Python 2.3. Any suggestions?

Thank you, in advance,
Christopher D. Morgan, P.E., Ph.D.

I experienced similar problems when moving some code from Python 2.3 to
Python 2.4. Seems that running "makepy -d ..." works. See Mark
Hammond's explanation at:

http://mail.python.org/pipermail/pyt...er/002743.html
[python-win32] WMI scripting makepy error with ActivePython 2.4.0

HTH,
Jim Sizelove
Jul 18 '05 #2
Thank you! That did the trick.

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
35469
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
5
2532
by: Reinhard Koenig | last post by:
Hello, I' m using Python 2.3, win32all-157 under W2K. I've applied the makepy utility for the Word 8.0 object library. I now receive: Python 2.3.1 (#47, Sep 23 2003, 23:47:32) on win32 Type...
3
2982
by: Annie | last post by:
I am trying to call a COM object which expects a variant datatype to be passed in to the COM API object. However, I get "<COMObject <unknown>>" and the program fails. Below is my code in Python,...
2
4004
by: Svenn-Ivar Svendsen | last post by:
Hi, I use the makepy tool in pythonwin to generate wrappers for my connection point (event) interfaces in a project. It works fine. The question is; Is it possible, in a python script, to detect...
0
1726
by: Puneet Jain | last post by:
I am tryin to use Microsoft Works Wordprocessor from Python After generating the .py module from the type library using makepy utility, I runt he following commands, >>> from win32com.client...
1
1656
by: Matthew | last post by:
Hi: I recently installed Python 2.4 and the Win 32 extensions on Windows XP. I had some problems with the COM makepy utility for the Excel COM libraries. I reported this problem to the...
3
1797
by: Mudcat | last post by:
Howdy, I could have sworn I downloaded a version of python win that supported object library 11.0 at some point. However I just downloaded versions 204 and 203, and the highest version they have...
3
3981
by: dan_roman | last post by:
Hi, I developed a script with a nice interface in Tkinter that allows me to edit some formulas and to generate an Excel worksheet with VBA macros within it. The script runs perfectlly in Office...
4
3434
by: suzhi18 | last post by:
Hallo, I've a problem getting makepy running. When I start the tool on my machine with doubleclick everything is fine. But when I try this in my Code: makepy.py -i "Microsoft Excel 11.0...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7032
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6730
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.