I am getting this error,
Drush was unable to export FirePHP to .../sites/all/modules/devel/FirePHPCore

When trying to enable the module.

I'm running a Ubuntu 11.10 server. I do most PHP management through PEAR.

Files: 
CommentFileSizeAuthor
#10 devel-firephp_warn_instead_of_error-1360630-4.patch507 bytesfester88
PASSED: [[SimpleTest]]: [MySQL] 2 pass(es).
[ View ]

Comments

Category:bug» support
Status:Active» Fixed

It is a one-time harmless warning. Devel's drush integration is trying to download a library for you but you likely will never need it.

Never mind. Quick Google search fixed me up right quick. Thank you for the help Moshe!

Status:Fixed» Closed (fixed)

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

I am also seeing this error when enabling Devel through Drush, but I am automating build of my solution which looks for errors output by Drush. Having Devel report this as an error causes my builds to report a failure.
If it is only considered a minor warning, could it please be logged with an message type of 'warning' rather than 'error'?

Status:Closed (fixed)» Active

Assigning this issue back to active, please see my last post.

Sounds reasonable. Would you like to post a patch?

if drush_shell_exec('svn export http://firephp.googlecode.com/svn/branches/Library-FirePHPCore-0.3 ' . $path) fails, this message will appear.

It will fail if your server does not have the 'svn' command - so on apt-get enabled systems, you just do an
apt-get install subversion
and you can re-install FirePHP (for debugging messages in Firebug) with
drush devel-download

Thank you Mithrandir, that solved my problem.

Install the library by hand

I got this error to go away, on Windows 7, by creating the directory
and then putting the library there:

[00:43] g:/dev/site/rel/r1_0/www/sites/all/libraries/FirePHPCore> ls
FirePHP.class.php  FirePHP.class.php4  LICENSE  fb.php  fb.php4

Drush is happy:

/www> drush pm-enable devel
devel is already enabled.                                                   [ok]
There were no extensions that could be enabled.                             [ok]
FirePHP already present. No download required.                              [ok]

The FirePHPCore library is here:

http://www.firephp.org/HQ/Install.htm


Moshe >> Devel's drush integration is trying to download a library
Moshe >> for you but you likely will never need it.

Moshe, what is the use case for FirePHP?

Just curious.

StatusFileSize
new507 bytes
PASSED: [[SimpleTest]]: [MySQL] 2 pass(es).
[ View ]

Here is a patch to change the log type from 'error' to 'warning' as requested.
This is my first patch so hopefully I got it right :)

Status:Active» Needs review

Status:Needs review» Reviewed & tested by the community

looks good.

Status:Reviewed & tested by the community» Fixed

Pushed to D8 and D7 -dev.

Thanks!

Status:Fixed» Closed (fixed)

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

All--
Might be good to list the unstated dependency on SVN for this to work with drush. That's what was causing the issue in my build-- hadn't installed subversion...

@craigmc:

Please open a new issue for this.

Drush needs Subversion to get FirePHP:
http://www.tipnote.com/posts/2013/03/drush-was-unable-to-export-firephp-...

Install Subversion, disable Devel, reenable Devel. This should do it.

Issue summary:View changes

removed full path for security purposes