Opened 10 years ago

Closed 9 years ago

#1126 closed defect (fixed)

3D view crashing when started with vector data

Reported by: pobsteta Owned by: martinl
Priority: critical Milestone: 7.0.0
Component: wxGUI Version: svn-trunk
Keywords: wxNviz Cc: grass-dev@…
CPU: OSX/Intel Platform: MacOSX

Description

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. @+

/home/pascal/Bureau/Capture-Terminal.png

Attachments (1)

Capture-Terminal.png (68.9 KB) - added by pobsteta 10 years ago.
crash image

Download all attachments as: .zip

Change History (13)

Changed 10 years ago by pobsteta

Attachment: Capture-Terminal.png added

crash image

comment:1 Changed 10 years ago by nikos

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

Nikos

comment:2 Changed 10 years ago by martinl

Component: CompilingwxGUI
Keywords: wxNviz added
Summary: grass 7 svn compile on ubuntu 10.04 lucid 64 bits3D view crashing

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

comment:3 in reply to:  2 Changed 10 years ago by nikos

Replying to martinl:

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

Works fine here.

comment:4 Changed 10 years ago by helena

Platform: LinuxMacOSX

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

comment:5 Changed 9 years ago by helena

CPU: x86-64OSX/Intel
Summary: 3D view crashing3D view crashing when started with vector data

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?

comment:6 in reply to:  5 ; Changed 9 years ago by hamish

Replying to 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

comment:7 in reply to:  6 Changed 9 years ago by martinl

Replying to 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.

comment:8 in reply to:  6 ; Changed 9 years ago by martinl

Replying to 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.

comment:9 in reply to:  8 Changed 9 years ago by martinl

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Replying to martinl:

Replying to 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

comment:10 in reply to:  4 Changed 9 years ago by martinl

Replying to 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?

comment:11 Changed 9 years ago 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

comment:12 Changed 9 years ago by martinl

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.