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.
Problem
Error generated from Drush update regarding Omega Theme. No errors reported for other modules.
Original report
Despite the error, the subsequent Drush Update went ahead but ignored Omega Theme completely.
$ drush dl omega-7.x-3.x-dev --destination=sites/all/themes
Project omega (7.x-3.x-dev) downloaded to sites/all/themes/omega. [success]
Project omega contains 5 themes: starterkit_omega_xhtml, starterkit_omega_html5, starterkit_alpha_xhtml, omega, alpha.
The download worked OK but the update objected to something in Omega's extensions ... including 'misfits' which is a sub theme previously generated with drush omega-subtheme
$ drush up
Checked available update data for one project. [status]
Error while trying to find the common path for enabled extensions of project omega. Extensions are: alpha, [error]
misfits, omega, starterkit_alpha_xhtml, starterkit_omega_html5, starterkit_omega_xhtml.
Update information last refreshed: Fri, 07/22/2011 - 23:09
misfits was the only 'enabled' theme, so diagnostics are confusing.
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedLooks like you dont have omega_tools installed.
Comment #2
olafveerman CreditAttribution: olafveerman commentedI'm having the same issue. In this case, the subtheme was created 'manually'.
Comment #3
iainH CreditAttribution: iainH commentedI'm not having this problem any more with 8 Aug dev Omega tools and theme.
I'll mark it closed in the hope it's gone away for @olafveerman also.
Comment #4
JSCSJSCS CreditAttribution: JSCSJSCS commentedWith Omega tools 7.x-3.0-rc3 enabled and running drush up:
Error while trying to find the common path for enabled extensions of [error]
project omega. Extensions are: alpha, my_omega, omega,
starterkit_alpha_xhtml, starterkit_omega_html5,
starterkit_omega_xhtml.
Update information last refreshed: Fri, 11/04/2011 - 08:00
web site is a sub-directory in DreamHost hosting.
Saw this post: http://drupal.org/node/1043038
I commented out the project line in the .info file as such:
;project = "omega"
And the error went away. Not sure why this works, but if it helps anyone else, I'm glad to have posted.
Comment #5
OldAccount CreditAttribution: OldAccount commentedThanks for the tip, "drush up omega" wasn't working because I created my sub-theme manually and didn't comment out
project = "omega"
in the .info file. Commenting out that line did the trick.Comment #6
dojorob76 CreditAttribution: dojorob76 commentedSubscribe. Exact same issue, and commenting out
project = "omega"
in the .info file(s) of my manually created subthemes got rid of the error. Thank you JSCSJSCS.Comment #7
tsmulugeta CreditAttribution: tsmulugeta commentedDid you ever find a solution to this? I have the exact same problem.
Comment #8
dshumaker CreditAttribution: dshumaker commented+Bump. This is still an issue. I'm still experiencing it with omega. Taking out the version, package, core, datestamp does get rid of the error but I've got this error for many modules and it's not practical or forward thinking to have to modify the distributed info files of many modules just to get drush to behave.
References:
https://www.drupal.org/node/2443917
https://www.drupal.org/node/1043038
https://www.drupal.org/node/2227697
https://www.drupal.org/node/1561280
https://www.drupal.org/node/1532166
http://cgit.drupalcode.org/drush/diff/commands/pm/pm.drush.inc?id=024066a
https://www.drupal.org/node/1864900
https://www.drupal.org/node/1641878#comment-6836698
Comment #9
malcomio CreditAttribution: malcomio as a volunteer and at Capgemini commentedSeems like the appropriate fix is to remove the drupal.org packaging info from the subtheme's info file.
See also the following issues:
#1561280: Error while trying to find the common path for enabled extensions of project adaptivetheme. Extensions are: ...
#1043038: Error while trying to find the common path for enabled extensions of [error] project fusion. Base Theme and Sub Theme separate.
#1532166: Show only involved extensions if failed to obtain the common path for a project's extensions
Comment #10
Jooblay.net CreditAttribution: Jooblay.net as a volunteer commented#4 worked for me.