[GRASS-dev] [GRASS GIS] #3087: v.db.droptable error

#3087: v.db.droptable error
-------------------------+-------------------------
Reporter: clerici | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: Website
Component: Default | Version: 7.0.4
Keywords: | CPU: Unspecified
Platform: MSWindows 8 |
-------------------------+-------------------------

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

#3087: v.db.droptable error
--------------------------+-------------------------
  Reporter: clerici | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: Website
Component: Default | Version: 7.0.4
Resolution: | Keywords:
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+-------------------------
Changes (by clerici):

* Attachment "grass_cmd_output.txt" added.

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

#3087: v.db.droptable error
--------------------------+--------------------------
  Reporter: clerici | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.5
Component: Database | Version: 7.0.4
Resolution: | Keywords: db.droptable
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+--------------------------
Changes (by martinl):

* keywords: => db.droptable
* component: Default => Database
* milestone: Website => 7.0.5

Old description:

New description:

{{{
db.droptable -f table=roads_copy
Forcing ...
Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS
7.0.4/scripts/db.droptable.py", line 99, in <module>
     main()
   File "C:\Program Files\GRASS GIS
7.0.4/scripts/db.droptable.py", line 77, in main
     used = grass.db.db_table_in_vector(table)
   File "C:\Program Files\GRASS GIS
7.0.4\etc\python\grass\script\db.py", line 193, in
db_table_in_vector
     for f in vector_db(vect, stderr=nuldev).itervalues():
   File "C:\Program Files\GRASS GIS
7.0.4\etc\python\grass\script\vector.py", line 43, in
vector_db
     **args)
   File "C:\Program Files\GRASS GIS
7.0.4\etc\python\grass\script\core.py", line 446, in
read_command
     return handle_errors(returncode, stdout, args, kwargs)
   File "C:\Program Files\GRASS GIS
7.0.4\etc\python\grass\script\core.py", line 313, in
handle_errors
     returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
['v.db.connect', '--q', '-g', 'map=pippopluto@user1',
'sep=;'] ended with error
Process ended with non-zero return code 1. See errors in the
(error) output.
}}}

--

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

#3087: db.droptable error
--------------------------+--------------------------
  Reporter: clerici | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.5
Component: Database | Version: 7.0.4
Resolution: | Keywords: db.droptable
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+--------------------------

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

#3087: db.droptable error
--------------------------+--------------------------
  Reporter: clerici | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.5
Component: Database | Version: 7.0.4
Resolution: | Keywords: db.droptable
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+--------------------------

Comment (by neteler):

I have tried this on Linux:

{{{
grass73 ~/grassdata/nc_spm_08_grass7/user1/
g.copy vector=roadsmajor,roads_copy
db.droptable -f table=roads_copy
}}}

... works ok on Linux.

Can another user with MS-Windows please test (also with 7.04)?

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

#3087: db.droptable error
--------------------------+--------------------------
  Reporter: clerici | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.6
Component: Database | Version: 7.0.4
Resolution: worksforme | Keywords: db.droptable
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+--------------------------
Changes (by marisn):

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

Comment:

Replying to [comment:3 neteler]:
> I have tried this on Linux:
>
> {{{
> grass73 ~/grassdata/nc_spm_08_grass7/user1/
> g.copy vector=roadsmajor,roads_copy
> db.droptable -f table=roads_copy
> }}}
>
> ... works ok on Linux.
>
> Can another user with MS-Windows please test (also with 7.04)?
Works just fine with 7.2.0 and 7.3. Reopen only if a failing example is
provided.

{{{
GRASS versija: 7.3.svn
GRASS SVN revīzija: r70508
Būvējuma datums: 2017-01-09
Būvēšanas platforma: x86_64-w64-mingw32
GDAL: 2.1.2
PROJ.4: 4.9.3
GEOS: 3.5.0
SQLite: 3.14.1
Python: 2.7.5
wxPython: 2.8.12.1
Platforma: Windows-8-6.2.9200 (OSGeo4W)
}}}
{{{
GRASS versija: 7.2.0
GRASS SVN revīzija: r70156
Būvējuma datums: 2016-12-29
Būvēšanas platforma: x86_64-w64-mingw32
}}}

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