From bernhard at intevation.de Mon Apr 3 12:33:30 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 3 Apr 2006 12:33:30 +0200 Subject: (testing and installer) Re: msvc toolkit compiler build In-Reply-To: <442D67F4.5060407@itae.be> References: <20060328192700.GC2368@intevation.de> <20060328213047.GA12677@intevation.de> <20060329101056.GA28021@intevation.de> <1143726814.19138.31.camel@geru-itae> <1143735000.19138.56.camel@geru-itae> <20060330162601.GJ5194@intevation.de> <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442D67F4.5060407@itae.be> Message-ID: <20060403103330.GC7429@intevation.de> Didrik, On Fri, Mar 31, 2006 at 07:33:40PM +0200, Didrik Pinte wrote: > FYI : > > here is a little explanation of what i've done and how : > http://www.dpinte.be/blog/index.php?/archives/5-Building-thuban-on-Windows.html thanks for the writeup! > I've attached all the patches applied to the officiel Thuban 1.1.0 > source tree Ah, very good, as they are not reachable from your writeup links. ;) > 29d28 > < #undef LP BTW: Most developers I know like unified or context diffs best. (e.g. with diff -u ) This patch should not be necessary anymore as I found the problem and removed the hacks in front of wxproj.cpp. See http://lists.wald.intevation.org/pipermail/thuban-commits/2006-March/000001.html Any idea why it still crashes? Does MS also give you a compiler? ;) 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/20060403/4cb99274/attachment.bin From bernhard at intevation.de Mon Apr 3 12:34:39 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 3 Apr 2006 12:34:39 +0200 Subject: new commits list on wald Message-ID: <20060403103439.GD7429@intevation.de> With the move to SVN the commit emails for Thuban's source are not going to this list anymore, but to http://lists.wald.intevation.org/mailman/listinfo/thuban-commits -------------- 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/20060403/e0f510ce/attachment.bin From dpinte at itae.be Mon Apr 3 13:37:10 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 03 Apr 2006 13:37:10 +0200 Subject: new commits list on wald In-Reply-To: <20060403103439.GD7429@intevation.de> References: <20060403103439.GD7429@intevation.de> Message-ID: <1144064230.21868.47.camel@geru-itae> Le lundi 03 avril 2006 ? 12:34 +0200, Bernhard Reiter a ?crit : > With the move to SVN > the commit emails for Thuban's source > are not going to this list anymore, but to > > http://lists.wald.intevation.org/mailman/listinfo/thuban-commits Is it possible to add on the webpage some info about connecting anonymously to the thuban svn repository ? Didirk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060403/b3dae3ca/attachment.bin From jan-oliver.wagner at intevation.de Mon Apr 3 14:08:37 2006 From: jan-oliver.wagner at intevation.de (Jan-Oliver Wagner) Date: Mon, 3 Apr 2006 14:08:37 +0200 Subject: new commits list on wald In-Reply-To: <1144064230.21868.47.camel@geru-itae> References: <20060403103439.GD7429@intevation.de> <1144064230.21868.47.camel@geru-itae> Message-ID: <200604031408.39527.jan-oliver.wagner@intevation.de> On Monday 03 April 2006 13:37, Didrik Pinte wrote: > Le lundi 03 avril 2006 ? 12:34 +0200, Bernhard Reiter a ?crit : > > With the move to SVN > > the commit emails for Thuban's source > > are not going to this list anymore, but to > > > > http://lists.wald.intevation.org/mailman/listinfo/thuban-commits > > Is it possible to add on the webpage some info about connecting > anonymously to the thuban svn repository ? Its on my todo list as part of the migration to Wald. -- Jan-Oliver Wagner: www.intevation.de/~jan | GISpatcher: www.gispatcher.de Kolab Konsortium : www.kolab-konsortium.de | Thuban : thuban.intevation.org Intevation GmbH : www.intevation.de | Kolab : www.kolab.org FreeGIS : www.freegis.org | GAV : www.grass-verein.de From dpinte at itae.be Mon Apr 3 15:21:23 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 03 Apr 2006 15:21:23 +0200 Subject: new commits list on wald In-Reply-To: <200604031408.39527.jan-oliver.wagner@intevation.de> References: <20060403103439.GD7429@intevation.de> <1144064230.21868.47.camel@geru-itae> <200604031408.39527.jan-oliver.wagner@intevation.de> Message-ID: <1144070483.21868.57.camel@geru-itae> Le lundi 03 avril 2006 ? 14:08 +0200, Jan-Oliver Wagner a ?crit : > > Its on my todo list as part of the migration to Wald. Great. Is it already possible to get the info ? so that I can try to recompile a new windows binary with the latest changes ? Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060403/65f2275b/attachment.bin From bh at intevation.de Mon Apr 3 15:24:47 2006 From: bh at intevation.de (Bernhard Herzog) Date: Mon, 03 Apr 2006 15:24:47 +0200 Subject: new commits list on wald In-Reply-To: <1144070483.21868.57.camel@geru-itae> (Didrik Pinte's message of "Mon, 03 Apr 2006 15:21:23 +0200") References: <20060403103439.GD7429@intevation.de> <1144064230.21868.47.camel@geru-itae> <200604031408.39527.jan-oliver.wagner@intevation.de> <1144070483.21868.57.camel@geru-itae> Message-ID: Didrik Pinte writes: > Great. Is it already possible to get the info ? so that I can try to > recompile a new windows binary with the latest changes ? Checkout instructions are on http://wald.intevation.org/scm/?group_id=6 Bernhard Herzog -- Intevation GmbH http://intevation.de/ Skencil http://skencil.org/ Thuban http://thuban.intevation.org/ From dpinte at itae.be Mon Apr 3 16:16:35 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 03 Apr 2006 16:16:35 +0200 Subject: (testing and installer) Re: msvc toolkit compiler build In-Reply-To: <20060403103330.GC7429@intevation.de> References: <20060328192700.GC2368@intevation.de> <20060328213047.GA12677@intevation.de> <20060329101056.GA28021@intevation.de> <1143726814.19138.31.camel@geru-itae> <1143735000.19138.56.camel@geru-itae> <20060330162601.GJ5194@intevation.de> <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442D67F4.5060407@itae.be> <20060403103330.GC7429@intevation.de> Message-ID: <1144073795.21868.60.camel@geru-itae> Le lundi 03 avril 2006 ? 12:33 +0200, Bernhard Reiter a ?crit : > Any idea why it still crashes? Really no idea ... i've tried to launch it with pdb without success (pdb crashes when the application crashes), then with gdb (mingw version ...) but it gave nothing interesting ... so i'm a little bit lost. Is there another method to debug it ? Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060403/8f852971/attachment.bin From bernhard at intevation.de Mon Apr 3 16:18:17 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 3 Apr 2006 16:18:17 +0200 Subject: (testing and installer) Re: msvc toolkit compiler build In-Reply-To: <1144073795.21868.60.camel@geru-itae> References: <20060328213047.GA12677@intevation.de> <20060329101056.GA28021@intevation.de> <1143726814.19138.31.camel@geru-itae> <1143735000.19138.56.camel@geru-itae> <20060330162601.GJ5194@intevation.de> <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442D67F4.5060407@itae.be> <20060403103330.GC7429@intevation.de> <1144073795.21868.60.camel@geru-itae> Message-ID: <20060403141817.GC13674@intevation.de> Am 3. Apr 2006 um 16:16:35 schrieb Didrik Pinte: > Le lundi 03 avril 2006 ? 12:33 +0200, Bernhard Reiter a ?crit : > > Any idea why it still crashes? > > Really no idea ... i've tried to launch it with pdb without success (pdb > crashes when the application crashes), then with gdb (mingw version ...) > but it gave nothing interesting ... so i'm a little bit lost. > > Is there another method to debug it ? Yes, make a copy of the code and start adding printf()s and other output commands to try to find out what is going on. -------------- 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/20060403/e74b9a5b/attachment.bin From dpinte at itae.be Mon Apr 3 16:23:56 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 03 Apr 2006 16:23:56 +0200 Subject: (testing and installer) Re: msvc toolkit compiler build In-Reply-To: <20060403141817.GC13674@intevation.de> References: <20060328213047.GA12677@intevation.de> <20060329101056.GA28021@intevation.de> <1143726814.19138.31.camel@geru-itae> <1143735000.19138.56.camel@geru-itae> <20060330162601.GJ5194@intevation.de> <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442D67F4.5060407@itae.be> <20060403103330.GC7429@intevation.de> <1144073795.21868.60.camel@geru-itae> <20060403141817.GC13674@intevation.de> Message-ID: <1144074236.21868.65.camel@geru-itae> Le lundi 03 avril 2006 ? 16:18 +0200, Bernhard Reiter a ?crit : > Am 3. Apr 2006 um 16:16:35 schrieb Didrik Pinte: > > Le lundi 03 avril 2006 ? 12:33 +0200, Bernhard Reiter a ?crit : > > > Any idea why it still crashes? > > > > Really no idea ... i've tried to launch it with pdb without success (pdb > > crashes when the application crashes), then with gdb (mingw version ...) > > but it gave nothing interesting ... so i'm a little bit lost. > > > > Is there another method to debug it ? > > Yes, make a copy of the code and start adding printf()s and other output > commands to try to find out what is going on. Good idea. do you know the code by hand ? I can do that but with some advices on the files, classes and methods that can probably be used when opening a polygon shapefile. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060403/0a32773f/attachment.bin From bh at intevation.de Mon Apr 3 16:57:35 2006 From: bh at intevation.de (Bernhard Herzog) Date: Mon, 03 Apr 2006 16:57:35 +0200 Subject: success In-Reply-To: <442D3B23.70002@itae.be> (Didrik Pinte's message of "Fri, 31 Mar 2006 16:22:27 +0200") References: <20060328192700.GC2368@intevation.de> <20060328213047.GA12677@intevation.de> <20060329101056.GA28021@intevation.de> <1143726814.19138.31.camel@geru-itae> <1143735000.19138.56.camel@geru-itae> <20060330162601.GJ5194@intevation.de> <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> Message-ID: Didrik Pinte writes: > I'm using the test dataset. It's working fine with the raster file and > the cultural_landmark points. It's crashing directly when loading > polygones or lines ... In my experience, the most likely reason for this is a mismatch between the wxWidgets headerfiles used when compiling Thuban and the wxWidgets DLL. Make sure the versions match exactly. Best is to get them from the same source. Bernhard -- Intevation GmbH http://intevation.de/ Skencil http://skencil.org/ Thuban http://thuban.intevation.org/ From dpinte at itae.be Mon Apr 3 20:18:35 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 03 Apr 2006 20:18:35 +0200 Subject: success In-Reply-To: References: <20060328192700.GC2368@intevation.de> <20060328213047.GA12677@intevation.de> <20060329101056.GA28021@intevation.de> <1143726814.19138.31.camel@geru-itae> <1143735000.19138.56.camel@geru-itae> <20060330162601.GJ5194@intevation.de> <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> Message-ID: <1144088315.21868.67.camel@geru-itae> Le lundi 03 avril 2006 ? 16:57 +0200, Bernhard Herzog a ?crit : > Didrik Pinte writes: > > > I'm using the test dataset. It's working fine with the raster file and > > the cultural_landmark points. It's crashing directly when loading > > polygones or lines ... > > In my experience, the most likely reason for this is a mismatch between > the wxWidgets headerfiles used when compiling Thuban and the wxWidgets > DLL. Make sure the versions match exactly. Best is to get them from > the same source. > > Bernhard That must be the problem. I'll recompile all the project with only the wxWindows source installed (not the binary package installed in my python 2.4 installation) Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060403/f7debf3a/attachment.bin From dpinte at itae.be Tue Apr 4 09:11:59 2006 From: dpinte at itae.be (Didrik Pinte) Date: Tue, 04 Apr 2006 09:11:59 +0200 Subject: one step further ;-) In-Reply-To: <1144088315.21868.67.camel@geru-itae> References: <20060328192700.GC2368@intevation.de> <20060328213047.GA12677@intevation.de> <20060329101056.GA28021@intevation.de> <1143726814.19138.31.camel@geru-itae> <1143735000.19138.56.camel@geru-itae> <20060330162601.GJ5194@intevation.de> <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> Message-ID: <1144134719.5156.7.camel@geru-itae> Le lundi 03 avril 2006 ? 20:18 +0200, Didrik Pinte a ?crit : > > That must be the problem. I'll recompile all the project with only the > wxWindows source installed (not the binary package installed in my > python 2.4 installation) > > Didrik > _________ Ok, it was the problem. My Python 2.4 installation uses the official WxPython 2.6.3 installation BUT the UNICODE version and not the ANSI version. Thuban seems to compile with the ANSI dll and not the unicode one. Now thuban does not crash anymore when loading shapefiles with polygons or lines ! GREAT but they do not appear ;-). Here is the traceback i receive : Traceback (most recent call last): File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\view.py", line 209, in _do_redraw if self.render_iter.next(): File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\view.py", line 258, in _render_iterator for cont in renderer.RenderMapIncrementally(): File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\baserenderer.py", line 191, in render_map_incrementally for i in self.draw_shape_layer_incrementally(layer): File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\baserenderer.py", line 242, in draw_shape_layer_incrementally useraw, draw_func, draw_func_param = self.low_level_renderer(layer) File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\renderer.py", line 110, in low_level_renderer self.scale, -self.scale, offx, offy)) TypeError: third argument must be a wxDC instance This seems to be related to wxproj.draw_polygon_init. Bernhard, you probably know wxWindows better than me. Do you have an idea on the problem ? Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060404/5ccd19be/attachment.bin From bernhard at intevation.de Tue Apr 4 18:16:46 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 4 Apr 2006 18:16:46 +0200 Subject: one step further ;-) In-Reply-To: <1144134719.5156.7.camel@geru-itae> References: <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> <1144134719.5156.7.camel@geru-itae> Message-ID: <20060404161646.GD18057@intevation.de> Am 4. Apr 2006 um 09:11:59 schrieb Didrik Pinte: > Le lundi 03 avril 2006 ? 20:18 +0200, Didrik Pinte a ?crit : > > > > That must be the problem. I'll recompile all the project with only the > > wxWindows source installed (not the binary package installed in my > > python 2.4 installation) > > > > Didrik > > _________ > > Ok, it was the problem. Cool! > My Python 2.4 installation uses the official WxPython 2.6.3 > installation BUT the UNICODE version and not the ANSI version. Thuban > seems to compile with the ANSI dll and not the unicode one. Does this depend on what you have downloaded? Maybe it was my mistake to try the unicode version. Robin Dunn also mentioned that there might be subtle bugs in the on windows. > Now thuban does not crash anymore when loading shapefiles with polygons > or lines ! GREAT but they do not appear ;-). Here is the traceback i > receive : > > Traceback (most recent call last): > File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\view.py", line 209, in > _do_redraw > if self.render_iter.next(): > File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\view.py", line 258, in > _render_iterator > for cont in renderer.RenderMapIncrementally(): > File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\baserenderer.py", line > 191, in render_map_incrementally > for i in self.draw_shape_layer_incrementally(layer): > File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\baserenderer.py", line > 242, in draw_shape_layer_incrementally > useraw, draw_func, draw_func_param = self.low_level_renderer(layer) > File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\renderer.py", line 110, in > low_level_renderer > self.scale, -self.scale, offx, offy)) > TypeError: third argument must be a wxDC instance > > This seems to be related to wxproj.draw_polygon_init. > > Bernhard, you probably know wxWindows better than me. Do you have an > idea on the problem ? Maybe Bernhard H. has an idea. You could add an print repr(sel.dc) before the return in Thuban\UI\renderer.py line 105. Then we see what there is instead of the wxDC instance, that should be there. -------------- 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/20060404/be2cb8b2/attachment.bin From bh at intevation.de Tue Apr 4 18:34:10 2006 From: bh at intevation.de (Bernhard Herzog) Date: Tue, 04 Apr 2006 18:34:10 +0200 Subject: one step further ;-) In-Reply-To: <20060404161646.GD18057@intevation.de> (Bernhard Reiter's message of "Tue, 4 Apr 2006 18:16:46 +0200") References: <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> <1144134719.5156.7.camel@geru-itae> <20060404161646.GD18057@intevation.de> Message-ID: Bernhard Reiter writes: > Am 4. Apr 2006 um 09:11:59 schrieb Didrik Pinte: >> Le lundi 03 avril 2006 ? 20:18 +0200, Didrik Pinte a ?crit : >> > >> > That must be the problem. I'll recompile all the project with only the >> > wxWindows source installed (not the binary package installed in my >> > python 2.4 installation) Note that wxPython for Windows comes with its own wxWidgets DLL. There's no need to install it separately. The wxPython developers also provide a package with the development files including all the wxWidgets headers. To compile Thuban you need the development package that matches your wxPython version exactly. Sorry for not mentioning this earlier, it's been a while since I did any Thuban development. >> low_level_renderer >> self.scale, -self.scale, offx, offy)) >> TypeError: third argument must be a wxDC instance >> >> This seems to be related to wxproj.draw_polygon_init. >> >> Bernhard, you probably know wxWindows better than me. Do you have an >> idea on the problem ? > > Maybe Bernhard H. has an idea. It's most likely still an incompatibility between the headerfiles and the wxWidgets and/or wxpython dlls. In this case Thubans C++-code probably ends up using the wrong function pointer to convert python objects to their wxWidgets counterparts of an incompatible difference between the struct used by wxpython to export it's C-level interface. Bernhard -- Intevation GmbH http://intevation.de/ Skencil http://skencil.org/ Thuban http://thuban.intevation.org/ From dpinte at itae.be Wed Apr 5 08:48:45 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 08:48:45 +0200 Subject: one step further ;-) In-Reply-To: <20060404161646.GD18057@intevation.de> References: <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> <1144134719.5156.7.camel@geru-itae> <20060404161646.GD18057@intevation.de> Message-ID: <1144219725.6922.22.camel@geru-itae> Le mardi 04 avril 2006 ? 18:16 +0200, Bernhard Reiter a ?crit : > Am 4. Apr 2006 um 09:11:59 schrieb Didrik Pinte: > > Le lundi 03 avril 2006 ? 20:18 +0200, Didrik Pinte a ?crit : > > > > > > That must be the problem. I'll recompile all the project with only the > > > wxWindows source installed (not the binary package installed in my > > > python 2.4 installation) > > > > > > Didrik > > > _________ > > > > Ok, it was the problem. > > Cool! > > > My Python 2.4 installation uses the official WxPython 2.6.3 > > installation BUT the UNICODE version and not the ANSI version. Thuban > > seems to compile with the ANSI dll and not the unicode one. > > Does this depend on what you have downloaded? > Maybe it was my mistake to try the unicode version. > Robin Dunn also mentioned that there might be subtle bugs in the on windows. The setup.py of Thuban clearly indicate it uses the ANSI version of the dll and not the UNICODE one : line157: wx_cs_params[CS_LIBS] = ["wxmsw26h"] \ > You could add an > print repr(sel.dc) > before the return in Thuban\UI\renderer.py line 105. > Then we see what there is instead of the wxDC instance, that should > be there. That's what I tried yesterday. It is a valid wxDC instance. That is the reason why I suspected the wxproj.cpp draw_polygon_init function. print self.dc : print type(self.dc) : -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/770199d6/attachment.bin From dpinte at itae.be Wed Apr 5 09:03:16 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 09:03:16 +0200 Subject: one step further ;-) In-Reply-To: References: <1143739465.19138.60.camel@geru-itae> <20060331070813.GD361@intevation.de> <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> <1144134719.5156.7.camel@geru-itae> <20060404161646.GD18057@intevation.de> Message-ID: <1144220596.6922.28.camel@geru-itae> Le mardi 04 avril 2006 ? 18:34 +0200, Bernhard Herzog a ?crit : > Bernhard Reiter writes: > > > Am 4. Apr 2006 um 09:11:59 schrieb Didrik Pinte: > >> Le lundi 03 avril 2006 ? 20:18 +0200, Didrik Pinte a ?crit : > >> > > >> > That must be the problem. I'll recompile all the project with only the > >> > wxWindows source installed (not the binary package installed in my > >> > python 2.4 installation) > > Note that wxPython for Windows comes with its own wxWidgets DLL. > There's no need to install it separately. The wxPython developers also > provide a package with the development files including all the wxWidgets > headers. To compile Thuban you need the development package that > matches your wxPython version exactly. Sorry for not mentioning this > earlier, it's been a while since I did any Thuban development. No problem, it was clear to me. > >> low_level_renderer > >> self.scale, -self.scale, offx, offy)) > >> TypeError: third argument must be a wxDC instance > >> > >> This seems to be related to wxproj.draw_polygon_init. > >> > >> Bernhard, you probably know wxWindows better than me. Do you have an > >> idea on the problem ? > > > > Maybe Bernhard H. has an idea. > > It's most likely still an incompatibility between the headerfiles and > the wxWidgets and/or wxpython dlls. In this case Thubans C++-code > probably ends up using the wrong function pointer to convert python > objects to their wxWidgets counterparts of an incompatible difference > between the struct used by wxpython to export it's C-level interface. Ok, so I have to check the correspondance between the dll version used by Python and the one used for the compilation. I'll have a look at that. Didrik PS: i've update the installer if someone one to test some things : http://www.itae.be/downloads/Thuban-1.1.0-0.exe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/a6e8cb71/attachment.bin From dpinte at itae.be Wed Apr 5 10:39:39 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 10:39:39 +0200 Subject: thuban 1.1.0 windows build ok Message-ID: <1144226379.19185.0.camel@geru-itae> Got it, it was clearly a problem of wx headers and libs. I've checked the include path and lib path, and modify a little bit the setup.py and it seems to work fine now !!! I've updated the installer file : http://www.itae.be/downloads/Thuban-1.1.0-0.exe I've updated the blog entry with the changes (http://www.dpinte.be/blog/index.php?/archives/5-Building-thuban-on-Windows.html ). The diff file is online : http://www.itae.be/downloads/thuban-1.1.0.diff Cheers, Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/97d3850d/attachment.bin From bernhard at intevation.de Wed Apr 5 11:12:35 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 11:12:35 +0200 Subject: thuban 1.1.0 windows build ok In-Reply-To: <1144226379.19185.0.camel@geru-itae> References: <1144226379.19185.0.camel@geru-itae> Message-ID: <20060405091235.GA17357@intevation.de> Am 5. Apr 2006 um 10:39:39 schrieb Didrik Pinte: > Got it, it was clearly a problem of wx headers and libs. > > I've checked the include path and lib path, and modify a little bit the > setup.py and it seems to work fine now !!! Congratulations! > I've updated the installer file : > http://www.itae.be/downloads/Thuban-1.1.0-0.exe Very cool! We should drop a news to the Thuban Users list, I guess to get more testers! Do you feel like doing this, as the one who did the porting work? > I've updated the blog entry with the changes > (http://www.dpinte.be/blog/index.php?/archives/5-Building-thuban-on-Windows.html > ). > The diff file is online : http://www.itae.be/downloads/thuban-1.1.0.diff Some of those seem to be experiments and unnecessary to actually makke it work. I will have a look to check stuff in SVN. Thanks a lot! 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/20060405/53ae9d83/attachment.bin From bernhard at intevation.de Wed Apr 5 11:20:27 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 11:20:27 +0200 Subject: Didrik's windows patch Message-ID: <20060405092027.GB17357@intevation.de> Hi Didrik, I just glanced over your diff! First thing I have noticed: The following change does not seem to be good, as my proj_api.h only has PJ_VERSION, not projPJ_VERSION: @@ -685,12 +677,12 @@ { PyObject * result; -#ifdef PJ_VERSION +#ifdef projPJ_VERSION result = PyTuple_New(3); if (result == NULL) return NULL; - int ver = PJ_VERSION; + int ver = projPJ_VERSION; int major = ver / 100; ver -= major * 100; int minor = ver / 10; ver -= minor * 10; int release = ver; Does it work for you? Have a look at the about dialog, there should be a line for proj. 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/20060405/8d453926/attachment.bin From dpinte at itae.be Wed Apr 5 11:34:42 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 11:34:42 +0200 Subject: Didrik's windows patch In-Reply-To: <20060405092027.GB17357@intevation.de> References: <20060405092027.GB17357@intevation.de> Message-ID: <1144229682.19185.2.camel@geru-itae> Le mercredi 05 avril 2006 ? 11:20 +0200, Bernhard Reiter a ?crit : > Does it work for you? > Have a look at the about dialog, there should be a line for proj. > > Bernhard ;-) It does not. The dialog shows an error using the "proj" key. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/d99350c8/attachment.bin From dpinte at itae.be Wed Apr 5 11:35:35 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 11:35:35 +0200 Subject: thuban 1.1.0 windows build ok In-Reply-To: <20060405091235.GA17357@intevation.de> References: <1144226379.19185.0.camel@geru-itae> <20060405091235.GA17357@intevation.de> Message-ID: <1144229735.19185.4.camel@geru-itae> Le mercredi 05 avril 2006 ? 11:12 +0200, Bernhard Reiter a ?crit : > Am 5. Apr 2006 um 10:39:39 schrieb Didrik Pinte: > > Got it, it was clearly a problem of wx headers and libs. > > > > I've checked the include path and lib path, and modify a little bit the > > setup.py and it seems to work fine now !!! > > Congratulations! > > > I've updated the installer file : > > http://www.itae.be/downloads/Thuban-1.1.0-0.exe > > Very cool! > We should drop a news to the Thuban Users list, I guess > to get more testers! > > Do you feel like doing this, as the one who did the porting work? With pleasure. > > > I've updated the blog entry with the changes > > (http://www.dpinte.be/blog/index.php?/archives/5-Building-thuban-on-Windows.html > > ). > > The diff file is online : http://www.itae.be/downloads/thuban-1.1.0.diff > > Some of those seem to be experiments and unnecessary to actually makke it work. > I will have a look to check stuff in SVN. Sure, some of the diff where some adds for "debugging", etc. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/1b1ed2a0/attachment.bin From bernhard at intevation.de Wed Apr 5 11:33:35 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 11:33:35 +0200 Subject: pysqlite (was: Didrik's windows patch) In-Reply-To: <20060405092027.GB17357@intevation.de> References: <20060405092027.GB17357@intevation.de> Message-ID: <20060405093335.GC17357@intevation.de> Am 5. Apr 2006 um 11:20:27 schrieb Bernhard Reiter: > I just glanced over your diff! For the pysqlite changes, I think we should decide, which version of pysqlite should be the minimum requirements for Thuban. There is a good description of the pyslite versions and how to get their version information: http://initd.org/tracker/pysqlite/wiki/PysqliteVersions In Debian/Sarge the module python2.3-sqlite only can import "sqlite" and not "pysqlite2". I also wonder it a switch from sqlite2 to sqlite3 would change Thuban's dataformat and what would happen to older Thuban files. 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/20060405/8150db78/attachment.bin From bernhard at intevation.de Wed Apr 5 11:35:36 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 11:35:36 +0200 Subject: thuban 1.1.0 windows build ok In-Reply-To: <1144229735.19185.4.camel@geru-itae> References: <1144226379.19185.0.camel@geru-itae> <20060405091235.GA17357@intevation.de> <1144229735.19185.4.camel@geru-itae> Message-ID: <20060405093536.GD17357@intevation.de> Am 5. Apr 2006 um 11:35:35 schrieb Didrik Pinte: > Le mercredi 05 avril 2006 ? 11:12 +0200, Bernhard Reiter a ?crit : > > Am 5. Apr 2006 um 10:39:39 schrieb Didrik Pinte: > > > The diff file is online : http://www.itae.be/downloads/thuban-1.1.0.diff > > > > Some of those seem to be experiments and unnecessary to actually > > makke it work. I will have a look to check stuff in SVN. > > Sure, some of the diff where some adds for "debugging", etc. This is why I am trying to reduce it as much as possible, which makes it easier to see what needs to be commited into mainline. -------------- 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/20060405/3682bfcb/attachment.bin From bernhard at intevation.de Wed Apr 5 11:37:41 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 11:37:41 +0200 Subject: Windows: Unicode build? (was: one step further ;-)) In-Reply-To: <1144219725.6922.22.camel@geru-itae> References: <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> <1144134719.5156.7.camel@geru-itae> <20060404161646.GD18057@intevation.de> <1144219725.6922.22.camel@geru-itae> Message-ID: <20060405093741.GE17357@intevation.de> Am 5. Apr 2006 um 08:48:45 schrieb Didrik Pinte: > Le mardi 04 avril 2006 ? 18:16 +0200, Bernhard Reiter a ?crit : > > Am 4. Apr 2006 um 09:11:59 schrieb Didrik Pinte: > > > My Python 2.4 installation uses the official WxPython 2.6.3 > > > installation BUT the UNICODE version and not the ANSI version. Thuban > > > seems to compile with the ANSI dll and not the unicode one. > > > > Does this depend on what you have downloaded? > > Maybe it was my mistake to try the unicode version. > > Robin Dunn also mentioned that there might be subtle bugs in the on windows. > > The setup.py of Thuban clearly indicate it uses the ANSI version of the > dll and not the UNICODE one : > > line157: wx_cs_params[CS_LIBS] = ["wxmsw26h"] \ Yes, for linking, but this value has been entered by yourself. It would be interesting to see, if stuff also works with the unicode build on windows. I cannot say which build is superiour, but I am just estimating that unicode builds will be more and more common in the future. So, maybe it is not worth the extra hassle! -------------- 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/20060405/f1753ee6/attachment.bin From bh at intevation.de Wed Apr 5 11:41:26 2006 From: bh at intevation.de (Bernhard Herzog) Date: Wed, 05 Apr 2006 11:41:26 +0200 Subject: pysqlite In-Reply-To: <20060405093335.GC17357@intevation.de> (Bernhard Reiter's message of "Wed, 5 Apr 2006 11:33:35 +0200") References: <20060405092027.GB17357@intevation.de> <20060405093335.GC17357@intevation.de> Message-ID: Bernhard Reiter writes: > I also wonder it a switch from sqlite2 to sqlite3 would change > Thuban's dataformat and what would happen to older Thuban files. The sqlite databases Thuban creates are only temporary files. They are not part of Thuban's data format. Switching to a new sqlite version will not affect any more permanent files created by Thuban. Bernhard -- Intevation GmbH http://intevation.de/ Skencil http://skencil.org/ Thuban http://thuban.intevation.org/ From dpinte at itae.be Wed Apr 5 11:47:09 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 11:47:09 +0200 Subject: Windows: Unicode build? (was: one step further ;-)) In-Reply-To: <20060405093741.GE17357@intevation.de> References: <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> <1144134719.5156.7.camel@geru-itae> <20060404161646.GD18057@intevation.de> <1144219725.6922.22.camel@geru-itae> <20060405093741.GE17357@intevation.de> Message-ID: <1144230429.19185.6.camel@geru-itae> Le mercredi 05 avril 2006 ? 11:37 +0200, Bernhard Reiter a ?crit : > > I cannot say which build is superiour, but I am just estimating > that unicode builds will be more and more common in the future. > So, maybe it is not worth the extra hassle! Let's go for a unicode build. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/92375a7c/attachment.bin From dpinte at itae.be Wed Apr 5 11:52:29 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 11:52:29 +0200 Subject: Windows: Unicode build? (was: one step further ;-)) In-Reply-To: <1144230429.19185.6.camel@geru-itae> References: <442CFEFF.5010407@itae.be> <20060331123620.GE1046@intevation.de> <442D3517.20908@itae.be> <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> <1144134719.5156.7.camel@geru-itae> <20060404161646.GD18057@intevation.de> <1144219725.6922.22.camel@geru-itae> <20060405093741.GE17357@intevation.de> <1144230429.19185.6.camel@geru-itae> Message-ID: <1144230749.19185.8.camel@geru-itae> Le mercredi 05 avril 2006 ? 11:47 +0200, Didrik Pinte a ?crit : > Le mercredi 05 avril 2006 ? 11:37 +0200, Bernhard Reiter a ?crit : > > > > I cannot say which build is superiour, but I am just estimating > > that unicode builds will be more and more common in the future. > > So, maybe it is not worth the extra hassle! > > Let's go for a unicode build. > > Didrik Ok, i've builded it with the unicode library. If we decide this is the "official" build, i will update the howto, the diff and the installer. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/c954c712/attachment.bin From bernhard at intevation.de Wed Apr 5 11:54:07 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 11:54:07 +0200 Subject: Windows: Unicode build? In-Reply-To: <1144230749.19185.8.camel@geru-itae> References: <442D36BB.10803@itae.be> <442D3B23.70002@itae.be> <1144088315.21868.67.camel@geru-itae> <1144134719.5156.7.camel@geru-itae> <20060404161646.GD18057@intevation.de> <1144219725.6922.22.camel@geru-itae> <20060405093741.GE17357@intevation.de> <1144230429.19185.6.camel@geru-itae> <1144230749.19185.8.camel@geru-itae> Message-ID: <20060405095407.GH17357@intevation.de> Am 5. Apr 2006 um 11:52:29 schrieb Didrik Pinte: > Le mercredi 05 avril 2006 ? 11:47 +0200, Didrik Pinte a ?crit : > > Le mercredi 05 avril 2006 ? 11:37 +0200, Bernhard Reiter a ?crit : > > > > > > I cannot say which build is superiour, but I am just estimating > > > that unicode builds will be more and more common in the future. > > > So, maybe it is not worth the extra hassle! > > > > Let's go for a unicode build. > > > > Didrik > > Ok, i've builded it with the unicode library. Do the tests run fine? Does it operate, including the about dialog? ;-) > If we decide this is the "official" build, > i will update the howto, the diff and the installer. Whatever works better for the users should be the default build. I guess we should encourage testing the unicode build, but that is just me. 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/20060405/935ebf8e/attachment.bin From bernhard at intevation.de Wed Apr 5 11:55:48 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 11:55:48 +0200 Subject: Didrik's windows patch In-Reply-To: <1144229682.19185.2.camel@geru-itae> References: <20060405092027.GB17357@intevation.de> <1144229682.19185.2.camel@geru-itae> Message-ID: <20060405095548.GI17357@intevation.de> Am 5. Apr 2006 um 11:34:42 schrieb Didrik Pinte: > Le mercredi 05 avril 2006 ? 11:20 +0200, Bernhard Reiter a ?crit : > > Does it work for you? > > Have a look at the about dialog, there should be a line for proj. > > > > Bernhard > > ;-) > > It does not. The dialog shows an error using the "proj" key. Just revert the change and publish 1.1.0-1.exe. ;) -------------- 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/20060405/bb16587d/attachment.bin From dpinte at itae.be Wed Apr 5 12:18:30 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 12:18:30 +0200 Subject: Didrik's windows patch In-Reply-To: <20060405095548.GI17357@intevation.de> References: <20060405092027.GB17357@intevation.de> <1144229682.19185.2.camel@geru-itae> <20060405095548.GI17357@intevation.de> Message-ID: <44339976.9040208@itae.be> Bernhard Reiter a ?crit : > Am 5. Apr 2006 um 11:34:42 schrieb Didrik Pinte: > >> Le mercredi 05 avril 2006 ? 11:20 +0200, Bernhard Reiter a ?crit : >> >>> Does it work for you? >>> Have a look at the about dialog, there should be a line for proj. >>> >>> Bernhard >>> >> ;-) >> >> It does not. The dialog shows an error using the "proj" key. >> > > Just revert the change and publish 1.1.0-1.exe. ;) Ok, the new 1.1.0-0.exe has been updated: unicode build, proj changes reverted. Concerning the test suite, it runs as before : - problem of removing temporary files with transientdb - still the problem with ogrtest --> Ran 569 tests in 51.824s FAILED (failures=2, errors=16) skipped = 167 I've attached the logs of the tests The .exe and diff file have been updated. Didrik From dpinte at itae.be Wed Apr 5 12:22:37 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 12:22:37 +0200 Subject: pysqlite In-Reply-To: References: <20060405092027.GB17357@intevation.de> <20060405093335.GC17357@intevation.de> Message-ID: <1144232557.19185.18.camel@geru-itae> Le mercredi 05 avril 2006 ? 11:41 +0200, Bernhard Herzog a ?crit : > Bernhard Reiter writes: > > > I also wonder it a switch from sqlite2 to sqlite3 would change > > Thuban's dataformat and what would happen to older Thuban files. > > The sqlite databases Thuban creates are only temporary files. They are > not part of Thuban's data format. Switching to a new sqlite version > will not affect any more permanent files created by Thuban. > > Bernhard I propose to add some tweaking to the code so that it supports the most recent installed version. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/34ce5a74/attachment.bin From bernhard at intevation.de Wed Apr 5 15:17:57 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 15:17:57 +0200 Subject: Didrik's windows patch In-Reply-To: <44339976.9040208@itae.be> References: <20060405092027.GB17357@intevation.de> <1144229682.19185.2.camel@geru-itae> <20060405095548.GI17357@intevation.de> <44339976.9040208@itae.be> Message-ID: <20060405131757.GB23002@intevation.de> Am 5. Apr 2006 um 12:18:30 schrieb Didrik Pinte: > Bernhard Reiter a ?crit : > > Just revert the change and publish 1.1.0-1.exe. ;) > > Ok, the new 1.1.0-0.exe has been updated: unicode build, proj changes > reverted. Cool. Why not bumping the version number, too? It would be easier for people to see that you have made changes. > Concerning the test suite, it runs as before : > - problem of removing temporary files with transientdb > - still the problem with ogrtest > > --> Ran 569 tests in 51.824s > > FAILED (failures=2, errors=16) > skipped = 167 I think I have to take a look with a new gdal here to see if there is a similiar error. I am at a loss with the temporary file removal problem. > I've attached the logs of the tests They were not attached. > The .exe and diff file have been updated. -------------- 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/20060405/093ab4b1/attachment.bin From bernhard at intevation.de Wed Apr 5 15:18:24 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 15:18:24 +0200 Subject: pysqlite In-Reply-To: <1144232557.19185.18.camel@geru-itae> References: <20060405092027.GB17357@intevation.de> <20060405093335.GC17357@intevation.de> <1144232557.19185.18.camel@geru-itae> Message-ID: <20060405131824.GC23002@intevation.de> Am 5. Apr 2006 um 12:22:37 schrieb Didrik Pinte: > Le mercredi 05 avril 2006 ? 11:41 +0200, Bernhard Herzog a ?crit : > > Bernhard Reiter writes: > > > > > I also wonder it a switch from sqlite2 to sqlite3 would change > > > Thuban's dataformat and what would happen to older Thuban files. > > > > The sqlite databases Thuban creates are only temporary files. They are > > not part of Thuban's data format. Switching to a new sqlite version > > will not affect any more permanent files created by Thuban. > > > > Bernhard > > I propose to add some tweaking to the code so that it supports the most > recent installed version. Yes, this would be fine. Care to create a patch? You could submit them here or over the wald system. -------------- 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/20060405/338f346f/attachment.bin From bernhard at intevation.de Wed Apr 5 15:19:12 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 5 Apr 2006 15:19:12 +0200 Subject: thuban 1.1.0 windows build ok In-Reply-To: <1144229735.19185.4.camel@geru-itae> References: <1144226379.19185.0.camel@geru-itae> <20060405091235.GA17357@intevation.de> <1144229735.19185.4.camel@geru-itae> Message-ID: <20060405131912.GD23002@intevation.de> Am 5. Apr 2006 um 11:35:35 schrieb Didrik Pinte: > Le mercredi 05 avril 2006 ? 11:12 +0200, Bernhard Reiter a ?crit : > > Am 5. Apr 2006 um 10:39:39 schrieb Didrik Pinte: > > > Got it, it was clearly a problem of wx headers and libs. > > > > > > I've checked the include path and lib path, and modify a little bit the > > > setup.py and it seems to work fine now !!! > > > > Congratulations! > > > > > I've updated the installer file : > > > http://www.itae.be/downloads/Thuban-1.1.0-0.exe > > > > Very cool! > > We should drop a news to the Thuban Users list, I guess > > to get more testers! > > > > Do you feel like doing this, as the one who did the porting work? > > With pleasure. I took the liberty to write a news item and put it on the website and send it out to the announce-list. Thanks again for contributing to Thuban! 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/20060405/66d18dbf/attachment.bin From thuban-featurerequests at wald.intevation.org Wed Apr 5 19:30:31 2006 From: thuban-featurerequests at wald.intevation.org (thuban-featurerequests@wald.intevation.org) Date: Wed, 5 Apr 2006 19:30:31 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1GZWF0dXJlIFJlcXVlc3RzXVs3NF0gTWFrZSBuZXcgVHJhY2tlciBlbnRyaWVzIGdvIHRvIGEgbWFpbGluZyBsaXN0Lg==?= Message-ID: <20060405173031.1E70718017DD@pyrosoma.intevation.org> Feature Requests item #74, was opened at 2006-04-05 19:30 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=108&aid=74&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Bernhard Reiter (bernhard) Assigned to: Nobody (None) Summary: Make new Tracker entries go to a mailing list. Version: None Category: None Initial Comment: Bugs, Patches, Feature requests -> thuban-devel Support requests -> thuban-list Actually, this issue is already a test, if this works. ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=108&aid=74&group_id=6 From dpinte at itae.be Wed Apr 5 21:40:01 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 05 Apr 2006 21:40:01 +0200 Subject: Didrik's windows patch In-Reply-To: <20060405131757.GB23002@intevation.de> References: <20060405092027.GB17357@intevation.de> <1144229682.19185.2.camel@geru-itae> <20060405095548.GI17357@intevation.de> <44339976.9040208@itae.be> <20060405131757.GB23002@intevation.de> Message-ID: <44341D11.2010301@itae.be> Bernhard Reiter a ?crit : > Am 5. Apr 2006 um 12:18:30 schrieb Didrik Pinte: > >> Bernhard Reiter a ?crit : >> > > >>> Just revert the change and publish 1.1.0-1.exe. ;) >>> >> Ok, the new 1.1.0-0.exe has been updated: unicode build, proj changes >> reverted. >> > > Cool. > Why not bumping the version number, too? > It would be easier for people to see that you have made changes. > Sure, that's for the next releases. I'll put a web page for the download, or is there another place where I can upload the file. >> Concerning the test suite, it runs as before : >> - problem of removing temporary files with transientdb >> - still the problem with ogrtest >> >> --> Ran 569 tests in 51.824s >> >> FAILED (failures=2, errors=16) >> skipped = 167 >> > > I think I have to take a look with a new gdal here to see > if there is a similiar error. I am at a loss with the temporary > file removal problem. > So am I, i've tried to debug the problem. I'll post some more information when identified. >> I've attached the logs of the tests >> > > They were not attached. > Here are the logs ;-) Sorry, I always forget my attachements Didrik -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: unicode_test.log Url: http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/9d25fefc/unicode_test.log From bernhard at intevation.de Wed Apr 12 10:47:24 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 10:47:24 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412084352.GE27776@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> Message-ID: <20060412084724.GF27776@intevation.de> Am 12. Apr 2006 um 10:43:52 schrieb Bernhard Reiter: > Am 11. Apr 2006 um 16:05:38 schrieb Didrik Pinte: > > I've added the gdal1.3.1.dll to the Inno installer. It's in the 1.1.0-1 > > version : > > http://wald.intevation.org/frs/download.php/190/Thuban-1.1.0-1.exe > > Very nice. > > > Can someone test the raster functionnality in a fresh environment ? > > I just gave it a spin. > Short story: > * Got a Thuban 1.1.0 window for the first time on Windows! > Congratulations! > > * Installation was a bumpy ride. > Additionally installed: > Pre002 > python-2.4.3.msi > Pre003 > wxPython2.6-win32-unicode-2.6.3.0-py24.exe > Pre004 > pysqlite-2.2.0.win32-py2.4.exe > Pre005 > Thuban-data-1.0.0.zip/data copied to C:\programme\thuban\ > > and need to copy Copying msvcp71.dll into c:\\windows\system32 > > * GDAL does not work, because gdalconst seems to be missing. > > More details on the development list. Im am attaching my full testnotes. This includes the rough beginning of a real set of manual tests, that we could in the future ask people to try. Bernhard -------------- next part -------------- 20060412 Bernhard Reiter Testing Thuban-1.1.0-1.exe by Didrik. General Setup, tested on Windows XP Sp2 German. Pre001 Login as Administrator. Pre002 python-2.4.3.msi Pre003 wxPython2.6-win32-unicode-2.6.3.0-py24.exe Pre004 pysqlite-2.2.0.win32-py2.4.exe Pre005 Thuban-data-1.0.0.zip/data copied to C:\programme\thuban\ Pre006 Login as unpriviledged User. GS001 Running Thuban-1.1.0-1.exe. All default values. Expected behaviour: no errors. There is a Thuban start menu entry. Login as user. GS002 Starting Thuban, via Menu. Expected behaviour: Thuban starts up GS002 20060412-1 failed: No python installed. -> Suggstion: Make a hint in the installer and the release notes what is needed. 20060412-2: (with python and wxpython): failed, no windows, no error message. Running on the command line c:\\Python24\python.exe ./thuban.pyw revealed that _sqlite is missing. 20060412-3: error message, but application starts The applicaion could not be started because msvcp71.dll could not be found. Thuban 1.1 cvs-20060405 Currently using: wxPython 2.6.3.0 Python 2.4.2 PySQLite 2.2.0 SQLite 3.3.4 GDAL - not available psycopg - not available No GDAL support because module 'gdalwarp' cannot be imported. Python exception: 'DLL load failed: Das angegebene Modul wurde nicht gefunden.' Compiled for: GTK - not available proj 4.4.6 Extensions: None registered. G003-language According to the language of your system, if Thuban has the language, it should be localised. Failed G003-language (de): Thuban was displayed in English. Pre100 Load session iceland_sample.thuban G010-session-loads Expected result: after Pre100 iceland should be shown with gray fill color, yellow spots and black lines. G011-projection-simple-UTM Map -> Projection change from unkown to UTM Zone 27. Expected Results: iceland should jump. G012-projection-simple-Belgian Map -> Projection change from unkown to Belgian Datum. Expected result: icland should jump. Failed G012-projection-simple-belgian: Traceback (most recent call last): File "\.\Thuban\UI\projdialog.py", line 233, in OnApply File "\.\Thuban\UI\projdialog.py", line 555, in __SetProjection File "\.\Thuban\UI\projdialog.py", line 578, in __GetProjection File "\.\Thuban\Model\proj.py", line 40, in __init__ File "\.\Lib\Projection.py", line 5, in __init__ self.this = apply(Projectionc.new_Projection,args) TypeError: list must contain strings Pre120 Load session iceland_sample_raster.thuban G020-raster-display, (Pre120) Expected result: iceland with raster background should be shown. Failed G020-raster-display 20060412: An unhandled exception occurred: global name 'wx' is not defined (please report to http://thuban.intevation.org/bugtracker.html) Traceback (most recent call last): File "\.\Thuban\UI\mainwindow.py", line 300, in invoke_command File "\.\Thuban\UI\command.py", line 121, in Execute File "\.\Thuban\UI\mainwindow.py", line 1074, in call_method File "\.\Thuban\UI\mainwindow.py", line 474, in OpenSession File "\.\Thuban\UI\application.py", line 257, in OpenSession NameError: global name 'wx' is not defined Analysis: probably the msvcp71.dll is the problem. C:\Programme\Thuban\Lib>c:\python24\python.exe gdal.py Traceback (most recent call last): File "gdal.py", line 191, in ? import _gdal ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden. Interesting: C:\Programme\Thuban\Lib>c:\python24\python.exe Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import _gdal >>> import gdal Traceback (most recent call last): File "", line 1, in ? File "gdal.py", line 192, in ? from gdalconst import * ImportError: No module named gdalconst >>> c:\\Python2.4 has those .dll, but this might not be enough, see http://mail.python.org/pipermail/python-list/2005-February/263699.html Diagnosis: c:\\windows\system32 does have python24.dll, but not msvcp71.dll. Attempt: Copying msvcp71.dll into c:\\windows\system32. Progress: Now: the about dialog sys: No GDAL support because module 'gdal' cannot be imported. Python exception: 'No module named gdalconst' -------------- 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/20060412/2da0b859/attachment.bin From bernhard at intevation.de Wed Apr 12 10:50:12 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 10:50:12 +0200 Subject: Proposal: Release 1.1.0 as 1.2.0 stable Message-ID: <20060412085012.GG27776@intevation.de> Proposal: When looking at the feature list of 1.1.0 as compared to 1.0.1 on http://thuban.intevation.org/changelog.html I think we should adapt the roadmap and release 1.1.0 as stable 1.2.0. We could start preparing this while Didrik already has done good steps to make Thuban 1.1.0 available on Windows. Packagers like Debian are waiting for the new stable version and it would be good to get the new features towards more users. Jan, Bernhard (H.), all: What do you think? -------------- 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/20060412/a85b3dbc/attachment.bin From dpinte at itae.be Wed Apr 12 11:17:10 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 12 Apr 2006 11:17:10 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412084724.GF27776@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> Message-ID: <1144833430.5381.14.camel@geru-itae> Le mercredi 12 avril 2006 ? 10:47 +0200, Bernhard Reiter a ?crit : > > Im am attaching my full testnotes. > > This includes the rough beginning of a real set of manual tests, > that we could in the future ask people to try. > > Bernhard Hi Bernhard, Great test notes. Very clear. About missing dependencies, what kind of user does thuban focus on ? - real end user : they need an installer with everything - python users : they need an installer with only thuban. That's why I propose to add some py2exe functionnalities to the Thuban installer. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/7f10323a/attachment.bin From bernhard at intevation.de Wed Apr 12 11:22:48 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 11:22:48 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <1144833430.5381.14.camel@geru-itae> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <1144833430.5381.14.camel@geru-itae> Message-ID: <20060412092248.GM27776@intevation.de> Am 12. Apr 2006 um 11:17:10 schrieb Didrik Pinte: > Le mercredi 12 avril 2006 ? 10:47 +0200, Bernhard Reiter a ?crit : > > > > Im am attaching my full testnotes. > > > > This includes the rough beginning of a real set of manual tests, > > that we could in the future ask people to try. Hi Didrik, > Great test notes. Very clear. thanks! > About missing dependencies, what kind of user does thuban focus on ? > > - real end user : they need an installer with everything Thuban focuses on real end users in the geoprocessing field. Many of them do not have intensive experience with system administration. > - python users : they need an installer with only thuban. > > That's why I propose to add some py2exe functionnalities to the Thuban > installer. Yes, it would be great for users! -------------- 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/20060412/64e6105c/attachment.bin From bernhard at intevation.de Wed Apr 12 11:24:41 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 11:24:41 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412084724.GF27776@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> Message-ID: <20060412092441.GN27776@intevation.de> Am 12. Apr 2006 um 10:47:24 schrieb Bernhard Reiter: The about dialog shows: > Thuban 1.1 cvs-20060405 > Currently using: > wxPython 2.6.3.0 > Python 2.4.2 > PySQLite 2.2.0 > SQLite 3.3.4 > GDAL - not available > psycopg - not available > > No GDAL support because module 'gdalwarp' cannot be imported. Python exception: 'DLL load failed: Das angegebene Modul wurde nicht gefunden.' > > Compiled for: > GTK - not available > proj 4.4.6 > > Extensions: > None registered. and it would be sooo nice to have extensions at least the SVG export one. ;) 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/20060412/6f41e230/attachment.bin From dpinte at itae.be Wed Apr 12 11:33:00 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 12 Apr 2006 11:33:00 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412092441.GN27776@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> Message-ID: <1144834380.5381.16.camel@geru-itae> Le mercredi 12 avril 2006 ? 11:24 +0200, Bernhard Reiter a ?crit : > Am 12. Apr 2006 um 10:47:24 schrieb Bernhard Reiter: > > and it would be sooo nice to have extensions > at least the SVG export one. ;) > > Bernhard Sure, how do I enable the extensions in the build ? Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/cf013517/attachment.bin From thuban-featurerequests at wald.intevation.org Wed Apr 12 11:33:57 2006 From: thuban-featurerequests at wald.intevation.org (thuban-featurerequests@wald.intevation.org) Date: Wed, 12 Apr 2006 11:33:57 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1GZWF0dXJlIFJlcXVlc3RzXVs4Nl0gVXNlIHN2biByZXZpc2lvbiBmb3IgYWJvdXQgZGlhbG9nIGluIHZlcnNpb24ucHku?= Message-ID: <20060412093357.DE39018017DF@pyrosoma.intevation.org> Feature Requests item #86, was opened at 2006-04-12 11:33 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=108&aid=86&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 1 Submitted By: Bernhard Reiter (bernhard) Assigned to: Nobody (None) Summary: Use svn revision for about dialog in version.py. Version: None Category: None Initial Comment: Currently version.py gives the build date. It would be cooler, if the SVN revision number would be used. For this a reliable way to find this revision number must be found. The keyword expansion might not be enough as it would not change, when other files chenge. Running "svn info"? Does it work on windows, too? (We could decide to keep the build data anyway for the about dialog.) ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=108&aid=86&group_id=6 From bernhard at intevation.de Wed Apr 12 11:40:01 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 11:40:01 +0200 Subject: extensions in windows installer (was: [Thuban-list] thuban installer : added gdal dll) In-Reply-To: <1144834380.5381.16.camel@geru-itae> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144834380.5381.16.camel@geru-itae> Message-ID: <20060412094001.GO27776@intevation.de> Am 12. Apr 2006 um 11:33:00 schrieb Didrik Pinte: > Le mercredi 12 avril 2006 ? 11:24 +0200, Bernhard Reiter a ?crit : > > Am 12. Apr 2006 um 10:47:24 schrieb Bernhard Reiter: > > > > and it would be sooo nice to have extensions > > at least the SVG export one. ;) > > > > Bernhard > > Sure, how do I enable the extensions in the build ? Sorry, I got confused for a while. Usually a user needs to activate the extensions via an ~/.thuban/thubanstart.py file. This is where I have: cat ~/.thuban/thubanstart.py try: import Extensions.svgexport except: pass Probably instructions are needed where to have such a file on windows. There was a bit of a discussion about how to make extensions automatically loaded a while ago with Thuban development, but I currently do not remember the conclusions myself. It was not fully resolved though. Bottom: Your build might just have it in there, I did not try. -------------- 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/20060412/d2716a5f/attachment.bin From dpinte at itae.be Wed Apr 12 11:55:25 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 12 Apr 2006 11:55:25 +0200 Subject: extensions in windows installer (was: [Thuban-list] thuban installer : added gdal dll) In-Reply-To: <20060412094001.GO27776@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144834380.5381.16.camel@geru-itae> <20060412094001.GO27776@intevation.de> Message-ID: <1144835725.5381.27.camel@geru-itae> Le mercredi 12 avril 2006 ? 11:40 +0200, Bernhard Reiter a ?crit : > Am 12. Apr 2006 um 11:33:00 schrieb Didrik Pinte: > > Le mercredi 12 avril 2006 ? 11:24 +0200, Bernhard Reiter a ?crit : > > > Am 12. Apr 2006 um 10:47:24 schrieb Bernhard Reiter: > > > > > > and it would be sooo nice to have extensions > > > at least the SVG export one. ;) > > > > > > Bernhard > > > > Sure, how do I enable the extensions in the build ? > > Sorry, I got confused for a while. > > Usually a user needs to activate the extensions > via an ~/.thuban/thubanstart.py file. On windows, the file must be here : ~\Application Data\thuban I've imported all the existing extensions. Got two error messages at startup but coherent messages : Problems with UMN MapServer MapScript (not installed?) Problems with PyOGCLib (not installed?) In the about box : Extensions: gns2shp 1.0.0 importAPR 0.1.1 SVG Export 1.0.0cvs bboxdump 1.0.0 mouseposition 1.0.0 profiling 1.0.0 The SVG extensions is loaded but how do I access it ? The export menu give me only wmf file type. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/f1a81cfd/attachment.bin From dpinte at itae.be Wed Apr 12 12:37:30 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 12 Apr 2006 12:37:30 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412092441.GN27776@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> Message-ID: <1144838250.10101.2.camel@geru-itae> Le mercredi 12 avril 2006 ? 11:24 +0200, Bernhard Reiter a ?crit : > > > > No GDAL support because module 'gdalwarp' cannot be imported. Python exception: 'DLL load failed: Das angegebene Modul wurde nicht gefunden.' --> i've uploaded a new version with the gdalconst.py file added. It works on my computer. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/23b214bc/attachment.bin From bernhard at intevation.de Wed Apr 12 12:35:31 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 12:35:31 +0200 Subject: extensions in windows installer (was: [Thuban-list] thuban installer : added gdal dll) In-Reply-To: <1144835725.5381.27.camel@geru-itae> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144834380.5381.16.camel@geru-itae> <20060412094001.GO27776@intevation.de> <1144835725.5381.27.camel@geru-itae> Message-ID: <20060412103531.GC31342@intevation.de> Am 12. Apr 2006 um 11:55:25 schrieb Didrik Pinte: > Le mercredi 12 avril 2006 ? 11:40 +0200, Bernhard Reiter a ?crit : > > Am 12. Apr 2006 um 11:33:00 schrieb Didrik Pinte: > > > Le mercredi 12 avril 2006 ? 11:24 +0200, Bernhard Reiter a ?crit : > > > > Am 12. Apr 2006 um 10:47:24 schrieb Bernhard Reiter: > > > > > > > > and it would be sooo nice to have extensions > > > > at least the SVG export one. ;) > > > > > > > > Bernhard > > > > > > Sure, how do I enable the extensions in the build ? > > > > Sorry, I got confused for a while. > > > > Usually a user needs to activate the extensions > > via an ~/.thuban/thubanstart.py file. > > On windows, the file must be here : > > ~\Application Data\thuban > > > I've imported all the existing extensions. Got two error messages at > startup but coherent messages : > > Problems with UMN MapServer MapScript (not installed?) > Problems with PyOGCLib (not installed?) > > In the about box : > > Extensions: > gns2shp 1.0.0 > importAPR 0.1.1 > SVG Export 1.0.0cvs > bboxdump 1.0.0 > mouseposition 1.0.0 > profiling 1.0.0 > > The SVG extensions is loaded but how do I access it ? The export menu > give me only wmf file type. There should be an extra top level menu "Extensions" which should have "Write SVG Map" and "Write SVG Legend". -------------- 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/20060412/c69c3b37/attachment.bin From bernhard at intevation.de Wed Apr 12 13:04:23 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 13:04:23 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <1144838250.10101.2.camel@geru-itae> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> Message-ID: <20060412110423.GA1116@intevation.de> Am 12. Apr 2006 um 12:37:30 schrieb Didrik Pinte: > Le mercredi 12 avril 2006 ? 11:24 +0200, Bernhard Reiter a ?crit : > > > > > > No GDAL support because module 'gdalwarp' cannot be imported. Python exception: 'DLL load failed: Das angegebene Modul wurde nicht gefunden.' > > --> i've uploaded a new version with the gdalconst.py file added. It > works on my computer. Thanks, it is better, but I still have problems displaying a raster file. Testlog attached. In addition I suggest to always bumb the version number when giving out a new version. E.g. using Thuban-1.1.0-2 now. Later this is much easier to recognise in testlogs. -------------- next part -------------- 20060412 Bernhard Reiter Testing Thuban-1.1.0-1.new.exe by Didrik. General Setup: Windows XP Sp2 German, old Thuban-1.1.0-1 installation. (already fulfilled: Pre002 Pre003 Pre004 Pre005). Pre001 Login as Administrator. Pre002 python-2.4.3.msi Pre003 wxPython2.6-win32-unicode-2.6.3.0-py24.exe Pre004 pysqlite-2.2.0.win32-py2.4.exe Pre005 Thuban-data-1.0.0.zip/data copied to C:\programme\thuban\ GS001 Pre001 Running Thuban-1.1.0-1.exe. All default values. Expected behaviour: no errors. There is a Thuban start menu entry. ok. Pre006 Login as unpriviledged User. GS002 Starting Thuban, via Menu. Expected behaviour: Thuban starts up ok. G003-language According to the language of your system, if Thuban has the language, it should be localised. failed, still English. G004-about-dialog-sane Select Help -> About Expected result: Get a nice about dialog. ok. G005-about-showing-gdal ok. Thuban 1.1 cvs-20060405 Currently using: wxPython 2.6.3.0 Python 2.4.3 PySQLite 2.2.0 SQLite 3.3.4 GDAL 1.3.1.0 psycopg - not available Compiled for: GTK - not available proj 4.4.6 Extensions: None registered. Pre120 Load session iceland_sample_raster.thuban G020-raster-display, (Pre120) Expected result: iceland with raster background should be shown. Failed: No Image shown. Attempt: Trying to select a projection for the image (should not be necessary.) Tried selecting UTM 27. Error on command line: C:\Programme\Thuban>c:\\python24\python.exe thuban.pyw No thubanstart module available ViewPort.set_view_transform: ZeroDivisionError, scale = 0.0 ERROR 1: Unable to compute a transformation between pixel/line and georeferenced coordinates for C:\Programme\Thuban\Data\iceland\island.tif. There is no affine transformation and no GCPs. Traceback (most recent call last): File "C:\Programme\Thuban\Thuban\UI\renderer.py", line 139, in projected_raste r_layer options) IOError: Error creating destination image for projecting C:\Programme\Thuban\Dat a\iceland\island.tif 0 0 1.0 -1.0 0 0 1.0 -1.0 ViewPort.set_view_transform: ZeroDivisionError, scale = 0.0 ERROR 1: Unable to compute a transformation between pixel/line and georeferenced coordinates for C:\Programme\Thuban\Data\iceland\island.tif. There is no affine transformation and no GCPs. Traceback (most recent call last): File "C:\Programme\Thuban\Thuban\UI\renderer.py", line 139, in projected_raste r_layer options) IOError: Error creating destination image for projecting C:\Programme\Thuban\Dat a\iceland\island.tif 0 0 1.0 -1.0 ERROR 1: Unable to compute a transformation between pixel/line and georeferenced coordinates for C:\Programme\Thuban\Data\iceland\island.tif. There is no affine transformation and no GCPs. Traceback (most recent call last): File "C:\Programme\Thuban\Thuban\UI\renderer.py", line 139, in projected_raste r_layer options) IOError: Error creating destination image for projecting C:\Programme\Thuban\Dat a\iceland\island.tif 0 0 1.0 -1.0 0 0 1.0 -1.0 Could not read "C:\Dokumente und Einstellungen\Tolltec User3\Anwendungsdaten\thu ban\user.proj": [Errno 2] No such file or directory: u'C:\\Dokumente und Einstel lungen\\Tolltec User3\\Anwendungsdaten\\thuban\\user.proj' Could me using python 2.4.3 play a role here? Note: user.proj should not be necessary. At least it is not on GNU/Linux. -------------- 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/20060412/90272d15/attachment.bin From dpinte at itae.be Wed Apr 12 13:51:22 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 12 Apr 2006 13:51:22 +0200 Subject: svgexport "bug" In-Reply-To: <20060412103531.GC31342@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144834380.5381.16.camel@geru-itae> <20060412094001.GO27776@intevation.de> <1144835725.5381.27.camel@geru-itae> <20060412103531.GC31342@intevation.de> Message-ID: <1144842682.10101.14.camel@geru-itae> Le mercredi 12 avril 2006 ? 12:35 +0200, Bernhard Reiter a ?crit : > There should be an extra top level menu "Extensions" > which should have "Write SVG Map" and "Write SVG Legend". The Extensions menu is there but nothing related to SVG in it. Normal, here is the problem : svgexport/__init__.py : ------------------------------------------------------------------------ try: dummy = environ["DISPLAY"] import svgsaver import maplegend except: pass # we don't have a DISPLAY, so don't import the modules # (we probably are in test-mode) # Not sure whether this is the best method to avoid problems # in the global test routine. ------------------------------------------------------------------------ There is no DISPLAY variable on my Windows system. Commenting the line, it works fine and seems to export without any error messages. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/06bdef85/attachment.bin From bernhard at intevation.de Wed Apr 12 14:05:26 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 14:05:26 +0200 Subject: svgexport "bug" In-Reply-To: <1144842682.10101.14.camel@geru-itae> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144834380.5381.16.camel@geru-itae> <20060412094001.GO27776@intevation.de> <1144835725.5381.27.camel@geru-itae> <20060412103531.GC31342@intevation.de> <1144842682.10101.14.camel@geru-itae> Message-ID: <20060412120526.GB2457@intevation.de> Am 12. Apr 2006 um 13:51:22 schrieb Didrik Pinte: > Le mercredi 12 avril 2006 ? 12:35 +0200, Bernhard Reiter a ?crit : > > There should be an extra top level menu "Extensions" > > which should have "Write SVG Map" and "Write SVG Legend". > > The Extensions menu is there but nothing related to SVG in it. > > Normal, here is the problem : svgexport/__init__.py : > ------------------------------------------------------------------------ > try: > dummy = environ["DISPLAY"] > import svgsaver > import maplegend > except: > pass # we don't have a DISPLAY, so don't import the modules > # (we probably are in test-mode) > # Not sure whether this is the best method to avoid problems > # in the global test routine. > ------------------------------------------------------------------------ > > There is no DISPLAY variable on my Windows system. Commenting the line, > it works fine and seems to export without any error messages. Ah! Yes, checking DISPLAY on windows is not right, can you file a report for it. Just removing the check will not help as it will affect the bugs. -------------- 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/20060412/36b2557a/attachment.bin From bernhard at intevation.de Wed Apr 12 14:23:44 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 14:23:44 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412110423.GA1116@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> Message-ID: <20060412122344.GE2457@intevation.de> Am 12. Apr 2006 um 13:04:23 schrieb Bernhard Reiter: > Pre120 Load session iceland_sample_raster.thuban > > G020-raster-display, (Pre120) > Expected result: iceland with raster background should be shown. > > Failed: No Image shown. Didrik, does this test work for you, btw? > Attempt: Trying to select a projection for the image > (should not be necessary.) > Tried selecting UTM 27. > > Error on command line: I just saw that I have tested on GNU/Linux with an old gdal version, so maybe there is a generic bug here. Do you have access to a GNU/Linux system for testing, btw? -------------- 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/20060412/99a30e6b/attachment.bin From bernhard at intevation.de Wed Apr 12 14:25:13 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 12 Apr 2006 14:25:13 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412110423.GA1116@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> Message-ID: <20060412122513.GF2457@intevation.de> Am 12. Apr 2006 um 13:04:23 schrieb Bernhard Reiter: > Am 12. Apr 2006 um 12:37:30 schrieb Didrik Pinte: > > Le mercredi 12 avril 2006 ? 11:24 +0200, Bernhard Reiter a ?crit : > > > > > > > > No GDAL support because module 'gdalwarp' cannot be imported. Python exception: 'DLL load failed: Das angegebene Modul wurde nicht gefunden.' > > > > --> i've uploaded a new version with the gdalconst.py file added. It > > works on my computer. > > Thanks, it is better, but I still have problems displaying a raster file. > Testlog attached. > > In addition I suggest to always bumb the version number when giving out > a new version. E.g. using Thuban-1.1.0-2 now. > Later this is much easier to recognise in Given that my tests have revealed that quite a few message are only given on the command line, I guess, it would be cool to have an additional menu entry that would start thuban with a command line window open. E.g. called "Thuban for debugging". Maybe this will help future users and bug reports. -------------- 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/20060412/692f27dc/attachment.bin From dpinte at itae.be Wed Apr 12 15:12:04 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 12 Apr 2006 15:12:04 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412122344.GE2457@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> Message-ID: <1144847525.10101.17.camel@geru-itae> Le mercredi 12 avril 2006 ? 14:23 +0200, Bernhard Reiter a ?crit : > Am 12. Apr 2006 um 13:04:23 schrieb Bernhard Reiter: > > > Pre120 Load session iceland_sample_raster.thuban > > > > G020-raster-display, (Pre120) > > Expected result: iceland with raster background should be shown. > > > > Failed: No Image shown. > > Didrik, > does this test work for you, btw? Yes it works > > > Attempt: Trying to select a projection for the image > > (should not be necessary.) > > Tried selecting UTM 27. > > > > Error on command line: > > I just saw that I have tested on GNU/Linux with an old gdal version, > so maybe there is a generic bug here. > > Do you have access to a GNU/Linux system for testing, btw? My "main" laptop is running a Debian/Sid system. I'll download and test thuban on it. I'm leaving for some days abroad and will have less connectivity than usual. I'll report about the tests. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/14aea0a1/attachment.bin From dpinte at itae.be Wed Apr 12 15:13:32 2006 From: dpinte at itae.be (Didrik Pinte) Date: Wed, 12 Apr 2006 15:13:32 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060412110423.GA1116@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> Message-ID: <1144847612.10101.20.camel@geru-itae> Le mercredi 12 avril 2006 ? 13:04 +0200, Bernhard Reiter a ?crit : > Am 12. Apr 2006 um 12:37:30 schrieb Didrik Pinte: > > Le mercredi 12 avril 2006 ? 11:24 +0200, Bernhard Reiter a ?crit : > > > > > > > > No GDAL support because module 'gdalwarp' cannot be imported. Python exception: 'DLL load failed: Das angegebene Modul wurde nicht gefunden.' > > > > --> i've uploaded a new version with the gdalconst.py file added. It > > works on my computer. > > Thanks, it is better, but I still have problems displaying a raster file. > Testlog attached. > > In addition I suggest to always bumb the version number when giving out > a new version. E.g. using Thuban-1.1.0-2 now. > Later this is much easier to recognise in testlogs. The following lines are output i had added to the files when the opening of the sessions showed nothing. 0 0 1.0 -1.0 I'll take this out of the original code. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/379897c7/attachment.bin From thuban-bugs at wald.intevation.org Wed Apr 12 15:21:36 2006 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Wed, 12 Apr 2006 15:21:36 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVs4N10gc3ZnZXhwb3J0IGJ1ZyBmb3Igd2luMzI=?= Message-ID: <20060412132136.D031718017DF@pyrosoma.intevation.org> Bugs item #87, was opened at 2006-04-12 15:21 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=87&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Didrik Pinte (dpinte) Assigned to: Nobody (None) Summary: svgexport bug for win32 Resolution: None Version: None Category: None Initial Comment: The __init__.py file prevents the use of svgexport on win32 computers : try: dummy = environ["DISPLAY"] import svgsaver import maplegend except: pass # we don't have a DISPLAY, so don't import the modules # (we probably are in test-mode) # Not sure whether this is the best method to avoid problems # in the global test routine. There is no DISPLAY variable on a default win32 system. Commenting the use of DISPLAY make the extension work fine on my win32 system ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=87&group_id=6 From bernhard at intevation.de Mon Apr 17 15:46:46 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 17 Apr 2006 15:46:46 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <1144847525.10101.17.camel@geru-itae> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> Message-ID: <20060417134646.GP3636@intevation.de> Am 12. Apr 2006 um 15:12:04 schrieb Didrik Pinte: > Le mercredi 12 avril 2006 ? 14:23 +0200, Bernhard Reiter a ?crit : > > Am 12. Apr 2006 um 13:04:23 schrieb Bernhard Reiter: > > > > > Pre120 Load session iceland_sample_raster.thuban > > > > > > G020-raster-display, (Pre120) > > > Expected result: iceland with raster background should be shown. > > > > > > Failed: No Image shown. > > > > Didrik, > > does this test work for you, btw? > > Yes it works > > > > > > Attempt: Trying to select a projection for the image > > > (should not be necessary.) > > > Tried selecting UTM 27. > > > > > > Error on command line: > > > > I just saw that I have tested on GNU/Linux with an old gdal version, > > so maybe there is a generic bug here. Just tried with libgdal1-1.3.1_1.3.1-4 and thuban works fine after a recompilation. > > Do you have access to a GNU/Linux system for testing, btw? > > My "main" laptop is running a Debian/Sid system. I'll download and test > thuban on it. I'm leaving for some days abroad and will have less > connectivity than usual. I'll report about the tests. I just wanted to know if you have the possibility to test. This makes it a lot easier if we want to create code that works both on Windows and GNU/Linux. -------------- 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/20060417/b1abb4ae/attachment.bin From bernhard at intevation.de Mon Apr 17 16:49:32 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 17 Apr 2006 16:49:32 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <1144847525.10101.17.camel@geru-itae> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> Message-ID: <20060417144932.GQ3636@intevation.de> Am 12. Apr 2006 um 15:12:04 schrieb Didrik Pinte: > Le mercredi 12 avril 2006 ? 14:23 +0200, Bernhard Reiter a ?crit : > > Am 12. Apr 2006 um 13:04:23 schrieb Bernhard Reiter: > > > > > Pre120 Load session iceland_sample_raster.thuban > > > > > > G020-raster-display, (Pre120) > > > Expected result: iceland with raster background should be shown. > > > > > > Failed: No Image shown. > > > > Didrik, > > does this test work for you, btw? > > Yes it works Strange. I can only imagine that some files are missing that GDAL or proj might need. Can you additionally put in your gdal binaries? e.g. like gdapinfo. It would allow me to do some manual tests. -------------- 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/20060417/4962164a/attachment.bin From dpinte at itae.be Mon Apr 17 16:59:52 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 17 Apr 2006 16:59:52 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060417144932.GQ3636@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417144932.GQ3636@intevation.de> Message-ID: <1145285992.5094.6.camel@geru-itae> Le lundi 17 avril 2006 ? 16:49 +0200, Bernhard Reiter a ?crit : > Can you additionally put in your gdal binaries? e.g. like gdapinfo. > It would allow me to do some manual tests. For sure, i'll do this now. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060417/ee4afcb8/attachment.bin From dpinte at itae.be Mon Apr 17 17:01:07 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 17 Apr 2006 17:01:07 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060417134646.GP3636@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417134646.GP3636@intevation.de> Message-ID: <1145286067.5094.9.camel@geru-itae> Le lundi 17 avril 2006 ? 15:46 +0200, Bernhard Reiter a ?crit : > > I just wanted to know if you have the possibility to test. > This makes it a lot easier if we want to create code that works > both on Windows and GNU/Linux. I will try all my patches on both architectures. Now, the project works fine with the latest SVN version on my Debian system only with the --use-wx-python-swig-hack option. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060417/07fd1847/attachment.bin From dpinte at itae.be Mon Apr 17 17:10:17 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 17 Apr 2006 17:10:17 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060417144932.GQ3636@intevation.de> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417144932.GQ3636@intevation.de> Message-ID: <1145286617.5094.13.camel@geru-itae> Le lundi 17 avril 2006 ? 16:49 +0200, Bernhard Reiter a ?crit : > > Strange. > I can only imagine that some files are missing that GDAL or proj might need. > > Can you additionally put in your gdal binaries? e.g. like gdapinfo. > It would allow me to do some manual tests. They are lots of files to add manually to the setup.py ... i'll try to change my path to see what can be the missing files and identify what needs to be added to the installer. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060417/50a06b39/attachment.bin From dpinte at itae.be Mon Apr 17 17:23:49 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 17 Apr 2006 17:23:49 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <1145286617.5094.13.camel@geru-itae> References: <1144764338.8434.2.camel@geru-itae> <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417144932.GQ3636@intevation.de> <1145286617.5094.13.camel@geru-itae> Message-ID: <1145287429.5094.21.camel@geru-itae> Le lundi 17 avril 2006 ? 17:10 +0200, Didrik Pinte a ?crit : > Le lundi 17 avril 2006 ? 16:49 +0200, Bernhard Reiter a ?crit : > > > > Strange. > > I can only imagine that some files are missing that GDAL or proj might need. > > > > Can you additionally put in your gdal binaries? e.g. like gdapinfo. > > It would allow me to do some manual tests. > > They are lots of files to add manually to the setup.py ... i'll try to > change my path to see what can be the missing files and identify what > needs to be added to the installer. > > Didrik Bernhard, That's really strange : My PATH is the following : c:\Python24\ and nothing else. I launch "python thuban.py" from my thuban1.1.0 build. Everything works fine ... I can load raster files, etc. Then, I installed the Thuban-1.1.0-2.exe application on my laptop and tested it. Everything works fine launching "python thuban.pyw" (loading rasters, changing projections, etc.) What can be the problem ? It seems they are no missing files in the installer, no ? Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060417/e4b4f1d3/attachment.bin From thuban-bugs at wald.intevation.org Mon Apr 17 15:56:29 2006 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Mon, 17 Apr 2006 15:56:29 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVs5MV0gVGVzdE9HUlRhYmxlLnRlc3RfQ29sdW1uKHMpIGZhaWw6ICdkb3VibGUnICE9ICdpbnQnICA=?= Message-ID: <20060417135629.E445118017D9@pyrosoma.intevation.org> Bugs item #91, was opened at 2006-04-17 15:56 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=91&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Bernhard Reiter (bernhard) Assigned to: Nobody (None) Summary: TestOGRTable.test_Column(s) fail: 'double' != 'int' Resolution: None Version: None Category: None Initial Comment: FAIL: Extensions.ogr.test.test_OGRShapestore.TestOGRTable.test_Column ---------------------------------------------------------------------- Traceback (most recent call last): File "/mobilehome/bernhard/hacking/thuban/root/trunk/thuban/test/../Extensions/ogr/test/test_OGRShapestore.py", line 197, in test_Column self.assertEquals(self.table.Column(0).type, FIELDTYPE_INT) File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: 'double' != 'int' ====================================================================== FAIL: Extensions.ogr.test.test_OGRShapestore.TestOGRTable.test_Columns ---------------------------------------------------------------------- Traceback (most recent call last): File "/mobilehome/bernhard/hacking/thuban/root/trunk/thuban/test/../Extensions/ogr/test/test_OGRShapestore.py", line 191, in test_Columns self.assertEquals(self.table.Columns()[0].type, FIELDTYPE_INT) File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: 'double' != 'int' ---------------------------------------------------------------------- Debian GNU/Linux ppc Thuban 1.1 svn-20060412 ChangeLog 2006-04-12 Currently using: wxPython 2.4.2.4 Python 2.3.5 PySQLite 1.0.1 SQLite 2.8.16 GDAL 1.3.1.0 psycopg - not available Internal encoding: ISO8859-1 Compiled for: GTK 1.2.10 proj 4.4.9 Extensions: SVG Export 1.0.0+cvs ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=91&group_id=6 From bernhard at intevation.de Tue Apr 18 11:48:06 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 18 Apr 2006 11:48:06 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <1145287429.5094.21.camel@geru-itae> References: <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417144932.GQ3636@intevation.de> <1145286617.5094.13.camel@geru-itae> <1145287429.5094.21.camel@geru-itae> Message-ID: <20060418094806.GA2792@intevation.de> Am 17. Apr 2006 um 17:23:49 schrieb Didrik Pinte: > Le lundi 17 avril 2006 ? 17:10 +0200, Didrik Pinte a ?crit : > > Le lundi 17 avril 2006 ? 16:49 +0200, Bernhard Reiter a ?crit : > > > I can only imagine that some files are missing that GDAL or > > > proj might need. > > > > > > Can you additionally put in your gdal binaries? e.g. like gdapinfo. > > > It would allow me to do some manual tests. > > > > They are lots of files to add manually to the setup.py ... i'll try to > > change my path to see what can be the missing files and identify what > > needs to be added to the installer. > That's really strange : > My PATH is the following : c:\Python24\ and nothing else. > > I launch "python thuban.py" from my thuban1.1.0 build. Everything works > fine ... I can load raster files, etc. Can you specifically load iceland_sample_raster.thuban when this was copied from Thuban-Data-1.0.0 to c:\programme\thuban\data ? > Then, I installed the Thuban-1.1.0-2.exe application on my laptop and > tested it. Everything works fine launching "python thuban.pyw" (loading > rasters, changing projections, etc.) > > What can be the problem ? It seems they are no missing files in the > installer, no ? I could retry Thuban-1.1.0-2.exe, did you make it available? Additionally I like to run some of the gdal commands, maybe this gives my a hint on what is going on. What does gdalinfo say on the .tif? Mine says: gdalinfo hacking/thuban/root/trunk/thuban/Data/iceland/island.tif Driver: GTiff/GeoTIFF Size is 5002, 394 Coordinate System is `' Origin = (-24.550000,66.566667) Pixel Size = (0.00221078,-0.00833334) Metadata: TIFFTAG_DOCUMENTNAME=/home/silke/islandneu.tif TIFFTAG_IMAGEDESCRIPTION=Created with The GIMP TIFFTAG_XRESOLUTION=72 TIFFTAG_YRESOLUTION=72 TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) Corner Coordinates: Upper Left ( -24.5500000, 66.5666670) Lower Left ( -24.5500000, 63.2833330) Upper Right ( -13.4916670, 66.5666670) Lower Right ( -13.4916670, 63.2833330) Center ( -19.0208335, 64.9250000) Band 1 Block=5002x64 Type=Byte, ColorInterp=Palette Color Table (RGB with 256 entries) 0: 14,150,2,255 1: 2,198,2,255 [..] You could also tar your whole build tree for me to test. There must be a difference obviously, it could be a .dll or the language or some sub version. Obviously I have Windows XP2 German, I have used Python 2.4.3 (as indicated in the testreport.) 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/20060418/0378a69f/attachment.bin From dpinte at itae.be Tue Apr 18 12:51:15 2006 From: dpinte at itae.be (Didrik Pinte) Date: Tue, 18 Apr 2006 12:51:15 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060418094806.GA2792@intevation.de> References: <20060412084352.GE27776@intevation.de> <20060412084724.GF27776@intevation.de> <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417144932.GQ3636@intevation.de> <1145286617.5094.13.camel@geru-itae> <1145287429.5094.21.camel@geru-itae> <20060418094806.GA2792@intevation.de> Message-ID: <1145357475.8282.27.camel@geru-itae> Le mardi 18 avril 2006 ? 11:48 +0200, Bernhard Reiter a ?crit : > > > That's really strange : > > My PATH is the following : c:\Python24\ and nothing else. > > > > I launch "python thuban.py" from my thuban1.1.0 build. Everything works > > fine ... I can load raster files, etc. > > Can you specifically load iceland_sample_raster.thuban > when this was copied from Thuban-Data-1.0.0 to c:\programme\thuban\data ? Sure I can do it without any error, nor warning messages. > > > Then, I installed the Thuban-1.1.0-2.exe application on my laptop and > > tested it. Everything works fine launching "python thuban.pyw" (loading > > rasters, changing projections, etc.) > > > > What can be the problem ? It seems they are no missing files in the > > installer, no ? > > I could retry Thuban-1.1.0-2.exe, did you make it available? uploaded here : http://wald.intevation.org/frs/download.php/196/Thuban-1.1.0-2.exe Here is the output of gdalinfo : C:\thubanbuild\gdal-1.3.1\apps>gdalinfo ..\..\Thuban-1.1.0\Data\iceland \island.t if Driver: GTiff/GeoTIFF Size is 5002, 394 Coordinate System is `' Origin = (-24.550000,66.566667) Pixel Size = (0.00221078,-0.00833334) Metadata: TIFFTAG_DOCUMENTNAME=/home/silke/islandneu.tif TIFFTAG_IMAGEDESCRIPTION=Created with The GIMP TIFFTAG_XRESOLUTION=72 TIFFTAG_YRESOLUTION=72 TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) Corner Coordinates: Upper Left ( -24.5500000, 66.5666670) Lower Left ( -24.5500000, 63.2833330) Upper Right ( -13.4916670, 66.5666670) Lower Right ( -13.4916670, 63.2833330) Center ( -19.0208335, 64.9250000) Band 1 Block=5002x64 Type=Byte, ColorInterp=Palette Color Table (RGB with 256 entries) 0: 14,150,2,255 1: 2,198,2,255 2: 58,126,6,255 [...] Seems to be the same as yours. > You could also tar your whole build tree for me to test. > There must be a difference obviously, > it could be a .dll or the language or some sub version. > > Obviously I have Windows XP2 German, > I have used Python 2.4.3 (as indicated in the testreport.) I'm running a Python 2.4.2 on a english Windows XP. I'll put a tar.gz of my thubanbuild directory online. Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060418/2113d474/attachment.bin From bernhard at intevation.de Tue Apr 18 14:25:57 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 18 Apr 2006 14:25:57 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <1145357475.8282.27.camel@geru-itae> References: <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417144932.GQ3636@intevation.de> <1145286617.5094.13.camel@geru-itae> <1145287429.5094.21.camel@geru-itae> <20060418094806.GA2792@intevation.de> <1145357475.8282.27.camel@geru-itae> Message-ID: <20060418122557.GA7099@intevation.de> Am 18. Apr 2006 um 12:51:15 schrieb Didrik Pinte: > Le mardi 18 avril 2006 ? 11:48 +0200, Bernhard Reiter a ?crit : > > > > > That's really strange : > > > My PATH is the following : c:\Python24\ and nothing else. > > > > > > I launch "python thuban.py" from my thuban1.1.0 build. Everything works > > > fine ... I can load raster files, etc. > > > > Can you specifically load iceland_sample_raster.thuban > > when this was copied from Thuban-Data-1.0.0 to c:\programme\thuban\data ? > > Sure I can do it without any error, nor warning messages. > > > > > Then, I installed the Thuban-1.1.0-2.exe application on my laptop and > > > tested it. Everything works fine launching "python thuban.pyw" (loading > > > rasters, changing projections, etc.) > > > > > > What can be the problem ? It seems they are no missing files in the > > > installer, no ? > > > > I could retry Thuban-1.1.0-2.exe, did you make it available? > > uploaded here : > http://wald.intevation.org/frs/download.php/196/Thuban-1.1.0-2.exe > > > Here is the output of gdalinfo : gdalinfo does not come with Thuban-1.1.0-2.exe for me. > > Obviously I have Windows XP2 German, > > I have used Python 2.4.3 (as indicated in the testreport.) > > I'm running a Python 2.4.2 on a english Windows XP. > > I'll put a tar.gz of my thubanbuild directory online. -------------- 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/20060418/d70a99b4/attachment.bin From bernhard at intevation.de Tue Apr 18 14:34:24 2006 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 18 Apr 2006 14:34:24 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <1145357475.8282.27.camel@geru-itae> References: <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417144932.GQ3636@intevation.de> <1145286617.5094.13.camel@geru-itae> <1145287429.5094.21.camel@geru-itae> <20060418094806.GA2792@intevation.de> <1145357475.8282.27.camel@geru-itae> Message-ID: <20060418123424.GB7099@intevation.de> Am 18. Apr 2006 um 12:51:15 schrieb Didrik Pinte: > Le mardi 18 avril 2006 ? 11:48 +0200, Bernhard Reiter a ?crit : > > Can you specifically load iceland_sample_raster.thuban > > when this was copied from Thuban-Data-1.0.0 to c:\programme\thuban\data ? > > Sure I can do it without any error, nor warning messages. > > > > > Then, I installed the Thuban-1.1.0-2.exe application on my laptop and > > > tested it. Everything works fine launching "python thuban.pyw" (loading > > > rasters, changing projections, etc.) > > > > > > What can be the problem ? It seems they are no missing files in the > > > installer, no ? > > > > I could retry Thuban-1.1.0-2.exe, did you make it available? > > uploaded here : > http://wald.intevation.org/frs/download.php/196/Thuban-1.1.0-2.exe I still have the same problems with it. :( > > Obviously I have Windows XP2 German, > > I have used Python 2.4.3 (as indicated in the testreport.) > > I'm running a Python 2.4.2 on a english Windows XP. I did go to 2.4.2, but this did not change anything it must be something else. 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/20060418/143d9508/attachment.bin From dpinte at itae.be Tue Apr 18 15:03:33 2006 From: dpinte at itae.be (Didrik Pinte) Date: Tue, 18 Apr 2006 15:03:33 +0200 Subject: [Thuban-list] thuban installer : added gdal dll In-Reply-To: <20060418123424.GB7099@intevation.de> References: <20060412092441.GN27776@intevation.de> <1144838250.10101.2.camel@geru-itae> <20060412110423.GA1116@intevation.de> <20060412122344.GE2457@intevation.de> <1144847525.10101.17.camel@geru-itae> <20060417144932.GQ3636@intevation.de> <1145286617.5094.13.camel@geru-itae> <1145287429.5094.21.camel@geru-itae> <20060418094806.GA2792@intevation.de> <1145357475.8282.27.camel@geru-itae> <20060418123424.GB7099@intevation.de> Message-ID: <1145365414.8282.40.camel@geru-itae> Le mardi 18 avril 2006 ? 14:34 +0200, Bernhard Reiter a ?crit : > > I did go to 2.4.2, but this did not change anything > it must be something else. > > Bernhard i'm uploading my thubanbuild directory ... it's 96 Mb. I'll send you the url when it's online. didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060418/ff347abe/attachment.bin From thuban-bugs at wald.intevation.org Wed Apr 19 12:30:42 2006 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Wed, 19 Apr 2006 12:30:42 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVs5NV0gcHlzcWxpdGUyIG5vdCBzdXBwb3J0ZWQgcXVlcmllcw==?= Message-ID: <20060419103042.5A53418017DE@pyrosoma.intevation.org> Bugs item #95, was opened at 2006-04-19 12:30 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=95&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Didrik Pinte (dpinte) Assigned to: Nobody (None) Summary: pysqlite2 not supported queries Resolution: None Version: None Category: None Initial Comment: Here are problematic queries for pysqlite2. Works well with pysqlite 1. INSERT INTO Table001 (id, Col001, Col002, Col003, Col004, Col005, Col006, Col007, Col008) VALUES (%(xxxxxxxxx)s, %(AREA)s, %(PERIMETER)s, %(PONET_)s, %(PONET_ID)s, %(POPYTYPE)s, %(POPYREG)s, %(POPYCOUN)s, %(POPYADMIN)s); INSERT INTO Table001 (id, Col001, Col002, Col003, Col004, Col005, Col006, Col007, Col008) VALUES (%(xxxxxxxxx)s, %(AREA)s, %(PERIMETER)s, %(PONET_)s, %(PONET_ID)s, %(POPYTYPE)s, %(POPYREG)s, %(POPYCOUN)s, %(POPYADMIN)s); INSERT INTO Table002 (id, Col001, Col002, Col003, Col004, Col005, Col006) VALUES (%(xxxxxxxxxx)s, %(AREA)s, %(PERIMETER)s, %(CLPOINT_)s, %(CLPOINT_ID)s, %(CLPTLABEL)s, %(CLPTFLAG)s); INSERT INTO Table002 (id, Col001, Col002) VALUES (%(xxxxxxxxxx)s, %(stretch_id)s, %(name)s); INSERT INTO Table002 (id, Col001) VALUES (%(xxxxxxxxxx)s, %(stretch_id)s); INSERT INTO Table002 (id, Col001, Col002) VALUES (%(xxxxxxxxxx)s, %(stretch_id)s, %(name)s); INSERT INTO Table001 (id, Col001, Col002, Col003, Col004, Col005, Col006, Col007, Col008) VALUES (%(xxxxxxxxx)s, %(AREA)s, %(PERIMETER)s, %(PONET_)s, %(PONET_ID)s, %(POPYTYPE)s, %(POPYREG)s, %(POPYCOUN)s, %(POPYADMIN)s); INSERT INTO Table001 (id, Col001, Col002, Col003) VALUES (%(xxxxx)s, %(type)s, %(value)s, %(code)s); INSERT INTO Table001 (id, Col001, Col002) VALUES (%(xxxx)s, %(type)s, %(code)s); INSERT INTO Table001 (id, Col001, Col002, Col003) VALUES (%(xxxxx)s, %(type)s, %(value)s, %(code)s); INSERT INTO Table002 (id, Col001, Col002, Col003, Col004, Col005, Col006, Col007, Col008, Col009) VALUES (%(xxxxxxxxx)s, %(FNODE_)s, %(TNODE_)s, %(LPOLY_)s, %(RPOLY_)s, %(LENGTH)s, %(RDLINE_)s, %(RDLINE_ID)s, %(RDLNTYPE)s, %(RDLNSTAT)s); INSERT INTO Table002 (id, Col001, Col002, Col003, Col004, Col005, Col006, Col007, Col008, Col009) VALUES (%(xxxxxxxxx)s, %(FNODE_)s, %(TNODE_)s, %(LPOLY_)s, %(RPOLY_)s, %(LENGTH)s, %(RDLINE_)s, %(RDLINE_ID)s, %(RDLNTYPE)s, %(RDLNSTAT)s); INSERT INTO Table002 (id, Col001, Col002, Col003, Col004, Col005, Col006, Col007, Col008, Col009) VALUES (%(xxxxxxxxx)s, %(FNODE_)s, %(TNODE_)s, %(LPOLY_)s, %(RPOLY_)s, %(LENGTH)s, %(RDLINE_)s, %(RDLINE_ID)s, %(RDLNTYPE)s, %(RDLNSTAT)s); INSERT INTO Table002 (id, Col001, Col002, Col003, Col004, Col005, Col006, Col007, Col008, Col009) VALUES (%(xxxxxxxxx)s, %(FNODE_)s, %(TNODE_)s, %(LPOLY_)s, %(RPOLY_)s, %(LENGTH)s, %(RDLINE_)s, %(RDLINE_ID)s, %(RDLNTYPE)s, %(RDLNSTAT)s); INSERT INTO Table002 (id, Col001, Col002, Col003, Col004, Col005, Col006) VALUES (%(xxxxxxxxxx)s, %(AREA)s, %(PERIMETER)s, %(CLPOINT_)s, %(CLPOINT_ID)s, %(CLPTLABEL)s, %(CLPTFLAG)s); INSERT INTO Table002 (id, Col001, Col002, Col003, Col004, Col005, Col006, Col007, Col008, Col009) VALUES (%(xxxxxxxxx)s, %(FNODE_)s, %(TNODE_)s, %(LPOLY_)s, %(RPOLY_)s, %(LENGTH)s, %(RDLINE_)s, %(RDLINE_ID)s, %(RDLNTYPE)s, %(RDLNSTAT)s); Those queries are the results of the following test : ERROR: test_transientdb.TestTransientTable.test_auto_transient_table ERROR: test_transientdb.TestTransientTable.test_auto_transient_table_query ERROR: test_transientdb.TestTransientTable.test_transient_joined_table ERROR: test_transientdb.TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place ERROR: test_transientdb.TestTransientTable.test_transient_joined_table_same_column_name ERROR: test_transientdb.TestTransientTable.test_transient_joined_table_with_equal_column_names ERROR: test_transientdb.TestTransientTable.test_transient_table ERROR: test_transientdb.TestTransientTable.test_transient_table_query ERROR: test_transientdb.TestTransientTable.test_transient_table_read_twice ERROR: test_transientdb.TestTransientTable.test_transienttable_to_dbf ERROR: test_load_0_8.TestJoinedTable.test ERROR: test_save.SaveSessionTest.test_joined_table ERROR: test_load_1_0.TestJoinedTable.test ERROR: test_load.TestJoinedTable.test ERROR: test_session.UnreferencedTablesTests.test_unreferenced_tables_with_joins ERROR: test_load_0_9.TestJoinedTable.test The python error is the following : File "/home/did/projets/python/thuban/thuban/test/../Thuban/Model/transientdb.py", line 431, in create cursor.execute(insert_template, row) OperationalError: near "%": syntax error I've added a print of the statement in case of an exception is raised. ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=95&group_id=6 From thuban-bugs at wald.intevation.org Wed Apr 19 17:05:45 2006 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Wed, 19 Apr 2006 17:05:45 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVs5N10gcHJvYmxlbSBhY2Nlc3NpbmcgZGF0YWJhc2UgdGFibGVzIHdpdGggMS4xLjAgdmVyc2lvbiA6IHd4IDIuNiBwcm9ibGVt?= Message-ID: <20060419150545.169E818017DE@pyrosoma.intevation.org> Bugs item #97, was opened at 2006-04-19 17:05 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=97&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Didrik Pinte (dpinte) Assigned to: Nobody (None) Summary: problem accessing database tables with 1.1.0 version : wx 2.6 problem Resolution: None Version: None Category: None Initial Comment: When trying to retrieve a table from a Postgis database, i get the following error message : Warning: .DBCONN_ADDED: () Traceback (most recent call last): File "/home/did/projets/python/thuban/thuban/Thuban/Lib/connector.py", line 92, in Issue apply(func, args + fargs) File "/home/did/projets/python/thuban/thuban/Thuban/UI/dbdialog.py", line 339, in conns_changed self.DB_ListBox.Clear() File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 13208, in __getattr__ raise PyDeadObjectError(self.attrStr % self._name) PyDeadObjectError: The C++ part of the DBFrame object has been deleted, attribute access no longer allowed. ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=97&group_id=6 From thuban-bugs at wald.intevation.org Wed Apr 19 17:06:42 2006 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Wed, 19 Apr 2006 17:06:42 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVs5OF0gcHJvYmxlbSBhY2Nlc3NpbmcgZGF0YWJhc2UgdGFibGVzIHdpdGggMS4xLjAgdmVyc2lvbiA6IHBvaW50IGxheWVycw==?= Message-ID: <20060419150642.A9C2618017DE@pyrosoma.intevation.org> Bugs item #98, was opened at 2006-04-19 17:06 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=98&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Didrik Pinte (dpinte) Assigned to: Nobody (None) Summary: problem accessing database tables with 1.1.0 version : point layers Resolution: None Version: None Category: None Initial Comment: When trying to access a point layer in a postgis database, i get the following error : AttributeError: 'NoneType' object has no attribute 'vertices' Traceback (most recent call last): File "/home/did/projets/python/thuban/thuban/Thuban/UI/view.py", line 209, in _do_redraw if self.render_iter.next(): File "/home/did/projets/python/thuban/thuban/Thuban/UI/view.py", line 275, in _render_iterator for cont in renderer.draw_selection_incrementally(layer, shapes): File "/home/did/projets/python/thuban/thuban/Thuban/UI/renderer.py", line 279, in draw_selection_incrementally data = shape.Points() File "/home/did/projets/python/thuban/thuban/Thuban/Model/data.py", line 78, in Points points = shape.vertices() ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=98&group_id=6 From thuban-featurerequests at wald.intevation.org Sun Apr 23 09:13:15 2006 From: thuban-featurerequests at wald.intevation.org (thuban-featurerequests@wald.intevation.org) Date: Sun, 23 Apr 2006 09:13:15 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1GZWF0dXJlIFJlcXVlc3RzXVsxMDZdIGFkZCBmaWxlIG5hbWUgdG8gdGhlIHByb3BlcnR5IHdpbmRvdw==?= Message-ID: <20060423071315.1DDF818017DC@pyrosoma.intevation.org> Feature Requests item #106, was opened at 2006-04-23 09:13 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=108&aid=106&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Didrik Pinte (dpinte) Assigned to: Nobody (None) Summary: add file name to the property window Version: None Category: None Initial Comment: When loading a "big" session, it's not possible to get the filename associated to a shapefile layer. The title of the layer is shown but if changed, it's not possible to get the associated filename. ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=108&aid=106&group_id=6 From dpinte at itae.be Mon Apr 24 12:27:07 2006 From: dpinte at itae.be (Didrik Pinte) Date: Mon, 24 Apr 2006 12:27:07 +0200 Subject: thuban-1.1.0-3.exe updated Message-ID: <1145874427.9811.17.camel@geru-itae> Hi, For your information, i've update the INNO setup for Windows. http://wald.intevation.org/frs/download.php/201/Thuban-1.1.0-3.exe Here is the changelog : - gdal installation dir fully integrated in the Thuban directory. All the executables and official script are shipped with the installer. You will find this in Thuban\gdal directory. - all the extensions are in the installer (do not forget to update you C:\Documents and Settings\USER\Application Data\thuban\thubanstart.py file) In order to make the gdal installation work, you just need to [1] Install Thuban-1.1.0-3.exe [2] update you PATH to point to the gdal\bin directory (normaly c:\Program Files\Thuban\gdal\bin). If you do not update it, an error message will point it out at each startup. I'll try to update the INNO installer so that it updates it automatically. Can some testers try the new build ? Thanks Didrik -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060424/8182b737/attachment.bin From thuban-bugs at wald.intevation.org Mon Apr 24 17:45:05 2006 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Mon, 24 Apr 2006 17:45:05 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVsxMDhdIGJ1Z3MgZHVlIHRvIEV4dGVuc2lvbnMub2dyIG1vZHVsZQ==?= Message-ID: <20060424154505.79E0E18017DC@pyrosoma.intevation.org> Bugs item #108, was opened at 2006-04-24 17:45 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=108&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Didrik Pinte (dpinte) Assigned to: Nobody (None) Summary: bugs due to Extensions.ogr module Resolution: None Version: None Category: None Initial Comment: The name of the ogr extension module produce a name clashing with the original GDAL/OGR python module. Don't you think it would be fine to rename it ? The __init__.py file uses the same trick as the one for svgexport with the dummy test on the environement variable DISPLAY. I will propose a patch to correct this for win32 architectures. ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=108&group_id=6 From thuban-bugs at wald.intevation.org Wed Apr 26 17:51:23 2006 From: thuban-bugs at wald.intevation.org (thuban-bugs@wald.intevation.org) Date: Wed, 26 Apr 2006 17:51:23 +0200 (CEST) Subject: =?UTF-8?B?W3RodWJhbi1CdWdzXVsxMTBdIGdkYWx3cmFwIHJhc3RlciByZW5kZXJpbmcgaXMgbm90IHdvcmtpbmcgZmluZQ==?= Message-ID: <20060426155123.D923618017DC@pyrosoma.intevation.org> Bugs item #110, was opened at 2006-04-26 17:51 You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=110&group_id=6 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Didrik Pinte (dpinte) Assigned to: Nobody (None) Summary: gdalwrap raster rendering is not working fine Resolution: None Version: None Category: None Initial Comment: Using a gdal python script creating a tiff file, it's not possible to see the content of the file using Thuban. Openev displays it correctly. Having a look at the code, the rendering is done by Thuban/UI/rendere.py and libraries/thuban/gdalwrap.cpp files. This last file seems to be a modified version of the gdalwrap.cpp file of the official GDAL distribution. Don't we have to synchronize the two files ? I will attach the raster file to this report Didrik ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=105&aid=110&group_id=6