[GRASS-dev] Re: [GRASS GIS] #522: NVIZ fails to start

GRASS GIS trac at osgeo.org
Tue Mar 10 09:42:22 EDT 2009


#522: NVIZ fails to start
--------------------------+-------------------------------------------------
  Reporter:  ewcgrass     |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  default      |     Version:  unspecified              
Resolution:               |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by ewcgrass):

 I replied to you directly by email and now realize I should have replied
 here. I'm pasting that email below.

 I'm running linux kernel 2.6.27.12-170.2.5.fc10.i686, tcl-8.5.3-1.fc10,
 and tk-8.5.3-5.fc10 (which was upgraded from repo just last week). Using a
 small raster file that did open in NVIZ before in an earlier
 grass-6.4.0svn and/or RC1 (? sorry, can't remember which) and in earlier
 versions of grass, prior to upgrading from FC-5 to Fedora-10.

 I have this morning tried the following four things:

 1)  From grass-6.4.0svn-07-03-2009 (generic file using installer), I get
 nothing when clicking on display NVIZ button, and when bringing NVIZ
 startup gui from drop-down menu, I get a pop-up window with message "chile
 process exited abnormally". When I click OK, a small grey "dialog0" window
 opens, but nothing else.

 2)  Using grass-6.4.0-RC3, when clicking display NVIZ button, a small grey
 NVIZ window and a small window with "please wait" in quickly flash, then
 nothing. When I bring NVIZ startup gui from drop-down menu, I get the
 following message in the output-gis.m window"

 --snip--
 nviz elevation=Site_plan_elevation3 at Ocean_Links
 Loading raster map <Site_plan_elevation3 at Ocean_Links>...

 Loading raster map <Site_plan_elevation3 at Ocean_Links>...

 Translating colors from raster map <Site_plan_elevation3 at Ocean_Links>...

 Error in startup script: could not create rendering context
     while executing
 "togl $Nv_(TOP).canvas -rgba true -double true -depth true"
     (procedure "Nv_makeGUI" line 56)
     invoked from within
 "Nv_makeGUI $Nv_(AREA)"
     (file "/usr/local/grass-6.4.0RC3/etc/nviz2.2/scripts/nviz2.2_script"
 line 1052)
 --snip--

 3)  From grass-6.4.0-RC3 using wxpython gui, from nviz startup gui I get
 from drop down menu, I get the following error message:

 --snip--
 Mon Mar  9 10:59:10
 2009)
 nviz
 elevation=Site_plan_elevation3 at Ocean_Links
 Loading raster map <Site_plan_elevation3 at Ocean_Links>...
 Loading raster map <Site_plan_elevation3 at Ocean_Links>...
 Translating colors from raster map
 <Site_plan_elevation3 at Ocean_Links>...
 Error in startup script: could not create rendering context
     while executing
 "togl $Nv_(TOP).canvas -rgba true -double true -depth true"
     (procedure "Nv_makeGUI" line 56)
     invoked from within
 "Nv_makeGUI $Nv_(AREA)"
     (file "/usr/local/grass-6.4.0RC3/etc/nviz2.2/scripts/nvi
 z2.2_script" line 1052)
 (Mon Mar  9 10:59:12 2009) Command finished (1 sec)
 --snip--

 4)  From grass-6.4.0snv-07-03-2009 using wxpython gui, from nviz startup
 gui I get from drop down menu, I get the following error message:

 --snip--
 /usr/local/grass6.4.0svn-i686-pc-linux-gnu-07_03_2009/etc/nviz2.2/nviz:
 error while loading shared libraries: libtk8.4.so: cannot open shared
 object file: No such file or directory
 --snip--

 It appears that the latest snv is looking for an older tk, and obviously
 libtk8.4.so is not present.

 One more thing I have noticed since making the upgrade to tk.i386
 8.5.3-5.fc10 late last week, is the lower half of the GIS Manager window
 redraws much more slowly than before, particularly when selecting a vector
 layer. This may be a tk thing related to the NVIZ problem?

 I could try to undo the upgrade, if that does not cause too many
 dependency problems, and if the upgraded tk version is not planned to be a
 permanent one for Fedora and/or other linux distros. Please advise.


 Regards,
 Rick

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/522#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list