Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336883 - [client] Can't install plug-ins
Summary: [client] Can't install plug-ins
Status: RESOLVED WORKSFORME
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 17:55 EST by Szymon Brandys CLA
Modified: 2011-08-30 10:20 EDT (History)
3 users (show)

See Also:


Attachments
Screenshot (23.79 KB, image/png)
2011-02-10 17:56 EST, Szymon Brandys CLA
no flags Details
Plugin to install (1.07 KB, text/html)
2011-02-11 05:31 EST, Malgorzata Janczarska CLA
no flags Details
Plugin to install v2 (1.15 KB, text/html)
2011-02-11 09:42 EST, Simon Kaegi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Brandys CLA 2011-02-10 17:55:30 EST
I have Orion from the eclipse.org repo. I followed the steps from http://wiki.eclipse.org/Orion/How_Tos/Installing_A_Plugin and it does not work. I just see Plug-In Registry > Plug-ins and nothing else underneath.
Comment 1 Szymon Brandys CLA 2011-02-10 17:56:27 EST
Created attachment 188728 [details]
Screenshot
Comment 2 Szymon Brandys CLA 2011-02-10 17:59:32 EST
I tried on Firefox and IE 8.
Comment 3 Simon Kaegi CLA 2011-02-10 21:06:39 EST
There was a change in the plug-in communication protocol last week which breaks plugins using the old plugin.js for M5 and earlier. I wrote about this on the dev list earlier this week and there are details there that might help.

The API is not broken though so if you download a copy of Boris' HTML file and instead reference the new orion-eclipse-HEAD.js file you should be able to get things working.

If you just want a simple example install /upperPlugin.html or /lowerPlugin.html.
Comment 4 Mark Macdonald CLA 2011-02-10 23:19:51 EST
I'm having the same problem as Szymon. I can't install any plugins (tried upper, lower, and jslint). I also went to coding.html to see if the jslint plugin would be installed from there, but it wasn't. 

In fact there is nothing in Firefox's local storage at all... I expected to see some plugin data from Orion in there, but it's empty.
Comment 5 Simon Kaegi CLA 2011-02-11 00:06:46 EST
I re-tested and did git status to be sure. Works for me in FF 3.6, FF4, Chrome9/10, IE. I did notice lowerPlugin.html not updated so I did check that in. All I can think of is a caching problem. Ping me on IRC tomorrow if you're still having problems.
Comment 6 Malgorzata Janczarska CLA 2011-02-11 05:31:36 EST
Created attachment 188760 [details]
Plugin to install

I tried to install a plugin with Szymon. I am attaching the plugin we had porblems with (just a sample, we weren't trying to write anything useful). It uses orion-plugin-HEAD.js that you wrote about few days ago. This is probably not brawser related. I managed to install plugins on my local orion, but when I logged into Szymon's instance same plugins did not install. I noticed that it's rather all plugins install or none.
Comment 7 Simon Kaegi CLA 2011-02-11 09:42:15 EST
Created attachment 188779 [details]
Plugin to install v2

I fixed the various script tags and can install this now. Put it in client.core/statics/gosia.html and then install /gosia.html

orion-plugin-HEAD.js is minified script that includes the contents of OAHub-all and plugin.js.

In this copy I've broken out the individual scripts and added dojo.
Comment 8 Mark Macdonald CLA 2011-02-11 16:07:07 EST
This works for me now using the latest client code.
Comment 9 John Arthorne CLA 2011-04-19 10:07:20 EDT
This works now.