I'm still deciding about using Tkinter or wxPython for a project I have
(sigefi, on SF).
The decision is not made, I have to finish first a little program that will
be done in both GUIs, and then make a choice (I'll write something about the
experiment, I'll let you know).
In this context, I got worried when a friend of mine (codeveloper of sigefi)
could not install PyNSource because wxPythonGTK been always using private
methods from GTK, and now that GTK does not have them anymore, don't work.
The bug is 915333
( http://sourceforge.net/tracker/index...33&group_id=98
63&atid=109863).
The problem is that it's actually closed but not fixed, so I'm worried about
the viability of wxPython in GTK.
Do you know something about this?
Thank you!
.. Facundo 6 1946
Batista, Facundo wrote: In this context, I got worried when a friend of mine (codeveloper of sigefi) could not install PyNSource because wxPythonGTK been always using private methods from GTK, and now that GTK does not have them anymore, don't work.
The bug is 915333 (http://sourceforge.net/tracker/index...33&group_id=98 63&atid=109863).
The problem is that it's actually closed but not fixed, so I'm worried about the viability of wxPython in GTK.
My _guess_ is they'll have to fix it, and sooner rather than later. Wx is in
widespread use under Linux, and they managed to break it completely under
(among others) Fedora Core 2:
In [2]: import wx
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/home/fperez/code/python/vis3d/<console>
/usr/lib/python2.3/site-packages/wx/__init__.py
43 __revision__ = "$Revision: 1.1.2.4 $"[11:-2]
44
---> 45 from wxPython import wx
46
47 _newnames = {}
/usr/lib/python2.3/site-packages/wxPython/__init__.py
18 # Ensure the main extension module is loaded, in case the add-on
modules
19 # (such as utils,) are used standalone.
---> 20 import wxc
21
22
#----------------------------------------------------------------------------
ImportError: /usr/lib/libwx_gtk2-2.4.so.0: undefined symbol:
_gtk_accel_group_detach
Essentially in Fedora2, Wx is unusable.
I honestly doubt they can leave such a catastrophic bug alive for long, they'd
shoot themselves in the foot by losing all users, as linux distros migrate
over to current GTK.
So I suspect public pressure will help fix this soon, though I honestly wish it
hadn't happened in the first place (I've lost the usage of some code which
relied on wx).
Cheers,
f
Fernando Perez wrote: Batista, Facundo wrote:
In this context, I got worried when a friend of mine (codeveloper of sigefi) could not install PyNSource because wxPythonGTK been always using private methods from GTK, and now that GTK does not have them anymore, don't work.
The bug is 915333 (http://sourceforge.net/tracker/index...33&group_id=98 63&atid=109863).
The problem is that it's actually closed but not fixed, so I'm worried about the viability of wxPython in GTK.
My _guess_ is they'll have to fix it, and sooner rather than later. Wx is in widespread use under Linux, and they managed to break it completely under (among others) Fedora Core 2:
In [2]: import wx --------------------------------------------------------------------------- ImportError Traceback (most recent call last)
/home/fperez/code/python/vis3d/<console>
/usr/lib/python2.3/site-packages/wx/__init__.py 43 __revision__ = "$Revision: 1.1.2.4 $"[11:-2] 44 ---> 45 from wxPython import wx 46 47 _newnames = {}
/usr/lib/python2.3/site-packages/wxPython/__init__.py 18 # Ensure the main extension module is loaded, in case the add-on modules 19 # (such as utils,) are used standalone. ---> 20 import wxc 21 22 #----------------------------------------------------------------------------
ImportError: /usr/lib/libwx_gtk2-2.4.so.0: undefined symbol: _gtk_accel_group_detach
Essentially in Fedora2, Wx is unusable.
I have four versions of wxPython running successfully on Fedora 2 - wx
2.4.2.4 with GTK, wx 2.5.1.5 with GTK, wx 2.5.1.5 with GTK2 and wx 2.5.2
prerelease with GTK2
The only problem is that certain binary RPMs produced aren't compatible
with Fedora Core 2, because they're built on a RedHat 9 machine
You can rebuild them from source rpms and they work fine. In fact
(checks) ... surprise, surprise, you can get Fedora RPMs from Fedora extras.
Now if you have a problem with that you can complain :-)
David
Batista, Facundo wrote: I'm still deciding about using Tkinter or wxPython for a project I have (sigefi, on SF).
The decision is not made, I have to finish first a little program that will be done in both GUIs, and then make a choice (I'll write something about the experiment, I'll let you know).
In this context, I got worried when a friend of mine (codeveloper of sigefi) could not install PyNSource because wxPythonGTK been always using private methods from GTK, and now that GTK does not have them anymore, don't work.
The bug is 915333 (http://sourceforge.net/tracker/index...33&group_id=98 63&atid=109863).
The problem is that it's actually closed but not fixed, so I'm worried about the viability of wxPython in GTK.
Do you know something about this?
Thank you!
. Facundo
I wouldn't worry about this - I have compiled the development releases
of wxPythonGTK2 without a problem.
I reckon wxPython is probably the most viable solution for sigefi... By
the time sigefi gets anywhere near release wxPython 2.6 should be out
David
Fernando Perez <fp*******@yahoo.com> wrote in message news:<cb**********@peabody.colorado.edu>... Batista, Facundo wrote:
--8<--SNIP--8<-- The problem is that it's actually closed but not fixed, so I'm worried about the viability of wxPython in GTK.
That may be the result of wxWidgets core library never stating support
of GTK+2.4 up. (More following this)
--8<--SNIP--8<-- I honestly doubt they can leave such a catastrophic bug alive for long, they'd shoot themselves in the foot by losing all users, as linux distros migrate over to current GTK.
I am unsure who "they" are in this context but wxWidgets, wxGTK in
particular has *EXPERIMENTAL* support for GTK+2.2 and is of course
suppose to fully support GTK+1.2 up. Nowhere in the documentation of
the wxWidgets code base does it state support for GTK+2.4 up. Like
you I can only hope they are working on it but in the mean time I am
trying to come up to speed with the GTK+ core API so that I can submit
patches around the "accidentally exported" public symbols from GTK+2.2
that wxGTK-2.4.2 has been using. Technically speaking, no - none of
the offending code base *should* have worked if it weren't for
accidentally exported symbols/API change on the GTK+ side that the
wxGTK side picked up.
So I suspect public pressure will help fix this soon, though I honestly wish it hadn't happened in the first place (I've lost the usage of some code which relied on wx).
I am not a core wxWidgets developer* but in the event that they are
not, which I doubt they are *not* going to address, others are - I
surely am not the only one stepping up here. ;) I am starting to
learn python from a C++ background so that is the motivation for
disrupting your group as well as encountering this problem too.
Chris
linuxok71 AT itlnet DOT net
*I am in no way affiliated with the wxWidgets/wxGTK/GTK core
development team(s) or a spokesperson for them. If in doubt about the
information in my post then you would be wise to disregard it. This
is information that I, as an individual, have gathered over the last
three days of "discovering" this issue. Any errors are quiet honestly
a mistake and not malicious in nature.
David Fraser wrote: Fernando Perez wrote: ImportError: /usr/lib/libwx_gtk2-2.4.so.0: undefined symbol: _gtk_accel_group_detach
Essentially in Fedora2, Wx is unusable.
I have four versions of wxPython running successfully on Fedora 2 - wx 2.4.2.4 with GTK, wx 2.5.1.5 with GTK, wx 2.5.1.5 with GTK2 and wx 2.5.2 prerelease with GTK2
The only problem is that certain binary RPMs produced aren't compatible with Fedora Core 2, because they're built on a RedHat 9 machine
You can rebuild them from source rpms and they work fine. In fact (checks) ... surprise, surprise, you can get Fedora RPMs from Fedora extras.
Now if you have a problem with that you can complain :-)
I should have qualified that with 'out of the box Fedora 2', since the WX
included in the official install doesn't even import at all. This kind of
pissed me off (at Fedora, for shoddy testing), that they'd ship a fairly used
library which can't even be _started_ (meaning, 'import wx' failing).
It annoyed me b/c for deployment on multiple systems, being forced to track
separate builds from multiple repositories is just a recipe for headaches.
But this is not a thread on all the _other_ things that don't work at all with
FC2, so let's just not get started :)
I didn't mean to disparage the WX team. I'll just patiently wait for things to
catch up.
Cheers,
f
C Johnson wrote: Fernando Perez <fp*******@yahoo.com> wrote in message news:<cb**********@peabody.colorado.edu>...
Batista, Facundo wrote:
--8<--SNIP--8<--
The problem is that it's actually closed but not fixed, so I'm worried about the viability of wxPython in GTK.
That may be the result of wxWidgets core library never stating support of GTK+2.4 up. (More following this)
--8<--SNIP--8<--
I honestly doubt they can leave such a catastrophic bug alive for long, they'd shoot themselves in the foot by losing all users, as linux distros migrate over to current GTK.
I am unsure who "they" are in this context but wxWidgets, wxGTK in particular has *EXPERIMENTAL* support for GTK+2.2 and is of course suppose to fully support GTK+1.2 up. Nowhere in the documentation of the wxWidgets code base does it state support for GTK+2.4 up. Like you I can only hope they are working on it but in the mean time I am trying to come up to speed with the GTK+ core API so that I can submit patches around the "accidentally exported" public symbols from GTK+2.2 that wxGTK-2.4.2 has been using. Technically speaking, no - none of the offending code base *should* have worked if it weren't for accidentally exported symbols/API change on the GTK+ side that the wxGTK side picked up.
So I suspect public pressure will help fix this soon, though I honestly wish it hadn't happened in the first place (I've lost the usage of some code which relied on wx).
I am not a core wxWidgets developer* but in the event that they are not, which I doubt they are *not* going to address, others are - I surely am not the only one stepping up here. ;) I am starting to learn python from a C++ background so that is the motivation for disrupting your group as well as encountering this problem too.
Chris linuxok71 AT itlnet DOT net
Glad to hear you are trying to sort this out. I suggest you join the
wx-dev list and report on your progress there... I think you'll find
that the core developers will be very receptive to your contributions
and helpful with questions...
David This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: SeeBelow |
last post by:
Do many people think that wxPython should replace Tkinter? Is this
likely to happen?
I ask because I have just started learning Tkinter, and I wonder if I
should abandon it in favor of...
|
by: BJörn Lindqvist |
last post by:
See: http://www.wxpython.org/quotes.php. especially:
"wxPython is the best and most mature cross-platform GUI toolkit,
given a number of constraints. The only reason wxPython isn't the
standard...
|
by: timothy.williams |
last post by:
I'm trying to install wxPython 2.5.3.1 using Python 2.3.2 on a Fedora 2
machine.
I have python in a non-standard place, but I'm using --prefix with the
configure script to point to where I have...
|
by: James Stroud |
last post by:
Hello All,
I will soon have an excuse to install a new operating system on my computer. I
would like to know exactly what operating system I should have so that I can
get wxPython going....
|
by: TPJ |
last post by:
GUI's etc: PyGtk on Windows
"(...) So if someone develops mainly for X and just wants to make sure
that it is not impossible to run on Windows, you can use PyGTK. (...)",
July 2nd, 1999
pyGTK...
|
by: Glurt Wuntal |
last post by:
I am a newbie with Python. It's a great language, but I would like to be
able to present a simple gui menu for some of my scripts; something better
than using 'raw_input' prompts.
Any...
|
by: Robin Dunn |
last post by:
Announcing
----------
The 2.6.3.0 release of wxPython is now available for download at
http://wxpython.org/download.php. There have been many enhancements
and fixes implemented in this...
|
by: Robin Dunn |
last post by:
Announcing
----------
The 2.6.3.0 release of wxPython is now available for download at
http://wxpython.org/download.php. There have been many enhancements
and fixes implemented in this...
|
by: Robin Dunn |
last post by:
Announcing
----------
The 2.6.3.2 release of wxPython is now available for download at
http://wxpython.org/download.php. This is a mostly bug fix release
and takes care of several "unfortunate...
|
by: stef |
last post by:
hello,
I'm trying to move from Delphi to Python
(move from MatLab to Python already succeeded, also thanks to this
discussion group).
From the discussions in this list about "the best" GUI for...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
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$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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,...
| |