Hi Martin -

I don't know how you have installed QGIS. Probably a simple xcopy. However, the error message states:

"Look in /path_to_directory_for_QGIS_binary/\qgis-bin.env for correct paths"

This file - qgis-bin.env - has to be present in the same directory as qgis-bin.exe - contains a lot of setup information previously contained in qgis.bat.

And it has to be configured corecctly. It's a text file, so you can edit the file with a simple text editor like notepad.

A small sample from my own .env file (where qgis-bin.exe is located in c:\ocgeo4win64\bin:

/PATH=C:\OSGEO4~1\apps\qgis\bin;C:\OSGEO4~1\apps\Python37;C:\OSGEO4~1\apps\Python37\Scripts//... blah blah
/

/C:\OSGEO4~1\ /is the "DOS old-style 8.3" name for /C:\OSGeo4W64\
/
//
All these path names in the .env file has to be configured correctly regarding your home-path for QGIS

--

Med venlig hilsen / Kind regards

Bo Victor Thomsen
Civ.Ing

AestasGIS Denmark


Den 14-02-2020 kl. 14:03 skrev Martin Steiger:

Hello,

I hope I write to the correct address with my request.

In the "Kantonsverwaltung Zug" we use QGIS since version 2.16 in the department of geoinformation. We always used the following command to start QGIS:

"C:\Program Files\QGIS_3_8_ZANZIBAR\bin\nircmd.exe" exec hide C:\Program Files\QGIS_3_8_ZANZIBAR\bin\qgis.bat

(Yes, we install it in a custom named folder)

It always worked out fine and QGIS started without any issues. However, in version 3.10.2 this does not work out, because the file qgis.bat does not exist. I found the file "C:\Program Files\QGIS_3_10_2_Coruna\bin\qgis-bin.exe" and tried to start it.

Unfortunately I get an error message (see attachment). If I start the file "C:\Program Files\QGIS_3_10_2_Coruna\bin\qgis-bin-g7.exe"I get the same behaviour. I think it’s a little bit odd that the mentioned file "C:\Program Files\QGIS_3_10_2_Coruna\bin\qgis-bin.env"doesn’t even exist in the file system…

Can you help me out with this issue? Or is there a way you would recommend to correctly start QGIS?

We use Windows 10 Build 1809 with the newest windows updates.

Best Regards

Martin Steiger

Finanzdirektion Kanton Zug

Amt für Informatik und Organisation (AIO) des Kantons Zug

Martin Steiger

Computer scientist in apprenticeship

Aabachstrasse 1

6300 Zug

Switzerland

T +41 41 728 51 29

[email protected] <mailto:[email protected]>


_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to