Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#10 | devel-firephp_warn_instead_of_error-1360630-4.patch | 507 bytes | fester88 |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedIt 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.
Comment #2
Mazer.Rackham CreditAttribution: Mazer.Rackham commentedNever mind. Quick Google search fixed me up right quick. Thank you for the help Moshe!
Comment #4
fester88 CreditAttribution: fester88 commentedI 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'?
Comment #5
fester88 CreditAttribution: fester88 commentedAssigning this issue back to active, please see my last post.
Comment #6
salvisSounds reasonable. Would you like to post a patch?
Comment #7
Mithrandir CreditAttribution: Mithrandir commentedif 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
Comment #8
saidij1976 CreditAttribution: saidij1976 commentedThank you Mithrandir, that solved my problem.
Comment #9
asteroid.miner CreditAttribution: asteroid.miner commentedInstall the library by hand
I got this error to go away, on Windows 7, by creating the directory
and then putting the library there:
Drush is happy:
The FirePHPCore library is here:
http://www.firephp.org/HQ/Install.htm
Moshe, what is the use case for FirePHP?
Just curious.
Comment #10
fester88 CreditAttribution: fester88 commentedHere 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 :)
Comment #11
salvisComment #12
moshe weitzman CreditAttribution: moshe weitzman commentedlooks good.
Comment #13
salvisPushed to D8 and D7 -dev.
Thanks!
Comment #15
craigmc CreditAttribution: craigmc commentedAll--
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...
Comment #16
salvis@craigmc:
Please open a new issue for this.
Comment #17
remi CreditAttribution: remi commentedDrush 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.
Comment #17.0
remi CreditAttribution: remi commentedremoved full path for security purposes