Re: [GRASS-user] v.dissolve - is this a bug?

2010-08-16 Thread Markus Neteler
On Sat, Aug 14, 2010 at 10:16 AM, Richard Chirgwin
rchirg...@ozemail.com.au wrote:
 Hi,

 In running v.dissolve within a script, I am getting an intermittent failure:

 ERROR: key column must be integer or string

 Here's the script spot that fails (but only sometimes)

 v.db.addtable MAP
 v.db.addcol MAP columns=Dissolve int

At this point, please run
v.info -c MAP

and report here.

 v.db.update MAP column=Dissolve value=1
 v.dissolve MAP output=DISSOLVE column=Dissolve

 The killer is that it isn't reliable - sometimes it works, sometimes it
 fails, and I can't tell why!

Always on the same machine, the same binary and the same map?

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


Re: [GRASS-user] v.dissolve - is this a bug?

2010-08-16 Thread Markus Neteler
On Mon, Aug 16, 2010 at 10:14 AM, Nikos Alexandris
nikos.alexand...@felis.uni-freiburg.de wrote:
 Richard Chirgwin:
...
  The killer is that it isn't reliable - sometimes it works, sometimes it
  fails, and I can't tell why!

 Always on the same machine, the same binary and the same map?

 Markus, Richard,

 in the past I witnessed some strange randomness myself. Can't find the post
 anymore (where Markus was referring to Heisenberg or someone's
 uncertainty theory?).

You mean Heisenbug:

On Tue, Sep 23, 2008 at 8:55 PM, Glynn Clements
gl...@gclements.plus.com wrote:
[ .. referring to memory corruption ...]

 It doesn't help that such bugs often fail to manifest if the program
 is run under a debugger (colloquially referred to as a Heisenbug, in
 reference to the quantum mechanics principle that simply observing a
 system can change its behaviour).

So far we are far away from such a bug, also since v.dissolve is simply a
script. First we need to obtain answers to above questions.

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


[GRASS-user] Georectify images- question

2010-08-16 Thread katrin eggert
Hi there
Sorry for making this question but: In Georrectify module (wxPython) the
source refers to what: Data that is already georrectified or data that I
want to georrectify?

Thanks
Kat
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Georrectify- create a group with the newly georrwectfied images

2010-08-16 Thread Helena Herrera
Greetings

I have used georectify (wxGUI) and I have one suggestion (or question): is
it possible to create a group of the newly georrectfied images? Instead of
just creating them, it would be a good idea to create that. If so, How can I
do that? (i mean, where shall I start working)
Thanks

Best regards
helena
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Python script- drop-down menu list of multiple groups

2010-08-16 Thread António Rocha

Greetings

I'm implementing a Python Script and I need to know one thing related 
with Modules Interfaces: can I have a drop-down menu list of multiple 
groups?  Instead of just selecting one group (e.g. i.maxlik) select more 
than one (multiple)?


Thanks
Best regards
Antonio


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5371 (20100816) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


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


Re: [GRASS-user] Another script question

2010-08-16 Thread Richard Chirgwin

Glynn - many thanks!

Richard Chirgwin

Glynn Clements wrote:

Richard Chirgwin wrote:

  

I know this is not strictly on-topic, but:

If I'm running a large bash script, how do I get it to write errors in 
Grass-GIS processes to a logfile?


That way, if I run a script overnight and a Grass-GIS process fails, I 
at least know there's a problem!



If either of the files $HOME/GIS_ERROR_LOG or $GIS_ERROR_LOG exist,
errors and warnings (but not messages) from GRASS commands will be
written to that file.

Or you can just capture all output from any command (including a
script) by appending logfile to the command.

  


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


Re: [GRASS-user] v.dissolve - is this a bug?

2010-08-16 Thread Richard Chirgwin

Markus Neteler wrote:

On Mon, Aug 16, 2010 at 10:14 AM, Nikos Alexandris
nikos.alexand...@felis.uni-freiburg.de wrote:
  

Richard Chirgwin:


...
  

The killer is that it isn't reliable - sometimes it works, sometimes it
fails, and I can't tell why!


