I can install the plugin with this trick, but doesn¹t works, gives me too many errors
El 25/04/14 19:13, "Jorge Tornero" <[email protected]> escribió: >> > Dear Jesus et al >> > by the way, that line of code is in the file >> > qgis2leaf.py >> > <https://github.com/Geolicious/qgis2leaf/blob/master/qgis2leaf.py> >> > which is in your plugins/qgis2leaf directory >> > >> > All the best >> > >> > Jorge Tornero >> > >> > >> > 2014-04-25 19:11 GMT+02:00 Jorge Tornero <[email protected]>: >>> > Hello, Jesus >>> > It happen to me once trying to run a plugin under macOS and the problem >>> was >>> > in: >>> > localePath = os.path.join(self.plugin_dir, 'i18n', >>> > 'qgis2leaf_{}.qm'.format(locale)) >>> > read this: >>> > >>> http://stackoverflow.com/questions/10054122/valueerror-zero-length-field-nam>>> e- >>> > in-format-pytho >>> > and try to change the line to >>> > localePath = os.path.join(self.plugin_dir, 'i18n', >>> > 'qgis2leaf_{0}.qm'.format(locale)) >>> > It worked for me, despite I see maybe that's a ugly workaround >>> > Best regards >>> > >>> > >>> > 2014-04-25 19:01 GMT+02:00 Jesús <[email protected]>: >>> > >>>> > I get this error trying to install the new qgis2leaf plugin in QGIS 2.0: >>>> > zero lenght field name in format. >>>> > This plugin works only in 2.2? Any idea on how to solve the error? >>>> > >>>> > TIA >>>> > >>>> > >>>> > _______________________________________________ >>>> > Qgis-user mailing list >>>> > [email protected] >>>> > http://lists.osgeo.org/mailman/listinfo/qgis-user >>> > > >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
