I am trying to get Drush running on my local development site. Drush & Cygwin are installed and the cygwin command prompt responds to Drush commands such as "Drush topic" but precedes the command output with:
which: no tput in + a long list of directory paths
and then gives the topic list. When I respond with 16 (Drupal help for error messages) I get:
fwrite(): supplied argument is not a valid stream resource [warning] output.inc:29
I believe I have to add path definitions, but am not certain where to define them. My current configuration on a windows OS has apache & php under C:/Program Files/acquai drupal/ (I used their setup for php and apache, but not their Drupal Site setup.) I have Drush located under C:/Drush and my site located under C:/documents and Settings/admin/my-site.
ADDITIONAL INFO
I ran Drush pm-update and got the following messages:
pm-update needs a higher bootstrap level to run - you will need to run drush from a more functional Drupal Environment
The Drush command pm-update could not be executed
A Drupal installation Directory could not be found.
My environment path variable includes the path to my site root directory and the /site root/modules and the string of paths in the "which" error message includes these paths in the list.
Comments
Comment #1
Ashlar commentedComment #1.0
Ashlar commentedAdditional Content added
Comment #2
Ashlar commentedSOLUTION TO Tput ERROR:
I solved part of the problem The error message regarding "no Tput in...." can be solved by adding the add-on gygwin command tput from the cygwin installation program "setup.exe". The actual command i not on the list. Look for the "ncurses" package which includes the Tput utility.
The other errors still are there. I assume that the Update module it is looking for is "Update Manager" which I had already enabled.
SOLUTION to OTHER ERRORS
I found to problems. First was a cygwin related path error (my bad). and the second was that Drush was looking for the file settings.php and my setup had the file named as default.settings.php. (Who know why?)
I changed the status to Closed (won't fix).
Comment #2.0
Ashlar commentedadded last sentence re: paths
Comment #3
Ashlar commented