Bug report #9599

QGIS_PLUGINPATH option raise an error

Added by Regis Haubourg almost 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:-
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:18177

Description

Hi, I'm doing deploiement test here and found a blocker.
A error message is raised when using QGIS_PLUGINPATH variable, even if all goes well after. additionnal plugins are loaded well.

Additionnal path \\\\\\\\NAS02\\\\groupe\\\\Refgeo\\\\Espace_Correspondants_SIG\\\\Astuces_Outils\\\\QGIS2_PLUGINS doesn't exist


I tried using environnement variable, modifying qgis-dev.bat by hand and general options dialog to workaround but the behaviour is always the same

Sorry for raising such blocker so late, but we have unit test on it, so I was focusing on other points.
Régis

History

#1 Updated by Hugo Mercier almost 6 years ago

Confirmed here.
btw, I think the correct message is "The extra plugin path '%1' does not exist".
It only raises when using a network path

Replacing '\\' with '/' seems to work.

Was it working with earlier versions ?

#2 Updated by Regis Haubourg almost 6 years ago

Yep, it works well in 2.0.1
Régis

#3 Updated by Hugo Mercier almost 6 years ago

Ok, got it.
Each '\\' is doubled for python path inclusion, but we check if it exists AFTER doubling the '\\'.
On Windows, doubling '\\' works for regular path, but not for the '\\\\' prefix.
Shame on me ... that is part of my last changes :(
I'll fix it asap.

#4 Updated by Regis Haubourg almost 6 years ago

Thanks !!!!

#6 Updated by Martin Dobias almost 6 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Fixed in 63d84ec by Hugo

Also available in: Atom PDF