473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

wxAssertFailure (tbar95.cpp(582))

Hi,

This message we get at some winXP machine's after installing the setup.exe
of our compiled CRM program (for free license
http://www.alexion.nl/pynx/registrationalexion.html). We use McMillan and
Inno Setup 4.
Why is xwPython making such a fuss?

C:\Program Files\Alexion Software\Relation Manager\program>arm.exe
Extracting binaries
C:\Program Files\Alexion Software\Relation Manager\program\python23.dll
Manipulating evironment
PYTHONPATH=C:/Program Files/Alexion Software/Relation Manager/program
importing modules from CArchive
iu
archive
Installing import hooks
out1.pyz
Running scripts
bin\buildstdapp\out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is
deprecated; please use fcntl
Traceback (most recent call last):
File "<string>", line 90, in ?
File "bin\buildstdapp\out1.pyz/wxPython.wx", line 1957, in __init__
File "<string>", line 66, in OnInit
File "bin\buildstdapp\out1.pyz/pynx.gui.frame", line 97, in __init__
File "bin\buildstdapp\out1.pyz/wxPython.stattool", line 227, in Realize
wxPython.wxc.wxPyAssertionError: C++ assertion "wxAssertFailure" failed in
e:\Projects\wx2.4\src\msw\tbar95.cpp(582): invalid tool button bitmap
RC: -1 from main
OK.
09:06:53: Debug: e:\Projects\wx2.4\src\msw\app.cpp(407):
'UnregisterClass(MDI parent)' failed with error 0x00000584 (de klasse heeft
nog geopende vensters.).
Jul 18 '05 #1
1 2589
"AnToine van Maarle" <an*****@vanmaarle.nl> writes:
This message we get at some winXP machine's after installing the setup.exe
of our compiled CRM program (for free license
http://www.alexion.nl/pynx/registrationalexion.html). We use McMillan and
Inno Setup 4.
Why is xwPython making such a fuss? (...) File "bin\buildstdapp\out1.pyz/wxPython.stattool", line 227, in Realize
wxPython.wxc.wxPyAssertionError: C++ assertion "wxAssertFailure" failed in
e:\Projects\wx2.4\src\msw\tbar95.cpp(582): invalid tool button bitmap
RC: -1 from main


It's hard to say just from this traceback, but is it possible that
you're not properly packaging up your bitmap file along with the other
parts of your system, and then your code is passing along an incorrect
reference of some sort to wxPython? How does your code currently
handle not finding the bitmap it expects for the toolbar?

If you are sure that your bitmap is available at runtime properly, I'd
probably recommend getting some print statements into your code right
around where it uses the bitmap to ensure that you are in fact passing
the right thing into the wxPython layer.

-- David
Jul 18 '05 #2

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

Similar topics

1
by: omission9 | last post by:
An application I have written is, suddenly it seems, throwing the following error after being left in use for several hours. This does not seem to occur with lighter usage. I am not 100% sure what...
0
by: Vio | last post by:
Hi, I've been trying to embed (statically) wxPy alongside an embedded py interpreter on a linux/gtk box. At one point, for some reason misc.o linking reported "multiple definitions of...
0
by: dimitri pater | last post by:
Hello, To be honest, I also posted this on the wxPython mailing list. But I thought maybe some of you on the python list can help me... I am trying to refresh a pane of a notebook that contains...
1
by: Thomas Heller | last post by:
This is a bugfix release for py2exe 0.6.1. py2exe 0.6.2 released ===================== py2exe is a Python distutils extension which converts python scripts into executable windows programs,...
0
by: =?utf-8?B?5LiA6aaW6K+X?= | last post by:
Hi all! Have u tried genaxmodule.py provided by wxPython to create a wrapper module for an activex control? For me, some times it works, but some times, it doesn't....
19
by: Extremist | last post by:
Hi there, I have an application written in Python 2.3, wxPython 2.4 , C++, OpenGL OS: Fedora Core 3 Now I need to upgrade it using Python 2.4 and wxPython 2.6 OS: Fedora Core 6 There was a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.