Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.
By ahillio on
I've used this drush make file successfully on several occasions over the last couple months and now suddenly it's not working and full of these errors.
o1.ftp:[static]$ drush make makefiles/commercecrm.make firestick.commcrm-1.3
Project information for admin_menu retrieved. [ok]
Invalid version 3.0-rc4 for admin_menu. [error]
Non-existent project type on project mailsystem [error]
Project information for filter_perms retrieved. [ok]
Invalid version 1.0 for filter_perms. [error]
Non-existent project type on project mailsystem [error]
There are dozens of such errors.
Those are the current versions for filter_perms and admin_menu. Why does the machine think they're invalid? And why does it complain "Non-existent project type on project mailsystem" every time it complains about invalid version?
Then:
PHP Fatal error: Call to a member function make() on a non-object in /var/aegir/.drush/drush_make/drush_make.drush.inc on line 233
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function make() on a non-object in
/var/aegir/.drush/drush_make/drush_make.drush.inc, line 233
o1.ftp:[static]$ vi makefiles/commercecrm.make
I can't find a way to attach a file here, so pasting the makefiles...
; Core version
; ------------
core = 7.x
; API version
; ------------
api = 2
; Core project
; ------------
projects[drupal][version] = 7
; Links to Base make file
; ------------------------
includes[] = ./modsandlibs.make
; Drupal Commerce and Commerce contribs.
projects[commerce][version] = 1.5
projects[commerce][subdir] = "contrib"
projects[commerce_features][version] = 1.0-rc1
projects[commerce_features][subdir] = "contrib"
projects[commerce_migrate][version] = 1.1
projects[commerce_migrate][subdir] = "contrib"
projects[commerce_addressbook][version] = 2.0-rc4
projects[commerce_addressbook][subdir] = "contrib"
projects[commerce_addressbook][patch][] = "http://drupal.org/files/commerce_addressbook-fix-set-as-default-address-1951056-4.patch"
projects[commerce_shipping][version] = 2.0
projects[commerce_shipping][subdir] = "contrib"
projects[commerce_flat_rate][version] = 1.0-beta2
projects[commerce_flat_rate][subdir] = "contrib"
projects[commerce_ups][version] = "2.0"
projects[commerce_fedex][version] = "1.x-dev"
projects[commerce_usps][version] = "2.x-dev"
projects[commerce_checkout_progress][version] = 1.2
projects[commerce_checkout_progress][subdir] = "contrib"
projects[commerce_checkout_redirect][version] = 2.0-beta1
projects[commerce_checkout_redirect][subdir] = "contrib"
projects[commerce_add_to_cart_confirmation][subdir] = "contrib"
projects[commerce_add_to_cart_confirmation][version] = 1.0-rc2
projects[commerce_search_api][subdir] = "contrib"
projects[commerce_search_api][version] = 1.1
projects[commerce_hosted_pci][version] = 1.0-rc1
projects[commerce_hosted_pci][subdir] = "contrib"
projects[commerce_discount][version] = 1.x-dev
projects[commerce_discount][subdir] = "contrib"
projects[commerce_cheque][version] = 1.0
projects[commerce_payleap][version] = 1.1
projects[commerce_payleap][subdir] = "contrib"
projects[commerce_paypal][subdir] = "contrib"
projects[commerce_paypal][version] = 2.0-beta1
projects[commerce_cod][version] = 1.0
projects[commerce_invoice_receipt][version] = 1.0
projects[commerce_pay_in_person][version] = 1.0-beta1
projects[commerce_backoffice][subdir] = "contrib"
projects[commerce_backoffice][version] = 1.2
projects[commerce_backoffice][patch][] = "http://drupal.org/files/commerce_backoffice_product-add-product-variations-view-1954150-4.patch"
projects[commerce_autosku][version] = 1.x-dev
projects[commerce_autosku][subdir] = "contrib"
projects[commerce_message][subdir] = "contrib"
projects[commerce_message][version] = 1.0-beta1
projects[inline_entity_form][version] = 1.3
projects[views_megarow][version] = 1.0
projects[commerce_rules_extra][version] = 1.1
projects[eva][version] = 1.2
projects[commerce_extra_price_formatters][version] = 1.x-dev
projects[commerce_extra_price_formatters][subdir] = "contrib"
projects[commerce_fancy_attributes][version] = 1.0
projects[commerce_fancy_attributes][subdir] = "contrib"
projects[commerce_physical][version] = 1.x-dev
projects[commerce_physical][subdir] = "contrib"
projects[commerce_custom_product][version] = 1.0-beta2
projects[commerce_registration][version] = 2.0-beta5
projects[commerce_donate][version] = 1.0-beta1
projects[commerce_webform][version] = 1.0-beta6
projects[commerce_custom_order_status][version] = 1.0
projects[commerce_order_reference][version] = 1.0-alpha1
projects[commerce_cardonfile][version] = 1.x-dev
projects[commerce_recurring][version] = 1.x-dev
projects[redhen][version] = 1.6
projects[redhen_feeds][version] = 1.0-alpha2
projects[redhen_membership][version] = 1.0
projects[mailchimp][version] = 2.10
projects[mandrill][version] = 1.4
projects[mailsystem][version] = 2.34
projects[omega_tools][version] = 3.0-rc4That file calls this one...
projects[admin_menu][version] = 3.0-rc4
projects[filter_perms][version] = 1.0
projects[module_filter][version] = 1.7
projects[entity][version] = 1.2
projects[ctools][version] = 1.3
projects[features][version] = 2.0-rc2
projects[libraries][version] = 2.1
projects[token][version] = 1.5
projects[entityreference][version] = 1.x-dev
projects[strongarm][version] = 2.0
projects[job_scheduler][version] = 2.0-alpha3
projects[feeds][version] = 2.0-alpha8
projects[feeds_tamper][version] = 1.0-beta5
projects[logintoboggan][version] = 1.3
projects[email_registration][version] = 1.1
projects[context][version] = 3.1
projects[date][version] = 2.6
projects[views][version] = 3.7
projects[views_bulk_operations][version] = 3.1
projects[views_data_export][version] = 3.0-beta6
projects[webform][version] = 3.18
projects[webform_rules][version] = 1.6
projects[calendar][version] = 3.4
projects[flag][version] = 2.1
projects[panels][version] = 3.3
projects[rules][version] = 2.3
projects[message][version] = 1.7
projects[message_notify][version] = 2.4
projects[registration][version] = 1.1
projects[relation][version] = 1.0-rc4
projects[select_or_other] = 2.2
projects[interval][version] = 1.0-rc1
projects[link][version] = 1.1
projects[addressfield][version] = 1.0-beta4
projects[physical][version] = 1.x-dev
projects[telephone][version] = 1.x-dev
projects[field_group][version] = 1.2
projects[field_collection][version] = 1.0-beta5
projects[media][version] = 1.3
; projects[file_entity][version] = 2.0-alpha2
projects[remote_stream_wrapper][version] = 1.0-beta4
projects[emfield][version] = 1.0-alpha2
projects[mediafront][version] = 2.0-rc8
projects[media_youtube][version] = 2.0-rc3
projects[plupload][version] = 1.1
projects[imagecrop][version] = 1.0-rc3
projects[colorbox][version] = 2.4
projects[colorbox_node][version] = 2.6
projects[flexslider][version] = 2.0-alpha1
projects[fontyourface][version] = 2.8
projects[superfish][version] = 1.9
projects[draggableviews][version] = 2.0
projects[views_accordion][version] = 1.0-rc2
projects[views_slideshow][version] = 3.0
projects[quicktabs][version] = 3.4
projects[css_injector][version] = 1.8
projects[save_draft][version] = 1.4
projects[exclude_node_title][version] = 1.6
projects[wysiwyg][version] = 2.2
projects[ckeditor][version] = 1.13
projects[ckeditor_link][version] = 2.3
projects[widgets][version] = 1.0-rc1
projects[service_links][version] = 2.1
projects[sharethis][version] = 2.5
projects[mollom][version] = 2.6
projects[honeypot][version] = 1.14
projects[omega][version] = 3.1
projects[delta][version] = 3.0-beta11
projects[alphorn][version] = 2.1
projects[respond][version] = 3.0-beta1
projects[tej][version] = 2.0-alpha1
projects[conch][version] = 2.0
projects[adaptivetheme][version] = 3.1
projects[pixture_reloaded][version] = 3.0-rc1
projects[omega_tools][version] = 3.0-rc4
projects[devel][version] = 1.3
projects[devel_themer][version] = 1.x-dev
projects[simplehtmldom][version] = 1.12
projects[google_analytics][version] = 1.3
projects[xmlsitemap][version] = 2.0-beta3
projects[metatag][version] = 1.0-beta4
projects[pathauto][version] = 1.2
projects[globalredirect][version] = 1.5
projects[extlink][version] = 1.13
; Libraries
; ---------
; TinyMCE
libraries[tinymce][download][type] = "get"
libraries[tinymce][download][url] = "https://github.com/downloads/tinymce/tinymce/tinymce_3.5.8_jquery.zip"
libraries[tinymce][directory_name] = "tinymce"
libraries[ckeditor][download][type] = "get"
libraries[ckeditor][download][url] = "http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.2.2/ckeditor_4.2.2_standard.zip"
libraries[ckeditor][directory-name] = "ckeditor"
libraries[jquery.cycle][download][type] = "get"
libraries[jquery.cycle][download][url] = "https://github.com/malsup/cycle/blob/master/jquery.cycle.all.js"
libraries[jquery.cycle][directory_name] = "jquery.cycle"
libraries[nivo-slider][download][type] = "get"
libraries[nivo-slider][download][url] = "https://github.com/downloads/gilbitron/Nivo-Slider/nivo-slider3.1.zip"
; libraries[nivo-slider][directory_name] = "nivo-slider"
libraries[plupload][download][type] = "get"
libraries[plupload][download][url] = "https://github.com/downloads/moxiecode/plupload/plupload_1_5_4.zip"
libraries[plupload][directory_name] = "plupload"
libraries[colorbox][download][type] = "get"
libraries[colorbox][download][url] = "https://github.com/jackmoore/colorbox/archive/master.zip"
libraries[colorbox][directory_name] = "colorbox"
libraries[superfish][download][type] = "get"
libraries[superfish][download][url] = "https://github.com/mehrpadin/Superfish-for-Drupal/archive/master.zip"
libraries[superfish][directory_name] = "superfish"
Can you help? Please? Thankyou! -Alec










