[GRASS-dev] Patch for QGIS ticket 448 (cannot start database driver)

Here is the patch for https://svn.qgis.org/trac/ticket/448
(grass/lib/db/dbmi_client/start.c).

Unfortunately if QGIS is compiled without stdin/stdout and then run
from batch, cmd.exe or MSYS shell, it will open command window for a
while always when a new GRASS database driver is started.

Radim

(attachments)

start.c.patch1 (2.43 KB)

On Sun, Dec 17, 2006 at 05:53:25PM +0100, Radim Blazek wrote:

Here is the patch for https://svn.qgis.org/trac/ticket/448
(grass/lib/db/dbmi_client/start.c).

Unfortunately if QGIS is compiled without stdin/stdout and then run
from batch, cmd.exe or MSYS shell, it will open command window for a
while always when a new GRASS database driver is started.

Radim

Patch applied.

Markus

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

to which branch?
it would be good to have in 6.2.1(.1?), so coming qgis will have it by
default?
pc

Markus Neteler ha scritto:

On Sun, Dec 17, 2006 at 05:53:25PM +0100, Radim Blazek wrote:

Here is the patch for https://svn.qgis.org/trac/ticket/448
(grass/lib/db/dbmi_client/start.c).

Unfortunately if QGIS is compiled without stdin/stdout and then run
from batch, cmd.exe or MSYS shell, it will open command window for a
while always when a new GRASS database driver is started.

Radim

Patch applied.

Markus

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhYNw/NedwLUzIr4RAlN1AJwJL/5AutK6VRdpR+FkAku2X7t8qwCeM+ny
rq9Os2h1ZScONhYwbVRyoIA=
=a6p9
-----END PGP SIGNATURE-----

To GRASS 6.3-CVS.
As far as I understand, QGIS uses GRASS from CVS to prepare the
winGRASS extension. 6.2.1 is completely lagging behind concerning
Windows fixes.

I think that it is fine like that.

Markus

On Sun, Dec 17, 2006 at 06:50:40PM +0100, Paolo Cavallini wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

to which branch?
it would be good to have in 6.2.1(.1?), so coming qgis will have it by
default?
pc

Markus Neteler ha scritto:
> On Sun, Dec 17, 2006 at 05:53:25PM +0100, Radim Blazek wrote:
>> Here is the patch for https://svn.qgis.org/trac/ticket/448
>> (grass/lib/db/dbmi_client/start.c).
>>
>> Unfortunately if QGIS is compiled without stdin/stdout and then run
>> from batch, cmd.exe or MSYS shell, it will open command window for a
>> while always when a new GRASS database driver is started.
>>
>> Radim
>
> Patch applied.
>
> Markus
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>

- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhYNw/NedwLUzIr4RAlN1AJwJL/5AutK6VRdpR+FkAku2X7t8qwCeM+ny
rq9Os2h1ZScONhYwbVRyoIA=
=a6p9
-----END PGP SIGNATURE-----

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy

QGIS is using GRASS HEAD but it should use stable release
of GRAS IMO. The patch should be applied also to 6.2 branch
because it is bugfix.

Do you say that 6.2.1 is useless on Windows?

Radim

On 12/17/06, Markus Neteler <neteler@itc.it> wrote:

To GRASS 6.3-CVS.
As far as I understand, QGIS uses GRASS from CVS to prepare the
winGRASS extension. 6.2.1 is completely lagging behind concerning
Windows fixes.

I think that it is fine like that.

Markus

On Sun, Dec 17, 2006 at 06:50:40PM +0100, Paolo Cavallini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> to which branch?
> it would be good to have in 6.2.1(.1?), so coming qgis will have it by
> default?
> pc
>
> Markus Neteler ha scritto:
> > On Sun, Dec 17, 2006 at 05:53:25PM +0100, Radim Blazek wrote:
> >> Here is the patch for https://svn.qgis.org/trac/ticket/448
> >> (grass/lib/db/dbmi_client/start.c).
> >>
> >> Unfortunately if QGIS is compiled without stdin/stdout and then run
> >> from batch, cmd.exe or MSYS shell, it will open command window for a
> >> while always when a new GRASS database driver is started.
> >>
> >> Radim
> >
> > Patch applied.
> >
> > Markus
> >
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev@grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grass-dev
> >
>
> - --
> Paolo Cavallini
> email+jabber: cavallini@faunalia.it
> www.faunalia.it
> Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFhYNw/NedwLUzIr4RAlN1AJwJL/5AutK6VRdpR+FkAku2X7t8qwCeM+ny
> rq9Os2h1ZScONhYwbVRyoIA=
> =a6p9
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev

--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

On Mon, Dec 18, 2006 at 10:39:46AM +0100, Radim Blazek wrote:

QGIS is using GRASS HEAD but it should use stable release
of GRAS IMO. The patch should be applied also to 6.2 branch
because it is bugfix.

Done.

Do you say that 6.2.1 is useless on Windows?

Yes, I think so (at least for the native built).
6.3-CVS is way more advanced.

Markus

Radim

On 12/17/06, Markus Neteler <neteler@itc.it> wrote:
>To GRASS 6.3-CVS.
>As far as I understand, QGIS uses GRASS from CVS to prepare the
>winGRASS extension. 6.2.1 is completely lagging behind concerning
>Windows fixes.
>
>I think that it is fine like that.
>
>Markus
>
>On Sun, Dec 17, 2006 at 06:50:40PM +0100, Paolo Cavallini wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> to which branch?
>> it would be good to have in 6.2.1(.1?), so coming qgis will have it by
>> default?
>> pc
>>
>> Markus Neteler ha scritto:
>> > On Sun, Dec 17, 2006 at 05:53:25PM +0100, Radim Blazek wrote:
>> >> Here is the patch for https://svn.qgis.org/trac/ticket/448
>> >> (grass/lib/db/dbmi_client/start.c).
>> >>
>> >> Unfortunately if QGIS is compiled without stdin/stdout and then run
>> >> from batch, cmd.exe or MSYS shell, it will open command window for a
>> >> while always when a new GRASS database driver is started.
>> >>
>> >> Radim
>> >
>> > Patch applied.
>> >
>> > Markus
>> >
>> > _______________________________________________
>> > grass-dev mailing list
>> > grass-dev@grass.itc.it
>> > http://grass.itc.it/mailman/listinfo/grass-dev
>> >
>>
>> - --
>> Paolo Cavallini
>> email+jabber: cavallini@faunalia.it
>> www.faunalia.it
>> Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFFhYNw/NedwLUzIr4RAlN1AJwJL/5AutK6VRdpR+FkAku2X7t8qwCeM+ny
>> rq9Os2h1ZScONhYwbVRyoIA=
>> =a6p9
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev@grass.itc.it
>> http://grass.itc.it/mailman/listinfo/grass-dev
>
>--
>Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
>ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
>MPBA - Predictive Models for Biol. & Environ. Data Analysis
>Via Sommarive, 18 - 38050 Povo (Trento), Italy
>
>_______________________________________________
>grass-dev mailing list
>grass-dev@grass.itc.it
>http://grass.itc.it/mailman/listinfo/grass-dev
>

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy