When first time installing Nodequeue 7.x-2.x-dev with drush, ends with an unrecoverable error:

$ drush en nodequeue
The following extensions will be enabled: nodequeue
Do you really want to continue? (y/n): y
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'app.nodequeue_queue' doesn't exist: SELECT nq.qid AS qid                       [error]
FROM 
{nodequeue_queue} nq; Array
(
)
 in nodequeue_get_all_qids() (line 583 of /var/www/html/sites/all/modules/nodequeue/nodequeue.module).
Cannot modify header information - headers already sent by (output started at /opt/drush/includes/drush.inc:596) bootstrap.inc:1207       [warning]
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'app.nodequeue_queue' doesn't exist: SELECT nq.qid AS qid
FROM 
{nodequeue_queue} nq; Array
(
)
 in nodequeue_get_all_qids() (line 583 of /var/www/html/sites/all/modules/nodequeue/nodequeue.module).
Drush command terminated abnormally due to an unrecoverable error. 

No nodequeue table was created.

Comments

claudiu.cristea’s picture

Priority: Critical » Minor
Status: Active » Postponed

After few $ drush dis, $ drush pm-uninstall, $ drush en has gone away... I might be some schema cache issue.

amateescu’s picture

Status: Postponed » Closed (cannot reproduce)

Just tried with a fresh D7.8 and latest drush-dev and I could not reproduce. Let's close this for now and see if anyone else bumps into it.

azinck’s picture

I just ran into it today. Happened with both 2.0-beta1 and 2.x-dev. I enabled/disabled/uninstalled a few times and kept getting the PDO errors. Updated ctools to the latest dev and that fixed it. I'm not sure if the fix came from the new version of ctools or if just the act of updating it reset the schema cache but figured I'd post in case it helps someone else out.

jisuo’s picture

I had this problem too today with the nodequeue-7.x-2.0-beta1 version. When I updated some other random modules the error went away.

erikwebb’s picture

Status: Closed (cannot reproduce) » Active

Having the same problem, but updating CTools made no impact. Also this is not a Drush-specific issue as I'm seeing this same error through the UI as well. What could cause hook_schema() to not be invoked?

dgtlmoon’s picture

*raises hand*

jaydub’s picture

For what it's worth just used Drush 5 to enable current 7.x-2.x-dev version of Nodequeue and no errors for me.

fizk’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

This doesn't seem to effect anyone now, so I'll close this.