Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when try install plugin

I'm trying to install a plugin in Eclipse Luna. I installed Papyrus and am trying to install SWT designer, but before the download/installation is completed I get an error:

An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. error in opening zip file 

After this error I can't install anything and the install manager does not work anymore and shows me the same error all the time only one way I delete the current Eclipse directory and extract it again.

This time I install Papyrus, SWT designer and some other, but I get the error between install another plugin again. This is wrong if I get an error on install any of plugin reinstalling Eclipse and the other plugin again.

Is this a bug or a problem?

like image 235
user3855547 Avatar asked Aug 02 '14 11:08

user3855547


People also ask

Why Cannot install plugins?

To solve this, make sure that you are uploading the correct plugin/theme folder and that the folder is zipped. Then, try to upload the correct zipped folder once more. If the error persists after double-checking the file/folder, it means that the file/folder is faulty or incorrect.

Why can't I install plugins on WordPress?

WordPress.com users cannot install plugins unless they upgrade to the business plan which costs about $299 per year. If you are on a free, personal, or premium plan, then you cannot install third-party plugins. If you don't want to pay the $299 per year, then you can move your blog from WordPress.com to WordPress.org.

How do I fix a plugin problem?

Health Check & Troubleshooting Plugin Follow these steps: Install and activate the Health Check & Troubleshooting plugin. Go to Tools → Site Health → Troubleshooting (tab) and click Enable troubleshooting mode. The page will refresh.

How do I fix WordPress plugin installation failed?

To resolve the issue, check to see if the theme or plugin is already installed. If so, a corresponding folder will already exist on your server. You can choose to uninstall the plugin or theme and attempt reinstallation, or head to cPanel File Manager to remove the folder manually.


2 Answers

OK finally i found the solution for solve this problem. I don't know why Eclipse is showing me this error and i don't know if this is the best solution. I solve my problem with delete the artifacts.xml file in Eclipse root directory.

After deleting this file try to install that plugin again but this time after few second everything completes and works perfectly.

UPDATE: If you get that error again then just go to Eclipses' root directory and search for "artifacts.xml" and delete all the files is in the result ;)

like image 120
user3855547 Avatar answered Oct 19 '22 11:10

user3855547


  1. Remove the artifacts.xml from the folder.

  2. Keep a copy of it in some other location (preferably external devices such as pendrive or hard disks etc).

  3. Restart Eclipse.

  4. Install the software plugin you want to install (it will ask for permission again).

  5. After installation paste the artifacts.xml file back into the eclipse folder.

  6. Restart eclipse and set the SDK location.

  7. Code to death!!! ;p

like image 21
Akshay Avatar answered Oct 19 '22 11:10

Akshay