Opened 11 years ago

Closed 11 years ago

#1512 closed defect (fixed)

problem sql query on wingrass

Reported by: madi Owned by: grass-dev@…
Priority: critical Milestone: 6.5.0
Component: wxGUI Version: svn-develbranch6
Keywords: sqlbuilder Cc:
CPU: Unspecified Platform: MSWindows XP

Description

The problem raises when I try to run a sql query on geology map in nc dataset. The program gets stuck when I try to raise SQL builder.

Attachments (1)

sqlbuilder.diff (1.1 KB ) - added by neteler 11 years ago.
fix attempt

Download all attachments as: .zip

Change History (9)

comment:1 by martinl, 11 years ago

Component: DefaultwxGUI
Keywords: sqlbuilder added

comment:2 by martinl, 11 years ago

Milestone: 6.4.2

comment:4 by hamish, 11 years ago

Milestone: 6.4.26.5.0

Same here on linux, latest 6.5svn. I think related to the recent file re-shuffle.

Traceback (most recent call last):
  File "/home/hamish/grass/svn/grass65/dist.x86_64
-unknown-linux-gnu/etc/wxpython/dbmgr/manager.py", line
2036, in OnBuilder

evtheader = self.OnBuilderEvt)
  File "/home/hamish/grass/svn/grass65/dist.x86_64
-unknown-linux-gnu/etc/wxpython/dbmgr/sqlbuilder.py", line
60, in __init__

self.dbInfo = dbm_base.VectorDBInfo(self.vectmap)
NameError
:
global name 'dbm_base' is not defined

comment:5 by hamish, 11 years ago

(it works fine in 6.4svn)

by neteler, 11 years ago

Attachment: sqlbuilder.diff added

fix attempt

comment:6 by neteler, 11 years ago

Please try attached patch (madi, you can manually even do that on your windows machine). I compared sqlbuilder to the version in GRASS 7 which should be closer than 6.4.

in reply to:  6 comment:7 by hamish, 11 years ago

Replying to neteler:

Please try attached patch

patch works for me in 6.5svn

thanks

comment:8 by neteler, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in r49803. the winGRASS snapshot will contain the fix tomorrow morning at circa 4am UTC.

Note: See TracTickets for help on using tickets.