<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Sorry,<br></div><div class="gmail_default" style="font-family:monospace,monospace">after a looooong time,<br></div><div class="gmail_default" style="font-family:monospace,monospace">I destructed and recreated the plugin.<br></div><div class="gmail_default" style="font-family:monospace,monospace">It is currently awaiting check, it has not changed since the last time,<br></div><div class="gmail_default" style="font-family:monospace,monospace">expect the folder name is now the same as the plugin name.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Cheers,<br></div><div class="gmail_default" style="font-family:monospace,monospace">RémiC<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-30 16:58 GMT+02:00 Rémi Cura <span dir="ltr"><<a href="mailto:remi.cura@gmail.com" target="_blank">remi.cura@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Thanks to both !<br></div><div class="gmail_default" style="font-family:monospace,monospace">I'll delete and create again the plugin.<br></div><div class="gmail_default" style="font-family:monospace,monospace">Cheers,<br></div><div class="gmail_default" style="font-family:monospace,monospace">Rémi-C<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-05-30 12:59 GMT+02:00 Borys Jurgiel <span dir="ltr"><<a href="mailto:lists@borysjurgiel.pl" target="_blank">lists@borysjurgiel.pl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Strictly speaking, there are two separate problems:<br>
<br>
One is the name mismatch, what makes QGIS thinking that the zip available in<br>
the repo ("interactive_map_tracking") and the installed plugin<br>
("interactive_map_tracking-master") are two separate plugins. As a result,<br>
QGIS won't inform the user about available updates.<br>
<br>
Second problem is bigger: the directory is just a Python module, and it<br>
crashes Python, because module names can't contain dashes. It's a Python<br>
syntax restriction, not QGIS. And, as Alessandro said, this is the plugin key,<br>
not the zip file name (what is basically much less important) so changing it<br>
would be quite complicated.<br>
<br>
Hopefully removing the plugin and creating again will be straightforward.<br>
<br>
Best Regards,<br>
<br>
Borys<br>
<br>
<br>
<br>
Dnia piątek, 29 maja 2015 15:34:16 Rémi Cura pisze:<br>
<div><div>> I'm afraid I can't,<br>
> currently it creates a bug !<br>
> When installing from QGIS plugin repository,<br>
> it gives an error message.<br>
> This error message would be because the plugin name and folder name are<br>
> different.<br>
> So one way or another, the folder name has to be changed to match the<br>
> plugin name !<br>
><br>
> So you see we don't have much choice here...<br>
> Cheers,<br>
> Rémi-C<br>
><br>
> 2015-05-29 15:17 GMT+02:00 Alessandro Pasotti <<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a>>:<br>
> > 2015-05-29 14:52 GMT+02:00 Rémi Cura <<a href="mailto:remi.cura@gmail.com" target="_blank">remi.cura@gmail.com</a>>:<br>
> >> Hey, thanks for the super-quick answer.<br>
> >><br>
> >> Can't we just change the plugin database for this plugin?<br>
> >> Surely there is a way to do it manually !<br>
> ><br>
> > Yes, but it's not trivial.<br>
> ><br>
> >> Or simply change the folder name on the server?<br>
> >> Deleting the plugin make it loose all the history, which I find quit bad.<br>
> >><br>
> >> Also, if the consequences are so dire, wouldn't is be necessary to check<br>
> >> at import that plugin name and folder name match?<br>
> ><br>
> > Sorry for the quick (and wrong) answer :)<br>
> ><br>
> > I checked the exact constraint:  the package name (the name of the fist<br>
> > folder in the zip file) is independent from the plugins name and cannot be<br>
> > changed (while the plugin name, visible to the user, can change) the<br>
> > package name is a unique key used internally to build the URLs and to<br>
> > retrieve plugin packages and is kept unique to make sure that there are no<br>
> > plugins with the same package name.<br>
> ><br>
> > The problem here is that it cannot be easily changed without breaking a<br>
> > lot of things.<br>
> ><br>
> > You can just stick with the old package/folder name, it will be just<br>
> > visible in the URLs.<br>
> ><br>
> ><br>
> > --<br>
> > Alessandro Pasotti<br>
> > w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>