The plugin manager cannot run because neither the tar executable nor the Archive/Tar package could be located.

Jay Matwichuk - November 13, 2008 - 08:46
Project:Plugin Manager
Version:6.x-1.4
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am getting this error:

"The plugin manager cannot run because neither the tar executable nor the Archive/Tar package could be located."

I don't know what it means, nor could I find any kind of documentation that told me what it meant. How do I fix this? I am running the module from a local installation (through WAMP server) if that matters.

#1

jabapyth - November 13, 2008 - 20:40

Check this out #312426: Requirements.
The error means you are missing a PHP module that is required by Plugin Manager

#2

jabapyth - November 13, 2008 - 20:56

Actually, more detailed instructions have just been added to the Plugin Manager page: http://drupal.org/project/plugin_manager, under FAQ.

#3

Jay Matwichuk - November 17, 2008 - 02:52

Ok, I installed the pear package, and after that the archive_tar library, and upon running the 'pear list' command, I can see that the package is installed (please see screenshot - maybe I'm mistaken), but I am still getting the same error.

#4

Jay Matwichuk - November 17, 2008 - 02:52
AttachmentSize
dos.png 15.75 KB

#5

mauror - November 20, 2008 - 21:48

Did you restarted the server? It would be better if you could see the extension loaded in the output of phpinfo().

Why are you suffering like this? Switching to Linux has never been easier...

#6

ozish - January 13, 2009 - 12:28
Status:active» fixed

Hakulicious, I am using version 6.x.1-8 of plugin manager, but that shouldn't matter since your problem isn't actually with plugin manager. The problem you're having is configuring Pear to run on your WAMP installation. I had the same problem as you, right up to the point of showing Archive_Tar 1.3.2 as installed.

I fixed it by adding the line:

include_path = ".;C:\wamp\bin\php\php5.2.6\PEAR"

to the appropriate section of php.ini, and then restarting all services.

Then I also added that same path to the Windows PATH environment variable.

Note that you'll also have to set up an FTP server (Filezilla is easy) to be able to connect via FTP to your WAMP server. Let me know if this helps.

#7

System Message - January 27, 2009 - 12:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#8

redhatmatt - June 13, 2009 - 22:25
Status:closed» active

#2 comment seems to no longer be true. Where's the dang documentation?

#9

redhatmatt - June 13, 2009 - 23:16

I added pear path in, and it is clearly good to go. Archive Tar is in the pear directory and is up to date.
Very angry with plugin manager right now, I need some help fixing these training wheels that I don't actually need but am stuck with this acquia package atm due to the client.

#10

JoshuaRogers - June 13, 2009 - 23:43

I'm sorry that you're having troubles with this. Unfortunately, I really do not believe it to be the problem of the Plugin Manager. Take a look at this line of code:

@include_once("Archive/Tar.php");

That is the line that imports Archive/Tar.php. The only time you will see that error is if Archive/Tar is not located in a place accessible / known to the plugin manager. Most likely it is still a problem with the path.

#11

redhatmatt - June 14, 2009 - 00:29

php knows where the path is in phpinfo .:/usr/share/path
my path is also /usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/share/pear

how much more does a person have to go through...

#12

Jay Matwichuk - June 14, 2009 - 04:06

Are you trying to use this locally? I never was able to get it working locally, but I've never had a single issue trying to get it to work on my server. And if the problem is local, just download it - it's just as easy as using this module. This module's strength comes when you are working with a remote installation.

#13

rfabbri - July 2, 2009 - 19:10

An easy solution for windows users to make it work who don't have or don't want to use PEAR.

Step 1 :

- Download latest unxutils from http://sourceforge.net/projects/unxutils/files/
- Unzip them or install into the c:\Logiciels\bin path

Step 2 :

- Edit the plugin_manager.module file of this module

Look for 2 lines containing the popen PHP command and modify like that according to the path chosen just before :

@popen("c:\\Logiciels\bin\\tar --version", "r");

Line 227 - modify like this :
popen("c:\\Logiciels\bin\\tar -zvxf $file_safe -C $dir_safe", "r");

The module should now be working

Not all solutions are based on php (like this project who is using tar) so why not using tar ???
Nice module downloading for Windows users : )

 
 

Drupal is a registered trademark of Dries Buytaert.