Comments
Same Errors
I am now getting the same errors on both my local and my production server. I have unchanged make files that ran correctly about three days ago. I'm using Drush 4.6.
Changed XML Format = Broken Drush
Which Drush version are you running?
When Drupal.org upgraded from D6 to D7, they changed the XML format for projects. See https://github.com/drush-ops/drush/issues/249. Based on the language in the original issue, Drupal.org "deployed a compatibility fix that adds back the old keys." It would appear that fix has been removed.
This issue has been fixed in the Drush project in the 7.x branch and has been backported to the 6.x and 5.x branches. Drush 4 is unsupported. My organization uses Aegir 1, which requires Drush 4. It appears we will need to upgrade to Aegir 2, which uses Drush 5. In the mean time we can't use drush make, which breaks our deployment process.
XML Format = Broken Drush = Unacceptable
My institution is in the same fix. We're a university with multiple Aegir hosting systems - now broken due to this issue. We don't have the resources to rush upgrades to production systems like these. We need to work on getting out a Drush 4 patch.
Broken make
Hi,
I am running several production aegir servers and have the same issue. What I have managed to debug so far is that the issues comes from maintaining the project page on drupal.org as on quite a few modules what comes from xml is not what is displayed on drupal.org i.e.multiform here https://drupal.org/project/multiform suggest that version 1.0 is to use the the make file but if you query drupal.org the number says 1.x.
I have made some dummy patch that seems to work in my case that tries to match the correct version based on other properties in the xml.
The patch assumes that 7.x. version is the one that is needed so you should adjust it to work in your environment. As far as I can tell the core drush does not need to be updated.
--- /var/aegir/.drush/drush_make/drush_make.drush.inc.old 2013-11-24 15:42:55.006297030 +0100
+++ /var/aegir/.drush/drush_make/drush_make.drush.inc 2013-11-24 16:13:13.580317656 +0100
@@ -359,9 +359,21 @@
$final_version = empty($project['version']) ? '' : $project['version'];
// Uh oh, couldn't find a valid version.
+
if (empty($final_version) || empty($releases[$final_version])) {
- drush_make_error('BUILD_ERROR', dt("Invalid version %version for %project.", array('%version' => $final_version, '%project' => $project['name'])));
- return FALSE;
+ // Try to determin correct version
+ $found = false;
+ foreach ($releases as $version=>$data){
+ if ( $data["version"] == '7.x-'.$final_version ){
+ $final_version = $version;
+ $found = true;
+ break;
+ }
+ }
+ if ( !$found ){
+ drush_make_error('BUILD_ERROR', dt("Invalid version %version for %project.", array('%version' => $final_version, '%project' => $project['name'])));
+ return FALSE;
+ }
}
make error
p.s.
This is temporary solution and not stable solution, but it works in my case and I am making builds again
Thank you
We're in the same boat on one of our servers:
Running an older version of Aegir that relies on Drush 4 and suddenly all makes were breaking with Invalid Version errors. We're migrating all sites to a newer server running an updated version of BOA but your helpful hack/patch is working well and letting us do builds again in the meantime. +1
Patch for drush_make-6.x-2.3
There's further discussion and a working patch for these issues over at http://community.aegirproject.org/discuss/platform-errors-after-do-d7-mi...
Anyone here with make errors with drush_make-6.x-2.3 (anyone running stable Aegir 1.x) may want to look at that issue there as it's a (slight) improvement over the patch here and should get Aegir platform builds back up and running.
As announced on Twitter and
As announced on Twitter and App.net:
Thanks @fenstrat !
Fix drush_make upstream?
Thanks @omega8cc
@matglas86 has gone ahead and opened a drush_make issue (as this is really where the issue belongs) in Fix for 'Project Release Packaging' because of change in xml after Drupal.org D7 upgrade. Not sure what it's chances of being committed are, but I think it's the correct place to fix the issue.
Also, any chance this could be announced on the Aegir twitter account as not being able to build a platform on Aegir 1.x seems like a pretty critical issue.
May be related to#2140621:
May be related to
#2140621: Invalid version type for 7.24 and 7.23 error when installing via drush
#2132659: [META] Problems with Project Release Packaging
thanks for comments, fixed upstream
yes as j0nathan said this was related to (in my case anyway) #2140621: Invalid version type for 7.24 and 7.23 error when installing via drush
and this has been fixed https://drupal.org/comment/8234009#comment-8234009
by the time I finally found the drush's location (and the nerve to patch it) things were working normally again :)
Yep, fixed upstream
Just confirming that this was indeed fixed upstream as per https://drupal.org/comment/8234009#comment-8234009 - So there's no need for any patches mentioned here.