From michael at styer.net Fri Jun 19 23:30:17 2009 From: michael at styer.net (Michael Styer) Date: Fri, 19 Jun 2009 14:30:17 -0700 Subject: problem with conflicting versions of wx and wxPython Message-ID: <1245447017.17167.4.camel@tablet.styer.net> Hello, I've just installed Thuban on Fedora 10 x86_64, and I'm getting an error with conflicting versions of wx and wxPython. This is the output I get when I run Thuban: [michael at tablet Thuban-1.2.1]$ thuban /usr/lib64/python2.5/site-packages/osgeo/gdal.py:81: DeprecationWarning: gdal.py was placed in a namespace, it is now available as osgeo.gdal DeprecationWarning) /usr/local/lib/thuban/Thuban/UI/colordialog.py:25: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible. from wxPython.lib.colourchooser import wxPyColourChooser ******************************************************* The following version errors were detected: Thuban was compiled with wx 2.8.10 but wxPython is 2.8.9.1 ******************************************************* Both wxGTK and wxPython are updated to the latest versions available for Fedora 10. I can't downgrade wxGTK to 2.8.9 because of the dependencies configured in the RPMs. Is there any way to get Thuban to run with these versions of these packages? Thanks! Mike From lists at dipole-consulting.com Mon Jun 22 10:55:52 2009 From: lists at dipole-consulting.com (Didrik Pinte) Date: Mon, 22 Jun 2009 10:55:52 +0200 Subject: problem with conflicting versions of wx and wxPython In-Reply-To: <1245447017.17167.4.camel@tablet.styer.net> References: <1245447017.17167.4.camel@tablet.styer.net> Message-ID: <1245660952.4711.3.camel@homer.dipole.lan> On Fri, 2009-06-19 at 14:30 -0700, Michael Styer wrote: > Hello, > > I've just installed Thuban on Fedora 10 x86_64, and I'm getting an error > with conflicting versions of wx and wxPython. This is the output I get > when I run Thuban: > > [michael at tablet Thuban-1.2.1]$ thuban > /usr/lib64/python2.5/site-packages/osgeo/gdal.py:81: > DeprecationWarning: gdal.py was placed in a namespace, it is now > available as osgeo.gdal > DeprecationWarning) > /usr/local/lib/thuban/Thuban/UI/colordialog.py:25: > DeprecationWarning: The wxPython compatibility package is no > longer automatically generated or actively maintained. Please > switch to the wx package as soon as possible. > from wxPython.lib.colourchooser import wxPyColourChooser > > ******************************************************* > The following version errors were detected: > Thuban was compiled with wx 2.8.10 but wxPython is 2.8.9.1 > ******************************************************* Hi Mike, You could change the behaviour of the wx check in Thuban/version.py (line 204) so that it does not complain on minor changes. The DeprecationWarning about the wxPython issue are already solved in the trunk. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20090622/9585dc22/attachment.bin From bernhard at intevation.de Mon Jun 22 14:31:43 2009 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 22 Jun 2009 14:31:43 +0200 Subject: problem with conflicting versions of wx and wxPython In-Reply-To: <1245660952.4711.3.camel@homer.dipole.lan> References: <1245447017.17167.4.camel@tablet.styer.net> <1245660952.4711.3.camel@homer.dipole.lan> Message-ID: <200906221431.48403.bernhard@intevation.de> On Monday 22 June 2009, Didrik Pinte wrote: > > ******************************************************* > > The following version errors were detected: > > Thuban was compiled with wx 2.8.10 but wxPython is 2.8.9.1 > > ******************************************************* The message contradicts a bit what you were saying as the message says that Thuban was compiled with the newer version of wx? > You could change the behaviour of the wx check in Thuban/version.py > (line 204) so that it does not complain on minor changes. A better solution probably is to recompile the Thuban package you have. (What precise package of Thuban did you use?) -- Managing Director - Owner: www.intevation.net (Free Software Company) Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com. Intevation GmbH, Neuer Graben 17, Osnabr?ck, DE; AG Osnabr?ck, HRB 18998 Gesch?ftsf?hrer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20090622/bbbbf4a7/attachment.bin From michael at styer.net Mon Jun 22 18:32:50 2009 From: michael at styer.net (Michael Styer) Date: Mon, 22 Jun 2009 09:32:50 -0700 Subject: problem with conflicting versions of wx and wxPython In-Reply-To: <200906221431.48403.bernhard@intevation.de> References: <1245447017.17167.4.camel@tablet.styer.net> <1245660952.4711.3.camel@homer.dipole.lan> <200906221431.48403.bernhard@intevation.de> Message-ID: <1245688370.3289.14.camel@tablet.styer.net> Hi, Thanks very much for the suggestions. I've provided a bit more information below. On Mon, 2009-06-22 at 14:31 +0200, Bernhard Reiter wrote: > On Monday 22 June 2009, Didrik Pinte wrote: > > > ******************************************************* > > > The following version errors were detected: > > > Thuban was compiled with wx 2.8.10 but wxPython is 2.8.9.1 > > > ******************************************************* > > The message contradicts a bit what you were saying as the message > says that Thuban was compiled with the newer version of wx? These are just the versions of wxGTK and wxPython that are installed on my system (Fedora 10) by yum -- I haven't tried messing around with other versions yet. I'm not sure what you mean seems contradictory? > > You could change the behaviour of the wx check in Thuban/version.py > > (line 204) so that it does not complain on minor changes. > > A better solution probably is to recompile the Thuban package you have. > (What precise package of Thuban did you use?) I downloaded Thuban-1.2.1 sources and ran $ python setup.py build from the root of the Thuban directory. I just tried doing it again, but the same thing happened, which makes sense because I haven't changed the versions of wxGTK or wxPython since building it the first time. Was there something else you had in mind? On Mon, 2009-06-22 at 10:55 +0200, Didrik Pinte wrote: > Hi Mike, > > You could change the behaviour of the wx check in Thuban/version.py > (line 204) so that it does not complain on minor changes. Apologies -- I don't know any Python (everyone tells me I should learn it, but I haven't had time yet). I found that line, but I'm not sure how to change it so that it would only complain on major changes? > The DeprecationWarning about the wxPython issue are already solved in > the trunk. OK. Thanks again for the assistance. Mike From bernhard at intevation.de Tue Jun 23 10:31:16 2009 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 23 Jun 2009 10:31:16 +0200 Subject: problem with conflicting versions of wx and wxPython In-Reply-To: <1245688370.3289.14.camel@tablet.styer.net> References: <1245447017.17167.4.camel@tablet.styer.net> <200906221431.48403.bernhard@intevation.de> <1245688370.3289.14.camel@tablet.styer.net> Message-ID: <200906231031.20434.bernhard@intevation.de> Am Montag, 22. Juni 2009 18:32:50 schrieb Michael Styer: > I downloaded Thuban-1.2.1 sources and ran > > $ python setup.py build > > from the root of the Thuban directory. I just tried doing it again, but > the same thing happened, which makes sense because I haven't changed the > versions of wxGTK or wxPython since building it the first time. Was > there something else you had in mind? Oh, this means there is a missmatch between wxGTK and wxPython. So you would need to recompiled the wxPython package. (There are many instruction around how to do this. Usually those two packages should match precisely so this looks like a wxPython wxGTK dependency packaging problem.) More help would be available via the wxPython community. You could try disabling the check, but be prepared that stuff goes wrong if wxGTK and wxPython versions do not match precisely. > On Mon, 2009-06-22 at 10:55 +0200, Didrik Pinte wrote: > > You could change the behaviour of the wx check in Thuban/version.py > > (line 204) so that it does not complain on minor changes. > > Apologies -- I don't know any Python (everyone tells me I should learn > it, but I haven't had time yet). I found that line, but I'm not sure > how to change it so that it would only complain on major changes? Just place comment characters "#" in front of the lines you want to disable, they need to be in the right column to disable the whole block(ideally). Example: # Check whether the wxWindows version of wxPython and thuban's # wxproj module match. If they don't match, segfaults are likely. if versions["wxproj-wx-tuple"] != versions["wxPython-tuple"][:3]: errors.append(_("Thuban was compiled with wx %(wxproj-wx)s" " but wxPython is %(wxPython)s") % versions) to # Check whether the wxWindows version of wxPython and thuban's # wxproj module match. If they don't match, segfaults are likely. #if versions["wxproj-wx-tuple"] != versions["wxPython-tuple"][:3]: # errors.append(_("Thuban was compiled with wx %(wxproj-wx)s" # " but wxPython is %(wxPython)s") # % versions) Bernhard -- Managing Director - Owner: www.intevation.net (Free Software Company) Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com. Intevation GmbH, Osnabr?ck, DE; Amtsgericht Osnabr?ck, HRB 18998 Gesch?ftsf?hrer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20090623/2ae243d5/attachment.bin From lists at dipole-consulting.com Sat Jun 27 01:29:32 2009 From: lists at dipole-consulting.com (Didrik Pinte) Date: Sat, 27 Jun 2009 01:29:32 +0200 Subject: new simple but nice feature Message-ID: <1246058972.4711.317.camel@homer.dipole.lan> Guys, I have added a very simple but nice feature. You can now use the mouse wheel to zoom in and out in the View (see r2879). Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20090627/d551ae78/attachment.bin From bernhard at intevation.de Sun Jun 28 23:01:08 2009 From: bernhard at intevation.de (Bernhard Reiter) Date: Sun, 28 Jun 2009 23:01:08 +0200 Subject: new simple but nice feature In-Reply-To: <1246058972.4711.317.camel@homer.dipole.lan> References: <1246058972.4711.317.camel@homer.dipole.lan> Message-ID: <200906282301.09832.bernhard@intevation.de> On Saturday 27 June 2009, Didrik Pinte wrote: > I have added a very simple but nice feature. You can now use the mouse > wheel to zoom in and out in the View (see r2879). Cool, Didrik! :) -- Managing Director - Owner: www.intevation.net (Free Software Company) Deputy Germany Coordinator: fsfeurope.org. Coordinator: Kolab-Konsortium.com. Intevation GmbH, Neuer Graben 17, Osnabr?ck, DE; AG Osnabr?ck, HRB 18998 Gesch?ftsf?hrer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20090628/ce31fa53/attachment.bin