Modify

Opened 12 years ago

Closed 12 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 bastiK, 12 years ago

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.

comment:3 by bastiK, 12 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:4 by bastiK, 12 years ago

@Dirk: Please put fix on the new server.

comment:5 by simon04, 12 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.