Opened 13 years ago
Closed 13 years ago
#7596 closed defect (fixed)
Plugin installation is broken
Reported by: | simon04 | Owned by: | team |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: | bastiK, stoecker, roland.olbricht |
Description
Apparently, trac.openstreetmap.org has been changed:
http://trac.openstreetmap.org/browser/applications/editors/josm/dist/mirrored_download.jar?rev=28111&format=raw
(now?) redirects to
https://trac.openstreetmap.org/browser/applications/editors/josm/dist/mirrored_download.jar?rev=28111&format=raw
The plugin downloader (of the tested version) does not follow this redirect and stores the following content in .josm/plugin/mirrored_download.jar
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="https://trac.openstreetmap.org/browser/applications/editors/josm/dist/mirrored_downlo <hr> <address>Apache/2.2.14 (Ubuntu) Server at trac.openstreetmap.org Port 80</address> </body></html>
Of course, this results in a broken plugin installation. This is a critical bug, as any plugin installation from trac.openstreetmap.org
is broken.
I guess the easiest fix is to adapt http://josm.openstreetmap.de/plugin and change all http://trac.openstreetmap.org
to https://trac.openstreetmap.org
.
Attachments (0)
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
The best way to fix this is to stop using trac and use svn directly. Instead of using http://trac.openstreetmap.org/browser/applications/editors/josm/dist/mirrored_download.jar?rev=28111&format=raw it should be http://svn.openstreetmap.org/!svn/bc/28111/applications/editors/josm/dist/mirrored_download.jar
Thaks to TomH for the url.
comment:3 by , 13 years ago
OK, I've changed http://josm.openstreetmap.de/plugin to use URL of like that:
http://svn.openstreetmap.org/!svn/bc/27892/applications/editors/josm/dist/AddrInterpolation.jar
Unfortunately there will still be problems because of plugin list caching.
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
OK, this is a problem.
For the record: The latest version of each plugin is not affected,
http://svn.openstreetmap.org/applications/editors/josm/dist/buildings_tools.jar
still downloads without redirects. But older version of the plugin are.