Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

starting qgis-bin.exe with command line options shows message e.g. invalid layer --profiles-name #27557

Closed
qgib opened this issue Aug 29, 2018 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS

Comments

@qgib
Copy link
Contributor

qgib commented Aug 29, 2018

Author Name: Stefan Overkamp (@overkamp)
Original Redmine Issue: 19732
Affected QGIS version: 3.2.2
Redmine category:build/install


starting qgis-bin.exe with command line option (e.g. --profiles-path) raises critical messages:
Layer ist ungültig : Der Layer D:\einstellungen\default ist kein gültiger Layer und kann nicht zur Karte hinzugefügt. Grund:
Layer ist ungültig : Der Layer D:\einstellungen--profiles-name ist kein gültiger Layer und kann nicht zur Karte hinzugefügt. Grund:

start "QGIS" /B P:\qgis\v3\bin\qgis-bin.exe --profiles-path "D:\einstellungen\QGIS3" --profiles-name "default" %*

@qgib
Copy link
Contributor Author

qgib commented Aug 29, 2018

Author Name: Giovanni Manghi (@gioman)


"%*" is for?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Aug 29, 2018

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from GUI to Build/Install

@qgib
Copy link
Contributor Author

qgib commented Aug 29, 2018

Author Name: Giovanni Manghi (@gioman)


Did it worked as expected on 2.18?

@qgib
Copy link
Contributor Author

qgib commented Aug 29, 2018

Author Name: Jürgen Fischer (@jef-n)


Stefan Overkamp wrote:

starting qgis-bin.exe with command line option (e.g. --profiles-path) raises critical messages:
Layer ist ungültig : Der Layer D:\einstellungen\default ist kein gültiger Layer und kann nicht zur Karte hinzugefügt. Grund:
Layer ist ungültig : Der Layer D:\einstellungen--profiles-name ist kein gültiger Layer und kann nicht zur Karte hinzugefügt. Grund:

start "QGIS" /B P:\qgis\v3\bin\qgis-bin.exe --profiles-path "D:\einstellungen\QGIS3" --profiles-name "default" %*

@--profiles-name@ does not exists - it's called @--profile@.


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Aug 29, 2018
@qgib
Copy link
Contributor Author

qgib commented Aug 29, 2018

Author Name: Jürgen Fischer (@jef-n)


Giovanni Manghi wrote:

"%*" is for?

The arguments the batch file was called with (see for instance https://ss64.com/nt/syntax-args.html)

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

1 participant