#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.
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/>
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/>
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…
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
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
}}}
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).