[GRASS-user] Gui error behind splash screen

Hi all,

I just installed grass6.3 from les-ejk repository on a very striped
down ubuntu machine and I can create the location and mapset with no
problem in the GUI. The problem is that, after I create the mapset and
grass tries to load the gis.m it gives me an error message which I can
not see because it's behind the splash screen.

Could it be a tcl/tk version problem? I believe I have both 8.4 and
8.5. On the other hand, the location chooser gui works fine...

Thanks
Daniel

An update. Just found out that everything works fine with an UTM
location but, the failure happens when I try a lat-lon location.

Here is my wind file:
proj: 3
zone: 0
north: 7S
south: 15S
east: 57W
west: 67W
cols: 3704
rows: 2963
e-w resol: 0:00:09.719222
n-s resol: 0:00:09.719879
top: 1
bottom: 0
cols3: 1
rows3: 1
depths: 1
e-w resol3: 1
n-s resol3: 1
t-b resol: 1

Don't see anything wrong...

Daniel

On Fri, Nov 28, 2008 at 4:45 PM, Daniel Victoria
<daniel.victoria@gmail.com> wrote:

Hi all,

I just installed grass6.3 from les-ejk repository on a very striped
down ubuntu machine and I can create the location and mapset with no
problem in the GUI. The problem is that, after I create the mapset and
grass tries to load the gis.m it gives me an error message which I can
not see because it's behind the splash screen.

Could it be a tcl/tk version problem? I believe I have both 8.4 and
8.5. On the other hand, the location chooser gui works fine...

Thanks
Daniel

another update. I can get into a lat lon location in the grass
terminal but g.region -p gives me a segmentation fault

On Sat, Nov 29, 2008 at 11:26 AM, Daniel Victoria
<daniel.victoria@gmail.com> wrote:

An update. Just found out that everything works fine with an UTM
location but, the failure happens when I try a lat-lon location.

Here is my wind file:
proj: 3
zone: 0
north: 7S
south: 15S
east: 57W
west: 67W
cols: 3704
rows: 2963
e-w resol: 0:00:09.719222
n-s resol: 0:00:09.719879
top: 1
bottom: 0
cols3: 1
rows3: 1
depths: 1
e-w resol3: 1
n-s resol3: 1
t-b resol: 1

Don't see anything wrong...

Daniel

On Fri, Nov 28, 2008 at 4:45 PM, Daniel Victoria
<daniel.victoria@gmail.com> wrote:

Hi all,

I just installed grass6.3 from les-ejk repository on a very striped
down ubuntu machine and I can create the location and mapset with no
problem in the GUI. The problem is that, after I create the mapset and
grass tries to load the gis.m it gives me an error message which I can
not see because it's behind the splash screen.

Could it be a tcl/tk version problem? I believe I have both 8.4 and
8.5. On the other hand, the location chooser gui works fine...

Thanks
Daniel

Another GRASS+Ubuntu segfault. Use search to get more info. In short:
remove GRASS and all of it's dependencies and complie new ones FROM
SOURCE! (or choose some better user-friendly distribution like Gentoo)

Maris.

2008/11/29, Daniel Victoria <daniel.victoria@gmail.com>:

another update. I can get into a lat lon location in the grass
terminal but g.region -p gives me a segmentation fault

On Sat, Nov 29, 2008 at 11:26 AM, Daniel Victoria
<daniel.victoria@gmail.com> wrote:

An update. Just found out that everything works fine with an UTM
location but, the failure happens when I try a lat-lon location.

Here is my wind file:
proj: 3
zone: 0
north: 7S
south: 15S
east: 57W
west: 67W
cols: 3704
rows: 2963
e-w resol: 0:00:09.719222
n-s resol: 0:00:09.719879
top: 1
bottom: 0
cols3: 1
rows3: 1
depths: 1
e-w resol3: 1
n-s resol3: 1
t-b resol: 1

Don't see anything wrong...

Daniel

On Fri, Nov 28, 2008 at 4:45 PM, Daniel Victoria
<daniel.victoria@gmail.com> wrote:

Hi all,

I just installed grass6.3 from les-ejk repository on a very striped
down ubuntu machine and I can create the location and mapset with no
problem in the GUI. The problem is that, after I create the mapset and
grass tries to load the gis.m it gives me an error message which I can
not see because it's behind the splash screen.

Could it be a tcl/tk version problem? I believe I have both 8.4 and
8.5. On the other hand, the location chooser gui works fine...

Thanks
Daniel

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Sat, 2008-11-29 at 16:25 +0200, Maris Nartiss wrote:

Another GRASS+Ubuntu segfault. Use search to get more info. In short:
remove GRASS and all of it's dependencies and complie new ones FROM
SOURCE! (or choose some better user-friendly distribution like Gentoo)

Maris.

[...]

Sorry for breaking-in to your discussion.

I want to confirm that through my small experience with Ubuntu and
osgeo-tools, I have seen several times segfault problems. Things are
really better when compiling from source.

About the "Gentoo and user-friendly" argument: it could use a ";-)"
smiley :-).

FWIW:
Seriously, I don't doubt about it being *real user-friendly*. But most
people tend to identify user-friendly systems as systems that just work
out-of-box. Since there are different views it is necessary to define
what one understands as *user-friendly* and what not. Anyhow, I think
that Gentoo, is definitely NOT for a new-comer in the FOSS4G field.

Kind Regards, Nikos

I was hopping I would not have to resort to compiling everything from
source. I recall that a while ago a simple apt-get would be enough to
get everything working just fine in Ubuntu. Now that was friendly...

Daniel

On Sat, Nov 29, 2008 at 12:39 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

On Sat, 2008-11-29 at 16:25 +0200, Maris Nartiss wrote:

Another GRASS+Ubuntu segfault. Use search to get more info. In short:
remove GRASS and all of it's dependencies and complie new ones FROM
SOURCE! (or choose some better user-friendly distribution like Gentoo)

Maris.

[...]

Sorry for breaking-in to your discussion.

I want to confirm that through my small experience with Ubuntu and
osgeo-tools, I have seen several times segfault problems. Things are
really better when compiling from source.

About the "Gentoo and user-friendly" argument: it could use a ";-)"
smiley :-).

FWIW:
Seriously, I don't doubt about it being *real user-friendly*. But most
people tend to identify user-friendly systems as systems that just work
out-of-box. Since there are different views it is necessary to define
what one understands as *user-friendly* and what not. Anyhow, I think
that Gentoo, is definitely NOT for a new-comer in the FOSS4G field.

Kind Regards, Nikos

Daniel Victoria wrote:

another update. I can get into a lat lon location in the grass
terminal but g.region -p gives me a segmentation fault

ok, next we need to figure out why.

can you rerun with:
g.gisenv set="DEBUG=5"

so it might say how far it got. (set back to 0 to turn off debug messages)

and then post a backtrace from gdb:
  http://grass.osgeo.org/wiki/GRASS_Debugging#Using_GDB

Hamish

Can't do that right now because I removed everything and I'm now
trying to compile everything from source. Unfortunately, my computer
is very slow and it takes almost 4 hours just to compile GDAL. Grass
takes another 5 hours...

If I'm not sucessful compiling I'll try the Ubuntu repos again and
then will do the gdb thingy

Daniel

On Sun, Nov 30, 2008 at 12:41 AM, Hamish <hamish_b@yahoo.com> wrote:

Daniel Victoria wrote:

another update. I can get into a lat lon location in the grass
terminal but g.region -p gives me a segmentation fault

ok, next we need to figure out why.

can you rerun with:
g.gisenv set="DEBUG=5"

so it might say how far it got. (set back to 0 to turn off debug messages)

and then post a backtrace from gdb:
http://grass.osgeo.org/wiki/GRASS_Debugging#Using_GDB

Hamish

Finally, everything is working. It turned out to be a mix up of gdal
libraries and gdal-grass plugin installed from the ubuntu
repositories.

Solved everything by clearing all gdal related instalation and
compiling gdal and grass from source.

Now apparently everything is working and I've seen the wxPython GUI
for the first time! Impressive!! Congrats all grass developers for the
well done job

Daniel

On Sun, Nov 30, 2008 at 12:41 AM, Hamish <hamish_b@yahoo.com> wrote:

Daniel Victoria wrote:

another update. I can get into a lat lon location in the grass
terminal but g.region -p gives me a segmentation fault

ok, next we need to figure out why.

can you rerun with:
g.gisenv set="DEBUG=5"

so it might say how far it got. (set back to 0 to turn off debug messages)

and then post a backtrace from gdb:
http://grass.osgeo.org/wiki/GRASS_Debugging#Using_GDB

Hamish