sh-4.1$ drush en mc*
The following extensions will be enabled: mcapi, mcapi_balance_history, mcapi_forms, mcapi_import, mcapi_index_views, mcapi_limits, mcapi_signatures, mcapi_sms
Do you really want to continue? (y/n): y
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'collectif_amaru_ka_v7.drupal_mcapi_transactions' doesn't exist: CREATE [error]
ALGORITHM = UNDEFINED VIEW {mcapi_index} AS
SELECT
t.xid,
t.serial,
t.payer AS uid1,
t.payee AS uid2,
t.type,
0 AS income,
w.worth_quantity AS expenditure,
- w.worth_quantity AS diff,
w.worth_quantity AS volume,
w.worth_currcode AS currcode,
t.created
FROM {mcapi_transactions} t
RIGHT JOIN {field_data_worth} w ON t.xid = w.entity_id
WHERE state > 0
UNION
SELECT
t.xid,
t.serial,
t.payee AS uid1,
t.payer AS uid2,
t.type,
w.worth_quantity AS income,
0 AS expenditure,
w.worth_quantity AS diff,
w.worth_quantity AS volume,
w.worth_currcode AS currcode,
t.created
FROM {mcapi_transactions} t
RIGHT JOIN {field_data_worth} w ON t.xid = w.entity_id
WHERE state > 0; Array
(
)
in mcapi_index_views_enable() (line 37 of
/var/www/mcv3.mirlitone.com/htdocs/sites/beta.collectif-amaru-ka.org/modules/mutual_credit/views/mcapi_index_views.install).
Cannot modify header information - headers already sent by (output started at /usr/share/php/drush/includes/output.inc:37) bootstrap.inc:1212 [warning]
PDOException : SQLSTATE[42S02]: Base table or view not found: 1146 Table 'collectif_amaru_ka_v7.drupal_mcapi_transactions' doesn't exist: CREATE ALGORITHM = UNDEFINED VIEW {mcapi_index} AS
SELECT
t.xid,
t.serial,
t.payer AS uid1,
t.payee AS uid2,
t.type,
0 AS income,
w.worth_quantity AS expenditure,
- w.worth_quantity AS diff,
w.worth_quantity AS volume,
w.worth_currcode AS currcode,
t.created
FROM {mcapi_transactions} t
RIGHT JOIN {field_data_worth} w ON t.xid = w.entity_id
WHERE state > 0
UNION
SELECT
t.xid,
t.serial,
t.payee AS uid1,
t.payer AS uid2,
t.type,
w.worth_quantity AS income,
0 AS expenditure,
w.worth_quantity AS diff,
w.worth_quantity AS volume,
w.worth_currcode AS currcode,
t.created
FROM {mcapi_transactions} t
RIGHT JOIN {field_data_worth} w ON t.xid = w.entity_id
WHERE state > 0; Array
(
)
dans mcapi_index_views_enable() (ligne 37 dans /var/www/mcv3.mirlitone.com/htdocs/sites/beta.collectif-amaru-ka.org/modules/mutual_credit/views/mcapi_index_views.install).
Drush command terminated abnormally due to an unrecoverable error. [error]
sh-4.1$ WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'collectif_amaru_ka_v7.drupal_mcapi_transactions' doesn't exist: CREATE [error]
> ALGORITHM = UNDEFINED VIEW {mcapi_index} AS
> SELECT
> t.xid,
> t.serial,
> t.payer AS uid1,
> t.payee AS uid2,
> t.type,
> 0 AS income,
> w.worth_quantity AS expenditure,
> - w.worth_quantity AS diff,
> w.worth_quantity AS volume,
> w.worth_currcode AS currcode,
> t.created
> FROM {mcapi_transactions} t
> RIGHT JOIN {field_data_worth} w ON t.xid = w.entity_id
> WHERE state > 0
> UNION
> SELECT
> t.xid,
> t.serial,
> t.payee AS uid1,
> t.payer AS uid2,
> t.type,
> w.worth_quantity AS income,
> 0 AS expenditure,
> w.worth_quantity AS diff,
> w.worth_quantity AS volume,
> w.worth_currcode AS currcode,
> t.created
> FROM {mcapi_transactions} t
> RIGHT JOIN {field_data_worth} w ON t.xid = w.entity_id
> WHERE state > 0; Array
> (
> )
> in mcapi_index_views_enable() (line 37 of
> /var/www/mcv3.mirlitone.com/htdocs/sites/beta.collectif-amaru-ka.org/modules/mutual_credit/views/mcapi_index_views.install).
> Cannot modify header information - headers already sent by (output started at /usr/share/php/drush/includes/output.inc:37) bootstrap.inc:1212 [warning]
> PDOException : SQLSTATE[42S02]: Base table or view not found: 1146 Table 'collectif_amaru_ka_v7.drupal_mcapi_transactions' doesn't exist: CREATE ALGORITHM = UNDEFINED VIEW {mcapi_index} AS
> SELECT
> t.xid,
> t.serial,
> t.payer AS uid1,
> t.payee AS uid2,
> t.type,
> 0 AS income,
> w.worth_quantity AS expenditure,
> - w.worth_quantity AS diff,
> w.worth_quantity AS volume,
> w.worth_currcode AS currcode,
> t.created
> FROM {mcapi_transactions} t
> RIGHT JOIN {field_data_worth} w ON t.xid = w.entity_id
> WHERE state > 0
> UNION
> SELECT
> t.xid,
> t.serial,
> t.payee AS uid1,
> t.payer AS uid2,
> t.type,
> w.worth_quantity AS income,
> 0 AS expenditure,
> w.worth_quantity AS diff,
> w.worth_quantity AS volume,
> w.worth_currcode AS currcode,
> t.created
> FROM {mcapi_transactions} t
> RIGHT JOIN {field_data_worth} w ON t.xid = w.entity_id
> WHERE state > 0; Array
> (
> )
> dans mcapi_index_views_enable() (ligne 37 dans /var/www/mcv3.mirlitone.com/htdocs/sites/beta.collectif-amaru-ka.org/modules/mutual_credit/views/mcapi_index_views.install).
> Drush command terminated abnormally due to an unrecoverable error. [error]
>

Comments

matslats’s picture

Status: Active » Closed (works as designed)

It looks like
drush en mc*
does not respect dependencies.
If you enable one module at a time, dependencies will be installed.
Not many use cases would necessitate all the mc* modules.