Hi,

I'm getting this error every time i try to install my profile. It happens for random modules. Sometimes for ctools, sometimes i18n and sometimes other. But it constantly is there for at least one module or theme which prevents me effectively from installing my dist :]. I think that could be due to d.o servers running sloopy lately.

Does anyone else experience this issue or it's just me?

Comments

blazey’s picture

Debug information:

Undefined offset: 2 drush_make.utilities.inc:629 [72.73 sec, 4.53 MB]                                                                                               [notice]
Undefined offset: 1 drush_make.utilities.inc:629 [72.73 sec, 4.53 MB]                                                                                               [notice]
Undefined property: stdClass::$message drush_make.download.inc:174 [72.73 sec, 4.53 MB]                                                                             [notice]
BUILD_ERROR [72.73 sec, 4.53 MB]                                                                                                                                 [error]
Undefined variable: release_history drush_make.drush.inc:276 [72.73 sec, 4.53 MB]                                                                                   [notice]
Could not retrieve version information for colorbox. [72.73 sec, 4.53 MB]                                                                                        [error]
Could not retrieve version information for views. [138.34 sec, 4.56 MB]                                                                                          [error]
dmitrig01’s picture

Status: Active » Postponed (maintainer needs more info)

Please run the makefile again with --debug. For now I've added better error handling to this scenario.

davidtrainer’s picture

I'm having this same issue, but for *all* of the modules and themes listed in my makefile. This is with a makefile that successfully built two weeks ago. I'm using drush 4.6-dev and drush make 2.3. I've tried upgrading and downgrading drush, and tried the dev version of drush make but always get the same or similar behavior. Every time it reports the "Could not retrieve version information" error, it complains about "non-existent project type on" a particular custom theme. I tried removing that theme from the makefile but it did not help. Here is a sample of the output from --debug:

Calling unlink(/tmp/drush_make_tmp_1316030091_4e71068bc8df9/6.x) [29.32 sec, 8.05 MB]                                                                                                                  [debug]
unlink(/tmp/drush_make_tmp_1316030091_4e71068bc8df9/6.x): Is a directory drush.inc:1216 [29.32 sec, 8.06 MB]                                                                                       [warning]
Could not retrieve version information for adminrole. [29.32 sec, 8.06 MB]                                                                                                                         [error]
Non-existent project type  on project cm_theme [29.32 sec, 8.06 MB]                                                                                                                                [error]
Executing: ls '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__'
  ls: cannot access /tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__: No such file or directory
Calling chdir(/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__) [29.41 sec, 8.07 MB]                                                                                                          [debug]
chdir(): No such file or directory (errno 2) drush.inc:1216 [29.41 sec, 8.07 MB]                                                                                                                   [warning]
Executing: curl -LOD '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__header__' 'http://updates.drupal.org/release-history/advagg/6.x'
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
100 15289  100 15289    0     0  41641      0 --:--:-- --:--:-- --:--:-- 55799
Calling chdir(/home/david/code) [29.95 sec, 8.07 MB]                                                                                                                                                   [debug]
Executing: ls '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__'
  ls: cannot access /tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__: No such file or directory
Executing: mv '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__/' '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/6.x'
  mv: cannot stat `/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__/': No such file or directory
Executing: rm -f '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__header__'
Executing: rm -rf '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__'
Calling unlink(/tmp/drush_make_tmp_1316030091_4e71068bc8df9/6.x) [30.1 sec, 8.07 MB]                                                                                                                   [debug]
unlink(/tmp/drush_make_tmp_1316030091_4e71068bc8df9/6.x): Is a directory drush.inc:1216 [30.1 sec, 8.07 MB]                                                                                        [warning]
Could not retrieve version information for advagg. [30.1 sec, 8.07 MB]                                                                                                                             [error]
Non-existent project type  on project cm_theme [30.1 sec, 8.07 MB]                                                                                                                                 [error]

I also noticed a different pattern of errors showing up for non d.o projects, and noticed that it sometimes spits out "6.x" in the output and leaves an empty file named "6.x" in my working directory.

  6.x
Undefined variable: release_history drush_make.drush.inc:275 [26.71 sec, 7.99 MB]                                                                                                                     [notice]
Could not retrieve version information for tao. [26.71 sec, 7.99 MB]                                                                                                                               [error]
Undefined index: name drush_make.drush.inc:185 [26.71 sec, 8 MB]                                                                                                                                      [notice]
Executing: ls '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__'
  6.x
Calling chdir(/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__) [26.74 sec, 8 MB]                                                                                                             [debug]
Executing: curl -LOD '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__header__' 'http://code.developmentseed.org/fserver/rubik/6.x'
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
104  2292  104  2292    0     0   5992      0 --:--:-- --:--:-- --:--:--  5992
Calling chdir(/home/david/code) [27.15 sec, 8.01 MB]                                                                                                                                                   [debug]
Executing: ls '/tmp/drush_make_tmp_1316030091_4e71068bc8df9/__download__'
  6.x
Undefined variable: release_history drush_make.drush.inc:275 [27.17 sec, 8 MB]                                                                                                                        [notice]
Could not retrieve version information for rubik. [27.17 sec, 8 MB]                                                                                                                                [error]
davidtrainer’s picture

Status: Postponed (maintainer needs more info) » Active

Updating status

davidtrainer’s picture

It turns out my issue was because code.developmentseed.org is no more. What threw me off is that drush make complained about every project defined in the makefile, not just Tao and Rubik.

helmo’s picture

Component: Drupal.org integration » Code
Status: Active » Closed (won't fix)

[ Powered by #1115636: Issue Macros and Templates - Drush Make]

Drush make is moving into drush core (discussed in issue: #1310130: Put drush make in drush core)
This means that the issue queue is also moving. The Drush project has a component called 'Make' for this purpose.

We would like to take this opportunity to leave behind old/obsolete issues, allowing us to focus on a stable make command in core.

If you feel that this issue is still relevant after the move, feel free to re-open and move it to the Drush queue