HollyIT/NBDrupalDevel — Issue #13: Context menu Implementations for hooks, drush error??
Author: rojosnow
Created: 2011-11-08 22:33:03+00:00
State: open

PHP Version: 5.3.8
Drupal Version: 7.9
Drush Version: 4.5
Netbeans Version: 7.0.1
Java: 1.6.0_26 64bit
OS & Version: OS X 10.6.8

**Issue 1**
I get the below error when selecting the Implementations content menu for a hook.

Drush Output:
`EXECUTE: /Users/robert/Applications/drush/drush -r "/Users/robert/Documents/jordanjr/sites/dev.jordanjr.com" --include="/Users/robert/.netbeans/7.0/NBDrush" -y nb-hook menu
The drush command 'nb-hook menu' could not be found. [ERROR] The directory [ERROR] "/Users/robert/Documents/jordanjr/sites/dev.jordanjr.com" does not contain a valid Drupal installation
Execution complete in 0.168388 seconds`

When I run "st", I get:
`
EXECUTE: /Users/robert/Applications/drush/drush -r "/Users/robert/Documents/jordanjr/sites/dev.jordanjr.com" --include="/Users/robert/.netbeans/7.0/NBDrush" -y st
PHP configuration : Drush version : 4.5 Drush configuration : Drush alias files : /Users/robert/.drush/ryan.aliases.drushrc.php
Execution complete in 0.168673 seconds
`
At a command prompt,
`
drush -r "/Users/robert/Documents/jordanjr/sites/dev.jordanjr.com" --include="/Users/robert/.netbeans/7.0/NBDrush" -y nb-hook menu
`
runs without an issue when I am within my home directory. I've checked the drush, project, and drupal paths several times. I read the installation guide...did I miss something??

**Issue 2**
Notice the double == in the --uri switch. This fails at the command line.
`
EXECUTE: /Users/robert/Applications/drush/drush -r "/Users/robert/Documents/jordanjr/sites/dev.jordanjr.com" --include="/Users/robert/.netbeans/7.0/NBDrush" --uri==http://dev.jordanjr.local -y pml
Command pm-list needs a higher bootstrap level to run - you will need [ERROR] invoke drush from a more functional Drupal environment to run this command. The drush command 'pml' could not be executed. [ERROR] The directory [ERROR] "/Users/robert/Documents/jordanjr/sites/dev.jordanjr.com" does not contain a valid Drupal installation
Execution complete in 0.16593 seconds
`