Always on the same machine, the same binary and the same map?
  

Markus, Richard,

in the past I witnessed some strange randomness myself. Can't find the post
anymore (where Markus was referring to Heisenberg or someone's
uncertainty theory?).



You mean Heisenbug:

On Tue, Sep 23, 2008 at 8:55 PM, Glynn Clements
gl...@gclements.plus.com wrote:
[ .. referring to memory corruption ...]
  

It doesn't help that such bugs often fail to manifest if the program
is run under a debugger (colloquially referred to as a Heisenbug, in
reference to the quantum mechanics principle that simply observing a
system can change its behaviour).



So far we are far away from such a bug, also since v.dissolve is simply a
script. First we need to obtain answers to above questions.

Markus

  


Markus,

I will try to get it to reproduce, and post the results here.

Cheers,
Richard Chirgwin
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] SVN problems

2010-08-16 Thread Daniel Victoria
Hi all,

I'm trying to checkout the code from SVN but when I issue the command

svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6
grass6_devel

I get the following error:
svn: OPTIONS of
'https://svn.osgeo.org/grass/grass/branches/develbranch_6': could not
connect to server (https://svn.osgeo.org)

Is it me? Or is the server experiencing problems?

Thanks
Daniel
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Problem with GRASS 6.4RC6 and wxPython 2.8.11 on CentOS 5.5 x86_64

2010-08-16 Thread Mathieu Baudier
 there are more fixes in releasebranch_64, try to compile code from SVN [1].

Sorry that it took me so long to come back to you.

I tested the revision 43144 of releasebranch_6_4, and the problem is
indeed solved!

The only significant modification I had to do in our spec file was
that a ChangeLog_%{version}.gz file was missing.
I guess that it is only available in releases tarballs but not in SVN, isn't it?

RPMs for i386 and x86_64 containing a build of this revision are
available in the ELGIS Testing repository (elgis-testing):
http://elgis.argeo.org

Thanks a lot for your help!
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] addons installation under GRASS 7.0-svn

2010-08-16 Thread Glynn Clements

Markus Neteler wrote:

   perhaps not absolutely all, but between the C lib changes
   and the (I hope hope temporary) removal of shell script
   support, it is safe to say that most will need some
   porting work.
 
  Oh... :-O. Shell script(ing) ability completly removed in grass7x?
 
  You can still run GRASS commands from shell scripts, and you can still
  use g.parser in shell scripts.
 
 I have tried but get
 
 GRASS 7.0.svn (nc_spm_08):  sh i.fusion.his
 sh: i.fusion.his: command not found

Does it have the execute bit set? If it doesn't, g.parser can't
execute it. That has always been the case; it isn't specific to 7.0.

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] addons installation under GRASS 7.0-svn

2010-08-16 Thread Glynn Clements

Michael Barton wrote:

  Oh... :-O. Shell script(ing) ability completly removed in grass7x?
  
  @devs: please keep the very minimum of shell script support if possible. 
  Often 
  it is so much faster to work in the shell...
 
 I've been sort of out the dev loop for several months, but I'm
 pretty sure that 'lack of shell-script support' means that shell
 scripts are not currently recognized by the interface parser. That
 means that a shell script invoking GRASS will not produce an
 automatically generated wxPython GUI window.

That is incorrect; g.parser still works with shell scripts. Tested and
confirmed with the latest SVN version (r43153).

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] SVN problems

2010-08-16 Thread Markus Neteler
On Mon, Aug 16, 2010 at 11:57 PM, Daniel Victoria
daniel.victo...@gmail.com wrote:
 Hi all,

 I'm trying to checkout the code from SVN but when I issue the command

 svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6
 grass6_devel

 I get the following error:
 svn: OPTIONS of
 'https://svn.osgeo.org/grass/grass/branches/develbranch_6': could not
 connect to server (https://svn.osgeo.org)

 Is it me?

Try
http://downforeveryoneorjustme.com/

 Or is the server experiencing problems?

From Italy it looks good at time, no problems.

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