From bernhard at intevation.de Wed Feb 2 00:45:14 2005 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 2 Feb 2005 00:45:14 +0100 Subject: [Thuban-list] Thuban on Mandrake 10.1? In-Reply-To: <200501270415.06823.serviopa@sili.com.br> <200501260218.49799.serviopa@sili.com.br> References: <20050122152911.GC11811@intevation.de> <200501260218.49799.serviopa@sili.com.br> <20050126100742.GA29851@intevation.de> <200501270415.06823.serviopa@sili.com.br> <20050122152911.GC11811@intevation.de> <200501251702.56258.serviopa@sili.com.br> <20050125224449.GB16221@intevation.de> <200501260218.49799.serviopa@sili.com.br> Message-ID: <20050201234514.GI19031@intevation.de> On Wed, Jan 26, 2005 at 02:18:49AM -0200, Servio Tulio Pires Amarante wrote: > I see. From what I read elsewhere, _gtk_accel_group_detach have been > removed/replaced in GTK 2.4x, standard library in mdk 10.1. So, I think that > only a new version of Thuban, built over wxPython 2.5x will run under > Mandrake 10.1. The kind of changes in the system to make it run under 10.1 > may causes too much trouble. Meanwhile I have looked at the GTK 2.4.x documentation and found that symbol to be removed as documented. I tried to find out if there is a stable version of wx2.4 for newer GTKs from wxwidgets.org, but had no luck so far. It strikes me as rather odd, as those changes could not be that problematic and wx2.4 still is the official stable version. Maybe somebody should try to ask on their mailing lists or search more thorougly. On Thu, Jan 27, 2005 at 04:15:06AM -0200, Servio Tulio Pires Amarante wrote: > > It should be possible without too much problem as wxPython 2.4 shall > > work without problem with GTK 2.4.x if I am not mistaken. > > > > So you might only need to rebuild wxPythonGTK from the Mandrake src.rpm > once. > > Can you try this? It should be fairly easy. > > > > I rebuilt wxPythonGTK, but it did not work. Thuban still asks for > that missing symbol. I tried to rebuild the wxPythonGTK src rpm > from the wxPython site and got the same error on that missing > symbol, but now when rebuilding the rpm package... Thanks a lot for trying! As I wrote about, my information was that GTK would be binary compatible in the 2.x.x series, but obviously this was wrong. :( If you feel adventurous you could try to build gtk 2.2 or rebuild the source RPMs of the gtk from Mandrake's 10.0 source GTK or from a tarball. On the other hand, the patch to wx2.4 should not be difficult. Hmmm. -------------- 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-list/attachments/20050202/392e0c2e/attachment.bin From m.v.d.bilt at chello.nl Thu Feb 3 13:02:05 2005 From: m.v.d.bilt at chello.nl (Marcel van der Bilt) Date: Thu, 3 Feb 2005 13:02:05 +0100 Subject: [Thuban-list] OS X installation Message-ID: <6C4D63F6-75DB-11D9-A1C1-000D933C90E6@chello.nl> I Get the following error in OS X aswell on a 1.33 g4 laptop aswell on a 1.8 g5 dual mac os x 1.3 see folowing console output 2005-02-03 12:48:52.581 thuban[983] thuban Error 2005-02-03 12:48:52.581 thuban[983] An unexpected error has occurred during execution of the main script ImportError: Failure linking new module: @executable_path/../Frameworks/libproj.0.dylib: dyld: /Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/MacOS/thuban can't open library: @executable_path/../Frameworks/libproj.0.dylib (No such file or directory, errno = 2) See the Console for a detailed traceback. Traceback (most recent call last): File "/Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/__boot__.py", line 39, in ? _run('thuban.py') File "/Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/__boot__.py", line 36, in _run execfile(os.path.join(base, 'Python', script), globals(), globals()) File "/Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/thuban.py", line 20, in ? import Thuban.UI.main File "/Applications/Grass/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/main.py", line 18, in ? File "/Applications/Grass/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/ application.py", line 27, in ? File "/Applications/Grass/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/ save.py", line 23, in ? File "/Applications/Grass/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/ layer.py", line 26, in ? File "/Applications/Grass/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/ resource.py", line 27, in ? File "/Applications/Grass/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/ proj.py", line 15, in ? File "/Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/../Lib/ Projection.py", line 2, in ? import Projectionc ImportError: Failure linking new module: @executable_path/../Frameworks/libproj.0.dylib: dyld: /Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/MacOS/thuban can't open library: @executable_path/../Frameworks/libproj.0.dylib (No such file or directory, errno = 2) 2005-02-03 12:53:43.290 thuban[994] thuban Error 2005-02-03 12:53:43.290 thuban[994] An unexpected error has occurred during execution of the main script ImportError: Failure linking new module: @executable_path/../Frameworks/libproj.0.dylib: dyld: /Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/MacOS/thuban can't open library: @executable_path/../Frameworks/libproj.0.dylib (No such file or directory, errno = 2) See the Console for a detailed traceback. on the internet http://www.versiontracker.com/dyn/moreinfo/macosx/ 25671&mode=feedback&vid=All http://www.macupdate.com/reviews.php?id=16993 Where do i get this framework library Marcel From lorenzo.moretti at bologna.enea.it Fri Feb 4 13:34:01 2005 From: lorenzo.moretti at bologna.enea.it (Lorenzo Moretti) Date: Fri, 4 Feb 2005 13:34:01 +0100 Subject: [Thuban-list] OS X installation In-Reply-To: <6C4D63F6-75DB-11D9-A1C1-000D933C90E6@chello.nl> References: <6C4D63F6-75DB-11D9-A1C1-000D933C90E6@chello.nl> Message-ID: Hi Marcel >I Get the following error in OS X aswell on a 1.33 g4 laptop aswell >on a 1.8 g5 dual mac os x 1.3 >see folowing console output > >2005-02-03 12:48:52.581 thuban[983] thuban Error >2005-02-03 12:48:52.581 thuban[983] An unexpected error has occurred >during execution of the main script > >ImportError: Failure linking new module: >@executable_path/../Frameworks/libproj.0.dylib: dyld: >/Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/MacOS/thuban >can't open library: @executable_path/../Frameworks/libproj.0.dylib >(No such file or directory, errno = 2) > > >See the Console for a detailed traceback. >Traceback (most recent call last): > File "/Volumes/Thuban/Thuban 1.0.1/Thuban >1.0.1.app/Contents/Resources/__boot__.py", line 39, in ? > _run('thuban.py') > File "/Volumes/Thuban/Thuban 1.0.1/Thuban >1.0.1.app/Contents/Resources/__boot__.py", line 36, in _run > execfile(os.path.join(base, 'Python', script), globals(), globals()) > File "/Volumes/Thuban/Thuban 1.0.1/Thuban >1.0.1.app/Contents/Resources/Python/thuban.py", line 20, in ? > import Thuban.UI.main > File "/Applications/Grass/Thuban >1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/main.py", >line 18, in ? > File "/Applications/Grass/Thuban >1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/application.py", >line 27, in ? > File "/Applications/Grass/Thuban >1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/save.py", >line 23, in ? > File "/Applications/Grass/Thuban >1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/layer.py", >line 26, in ? > File "/Applications/Grass/Thuban >1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/resource.py", >line 27, in ? > File "/Applications/Grass/Thuban >1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/proj.py", >line 15, in ? > File "/Volumes/Thuban/Thuban 1.0.1/Thuban >1.0.1.app/Contents/Resources/Python/site-packages/Thuban/../Lib/Projection.py", >line 2, in ? > import Projectionc >ImportError: Failure linking new module: >@executable_path/../Frameworks/libproj.0.dylib: dyld: >/Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/MacOS/thuban >can't open library: @executable_path/../Frameworks/libproj.0.dylib >(No such file or directory, errno = 2) > >2005-02-03 12:53:43.290 thuban[994] thuban Error >2005-02-03 12:53:43.290 thuban[994] An unexpected error has occurred >during execution of the main script > >ImportError: Failure linking new module: >@executable_path/../Frameworks/libproj.0.dylib: dyld: >/Volumes/Thuban/Thuban 1.0.1/Thuban 1.0.1.app/Contents/MacOS/thuban >can't open library: @executable_path/../Frameworks/libproj.0.dylib >(No such file or directory, errno = 2) > > >See the Console for a detailed traceback. > >on the internet > >http://www.versiontracker.com/dyn/moreinfo/macosx/25671&mode=feedback&vid=All >http://www.macupdate.com/reviews.php?id=16993 > >Where do i get this framework library You have an old version I suppose Download the version 1.0.1-3 at http://wwwamb.bologna.enea.it/forthuban/ In the Thuban site there is an old version 1.0.1-2 This version work in 10.3 Bye -- ________________________________________________________________________ || Lorenzo Moretti e-mail: lorenzo.moretti at bologna.enea.it ||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/ || | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.) ~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131 ________________________________________________________________________ From jan at intevation.de Tue Feb 8 12:20:19 2005 From: jan at intevation.de (Jan-Oliver Wagner) Date: Tue, 8 Feb 2005 12:20:19 +0100 Subject: [Thuban-list] OS X installation In-Reply-To: References: <6C4D63F6-75DB-11D9-A1C1-000D933C90E6@chello.nl> Message-ID: <20050208112019.GE31326@intevation.de> Hi, On Fri, Feb 04, 2005 at 01:34:01PM +0100, Lorenzo Moretti wrote: > In the Thuban site there is an old version 1.0.1-2 > This version work in 10.3 the page is updated now. Sorry for the delay, but Lorenzos server was not reachable when I tried to download the -3 release. Best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From lorenzo.moretti at bologna.enea.it Mon Feb 14 14:43:55 2005 From: lorenzo.moretti at bologna.enea.it (Lorenzo Moretti) Date: Mon, 14 Feb 2005 14:43:55 +0100 Subject: [Thuban-list] Errors and notes about OSX version Message-ID: Notes about Thuban-OSX-1.0.1-3 Problems with raster reprojected (resolved with a tip for version 1.0.1-3) There is a strange link inside GDAL library (I have sent a note to gdal mailing list) and GDAL always see libproj.so installed in /usr/local/lib. This is an error because proj can be installed in other directory. There is a tip (not very beatiful for an application) but it works in Mac OSX binary: create a symbolic link to libproj.0.dylib inside Thuban application. If you have Thuban 1.0.1 app inside Thuban 1.0.1 folder inside Applications folder you enter this command in terminal: % sudo ln -s /Applications/Thuban\ 1.0.1/Thuban\ 1.0.1.app/Contents/Frameworks/libproj.0.dylib /usr/local/lib/libproj.so ... enter your password and return Now rasters layers can be reprojected. Problem with wms Until the end of January it was possible to see wms demo link inside Thuban for OS X (http://frida.intevation.org/cgi-bin/frida_wms?) with all layers. Now Thuban is connected to that link but nothing is diplayed: all layers are selected, the scale bar is OK but nothing is diplayed. Is it changed the remote link? The Thuban version is the same. This is the error: Traceback (most recent call last): File "/Applications/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/view.py", line 209, in _do_redraw File "/Applications/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/view.py", line 258, in _render_iterator File "/Applications/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/baserenderer.py", line 203, in render_map_incrementally File "/Applications/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Extensions/wms/wms.py", line 57, in render_wms_layer TypeError: draw_raster_data() takes at least 4 arguments (3 given) Problems with PostGis connections My Postgis works with Grass and Qgis but in Thuban I have some problems. I can enter the parameters for db and this is OK. From Add Layers from I can select a layer from db with ID column and Geometry Column (wkb_geometry). Only the first time I see the layers but if I choose a projection layer Thuban goes to error: SELECT extent("wkb_geometry") FROM "provincia_ro"; (per piacere segnala l'errore a http://thuban.intevation.org/bugtracker.html) Traceback (most recent call last): File "/Applications/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/mainwindow.py", line 294, in invoke_command File "/Applications/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/command.py", line 121, in Execute File "/Applications/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/mainwindow.py", line 1068, in call_method File "/Applications/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/mainwindow.py", line 973, in FullExtent File "/Applications/Thuban 1.0.1/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/viewport.py", line 483, in FitMapToWindow File "/Applications/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/map.py", line 209, in ProjectedBoundingBox File "/Applications/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/map.py", line 188, in BoundingBox File "/Applications/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/layer.py", line 169, in LatLongBoundingBox File "/Applications/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/layer.py", line 162, in BoundingBox File "/Applications/Thuban 1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/postgisdb.py", line 639, in BoundingBox ProgrammingError: ERROR: current transaction is aborted, commands ignored until end of transaction block SELECT extent("wkb_geometry") FROM "provincia_ro"; Why? ------------------------------------ Notes about last Thuban-cvs-05-02-11 Raster Background Raster Layer are returned black and more than 1 raster on Thuban now clean the raster layer below. In 1.0.1-3 more raster layers can be displayed without cleaning. All properties windows Now there is a strange format text in the box inside any layer Properties window. In the box called Title, the name of layer is missing to the left of box. I see only the last letter of name and I have to move the cursor to the left for viewing the whole name. This is OK in previous 1.0.1-3 Open layer via OGR (Map menu) Under this menu there are 3 menu. The first: Open an ogr-file is OK. The second: Select file format open a window for Choosing file format but If I select on the left column one format (ex: ESRI Shapefile) and I press OK I have this error: An unhandled exception occurred: ChooseFileFormat instance has no attribute 'lb_driver' (please report to http://thuban.intevation.org/bugtracker.html) Traceback (most recent call last): File "/Applications/Thuban 1.0.1/Thuban 1.0.1 cvs.app/Contents/Resources/Python/site-packages/Extensions/ogr/ogrdialog.py", line 131, in OnRetrieve AttributeError: ChooseFileFormat instance has no attribute 'lb_driver' NOT resolved - Toolbar is missing - Sometimes Legend is window locked and resizer window doesn't work (this is linked to the Toolbar absence) Bye -- ________________________________________________________________________ || Lorenzo Moretti e-mail: lorenzo.moretti at bologna.enea.it ||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/ || | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.) ~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131 ________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.intevation.de/pipermail/thuban-list/attachments/20050214/95f7a7f2/attachment.html From bernhard at intevation.de Wed Feb 16 10:11:05 2005 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 16 Feb 2005 10:11:05 +0100 Subject: [Thuban-list] Errors and notes about OSX version In-Reply-To: References: Message-ID: <20050216091105.GE29911@intevation.de> Hi Lorenzo, thanks for the reports! On Mon, Feb 14, 2005 at 02:43:55PM +0100, Lorenzo Moretti wrote: > > Notes about Thuban-OSX-1.0.1-3 > > Problems with raster reprojected (resolved with a tip for version > 1.0.1-3) Good that this is solved, it caught me on Mandrake, too. > ------------------------------------ > > Notes about last Thuban-cvs-05-02-11 > > Raster > > Background Raster Layer are returned black and more than 1 raster on > Thuban now clean the raster layer below. In 1.0.1-3 more raster layers > can be displayed without cleaning. I would expect this to be the other way round, because only the CVS has the new raster code, which allows overlapping raster images. > All properties windows > > Now there is a strange format text in the box inside any layer > Properties window. In the box called Title, the name of layer is > missing to the left of box. I see only the last letter of name and I > have to move the cursor to the left for viewing the whole name. This > is OK in previous 1.0.1-3 I think a screenshot would be interesting here. > Open layer via OGR (Map menu) > > Under this menu there are 3 menu. The first: Open an ogr-file is OK. > The second: Select file format open a window for Choosing file format > but If I select on the left column one format (ex: ESRI Shapefile) and > I press OK I have this error: > > An unhandled exception occurred: > ChooseFileFormat instance has no attribute 'lb_driver' > (please report to http://thuban.intevation.org/bugtracker.html) > Traceback (most recent call last): > > File "/Applications/Thuban 1.0.1/Thuban 1.0.1 > cvs.app/Contents/Resources/Python/site-packages/Extensions/ogr/ogrdial > og.py", line 131, in OnRetrieve > > AttributeError: ChooseFileFormat instance has no attribute 'lb_driver' I think this will be interesting to Nina who is actively working on this part of the code. > NOT resolved > > - Toolbar is missing > > - Sometimes Legend is window locked and resizer window doesn't work > (this is linked to the Toolbar absence) I hope for improvement in the future when CVS can run with wxPython 2.5. Best, 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-list/attachments/20050216/1ee852e1/attachment.bin From jonathan at jpcoles.com Wed Feb 16 13:56:27 2005 From: jonathan at jpcoles.com (Jonathan Coles) Date: Wed, 16 Feb 2005 07:56:27 -0500 Subject: [Thuban-list] Errors and notes about OSX version In-Reply-To: <20050216091105.GE29911@intevation.de> References: <20050216091105.GE29911@intevation.de> Message-ID: <1108558587.12009.38.camel@localhost.localdomain> Am Mittwoch, den 16.02.2005, 10:11 +0100 schrieb Bernhard Reiter: > > All properties windows > > > > Now there is a strange format text in the box inside any layer > > Properties window. In the box called Title, the name of layer is > > missing to the left of box. I see only the last letter of name and I > > have to move the cursor to the left for viewing the whole name. This > > is OK in previous 1.0.1-3 > > I think a screenshot would be interesting here. in the layer properties box i add the line text_title.SetInsertionPointEnd() because i thought it was inconvenient to have the insertion point at the beginning on the title text. if someone wanted to change the text they would generally have to move to the end of the title first. this call is probably what is causing the strange behavior, but it would seem to me to be a bug with wx. --jonathan -- ===================================================================== Jonathan Coles http://www.jpcoles.com jonathan at jpcoles.com GnuPG Key: /gpg_pub_key.asc =====================================================================