Opened 6 years ago
Last modified 5 years ago
#19006 closed defect
Incorrect plugins path used — at Version 10
| Reported by: | skyper | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 20.12 |
| Component: | Core | Version: | latest |
| Keywords: | template_report update plugin path | Cc: |
Description (last modified by )
Edit: This problem only appears with plugins under several valid paths, see comment 7.
What steps will reproduce the problem?
- Have several plugins with older version installed
- In Plugin Preferences click on "Update plugins"
- Get a message about plugins' updates
- Close message window and preferences
- Restart JOSM
- Look at plugin version in Plugin Preferences.
What is the expected result?
All installed plugins are up to date
What happens instead?
Plugins with still lower local version installed
Please provide any additional information below. Attach a screenshot if possible.
Plugin update policy is set to always start without asking after update. Sadly, I did not recognize the last updates with this setting but, maybe, it helps to smaller the time range the regression was introduced.
Last plugin update seems to be 35330 but "ejml" (35313) failed before.
Edit: You need to have plugins in several valid path like .josm/cache/plugins, .local/share/JOSM/plugins, .config/JOSM/cache/plugins, /usr/share/josm/plugins or /usr/local/share/josm/plugins on Linux
In my case updates are stored under .local/share/JOSM/plugins but on startup the .jar files from .config/JOSM/cache/plugins are used.
If several paths are allowed, please, use the correct order, e.g.
/usr/share/josm/plugins/usr/local/share/josm/plugins{$HOME}/.config/[<josm.name>]/cache/pluginsor{$HOME}/.josm/cache/plugins{$HOME}/.local/share/[<josm.name]>/plugins
and use the highest version that fits the JOSM revision.
Thanks a lot.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-03-27 15:39:19 +0100 (Fri, 27 Mar 2020) Revision:16205 Build-Date:2020-03-28 02:30:56 URL:https://josm.openstreetmap.de/svn/trunk Plugins: + ImproveWay (29) + OpeningHoursEditor (35250) + apache-commons (35092) + comfort0 (35314) + conflation (0.6.4) + ejml (35122) + geotools (35169) + imagery_offset_db (35248) + jaxb (35092) + jts (35122) + opendata (35330) + reverter (35313) + undelete (35313) + utilsplugin2 (35248) + waydownloader (35092)
Change History (10)
comment:1 by , 6 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 6 years ago
comment:3 by , 6 years ago
comment:4 by , 6 years ago
| Resolution: | → irreproducible |
|---|---|
| Status: | new → closed |
comment:5 by , 6 years ago
| Resolution: | irreproducible |
|---|---|
| Status: | closed → reopened |
Today it happened again. I did download the plugin updates for the third time now to only have the old version loaded on startup.
comment:6 by , 6 years ago
comment:7 by , 6 years ago
Ok, I found the reason for my problems.
I had an additional cache folder under .config/ with old plugins. Deleting the folder does solve the problems.
Why does JOSM refer to this old folder if a folder under .local/share/ exists and is used? This way I ran the new versions only if installed on startup.
comment:8 by , 6 years ago
comment:9 by , 6 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | path added; regression removed |
| Priority: | major → normal |
| Summary: | Plugin update fails → Incorrect plugins path used |
| Version: | → latest |
comment:10 by , 6 years ago
| Description: | modified (diff) |
|---|



Strange, with settings set to update every day (1) and another restart everything is updated or did someone fix it meanwhile ?