If I use drush pm-releases adaptivetheme the following error is viewed:

Error while trying to find the common path for enabled [error]
extensions of project adaptivetheme. Extensions are:
adaptivetheme, adaptivetheme_admin, adaptivetheme_subtheme,
my_theme.

Can I change this or is this an error?

Comments

Jeff Burnz’s picture

I'm not sure why you get this error, this is what I get:

$ drush pm-releases adaptivetheme
------- RELEASES FOR 'ADAPTIVETHEME' PROJECT -------
 Release         Date         Status
 7.x-3.x-dev     2012-Jun-16  Development
 7.x-3.0-rc2     2012-May-15  Supported
 7.x-2.x-dev     2012-Jun-16  Development
 7.x-2.2         2012-Feb-16  Supported, Recommended
 7.x-1.x-dev     2011-Sep-16  Development
 7.x-1.2         2011-Jul-30  Supported

I'll ask in another thread what the issue might be.

Jeff Burnz’s picture

Status: Active » Closed (cannot reproduce)
MXT’s picture

Version: 7.x-3.x-dev » 7.x-3.1
Priority: Normal » Major
Status: Closed (cannot reproduce) » Active

I'm trying to do an update from adaptivetheme 7.x-3.0 to 7.x-3.1 but without success:

drush up adaptivetheme
Error while trying to find the common path for enabled extensions of [error]
project adaptivetheme. Extensions are: adaptivetheme,
adaptivetheme_admin, adaptivetheme_subtheme, my_theme.

What can I do?

Thank you very much for any help

Jeff Burnz’s picture

That looks like it's pulling the wrong info from GIT because the project extension names are wrong for 7.x-3.x.

MXT’s picture

That looks like it's pulling the wrong info from GIT because the project extension names are wrong for 7.x-3.x.

Thank you for your answer, but I don't understand if this is a issue I can resolve by myself (changing something that I ignore at the moment), or is drush problem, or is adaptivetheme problem...

MXT’s picture

I still have the same issue in another site using adaptivetheme: I cannot upgrade with drush from 7.x-3.0 to 7.x-3.1.

Can you please give me an advice to resolve this?

Thank you very much

MXT’s picture

After manually upgrading (without drush) to 7.x-3.1 I still receive the following warning after doing "drush up" tu upgrade any other modules:

Error while trying to find the common path for enabled extensions of [error]
project adaptivetheme. Extensions are: adaptivetheme,
adaptivetheme_admin, adaptivetheme_subtheme, my_sub_theme.

Please, help me to resolve: what can be the reason?

Thank you very much

Jeff Burnz’s picture

I'll ask the infrastructure team, it could be some cache issue with GIT?

MXT’s picture

The error disappear removing the following lines:

; Information added by drupal.org packaging script on 2012-08-29
version = "7.x-3.1"
core = "7.x"
project = "adaptivetheme"
datestamp = "1346238662"

from the following files:

  • adaptivetheme.info
  • adaptivetheme_admin.info
  • adaptivetheme_subtheme.info
  • your_subtheme.info

That's probabily due to:

The culprit is having a line like project = "adaptivetheme" in a subtheme, that is not part of the adaptivetheme project in drupal.org.

(see: http://drupal.org/node/1532166#comment-5955848 )

Is there definitively a way to resolve this?

Thank you very much

Jeff Burnz’s picture

Priority: Major » Normal

I think definitive way to solve it is to remove those lines, or at least the project declaration in all themes that are not part of the project, i.e. your custom sub-themes.

Jeff Burnz’s picture

Countzero’s picture

Fix in #9 works here. Thanks.

sbgranny’s picture

Got same error today. Fix in #9 works. Thanks.