wxpython and wxwidget version mismatch

when i run the attached code file i get this error message
[root@localhost ~]#./observer.py
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14448: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
but it works and i don't know is it ok or there is a problem in my setup

can you please help i'm using centos 5.3

thanks in advance
hatem gamal

observer.py (3.51 KB)

Probably not a problem, but it is a concern. Check the version numbers of your installed wxGTK and wxPython packages, they should match as closely as possible. The warning is basically telling you that you have wxGTK 2.8.X installed and it is being used by a wxPython 2.8.Y and X != Y.

···

On 4/16/11 10:37 AM, hatem elzanaty wrote:

when i run the attached code file i get this error message
[root@localhost ~]#./observer.py
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14448:
UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
but it works and i don't know is it ok or there is a problem in my setup

--
Robin Dunn
Software Craftsman

Robin Dunn wrote:

···

On 4/16/11 10:37 AM, hatem elzanaty wrote:

when i run the attached code file i get this error message
[root@localhost ~]#./observer.py
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14448:
UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
but it works and i don't know is it ok or there is a problem in my setup

Probably not a problem, but it is a concern. Check the version numbers of your installed wxGTK and wxPython packages, they should match as closely as possible. The warning is basically telling you that you have wxGTK 2.8.X installed and it is being used by a wxPython 2.8.Y and X != Y.

tanks for reply but what do you advise to do to avoid this message appearance? i'm newbie and don't have the right syntax to do what you say so please give me the syntax
regards
hatem gamal

what Robin is saying is to go check you package manager and see if the first three digits of the wxGTK version number and the first three digits of the wxPython version number are the same. If not, see if you can install updates or something in an effort to make them the same.

···


Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!

hi robin, and micah,
sorry i have 2 days disconnected of internet what i'm saying please give detailed technical steps i'm newbie to wxpython and i'm facing that problem i did not install from source code i installed from yum python version is 2.4 i cann't upgrade it using yum and i'm not professional in installing from source code that is why i'm standing walking at my place avoiding of making system crash but i'm still asking i installed wxpython and wxWedgits using yium why this warning appears what technical steps i must do to avoid this message appearance and making sure my python and wxpython system is working well as possible

thanks any way for answer whatever it is and for your patience with me
hatem gamal

Micah Nordland wrote:

···

what Robin is saying is to go check you package manager and see if the first three digits of the wxGTK version number and the first three digits of the wxPython version number are the same. If not, see if you can install updates or something in an effort to make them the same.

--
Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

robin,
micah,

here is some technical details about miss in the version of the rpm packages i did not touch any thing it is done automatically do you know how to make it work just fine and well and have the opportunity to install all the system compatible for the same version number to avoid conflict like so here are the details i repeat no way to upgrade and no way to downgrade and no way to know the available version numbers using yum also no enough detailed instructions to install from source (the same old trick) can you help me in one of the two methods to avoid that error thanks in advance

[root@localhost ~]# rpm -qa | grep wx
wxPython-devel-2.8.9.1-1.el5.rf
wxPython-2.8.9.1-1.el5.rf
wxGTK-devel-2.8.10-1.el5.rf
wxGTK-2.8.10-1.el5.rf
[root@localhost ~]# yum upgrade wxPython wxPython-devel
Loaded plugins: aliases, allowdowngrade, changelog, downloadonly, fastestmirror, filter-data, kernel-module, keys, kmod, list-data,
              : merge-conf, priorities, protect-packages, protectbase, refresh-updatesd, security, tmprepo, tsflags, upgrade-helper,
              : verify, versionlock
Loading mirror speeds from cached hostfile
* addons: ftp.eutelia.it
* base: ftp.cica.es
* extras: ftp.cica.es
* rpmforge: apt.sw.be
* updates: centosn4.centos.org
addons

951 B 00:00

base

1.1 kB 00:00

extras

2.1 kB 00:00

rpmforge

1.1 kB 00:00

updates

1.9 kB 00:00

Skipping filters plugin, no data
0 packages excluded due to repository protections
Skipping security plugin, no data
Reading version lock configuration
Setting up Upgrade Process
No Packages marked for Update
[root@localhost ~]# yum update wxPython wxPython-devel
Loaded plugins: aliases, allowdowngrade, changelog, downloadonly, fastestmirror, filter-data, kernel-module, keys, kmod, list-data,
              : merge-conf, priorities, protect-packages, protectbase, refresh-updatesd, security, tmprepo, tsflags, upgrade-helper,
              : verify, versionlock
Loading mirror speeds from cached hostfile
* addons: ftp.eutelia.it
* base: ftp.cica.es
* extras: ftp.cica.es
* rpmforge: apt.sw.be
* updates: centosn4.centos.org
Skipping filters plugin, no data
0 packages excluded due to repository protections
Skipping security plugin, no data
Reading version lock configuration
Setting up Update Process
No Packages marked for Update
[root@localhost ~]#

Micah Nordland wrote:

···

what Robin is saying is to go check you package manager and see if the first three digits of the wxGTK version number and the first three digits of the wxPython version number are the same. If not, see if you can install updates or something in an effort to make them the same.

--
Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

It appears that you need to upgrade your OS. Centos is now at version 5.6, so it may solve your problem.

see here for details:
http://wiki.centos.org/HowTos/MigrationGuide

···


Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!