From bernhard at intevation.de Tue May 1 16:59:42 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 1 May 2007 16:59:42 +0200 Subject: pyshapelib as LGPL? In-Reply-To: <1d5b08270704280329h3b433edaga5dc6038d0ceb075@mail.gmail.com> References: <1d5b08270704250307j92f4968hb368ceb27ce7a3d9@mail.gmail.com> <200704252134.45449.bh@intevation.de> <1d5b08270704280329h3b433edaga5dc6038d0ceb075@mail.gmail.com> Message-ID: <200705011659.46822.bernhard@intevation.de> On Saturday 28 April 2007 12:29, Bram de Greve wrote: > On 4/25/07, Bernhard Herzog wrote: > > The version in Thuban trunk has always been LGPL. ?There's only one file > > that got accidentally labelled as GPL. ?I'll fix that. > > That's great. ?The files in my branch are labeled as GPL. ?I guess it's > technically best if someone of Intevation can fix that ... We can do this, can you list the files? Logically it should only have been this one file that Bernhard just fixed. This is why I am asking, we might have missed something. -- 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070501/8bd20dd1/attachment.bin From bernhard at intevation.de Tue May 1 17:03:18 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 1 May 2007 17:03:18 +0200 Subject: Rasterproblem on Windows with German locale Message-ID: <200705011703.19488.bernhard@intevation.de> Didrik, about this issue: > G020-raster-display, (Pre120) > Expected result: iceland with raster background should be shown. > > Fails: Raster background is not seen. > Reason unknown, probably a locale problem. Frank Warmerdam wrote that he did a couple of improvements to GDAL trunk to make the project code more robust. I wonder how much work it would be for you to do a build with GDAL trunk and thuban trunk? I could use this for tests, but only if it is quite easy to do. 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070501/89cb467f/attachment.bin From bernhard at intevation.de Tue May 1 17:04:13 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 1 May 2007 17:04:13 +0200 Subject: thuban app for w32 In-Reply-To: <1177687227.10166.1186919817@webmail.messagingengine.com> References: <1177687227.10166.1186919817@webmail.messagingengine.com> Message-ID: <200705011704.14613.bernhard@intevation.de> Hi Didrik, On Friday 27 April 2007 17:20, Didrik Pinte wrote: > Can somebody test the following application ? It's a self-contained full > thuban (no installer at the moment). > > It contains only thuban.exe and the Ressources directory (still without > the language files). which version of Thuban did you package? 1.2.0 or trunk? 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070501/95045b0d/attachment.bin From dpinte at itae.be Tue May 1 19:01:29 2007 From: dpinte at itae.be (Didrik Pinte) Date: Tue, 01 May 2007 19:01:29 +0200 Subject: thuban app for w32 In-Reply-To: <200705011704.14613.bernhard@intevation.de> References: <1177687227.10166.1186919817@webmail.messagingengine.com> <200705011704.14613.bernhard@intevation.de> Message-ID: <1178038889.23003.37.camel@ddp.simpson> On Tue, 2007-05-01 at 17:04 +0200, Bernhard Reiter wrote: > Hi Didrik, > > On Friday 27 April 2007 17:20, Didrik Pinte wrote: > > Can somebody test the following application ? It's a self-contained full > > thuban (no installer at the moment). > > > > It contains only thuban.exe and the Ressources directory (still without > > the language files). > > which version of Thuban did you package? 1.2.0 or trunk? > > Bernhard It's the trunk Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070501/7123d297/attachment.bin From dpinte at itae.be Wed May 2 15:52:15 2007 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 02 May 2007 15:52:15 +0200 Subject: Rasterproblem on Windows with German locale In-Reply-To: <200705011703.19488.bernhard@intevation.de> References: <200705011703.19488.bernhard@intevation.de> Message-ID: <1178113935.23003.73.camel@ddp.simpson> On Tue, 2007-05-01 at 17:03 +0200, Bernhard Reiter wrote: > Didrik, > > about this issue: > > G020-raster-display, (Pre120) > > Expected result: iceland with raster background should be shown. > > > > Fails: Raster background is not seen. > > Reason unknown, probably a locale problem. > > Frank Warmerdam wrote that he did a couple of improvements to GDAL trunk > to make the project code more robust. > I wonder how much work it would be for you to do a build with GDAL trunk > and thuban trunk? I could use this for tests, but only if it is quite easy to > do. It is really easy to do ;-) I'll try to do that this evening and post the new version somewhere. Do you want the innosetup version ? or the .exe ? Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070502/3b4da39b/attachment.bin From bram.degreve at gmail.com Wed May 2 15:58:35 2007 From: bram.degreve at gmail.com (Bram de Greve) Date: Wed, 2 May 2007 15:58:35 +0200 Subject: pyshapelib as LGPL? In-Reply-To: <200705011659.46822.bernhard@intevation.de> References: <1d5b08270704250307j92f4968hb368ceb27ce7a3d9@mail.gmail.com> <200704252134.45449.bh@intevation.de> <1d5b08270704280329h3b433edaga5dc6038d0ceb075@mail.gmail.com> <200705011659.46822.bernhard@intevation.de> Message-ID: <1d5b08270705020658i4489db83l14cf8a92de8bfa97@mail.gmail.com> On 5/1/07, Bernhard Reiter wrote: > > > We can do this, can you list the files? > Logically it should only have been this one file that Bernhard just fixed. > This is why I am asking, we might have missed something. Certainly, here's the list: in the branch WIP-pyshapelib-bramz libraries\pyshapelib\COPYING: is actually the text of GPL instead of LGPL libraries\pyshapelib\dbflibmodule.c: one of my new files I labeled GPL before I knew it should have been LGPL =) libraries\pyshapelib\pyshapelib_api.h: an old file that is missing the notice libraries\pyshapelib\pyshapelib_common.h: also one of my new files labeled wrongly. libraries\pyshapelib\shapelibmodule.c: a new file that's missing the notice libraries\pyshapelib\shptreemodule.c: the one that's been fixed in the trunk, but not yet in the branch. -- hi, i'm a signature viruz, plz set me as your signature and help me spread :) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.intevation.de/pipermail/thuban-devel/attachments/20070502/b6692cc3/attachment.html From bernhard at intevation.de Wed May 2 17:49:46 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 2 May 2007 17:49:46 +0200 Subject: pyshapelib as LGPL? In-Reply-To: <1d5b08270705020658i4489db83l14cf8a92de8bfa97@mail.gmail.com> References: <1d5b08270704250307j92f4968hb368ceb27ce7a3d9@mail.gmail.com> <200705011659.46822.bernhard@intevation.de> <1d5b08270705020658i4489db83l14cf8a92de8bfa97@mail.gmail.com> Message-ID: <200705021749.50957.bernhard@intevation.de> On Wednesday 02 May 2007 15:58, Bram de Greve wrote: > libraries\pyshapelib\COPYING: is actually the text of GPL instead of LGPL Hmmm, http://wald.intevation.org/plugins/scmsvn/viewcvs.php/branches/WIP-pyshapelib-bramz/libraries/pyshapelib/COPYING?rev=2734&root=thuban&view=markup begins with GNU LIBRARY GENERAL PUBLIC LICENSE Version 2, June 1991 as all other files are new from you, feel free to change them and add the headers even in trunk. We should all switch to LGPL version 2.1 with the change address of the FSF anyway, so all headers could reflect this. I will do the change if you like, but you can do this as well if you want to progress this. ;) 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070502/c7ae3e48/attachment.bin From bernhard at intevation.de Wed May 2 17:50:54 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 2 May 2007 17:50:54 +0200 Subject: Rasterproblem on Windows with German locale In-Reply-To: <1178113935.23003.73.camel@ddp.simpson> References: <200705011703.19488.bernhard@intevation.de> <1178113935.23003.73.camel@ddp.simpson> Message-ID: <200705021750.55567.bernhard@intevation.de> On Wednesday 02 May 2007 15:52, Didrik Pinte wrote: > > I wonder how much work it would be for you to do a build with GDAL trunk > > and thuban trunk? I could use this for tests, but only if it is quite > > easy to do. > > It is really easy to do ;-) > > I'll try to do that this evening and post the new version somewhere. This would be great! > Do you want the innosetup version ? or the .exe ? With innosetup I would have less changes, but basically I do not care. 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070502/4cbc718e/attachment.bin From dpinte at itae.be Wed May 2 23:54:46 2007 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 02 May 2007 23:54:46 +0200 Subject: Rasterproblem on Windows with German locale In-Reply-To: <200705021750.55567.bernhard@intevation.de> References: <200705011703.19488.bernhard@intevation.de> <1178113935.23003.73.camel@ddp.simpson> <200705021750.55567.bernhard@intevation.de> Message-ID: <1178142886.23003.90.camel@ddp.simpson> On Wed, 2007-05-02 at 17:50 +0200, Bernhard Reiter wrote: > On Wednesday 02 May 2007 15:52, Didrik Pinte wrote: > > > I wonder how much work it would be for you to do a build with GDAL trunk > > > and thuban trunk? I could use this for tests, but only if it is quite > > > easy to do. > > > > It is really easy to do ;-) > > > > I'll try to do that this evening and post the new version somewhere. > > This would be great! > > > Do you want the innosetup version ? or the .exe ? > > With innosetup I would have less changes, but basically I do not care. > > Bernhard Here you are : http://www.itae.be/downloads/python/thuban-svn-/download.html Latest trunk of Thuban and gdal svn-trunk 2007.05.02 Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070502/9637d5c4/attachment.bin From dpinte at itae.be Thu May 3 00:27:30 2007 From: dpinte at itae.be (Didrik Pinte) Date: Thu, 03 May 2007 00:27:30 +0200 Subject: thuban: migrate to psycopg2 ? Message-ID: <1178144850.23003.98.camel@ddp.simpson> Hi, I've just made some more tests in order to integrate psycopg in the Thuban w32 build. I came to the following thoughts : [1] The first thing is that pyscopg1 is not smart to install on w32 (dependencies, and so on). psycopg2 is much easier. [2] I did already some tests with psycopg2 and Thuban because psycopg1 did not support utf8 locales (see http://wald.intevation.org/tracker/index.php?func=detail&aid=224&group_id=6&atid=105 ). [3] To go on with my tests, I tried to use the actual version on my Debian/Etch environement with utf8 locals without success ... [4] It seems that psycopg1 is declared obsolete (http://initd.org/tracker/psycopg). So here is my suggestion, why can't we drop the psycopg1 support and migrate to psycopg2. The tests on my Debian system seems ok. I'm making some test on w32. What do you think ? -- Didrik Pinte Information Technologies for the Agro-Environment -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070503/0910750d/attachment.bin From dpinte at itae.be Thu May 3 00:42:00 2007 From: dpinte at itae.be (Didrik Pinte) Date: Thu, 03 May 2007 00:42:00 +0200 Subject: Rasterproblem on Windows with German locale In-Reply-To: <200705011703.19488.bernhard@intevation.de> References: <200705011703.19488.bernhard@intevation.de> Message-ID: <1178145720.23003.100.camel@ddp.simpson> On Tue, 2007-05-01 at 17:03 +0200, Bernhard Reiter wrote: > Didrik, > > about this issue: > > G020-raster-display, (Pre120) > > Expected result: iceland with raster background should be shown. > > > > Fails: Raster background is not seen. > > Reason unknown, probably a locale problem. Bernhard, When testing on my w32 version, the raster does not appear correctly when loaded but if I change the raster properties from bitmap to alpha, it works fine ... Do you have the same thing ? Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070503/80d42305/attachment.bin From bernhard at intevation.de Thu May 3 09:47:08 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 3 May 2007 09:47:08 +0200 Subject: Rasterproblem on Windows with German locale In-Reply-To: <1178145720.23003.100.camel@ddp.simpson> References: <200705011703.19488.bernhard@intevation.de> <1178145720.23003.100.camel@ddp.simpson> Message-ID: <200705030947.12831.bernhard@intevation.de> On Thursday 03 May 2007 00:42, Didrik Pinte wrote: > When testing on my w32 version, the raster does not appear correctly > when loaded but if I change the raster properties from bitmap to alpha, > it works fine ... Do you have the same thing ? I'll have to check. My colleague just took the test machine, so I have to delay the test... ;) But it is good to know that you also cannot see the raster, so it probably is not the locale problems which I thought would keep hunting me. :) 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070503/6b61f695/attachment.bin From bernhard at intevation.de Thu May 3 09:48:57 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 3 May 2007 09:48:57 +0200 Subject: thuban: migrate to psycopg2 ? In-Reply-To: <1178144850.23003.98.camel@ddp.simpson> References: <1178144850.23003.98.camel@ddp.simpson> Message-ID: <200705030948.57942.bernhard@intevation.de> On Thursday 03 May 2007 00:27, Didrik Pinte wrote: > So here is my suggestion, why can't we drop the psycopg1 support and > migrate to psycopg2. The tests on my Debian system seems ok. I'm making > some test on w32. > > What do you think ? Go for it! Dropping psycopg1 seems fine to me. I am getting more aggresive here, because if we want Thuban closer to more users we have to make improving it the most fun and old versions are just not that important to support. 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070503/5acac003/attachment.bin From dpinte at itae.be Thu May 3 09:56:26 2007 From: dpinte at itae.be (Didrik Pinte) Date: Thu, 03 May 2007 09:56:26 +0200 Subject: Rasterproblem on Windows with German locale In-Reply-To: <200705030947.12831.bernhard@intevation.de> References: <200705011703.19488.bernhard@intevation.de> <1178145720.23003.100.camel@ddp.simpson> <200705030947.12831.bernhard@intevation.de> Message-ID: <1178178986.23003.119.camel@ddp.simpson> On Thu, 2007-05-03 at 09:47 +0200, Bernhard Reiter wrote: > On Thursday 03 May 2007 00:42, Didrik Pinte wrote: > > When testing on my w32 version, the raster does not appear correctly > > when loaded but if I change the raster properties from bitmap to alpha, > > it works fine ... Do you have the same thing ? > > I'll have to check. > My colleague just took the test machine, so I have to delay the test... ;) I solved that problem with Virtualbox install of W32. Works great ;-) > But it is good to know that you also cannot see the raster, > so it probably is not the locale problems which I thought would > keep hunting me. I hope so ;-) Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070503/f4b20b71/attachment.bin From dpinte at itae.be Thu May 3 09:57:55 2007 From: dpinte at itae.be (Didrik Pinte) Date: Thu, 03 May 2007 09:57:55 +0200 Subject: thuban: migrate to psycopg2 ? In-Reply-To: <200705030948.57942.bernhard@intevation.de> References: <1178144850.23003.98.camel@ddp.simpson> <200705030948.57942.bernhard@intevation.de> Message-ID: <1178179075.23003.121.camel@ddp.simpson> On Thu, 2007-05-03 at 09:48 +0200, Bernhard Reiter wrote: > On Thursday 03 May 2007 00:27, Didrik Pinte wrote: > > So here is my suggestion, why can't we drop the psycopg1 support and > > migrate to psycopg2. The tests on my Debian system seems ok. I'm making > > some test on w32. > > > > What do you think ? > > Go for it! > Dropping psycopg1 seems fine to me. > I am getting more aggresive here, because if we want Thuban closer > to more users we have to make improving it the most fun and old versions > are just not that important to support. I will just update the tests suite in order to be synchronized with psycopg2 then will commit it in the trunk when all the tests will succeed. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070503/4df83e86/attachment.bin From bernhard at intevation.de Thu May 3 11:03:00 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 3 May 2007 11:03:00 +0200 Subject: Rasterproblem on Windows with German locale In-Reply-To: <1178178986.23003.119.camel@ddp.simpson> References: <200705011703.19488.bernhard@intevation.de> <200705030947.12831.bernhard@intevation.de> <1178178986.23003.119.camel@ddp.simpson> Message-ID: <200705031103.01746.bernhard@intevation.de> On Thursday 03 May 2007 09:56, Didrik Pinte wrote: > > My colleague just took the test machine, so I have to delay the test... > > ;) > > I solved that problem with Virtualbox install of W32. Works great ;-) No on my ppc laptop. :) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070503/15e9c9bb/attachment.bin From bram.degreve at gmail.com Thu May 3 15:06:43 2007 From: bram.degreve at gmail.com (Bram de Greve) Date: Thu, 03 May 2007 15:06:43 +0200 Subject: pyshapelib as LGPL? In-Reply-To: <200705021749.50957.bernhard@intevation.de> References: <1d5b08270704250307j92f4968hb368ceb27ce7a3d9@mail.gmail.com> <200705011659.46822.bernhard@intevation.de> <1d5b08270705020658i4489db83l14cf8a92de8bfa97@mail.gmail.com> <200705021749.50957.bernhard@intevation.de> Message-ID: <4639DE63.3060002@gmail.com> Bernhard Reiter wrote: > http://wald.intevation.org/plugins/scmsvn/viewcvs.php/branches/WIP-pyshapelib-bramz/libraries/pyshapelib/COPYING?rev=2734&root=thuban&view=markup > begins with > > GNU LIBRARY GENERAL PUBLIC LICENSE > Version 2, June 1991 > Oh ... my mind was expecting to see LESSER instead of LIBRARY =) > as all other files are new from you, feel free to change them and add the > headers even in trunk. > > We should all switch to LGPL version 2.1 with the change address of the FSF > anyway, so all headers could reflect this. > I will do the change if you like, but you can do this as well if you want > to progress this. ;) > > Bernhard > Ok, I'll change this when I continue my UTF-8 support ... From dpinte at itae.be Thu May 10 00:09:11 2007 From: dpinte at itae.be (Didrik Pinte) Date: Thu, 10 May 2007 00:09:11 +0200 Subject: migrated to psycopg2 [WAS] Re: thuban: migrate to psycopg2 ? In-Reply-To: <1178179075.23003.121.camel@ddp.simpson> References: <1178144850.23003.98.camel@ddp.simpson> <200705030948.57942.bernhard@intevation.de> <1178179075.23003.121.camel@ddp.simpson> Message-ID: <1178748551.2487.9.camel@ddp.simpson> On Thu, 2007-05-03 at 09:57 +0200, Didrik Pinte wrote: > On Thu, 2007-05-03 at 09:48 +0200, Bernhard Reiter wrote: > > On Thursday 03 May 2007 00:27, Didrik Pinte wrote: > > > So here is my suggestion, why can't we drop the psycopg1 support and > > > migrate to psycopg2. The tests on my Debian system seems ok. I'm making > > > some test on w32. > > > > > > What do you think ? > > > > Go for it! > > Dropping psycopg1 seems fine to me. > > I am getting more aggresive here, because if we want Thuban closer > > to more users we have to make improving it the most fun and old versions > > are just not that important to support. > > I will just update the tests suite in order to be synchronized with > psycopg2 then will commit it in the trunk when all the tests will > succeed. Revision 2768 is now working with psycopg2. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070510/071e43eb/attachment.bin From dpinte at itae.be Thu May 10 00:43:21 2007 From: dpinte at itae.be (Didrik Pinte) Date: Thu, 10 May 2007 00:43:21 +0200 Subject: w32 binary v2 Message-ID: <1178750601.2487.18.camel@ddp.simpson> Hi guys, I've updated the w32 binary version 2 of Thuban. It is now shipped with psycopg2 support and localization works fine. Tests and reports will be greatly appreciated ;-) Next step is to integrate it in a installer and solve the problem of the personal Extensions. File is available here : http://www.itae.be/downloads/python/thuban-svn-win32-application/download.html Instructions : 1) unzip the archive 2) launch dist\thuban.exe (no need for a preexisting python installation) Didrik -- Didrik Pinte Information Technologies for the Agro-Environment -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070510/6f846b78/attachment.bin From bernhard at intevation.de Thu May 10 12:18:57 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 10 May 2007 12:18:57 +0200 Subject: Install.txt on wald Message-ID: <200705101219.01687.bernhard@intevation.de> Didrik, with two people on the freegis list stumbling to install the prerequisites, you should upload a file to http://wald.intevation.org/frs/?group_id=6 with instructions in a file called Thuban-1.2.0_1.exe.readme.txt or so, so people can find it with a higher chance. My report should be a good start to compile this document. 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070510/705bb4d8/attachment.bin From dpinte at itae.be Sat May 12 21:20:52 2007 From: dpinte at itae.be (Didrik Pinte) Date: Sat, 12 May 2007 21:20:52 +0200 Subject: thuban installer for w32 v2 Message-ID: <1178997652.6418.20.camel@ddp.simpson> Hi, It's finally there : A full installer for w32 providing a Thuban executable without the need of any external dependencies (even no python installation). It comes with gdal 1.4, psycopg 2. Please test it and give some feedback : http://www.itae.be/downloads/python/thuban-svn-win32-application/download.html There is only one limitation now : the use of extensions. Didrik PS : Bernhard, wald seems down. When it will be online, i will put the installer there. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070512/f5d610c7/attachment.bin From bernhard at intevation.de Mon May 14 17:01:49 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 14 May 2007 17:01:49 +0200 Subject: thuban installer for w32 v2 In-Reply-To: <1178997652.6418.20.camel@ddp.simpson> References: <1178997652.6418.20.camel@ddp.simpson> Message-ID: <200705141701.50274.bernhard@intevation.de> On Saturday 12 May 2007 21:20, Didrik Pinte wrote: > PS : Bernhard, wald seems down. When it will be online, i will put the > installer there. It definately is up again, though we do have a service time coming up. -- 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070514/4aaf7a71/attachment.bin From jachym.cepicky at gmail.com Tue May 22 07:52:59 2007 From: jachym.cepicky at gmail.com (Jachym Cepicky) Date: Tue, 22 May 2007 07:52:59 +0200 Subject: thuban and wxwidgets 2.8 Message-ID: <1179813179.8916.101.camel@mellon> hi, did anybody test thuban with wxwidgets 2.8? I try to build ubuntu package and it fails while installing: sudo dpkg -i thuban_1.2.0-1_i386.deb (Reading database ... 131610 files and directories currently installed.) Preparing to replace thuban 1.2.0-1 (using thuban_1.2.0-1_i386.deb) ... Unpacking replacement thuban ... Setting up thuban (1.2.0-1) ... Compiling /usr/lib/thuban/Extensions/ogr/ogrshapes.py ... File "/usr/lib/thuban/Extensions/ogr/ogrshapes.py", line 12 from __future__ import generators SyntaxError: from __future__ imports must occur at the beginning of the file dpkg: error processing thuban (--install): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: thuban any hint? Jachym -- Jachym Cepicky e-mail: jachym.cepicky at gmail.com URL: http://les-ejk.cz GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub From bh at intevation.de Tue May 22 10:41:56 2007 From: bh at intevation.de (Bernhard Herzog) Date: Tue, 22 May 2007 10:41:56 +0200 Subject: thuban and wxwidgets 2.8 In-Reply-To: <1179813179.8916.101.camel@mellon> References: <1179813179.8916.101.camel@mellon> Message-ID: <200705221041.59573.bh@intevation.de> Hi, On Tuesday 22 May 2007 07:52, Jachym Cepicky wrote: > Compiling /usr/lib/thuban/Extensions/ogr/ogrshapes.py ... > File "/usr/lib/thuban/Extensions/ogr/ogrshapes.py", line 12 > from __future__ import generators > SyntaxError: from __future__ imports must occur at the beginning of the > file This has nothing to do with wxWidgets. It's a bug in Thuban. As the error message says, __future__ import have to be at the beginning of the file (the only allows before are comments and the doc-string). In ogrshapes.py the __version__ assignment comes before the __future__ import. Python 2.4 and 2.3 don't give error messages in this case. Are you using Python 2.5? It may have become more picky about these things. Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/d1cd059c/attachment.bin From jachym.cepicky at gmail.com Tue May 22 10:47:55 2007 From: jachym.cepicky at gmail.com (Jachym Cepicky) Date: Tue, 22 May 2007 10:47:55 +0200 Subject: thuban and wxwidgets 2.8 In-Reply-To: <200705221041.59573.bh@intevation.de> References: <1179813179.8916.101.camel@mellon> <200705221041.59573.bh@intevation.de> Message-ID: <1179823675.8916.140.camel@mellon> hi, exactly, python 2.5 here what should I do? jachym Bernhard Herzog p??e v ?t 22. 05. 2007 v 10:41 +0200: > Hi, > > On Tuesday 22 May 2007 07:52, Jachym Cepicky wrote: > > Compiling /usr/lib/thuban/Extensions/ogr/ogrshapes.py ... > > File "/usr/lib/thuban/Extensions/ogr/ogrshapes.py", line 12 > > from __future__ import generators > > SyntaxError: from __future__ imports must occur at the beginning of the > > file > > This has nothing to do with wxWidgets. It's a bug in Thuban. As the error > message says, __future__ import have to be at the beginning of the file (the > only allows before are comments and the doc-string). In ogrshapes.py the > __version__ assignment comes before the __future__ import. Python 2.4 and > 2.3 don't give error messages in this case. Are you using Python 2.5? It > may have become more picky about these things. > > Bernhard > > _______________________________________________ > Thuban-devel mailing list > Thuban-devel at intevation.de > https://intevation.de/mailman/listinfo/thuban-devel -- Jachym Cepicky e-mail: jachym.cepicky at gmail.com URL: http://les-ejk.cz GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/12640a0d/attachment.bin From bh at intevation.de Tue May 22 10:56:14 2007 From: bh at intevation.de (Bernhard Herzog) Date: Tue, 22 May 2007 10:56:14 +0200 Subject: thuban and wxwidgets 2.8 In-Reply-To: <1179823675.8916.140.camel@mellon> References: <1179813179.8916.101.camel@mellon> <200705221041.59573.bh@intevation.de> <1179823675.8916.140.camel@mellon> Message-ID: <200705221056.17761.bh@intevation.de> On Tuesday 22 May 2007 10:47, Jachym Cepicky wrote: > exactly, python 2.5 here > > what should I do? I've just checked in a fix (rev. 2770). Please try again. Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/643fa74f/attachment.bin From jachym.cepicky at gmail.com Tue May 22 11:47:38 2007 From: jachym.cepicky at gmail.com (Jachym Cepicky) Date: Tue, 22 May 2007 11:47:38 +0200 Subject: thuban and wxwidgets 2.8 In-Reply-To: <200705221056.17761.bh@intevation.de> References: <1179813179.8916.101.camel@mellon> <200705221041.59573.bh@intevation.de> <1179823675.8916.140.camel@mellon> <200705221056.17761.bh@intevation.de> Message-ID: <1179827258.8916.143.camel@mellon> Hi, helped. Now, when I try to add raster layer, new window appears with: An unhandled exception occurred: global name 'filename' is not defined (please report to http://thuban.intevation.org/bugtracker.html) Traceback (most recent call last): File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 299, in invoke_command command.Execute(self.Context()) File "/usr/lib/thuban/Thuban/UI/command.py", line 121, in Execute apply(self.function, (context,) + self.args + args, kw) File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 1071, in call_method apply(getattr(context.mainwindow, methodname), args) File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 595, in AddRasterLayer title = os.path.splitext(os.path.basename(filename))[0] NameError: global name 'filename' is not defined and gdalinfo says: gdalinfo ~/data/krnap/rez_ta37.tif Driver: GTiff/GeoTIFF Size is 1179, 1054 Coordinate System is `' Origin = (-659287.500000000000000,-975219.000000000000000) Pixel Size = (0.500000000000000,-0.500000000000000) Metadata: TIFFTAG_XRESOLUTION=300 TIFFTAG_YRESOLUTION=300 TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) Corner Coordinates: Upper Left ( -659287.500, -975219.000) Lower Left ( -659287.500, -975746.000) Upper Right ( -658698.000, -975219.000) Lower Right ( -658698.000, -975746.000) Center ( -658992.750, -975482.500) Band 1 Block=1179x1 Type=Byte, ColorInterp=Red Band 2 Block=1179x1 Type=Byte, ColorInterp=Green Band 3 Block=1179x1 Type=Byte, ColorInterp=Blue is this common? jachym Bernhard Herzog p??e v ?t 22. 05. 2007 v 10:56 +0200: > On Tuesday 22 May 2007 10:47, Jachym Cepicky wrote: > > exactly, python 2.5 here > > > > what should I do? > > I've just checked in a fix (rev. 2770). Please try again. > > Bernhard > _______________________________________________ > Thuban-devel mailing list > Thuban-devel at intevation.de > https://intevation.de/mailman/listinfo/thuban-devel -- Jachym Cepicky e-mail: jachym.cepicky at gmail.com URL: http://les-ejk.cz GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/1fd513b2/attachment.bin From bh at intevation.de Tue May 22 12:23:45 2007 From: bh at intevation.de (Bernhard Herzog) Date: Tue, 22 May 2007 12:23:45 +0200 Subject: thuban and wxwidgets 2.8 In-Reply-To: <1179827258.8916.143.camel@mellon> References: <1179813179.8916.101.camel@mellon> <200705221056.17761.bh@intevation.de> <1179827258.8916.143.camel@mellon> Message-ID: <200705221223.51850.bh@intevation.de> On Tuesday 22 May 2007 11:47, Jachym Cepicky wrote: > File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 595, in > AddRasterLayer > title = os.path.splitext(os.path.basename(filename))[0] > NameError: global name 'filename' is not defined You stumbled onto another Thuban bug. AFAICT, this one was introduced with rev. 2761. I don't have the time to debug this further or to fix it. A fix would likely simply loop over the list of the filenames in filenames just as in the AddLayer method. Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/2c7b1205/attachment.bin From thuban-bugs at wald.intevation.org Tue May 22 12:59:49 2007 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Tue, 22 May 2007 12:59:49 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVs0MDNdIGNhbiBub3QgYWRkIHJhc3RlciBsYXllcg==?= Message-ID: <20070522105949.C971E400B2@pyrosoma.intevation.org> Bugs item #403, was opened at 2007-05-22 12:59 Status: Open Priority: 3 Submitted By: Jachym Cepicky (jachym) Assigned to: Nobody (None) Summary: can not add raster layer Resolution: None Version: None Category: None Initial Comment: hi, using current svn, I can not add raster layer: an unhandled exception occurred: global name 'filename' is not defined (please report to http://thuban.intevation.org/bugtracker.html) Traceback (most recent call last): File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 299, in invoke_command command.Execute(self.Context()) File "/usr/lib/thuban/Thuban/UI/command.py", line 121, in Execute apply(self.function, (context,) + self.args + args, kw) File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 1071, in call_method apply(getattr(context.mainwindow, methodname), args) File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 595, in AddRasterLayer title = os.path.splitext(os.path.basename(filename))[0] NameError: global name 'filename' is not defined ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=403&group_id=6 From thuban-bugs at wald.intevation.org Tue May 22 13:02:44 2007 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Tue, 22 May 2007 13:02:44 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVs0MDRdIGNhbiBub3QgcmV0cmlldmUgZGF0IGZyb20gYXR0cmlidXRlIHRhYmxl?= Message-ID: <20070522110244.0A72F400B2@pyrosoma.intevation.org> Bugs item #404, was opened at 2007-05-22 13:02 Status: Open Priority: 3 Submitted By: Jachym Cepicky (jachym) Assigned to: Nobody (None) Summary: can not retrieve dat from attribute table Resolution: None Version: None Category: None Initial Comment: Hi, in my shape file, several non-utf (mainly windows-1250) encoding text appeard. When I want to generate classes in properties window, based on this column, I get this error: An unhandled exception occurred: 'utf8' codec can't decode bytes in position 3-6: invalid data (please report to http://thuban.intevation.org/bugtracker.html) Traceback (most recent call last): File "/usr/lib/thuban/Thuban/UI/classgen.py", line 762, in _OnRetrieve i = self.list_avail.InsertStringItem(index, str(v)) File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 4698, in InsertStringItem return _controls_.ListCtrl_InsertStringItem(*args, **kwargs) File "encodings/utf_8.py", line 16, in decode UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-6: invalid data thuban svn ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=404&group_id=6 From bernhard at intevation.de Tue May 22 15:50:10 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 22 May 2007 15:50:10 +0200 Subject: thuban and wxwidgets 2.8 In-Reply-To: <200705221223.51850.bh@intevation.de> References: <1179813179.8916.101.camel@mellon> <1179827258.8916.143.camel@mellon> <200705221223.51850.bh@intevation.de> Message-ID: <200705221550.11306.bernhard@intevation.de> On Tuesday 22 May 2007 12:23, Bernhard Herzog wrote: > On Tuesday 22 May 2007 11:47, Jachym Cepicky wrote: > > ? File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 595, in > > AddRasterLayer > > ? ? title = os.path.splitext(os.path.basename(filename))[0] > > NameError: global name 'filename' is not defined > > You stumbled onto another Thuban bug. ?AFAICT, this one was introduced with > rev. 2761. Fixed in SVN, see [#403]. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/8dda3ec6/attachment.bin From bernhard at intevation.de Tue May 22 20:26:46 2007 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 22 May 2007 20:26:46 +0200 Subject: [thuban-Bugs][404] UnicodeDecodeError with windows-1250 shapefile when generating classes In-Reply-To: <20070522110244.0A72F400B2@pyrosoma.intevation.org> References: <20070522110244.0A72F400B2@pyrosoma.intevation.org> Message-ID: <200705222026.50952.bernhard@intevation.de> Bram, your code would do this? At least there is a new example for your new code. Can I assign the issue to you? ;) Bernhard On Tuesday 22 May 2007 13:02, thuban-bugs at wald.intevation.org wrote: > Bugs item #404, was opened at 2007-05-22 13:02 > Status: Open > Submitted By: Jachym Cepicky (jachym) > > in my shape file, several non-utf (mainly windows-1250) encoding text > appeard. When I want to generate classes in properties window, based on > this column, I get this error: > > An unhandled exception occurred: > 'utf8' codec can't decode bytes in position 3-6: invalid data > (please report to http://thuban.intevation.org/bugtracker.html) > > Traceback (most recent call last): > File "/usr/lib/thuban/Thuban/UI/classgen.py", line 762, in _OnRetrieve > i = self.list_avail.InsertStringItem(index, str(v)) > File > "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", > line 4698, in InsertStringItem return > _controls_.ListCtrl_InsertStringItem(*args, **kwargs) > File "encodings/utf_8.py", line 16, in decode > UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-6: > invalid data > > thuban svn > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://wald.intevation.org/tracker/?func=detail&atid=105&aid=404&group_id=6 > > _______________________________________________ > Thuban-devel mailing list > Thuban-devel at intevation.de > https://intevation.de/mailman/listinfo/thuban-devel -- 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: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/9a8e4844/attachment.bin