* [gentoo-user] wxPython/wxWidgets release number mismatch
@ 2018-09-17 19:48 Grant Edwards
2018-09-17 20:26 ` [gentoo-user] " Grant Edwards
2018-09-17 20:28 ` [gentoo-user] " Andrew Udvare
0 siblings, 2 replies; 13+ messages in thread
From: Grant Edwards @ 2018-09-17 19:48 UTC (permalink / raw
To: gentoo-user
Does anybody have any idea what the below is trying to tell me?
_WHAT_ two compenents are mismatched?
WTF is the point of printing a "release number mismatch" warning
without tell the user which two components are mismatched?
You might as well print out
WARNING: something might or might be wrong!
I've reinstalled wxpython, pygtk, and wxGTK, and it didn't help.
$ python
Python 2.7.15 (default, Sep 12 2018, 15:19:18)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
>>>
--
Grant Edwards grant.b.edwards Yow! Hmmm ... a CRIPPLED
at ACCOUNTANT with a FALAFEL
gmail.com sandwich is HIT by a
TROLLEY-CAR ...
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: wxPython/wxWidgets release number mismatch
2018-09-17 19:48 [gentoo-user] wxPython/wxWidgets release number mismatch Grant Edwards
@ 2018-09-17 20:26 ` Grant Edwards
2018-09-17 20:28 ` [gentoo-user] " Andrew Udvare
1 sibling, 0 replies; 13+ messages in thread
From: Grant Edwards @ 2018-09-17 20:26 UTC (permalink / raw
To: gentoo-user
On 2018-09-17, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>>>> import wx
> /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
> warnings.warn("wxPython/wxWidgets release number mismatch")
Is this because I have wxpython 3.0.2.0 and wxGTK 3.0.4-r300 and
"3.0.2.0" != "3.0.4-r300"?
Those are the current stable versions of the two packages, and there
are no matching combinations of wxGTK and wxpython versions available
in portage.
What is one supposed to do to avoid that warning everytime one starts
a wxpython app?
--
Grant Edwards grant.b.edwards Yow! I'm shaving!!
at I'M SHAVING!!
gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] wxPython/wxWidgets release number mismatch
2018-09-17 19:48 [gentoo-user] wxPython/wxWidgets release number mismatch Grant Edwards
2018-09-17 20:26 ` [gentoo-user] " Grant Edwards
@ 2018-09-17 20:28 ` Andrew Udvare
2018-09-17 21:02 ` [gentoo-user] " Grant Edwards
1 sibling, 1 reply; 13+ messages in thread
From: Andrew Udvare @ 2018-09-17 20:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1299 bytes --]
On 9/17/18 3:48 PM, Grant Edwards wrote:
> Does anybody have any idea what the below is trying to tell me?
>
> _WHAT_ two compenents are mismatched?
>
> WTF is the point of printing a "release number mismatch" warning
> without tell the user which two components are mismatched?
>
> You might as well print out
>
> WARNING: something might or might be wrong!
>
> I've reinstalled wxpython, pygtk, and wxGTK, and it didn't help.
I think you need to try this:
revdep-rebuild -L wx_baseu-3.0 -- --ask
I had an issue where Audacity and a few others could not start due to
version mismatches. Got an issue where the ABIs were different. After
running the above command and reinstalling, these apps started working
again.
Calculating dependencies... done!
[ebuild R ] x11-libs/wxGTK-3.0.4
[ebuild R ] x11-libs/wxGTK-3.0.4-r300
[ebuild R ] app-editors/wxhexeditor-0.24
[ebuild R ] games-emulation/pcsx2-1.4.0
[ebuild R ] app-arch/p7zip-16.02-r4
[ebuild R ] net-ftp/filezilla-3.36.0
[ebuild R ] media-video/mediainfo-18.08.1
[ebuild R ] sci-visualization/gnuplot-5.2.4
[ebuild R ] media-sound/audacity-2.2.2
[ebuild R ] games-emulation/dolphin-5.0
I would presume wxPython will be in your list.
Andrew
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: wxPython/wxWidgets release number mismatch
2018-09-17 20:28 ` [gentoo-user] " Andrew Udvare
@ 2018-09-17 21:02 ` Grant Edwards
2018-09-17 22:45 ` Mick
2018-09-17 23:02 ` Andrew Udvare
0 siblings, 2 replies; 13+ messages in thread
From: Grant Edwards @ 2018-09-17 21:02 UTC (permalink / raw
To: gentoo-user
On 2018-09-17, Andrew Udvare <audvare@gmail.com> wrote:
> On 9/17/18 3:48 PM, Grant Edwards wrote:
>> Does anybody have any idea what the below is trying to tell me?
>>
>> _WHAT_ two compenents are mismatched?
>>
>> WTF is the point of printing a "release number mismatch" warning
>> without tell the user which two components are mismatched?
>>
>> You might as well print out
>>
>> WARNING: something might or might be wrong!
>>
>> I've reinstalled wxpython, pygtk, and wxGTK, and it didn't help.
>
> I think you need to try this:
>
> revdep-rebuild -L wx_baseu-3.0 -- --ask
It wants to re-install wxpython-3.0.2.0, wxGTK-3.04 and
wxGTK-304-r300. I've already done that a few times, but I answered
'y' anyway and let it reinstall them again. It didn't help:
$ python -c "import wx"
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
--
Grant Edwards grant.b.edwards Yow! Either CONFESS now or
at we go to "PEOPLE'S COURT"!!
gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: wxPython/wxWidgets release number mismatch
2018-09-17 21:02 ` [gentoo-user] " Grant Edwards
@ 2018-09-17 22:45 ` Mick
2018-09-17 23:48 ` Grant Edwards
2018-09-17 23:02 ` Andrew Udvare
1 sibling, 1 reply; 13+ messages in thread
From: Mick @ 2018-09-17 22:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
On Monday, 17 September 2018 22:02:23 BST Grant Edwards wrote:
> On 2018-09-17, Andrew Udvare <audvare@gmail.com> wrote:
> > On 9/17/18 3:48 PM, Grant Edwards wrote:
> >> Does anybody have any idea what the below is trying to tell me?
> >>
> >> _WHAT_ two compenents are mismatched?
> >>
> >> WTF is the point of printing a "release number mismatch" warning
> >> without tell the user which two components are mismatched?
> >>
> >> You might as well print out
> >>
> >> WARNING: something might or might be wrong!
> >>
> >> I've reinstalled wxpython, pygtk, and wxGTK, and it didn't help.
> >
> > I think you need to try this:
> >
> > revdep-rebuild -L wx_baseu-3.0 -- --ask
>
> It wants to re-install wxpython-3.0.2.0, wxGTK-3.04 and
> wxGTK-304-r300. I've already done that a few times, but I answered
> 'y' anyway and let it reinstall them again. It didn't help:
>
> $ python -c "import wx"
>
> /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
> UserWarning: wxPython/wxWidgets release number mismatch
> warnings.warn("wxPython/wxWidgets release number mismatch")
Have a look at bug #639276 in case it is related to your problem:
https://bugs.gentoo.org/639276
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: wxPython/wxWidgets release number mismatch
2018-09-17 21:02 ` [gentoo-user] " Grant Edwards
2018-09-17 22:45 ` Mick
@ 2018-09-17 23:02 ` Andrew Udvare
2018-09-17 23:51 ` Grant Edwards
2018-09-18 22:50 ` [gentoo-user] " Mart Raudsepp
1 sibling, 2 replies; 13+ messages in thread
From: Andrew Udvare @ 2018-09-17 23:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1108 bytes --]
On 9/17/18 5:02 PM, Grant Edwards wrote:
>
> It wants to re-install wxpython-3.0.2.0, wxGTK-3.04 and
> wxGTK-304-r300. I've already done that a few times, but I answered
> 'y' anyway and let it reinstall them again. It didn't help:
>
> $ python -c "import wx"
>
> /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
> warnings.warn("wxPython/wxWidgets release number mismatch")
>
It needs to be version bumped. https://bugs.gentoo.org/632602
The current version of wxPython is actually 4.0.x and is not compatible
with wxGTK 3.0.4. wxGTK needs to be bumped as well
https://bugs.gentoo.org/577030 but there are some breaking changes in
3.1 vs 3.0.
wxPython 3.0.2.0 is considered 'classic' and was released in 2014.
I tried to use a virtualenv with system package access and tried `pip
install wxpython` but the oldest sane version you can go back to 4.0.3
which won't build with 3.0.4 version of wxGTK.
This discrepancy between the two does not look like it will be fixed any
time soon.
Andrew
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: wxPython/wxWidgets release number mismatch
2018-09-17 22:45 ` Mick
@ 2018-09-17 23:48 ` Grant Edwards
0 siblings, 0 replies; 13+ messages in thread
From: Grant Edwards @ 2018-09-17 23:48 UTC (permalink / raw
To: gentoo-user
On 2018-09-17, Mick <michaelkintzios@gmail.com> wrote:
>> $ python -c "import wx"
>>
>> /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
>> UserWarning: wxPython/wxWidgets release number mismatch
>> warnings.warn("wxPython/wxWidgets release number mismatch")
>
> Have a look at bug #639276 in case it is related to your problem:
>
> https://bugs.gentoo.org/639276
No, that seems to be a different problem with incompatible ABIs.
AFAICT, the ABIs in my case are comptable, and so far, applications
seem to run OK, but I always get the warning.
--
Grant
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: wxPython/wxWidgets release number mismatch
2018-09-17 23:02 ` Andrew Udvare
@ 2018-09-17 23:51 ` Grant Edwards
2018-09-18 2:01 ` [gentoo-user] " Andrew Udvare
2018-09-18 22:50 ` [gentoo-user] " Mart Raudsepp
1 sibling, 1 reply; 13+ messages in thread
From: Grant Edwards @ 2018-09-17 23:51 UTC (permalink / raw
To: gentoo-user
On 2018-09-17, Andrew Udvare <audvare@gmail.com> wrote:
> On 9/17/18 5:02 PM, Grant Edwards wrote:
>>
>> It wants to re-install wxpython-3.0.2.0, wxGTK-3.04 and
>> wxGTK-304-r300. I've already done that a few times, but I answered
>> 'y' anyway and let it reinstall them again. It didn't help:
>>
>> $ python -c "import wx"
>>
>> /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
>> warnings.warn("wxPython/wxWidgets release number mismatch")
>>
>
> It needs to be version bumped. https://bugs.gentoo.org/632602
>
> The current version of wxPython is actually 4.0.x and is not
> compatible with wxGTK 3.0.4. wxGTK needs to be bumped as well
> https://bugs.gentoo.org/577030 but there are some breaking changes
> in 3.1 vs 3.0.
Sounds like a mess. The Gentoo stable versions _seem_ to work OK
together at the moment (for the apps I've tried), but the warning
every time you run one doesn't inspire confidence.
--
Grant
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] wxPython/wxWidgets release number mismatch
2018-09-17 23:51 ` Grant Edwards
@ 2018-09-18 2:01 ` Andrew Udvare
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Udvare @ 2018-09-18 2:01 UTC (permalink / raw
To: gentoo-user
> On 2018-09-17, at 19:51, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
> Sounds like a mess. The Gentoo stable versions _seem_ to work OK
> together at the moment (for the apps I've tried), but the warning
> every time you run one doesn't inspire confidence.
That would be enough for me to stop using packages that rely on it. 2014 is a long time ago for any major package like this. I would expect crashes and instability with such apps. If I really need it, I would find another way to get the latest versions of wxPython and wxGTK installed. Maybe an overlay has that set up. Or you can build a local copy of the packages and use them that way.
Andrew
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: wxPython/wxWidgets release number mismatch
2018-09-17 23:02 ` Andrew Udvare
2018-09-17 23:51 ` Grant Edwards
@ 2018-09-18 22:50 ` Mart Raudsepp
2018-09-19 4:13 ` [gentoo-user] " Andrew Udvare
1 sibling, 1 reply; 13+ messages in thread
From: Mart Raudsepp @ 2018-09-18 22:50 UTC (permalink / raw
To: gentoo-user
Ühel kenal päeval, E, 17.09.2018 kell 19:02, kirjutas Andrew Udvare:
> On 9/17/18 5:02 PM, Grant Edwards wrote:
> >
> > It wants to re-install wxpython-3.0.2.0, wxGTK-3.04 and
> > wxGTK-304-r300. I've already done that a few times, but I answered
> > 'y' anyway and let it reinstall them again. It didn't help:
> >
> > $ python -c "import wx"
> >
> > /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
> > UserWarning: wxPython/wxWidgets release number mismatch
> > warnings.warn("wxPython/wxWidgets release number mismatch")
> >
>
> It needs to be version bumped. https://bugs.gentoo.org/632602
To my knowledge then that would also mean porting the program to it, as
it's a complete python bindings rewrite. Though the python API might be
quite the same compared to wxpython-3.0.2 with some exceptions and thus
maybe not a huge work.
For Gentoo it is of course quite a bit more "fun" when now all of a
sudden "import wx" could be either wxpython-3 or wxpython-4, even after
you get them installed in parallel in a separate SLOT without file
collisions. And that's why I still haven't even looked at this huge
bunch of needed work and testing. (more people want newer gnome right
now..)
> The current version of wxPython is actually 4.0.x and is not
> compatible
> with wxGTK 3.0.4.
I'm quite sure that is not true - wxPython 4.0.x README says it works
fine with wxWidgets 3.0, or more specifically wxGTK-3.0.4.
> wxGTK needs to be bumped as well
> https://bugs.gentoo.org/577030 but there are some breaking changes in
> 3.1 vs 3.0.
And 3.1 is ABI unstable development release, and we distributions
aren't fond of them.
Latest stable wxWidgets is 3.0.4, and we are up to date there with
wxGTK.
> wxPython 3.0.2.0 is considered 'classic' and was released in 2014.
>
> I tried to use a virtualenv with system package access and tried `pip
> install wxpython` but the oldest sane version you can go back to
> 4.0.3
> which won't build with 3.0.4 version of wxGTK.
>
> This discrepancy between the two does not look like it will be fixed
> any
> time soon.
It's just a warning from the times wxpython was released more or less
in tandem with wxWidgets. When their wxpython-4 worked progressed far,
they stopped doing that, and that old warning now apparently hits. But
all it is, is a warning. It'd be more of a problem if it ended up using
wxGTK-3.1 or a future 3.2. But wxGTK-3.0.4 is just bug fixes over
3.0.2, plus some new API and tiny careful backwards compatible ABI
changes (via ELF symbol versioning, etc). It should be fine as-is.
There might be value in relaxing that warning with a downstream patch,
but personally I'd rather save that time and work on wxpython-4
instead.
Yes, it'd be nice if we had wxpython-4. Help welcome. Also help welcome
in having wxpython-3 use wxGTK:3.0-gtk3 or have a separate SLOT for
that itself as well.
wxGTK-3.1 however is of debatable value due to development series and
ABI instability combined with a C++ ABI world. Most upstream developers
seem to ship their own wx things static linked into their stuff, so
don't seem to understand the needs of Linux distributions, or just
basic good release management. I am tired of trying to have that
improved by upstream - I've tried for ~14 years now, including while
being an upstream developer myself for wxGTK over a decade ago.
I realize that some programs want to use the new features already, but
we are in the business of building a stable distribution, not throw all
development releases and the caveats from that in front of everyone,
even when manpower is lacking for even the stable versions as-is.
Mart,
wxWidgets legacy Gentoo maintainer, hoping for a replacement..
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] wxPython/wxWidgets release number mismatch
2018-09-18 22:50 ` [gentoo-user] " Mart Raudsepp
@ 2018-09-19 4:13 ` Andrew Udvare
2018-09-19 6:58 ` David Haller
0 siblings, 1 reply; 13+ messages in thread
From: Andrew Udvare @ 2018-09-19 4:13 UTC (permalink / raw
To: gentoo-user
> On 2018-09-18, at 18:50, Mart Raudsepp <leio@gentoo.org> wrote:
>
>
> Yes, it'd be nice if we had wxpython-4. Help welcome. Also help welcome
> in having wxpython-3 use wxGTK:3.0-gtk3 or have a separate SLOT for
> that itself as well.
Curiosity: what is the reason for wxGTK:3.0 and wxGTK:3.0-gtk3 ?
Andrew
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] wxPython/wxWidgets release number mismatch
2018-09-19 4:13 ` [gentoo-user] " Andrew Udvare
@ 2018-09-19 6:58 ` David Haller
2018-09-19 9:33 ` Mart Raudsepp
0 siblings, 1 reply; 13+ messages in thread
From: David Haller @ 2018-09-19 6:58 UTC (permalink / raw
To: gentoo-user
Hello,
On Wed, 19 Sep 2018, Andrew Udvare wrote:
>Curiosity: what is the reason for wxGTK:3.0 and wxGTK:3.0-gtk3 ?
wxGTK:3.0 uses gtk+-2 and wxGTK:3.0-gtk3 uses gtk+-3.
HTH,
-dnh
--
The only "intuitive" interface is the nipple. After that, it's all learned.
-- Bruce Ediger, bediger@teal.csn.org, on X interfaces
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] wxPython/wxWidgets release number mismatch
2018-09-19 6:58 ` David Haller
@ 2018-09-19 9:33 ` Mart Raudsepp
0 siblings, 0 replies; 13+ messages in thread
From: Mart Raudsepp @ 2018-09-19 9:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1229 bytes --]
Ühel kenal päeval, K, 19.09.2018 kell 08:58, kirjutas David Haller:
> Hello,
>
> On Wed, 19 Sep 2018, Andrew Udvare wrote:
> > Curiosity: what is the reason for wxGTK:3.0 and wxGTK:3.0-gtk3 ?
>
> wxGTK:3.0 uses gtk+-2 and wxGTK:3.0-gtk3 uses gtk+-3.
That, and we couldn't do it with just flipping it to gtk3 in 3.0 SLOT,
because some wxWidgets apps could be doing conditional direct GTK+ code
as well, to go above the lowest common denominator toolkit support that
wxWidgets provides. Or some might just be wrongly linking directly to
gtk2 explicitly. Or had too much trouble with gtk3 in the less used
parts of wxGTK while wxGTK gtk3 support hadn't quite matured yet.
You can't have a program load in (link to) both gtk2 and gtk3 - it will
abort to not go completely runtime crazy and crash due to same function
names. Kind of like wxWidgets itself aborts if the library and app are
using different C++ ABI (however that's less of a problem with todays
relevant C++ ABI updates, unlike the gcc4 to 5 days).
Therefore it was just a separate parallel installable SLOT with which
we could move things over gradually and have the more maintained apps
benefit before everything is working with it.
Mart
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 981 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2018-09-19 9:33 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-17 19:48 [gentoo-user] wxPython/wxWidgets release number mismatch Grant Edwards
2018-09-17 20:26 ` [gentoo-user] " Grant Edwards
2018-09-17 20:28 ` [gentoo-user] " Andrew Udvare
2018-09-17 21:02 ` [gentoo-user] " Grant Edwards
2018-09-17 22:45 ` Mick
2018-09-17 23:48 ` Grant Edwards
2018-09-17 23:02 ` Andrew Udvare
2018-09-17 23:51 ` Grant Edwards
2018-09-18 2:01 ` [gentoo-user] " Andrew Udvare
2018-09-18 22:50 ` [gentoo-user] " Mart Raudsepp
2018-09-19 4:13 ` [gentoo-user] " Andrew Udvare
2018-09-19 6:58 ` David Haller
2018-09-19 9:33 ` Mart Raudsepp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox