[GRASS-dev] [GRASS GIS] #2012: d.vect wx module GUI forgets column names

#2012: d.vect wx module GUI forgets column names
--------------------+-------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-trunk
Keywords: d.vect | Platform: Linux
      Cpu: x86-64 |
--------------------+-------------------------------------------------------
Hi, I notice if I add a new vector layer and in the symbol tab of the
d.vect pop up GUI I set the symbol size_col and rotation_col options to
column names, it works ok, but then if I go back to the vector layer ->
preferences and the symbol tab again the given column names are gone &
forgotten.
If I press apply or ok a second time the map re-renders and those settings
are lost.

happens in all branches, e.g. for any points map: cat, cat, and size=1.

(trying that for a line map [m.cogo import example] without a db
connection or cat number for the line ends up in a traceback error)

I also notice an error in trunk that the drop down menu for the column
names is empty, but I can manually type "cat" there and it works.

?
thanks,
Hamish

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

#2012: d.vect wx module GUI forgets column names
--------------------+-------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-trunk
Keywords: d.vect | Platform: Linux
      Cpu: x86-64 |
--------------------+-------------------------------------------------------

Comment(by annakrat):

Please test again, the column problem should be fixed. Please be more
specific about the other problems, include the traceback error.

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

Hi

I just downloaded the newest GRASS (7) version from svn in order to test the issue.
In the build process I get an error message:
"Errors in:
/data/src/grass70svn/man"

make in the man directory says:

"make[2]: `/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.gmodeler.1' is up to date.
VERSION_NUMBER=7.0.svn /data/src/grass70svn/dist.x86_64-unknown-linux-gnu/tools/g.html2man.py /data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/html/wxGUI.html /data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.1
/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/html/wxGUI.html:643:0: Error (IndexError('pop from empty list',)): <a href="wxGUI.components.html">wxGUI components</a><br/>

make[2]: *** [/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.1] Error 1
make[2]: Leaving directory `/data/src/grass70svn/man'
make[1]: *** [manpages] Error 2
make[1]: Leaving directory `/data/src/grass70svn/man'
make: *** [default] Error 2"

Any ideas?

Cheers
Stefan

-----Original Message-----
From: grass-dev-bounces@lists.osgeo.org [mailto:grass-dev-bounces@lists.osgeo.org] On Behalf Of GRASS GIS
Sent: 4. juli 2013 13:25
Subject: Re: [GRASS-dev] [GRASS GIS] #2012: d.vect wx module GUI forgets column names

#2012: d.vect wx module GUI forgets column names
--------------------+---------------------------------------------------
--------------------+----
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-trunk
Keywords: d.vect | Platform: Linux
      Cpu: x86-64 |
--------------------+---------------------------------------------------
--------------------+----

Comment(by annakrat):

Please test again, the column problem should be fixed. Please be more specific about the other problems, include the traceback error.

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

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

On Thu, Jul 4, 2013 at 2:23 PM, Blumentrath, Stefan <
Stefan.Blumentrath@nina.no> wrote:

Hi

I just downloaded the newest GRASS (7) version from svn in order to test
the issue.
In the build process I get an error message:
"Errors in:
/data/src/grass70svn/man"

make in the man directory says:

"make[2]:
`/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.gmodeler.1'
is up to date.
VERSION_NUMBER=7.0.svn
/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/tools/g.html2man.py/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/html/wxGUI.html
/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.1
/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/html/wxGUI.html:643:0:
Error (IndexError('pop from empty list',)): <a
href="wxGUI.components.html">wxGUI components</a><br/>

make[2]: ***
[/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.1]
Error 1
make[2]: Leaving directory `/data/src/grass70svn/man'
make[1]: *** [manpages] Error 2
make[1]: Leaving directory `/data/src/grass70svn/man'
make: *** [default] Error 2"

Any ideas?

sorry, please try to update and compile again (r57012)

Anna

Cheers

Stefan

-----Original Message-----
From: grass-dev-bounces@lists.osgeo.org [mailto:
grass-dev-bounces@lists.osgeo.org] On Behalf Of GRASS GIS
Sent: 4. juli 2013 13:25
Subject: Re: [GRASS-dev] [GRASS GIS] #2012: d.vect wx module GUI forgets
column names

#2012: d.vect wx module GUI forgets column names
--------------------+---------------------------------------------------
--------------------+----
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-trunk
Keywords: d.vect | Platform: Linux
      Cpu: x86-64 |
--------------------+---------------------------------------------------
--------------------+----

Comment(by annakrat):

Please test again, the column problem should be fixed. Please be more
specific about the other problems, include the traceback error.

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

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

Geat!

Now both compiling and d.vect in the wxGUI work (I mean I can choose the layers from the drop-down list and switch forth and back in the tabs and the layers option remains as I set it)!

Thanks!

Just to make sure that it happened on purpose:

The layers-option “-1” is now neither available in the drop-down list nor the default setting for the layers-option in d.vect…

Stefan

···

On Thu, Jul 4, 2013 at 2:23 PM, Blumentrath, Stefan <Stefan.Blumentrath@nina.no> wrote:

Hi

I just downloaded the newest GRASS (7) version from svn in order to test the issue.
In the build process I get an error message:
“Errors in:
/data/src/grass70svn/man”

make in the man directory says:

"make[2]: `/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.gmodeler.1’ is up to date.
VERSION_NUMBER=7.0.svn /data/src/grass70svn/dist.x86_64-unknown-linux-gnu/tools/g.html2man.py /data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/html/wxGUI.html /data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.1
/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/html/wxGUI.html:643:0: Error (IndexError(‘pop from empty list’,)): wxGUI components

make[2]: *** [/data/src/grass70svn/dist.x86_64-unknown-linux-gnu/docs/man/man1/wxGUI.1] Error 1
make[2]: Leaving directory /data/src/grass70svn/man' make[1]: *** [manpages] Error 2 make[1]: Leaving directory /data/src/grass70svn/man’
make: *** [default] Error 2"

Any ideas?

sorry, please try to update and compile again (r57012)

Anna

Cheers
Stefan

-----Original Message-----
From: grass-dev-bounces@lists.osgeo.org [mailto:grass-dev-bounces@lists.osgeo.org] On Behalf Of GRASS GIS
Sent: 4. juli 2013 13:25
Subject: Re: [GRASS-dev] [GRASS GIS] #2012: d.vect wx module GUI forgets column names

#2012: d.vect wx module GUI forgets column names
--------------------±--------------------------------------------------

--------------------±—

Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-trunk
Keywords: d.vect | Platform: Linux
Cpu: x86-64 |
--------------------±--------------------------------------------------

--------------------±—

Comment(by annakrat):

Please test again, the column problem should be fixed. Please be more specific about the other problems, include the traceback error.


Ticket URL: <https://trac.osgeo.org/grass/ticket/2012#comment:1>
GRASS GIS <http://grass.osgeo.org>


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


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

#2012: d.vect wx module GUI forgets column names
--------------------+-------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-trunk
Keywords: d.vect | Platform: Linux
      Cpu: x86-64 |
--------------------+-------------------------------------------------------

Comment(by hamish):

tested in trunk, now remembers size_col and rotation_column. thanks. drop
down menu and no-db issues also seem to be fixed.

during testing it's still printing a traceback error to the terminal
though:
{{{
(wxgui.py:3206): Pango-CRITICAL **: pango_layout_get_cursor_pos: assertion
`index >= 0 && index <= layout->length' failed
}}}

Hamish

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

#2012: d.vect wx module GUI forgets column names
---------------------+------------------------------------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: d.vect
  Platform: Linux | Cpu: x86-64
---------------------+------------------------------------------------------
Changes (by annakrat):

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

Comment:

Replying to [comment:2 hamish]:
> tested in trunk, now remembers size_col and rotation_column. thanks.
drop down menu and no-db issues also seem to be fixed.

so I am closing this ticket as fixed
>
> during testing it's still printing a traceback error to the terminal
though:
> {{{
> (wxgui.py:3206): Pango-CRITICAL **: pango_layout_get_cursor_pos:
assertion `index >= 0 && index <= layout->length' failed
> }}}

Usually, this is harmless. It's not easy to fix this, so if you consider
this as a problem open a new ticket (with minor priority).

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