Re: Re: [Qgis-user] ODBC in GRASS

2012-02-15 Thread Radim Blazek
On Fri, Feb 10, 2012 at 10:57 AM, Christine Schmidt geo.gu...@web.de wrote:
 dear Radim,
 I am getting different error messages:
 Either a problem is stated what had let to close ODBC.exe and Windows wants 
 to report that to Microsoft. Somethime even Python.exe shall be concerned. 
 GRASS closes. That happens, when I try to test my database connection after 
 having connected (with db.connect).

I have tried myself with the same result. I also tried to log with
ODBC tracer (I had to set tracer logging on in registry and reboot,
settings in manager GUI were not sufficient) and nothing was logged
for GRASS. It seems that the problem is in compilation / linking of
ODBC driver in GRASS.

 Or I get the error message Cannot open data source after apparently 
 successful connecting with db.connect.

db.connect does not really do any connection to server, it just stores
default connection for current mapset.

Radim

 That happens when I try to use the database with v.external, db.in or v.in.ogr
 Try to open a MS Access database, what's not a problem in QGIS. Maybe it's a 
 problem, that there is no need to Login to a an Access database (AFAIK) and 
 GRASS expects this step ...
 thanks for reply, Christine

 On Thu, Feb 9, 2012 at 12:25 AM, Christine Schmidt geo.gu...@web.de wrote:
  ...
  2. ) Has anybody succeded to use the ODBC driver in a WinGRASS distribution 
  (like the GRASS version installed with QGIS for Windows) ?
  It's possible to open ODBC data bases in QGIS, I know.
  Would like to do the same in GRASS. But I get only error messages and the 
  ODBC driver crashes.

 What error message?
  ...


 SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
 kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Aw: Re: [Qgis-user] ODBC in GRASS

2012-02-10 Thread geo . guide
dear Radim,I am getting different error messages: Either a problem is stated what had let to close ODBC.exe and Windows wants to report that to Microsoft. Somethime even Python.exe shall be concerned. GRASS closes. That happens, when I try to test my database connection after having connected (with db.connect). Or I get the error message Cannot open data source after apparently successful connecting with db.connect. That happens when I try to use the database with v.external, db.in or v.in.ogrTry to open a MS Access database, what's not a problem in QGIS. Maybe it's a problem, that there is no need to Login to a an Access database (AFAIK) and GRASS expects this step ...thanks for reply, ChristineOn Thu, Feb 9, 2012 at 12:25 AM, Christine Schmidt geo.gu...@web.de wrote:...

 2. ) Has anybody succeded to use the ODBC driver in a WinGRASS distribution (like the GRASS version installed with QGIS for Windows) ?
 It's possible to open ODBC data bases in QGIS, I know.
 Would like to do the same in GRASS. But I get only error messages and the ODBC driver crashes.

What error message?
...


SMS schreiben mit WEB.DE FreeMail - einfach, schnell undkostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

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


Re: [Qgis-user] ODBC in GRASS

2012-02-09 Thread Radim Blazek
On Thu, Feb 9, 2012 at 12:25 AM, Christine Schmidt geo.gu...@web.de wrote:

 dear QGIS user list,
 as I could not get questions cleared in the GRASS user list, I would like to 
 ask also this QGIS list:
 1. ) Has anybody succeeded to use the ODBC driver in GRASS ?

Yes, few years ago, the ODBC driver was the first DB driver really
working in GRASS (there were also Informix and Sybase(?) in the
source, but never really used). The ODBC driver was written on Linux,
based on http://www.unixodbc.org/. It was written before GRASS was
ported to Windows. The API is standard so that it should work on
Windows, maybe some minor modifications are necessary. Most probably
some debugging and bugfixing has to be done on Windows.

 2. ) Has anybody succeded to use the ODBC driver in a WinGRASS distribution 
 (like the GRASS version installed with QGIS for Windows) ?
 It's possible to open ODBC data bases in QGIS, I know.
 Would like to do the same in GRASS. But I get only error messages and the 
 ODBC driver crashes.

What error message?

Radim

 I am working with QGIS 1.7.0 with GRASS 6.4.1 on a Win XP system.
 Regards, Christine


 SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
 kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

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

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