Bug report #4621
Plugin installer (1.2.1) fails to detect available upgrade of QuickWKT plugin
|Affected QGIS version:||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||Copied to github as #:||14523|
I have QuickWKT plugin version 1.6 installed, and 1.8 is available upstream: http://plugins.qgis.org/plugins/plugins.xml.
I made sure to have the plugin installer re-fetch the metadata (might help for the future to have a button to refresh in there).
Still I don't get prompted for upgrade.
The entry in plugin manager for my QuickWKT says about Repository: "only locally available".
Could be I installed the plugin manually somehow. Does the plugin fetcher keeps information about where it downloaded each plugin from ? Where ?
#2 Updated by Sandro Santilli almost 8 years ago
It is qgis 1.7.2.
See screenshot: http://strk.keybit.net/tmp/quickwkt.png
Now that I look at the screenshot I see the plugin did not result as being only "only locally available".
Dunno why closing qgis and reopening it changed that.
Anyway in both cases there was no proposal of upgrade.
I didn't touch anything about it in case you need more information.
#5 Updated by Sandro Santilli almost 8 years ago
installer_data.py really contains http://pyqgis.org/repo/official in 1.7 branch, so should be updated.
Would it make sense to also redirect the old url to the new one ? Will it work ?
I'll take a closer look at the repository url on next start. Where else would QGis be getting repo urls ?
#6 Updated by Tim Sutton almost 8 years ago
Borys Jurgiel wrote:
I've got it. Make sure you have the http://plugins.qgis.org/plugins/plugins.xml url ending with the file name. The installer 1.2.1 adds a wrong url.
Tim, could you please fix it in line 73 of installer_data.py ?
I guess you are referring to master right? As far as I know the new plugin installer isnt available in the 1.7 branch yet.
#8 Updated by Sandro Santilli almost 8 years ago
Oh, I've found "QGIS Official Repository 2" in the list of my repositories, and indeed it misses a "/plugins.xml" suffix.
How did it get in ? I'm running alternatively 1.7 and master every now and then, does the plugin installer save some status in a configuration file ?
#9 Updated by Borys Jurgiel almost 8 years ago
In general, both repositories should be compatible. At least the installer 1.2.1 should support both. The old one is just designed for Qgis 1.x, while the new one originally for 2.x. Now we are in a transient period: the new repo has been added to Qgis and is being tested for 2.0
The installer 1.2.1 adds it automagically at startup (not my idea :p). If you use various Qgis versions simultaneously, consider separate their configurations.
#11 Updated by Sandro Santilli almost 8 years ago
I checked and can confirm the new repository (plugins.qgis.org/plugins..) is not in plugins_installer official list as of 1.7.3.
I'd keep this ticket open to request better user-feedback for the case in which a repository is invalid.
This would have been the case for the broken "http://plugins.qgis.org/plugins/" url and still is the case when I fix the url to be "http://plugins.qgis.org/plugins/plugins.xml".
I've noticed there's a \\valid entry in QGIS.conf for all repositories but the new official plugin, but I have no visibility of valid/notvalid in the GUI.