[GRASS-dev] [GRASS GIS] #1126: grass 7 svn compile on ubuntu 10.04 lucid 64 bits

#1126: grass 7 svn compile on ubuntu 10.04 lucid 64 bits
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Compiling | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: x86-64 |
-----------------------+----------------------------------------------------
Hi all,

I use this command to compile grass 7 svn on my ubuntu :
CFLAGS="-march=native-g -Wall" ./configure --enable-debug --enable-64bit
--with-libs=/usr/lib64 --with-cxx --with-readline --with-freetype=yes
--with-freetype-includes="/usr/include/freetype2/" --enable-largefile=yes
--with-proj-share=/usr/local/share/proj/ --with-geos=/usr/local/bin/geos-
config --with-cairo --with-tcltk-includes="/usr/include/tcl8.4/" --with-
wxwidgets=yes --with-postgres=yes --with-postgres-
libs=/usr/include/postgresql/libpq --with-postgres-
includes=/usr/include/postgresql --with-sqlite=yes --with-python=yes
--with-opengl-libs=/usr/include/GL --with-ffmpeg=yes --with-ffmpeg-
includes="/usr/include/libavcodec /usr/include/libavformat
/usr/include/libswscale" --with-nls --with-blas=yes --with-lapack=yes

the compile index no errors, make -j8 and make install
grass70 works fine but the view3D crash ? NVIZ works fine with tcl/tk.
@+

[[Image(/home/pascal/Bureau/Capture-Terminal.png)]]

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: grass 7 svn compile on ubuntu 10.04 lucid 64 bits
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Compiling | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: x86-64 |
-----------------------+----------------------------------------------------

Comment(by nikos):

May I suggest to change the summary to clearly refer to the "view-3D"
crashing?

Nikos

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing
----------------------+-----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by martinl):

  * keywords: => wxNviz
  * component: Compiling => wxGUI

Comment:

Please try out fresh SVN. The error occurs when starting 3D view mode in
wxGUI?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing
----------------------+-----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by nikos):

Replying to [comment:2 martinl]:
> Please try out fresh SVN. The error occurs when starting 3D view mode in
wxGUI?

Works fine here.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing
----------------------+-----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: MacOSX
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by helena):

  * platform: Linux => MacOSX

Comment:

On mac, in today's (Aug 16) update it crashes wxGUI when I have a raster
(elevation) and a vector (roadsmajor) in map layer list and I switch to 3D
view. It does not crash when there is only raster elevation. Helena

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing when started with vector data
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
Changes (by helena):

  * cpu: x86-64 => OSX/Intel

Comment:

More details about this for trunk compiled March 26, 2011:
entire wxGUI crashes after adding vector points or lines, it gives the
following error when trying to switch to 3D view
with both elevation and vector layer selected (using nc_spm data set, I
had elevation and point firestations
in map layers list, but it gives the error for line vector busroutes as
well)

{{{
(Traceback - no module named adw.advancedsplash)
v.info <t> is not a valid flag
is it trying to run v.info -t?
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing when started with vector data
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by hamish):

Replying to [comment:5 helena]:
> but it gives the error for line vector busroutes as well)
>
{{{
> (Traceback - no module named adw.advancedsplash)
> v.info <t> is not a valid flag
> is it trying to run v.info -t?
}}}

v.info printing flags were changed in trunk. I quite disagree with that
change and would like to revert it before too long, as it introduces a
contextual meaning extra level of abstraction to learn/deal with, makes
life harder for command line users while offering dubious advantage to the
module's GUI users, fixes what wasn't broken in the first place, and makes
the module inconsistent with other core module usage (which IMNSHO should
not be moved away from flags either, and certainly not without widespread
positive feedback/consensus).

best,
Hamish

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing when started with vector data
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by martinl):

Replying to [comment:6 hamish]:
> v.info printing flags were changed in trunk. I quite disagree with that
change and would like to revert it before too long, as it introduces a
contextual meaning extra level of abstraction to

I was just waiting for some discussion, more opinions. I received only
yours negative one and nothing more. So I will revert changes `v.info` at
this point.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing when started with vector data
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by martinl):

Replying to [comment:6 hamish]:
> to learn/deal with, makes life harder for command line users while
offering dubious advantage to the module's GUI users, fixes what wasn't
broken in the first place, and makes the module

btw, here should be used `grass.vector_topo_info()`

inconsistent with other core module usage (which IMNSHO should not be
moved away from flags either, and certainly not without widespread
positive feedback/consensus).

In other words without any feedback (except yours negative), doesn't
matter if positive.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing when started with vector data
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * status: new => assigned

Comment:

Replying to [comment:8 martinl]:
> Replying to [comment:6 hamish]:
> > to learn/deal with, makes life harder for command line users while
offering dubious advantage to the module's GUI users, fixes what wasn't
broken in the first place, and makes the module
>
> btw, here should be used `grass.vector_topo_info()`

fixed in r45779

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing when started with vector data
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by martinl):

Replying to [comment:4 helena]:
> On mac, in today's (Aug 16) update it crashes wxGUI when I have a raster
(elevation) and a vector (roadsmajor) in map layer list and I switch to 3D
view. It does not crash when there is only raster elevation. Helena

still with current trunk?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing when started with vector data
-----------------------+----------------------------------------------------
Reporter: pobsteta | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxNviz | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by helena):

it works now - if I include grass6 vector data it suggests to rebuild
topology and after rebuilding, I can switch to 3D without trouble. I
think that this can be closed,

Helena

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:11&gt;
GRASS GIS <http://grass.osgeo.org>

#1126: 3D view crashing when started with vector data
-----------------------+----------------------------------------------------
  Reporter: pobsteta | Owner: martinl
      Type: defect | Status: closed
  Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: wxNviz
  Platform: MacOSX | Cpu: OSX/Intel
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: assigned => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1126#comment:12&gt;
GRASS GIS <http://grass.osgeo.org>