[GRASS-dev] db.join script wanted

Paulo van Breugel p.vanbreugel at gmail.com
Wed Mar 9 08:25:25 PST 2016

Hoi Markus

Still not there via g.extension, but I copied the script to the script 

I tried with two tables (both created in an external sqlite editor),

Table 1: columns A (integer, key) and B (float)
Table 2: columns A (integer, key) and C (float)

First observation: using the GUI, the drop down menu for the identifier 
column shows the column names of Table 1 instead of Table 2.

I tried to link the two on the first columns and on the second columns. 
In both cases I got an error message, copied below:

db.join table=test1 column=A other_table=test2 other_column=A

Traceback (most recent call last):

   File "/home/paulo/.grass7/addons/scripts/db.join", line 170, in <module>    sys.exit(main())

   File "/home/paulo/.grass7/addons/scripts/db.join", line 152, in main columns=colspec)

   File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/script/core.py", line 408, in run_command ps = start_command(*args, **kwargs)

   File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/script/core.py", line 377, in start_command return Popen(args, **popts)

   File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/script/core.py", line 74, in __init__ subprocess.Popen.__init__(self, args, **kwargs)

   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__  errread, errwrite)

   File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception

OSError: [Errno 2] No such file or directory


On 09-03-16 14:02, Markus Neteler wrote:
> On Mar 9, 2016 1:36 PM, "Paulo van Breugel" <p.vanbreugel at gmail.com 
> <mailto:p.vanbreugel at gmail.com>> wrote:
> ...
> > It is in svn I saw, but it doesn't show up in g.extension.. perhaps 
> because I am on 7.1?
> This does not matter. I didn't yet add it to the parent Make file 
> because it is not ready.
> Just take it from trac/svn from now...
> Markus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160309/d26b7f65/attachment.html>

More information about the grass-dev mailing list