Running on Ubuntu 12.04. There is a drupal 7.17 update in the wings for my site, but for the past couple of weeks I've been getting this issue when I run drush:
Obtaining release notes for above projects...
PHP Fatal error: Call to a member function asXML() on a non-object in /usr/share/php/drush/commands/pm/release_info/updatexml.inc on line 218
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function asXML() on a non-object in
/usr/share/php/drush/commands/pm/release_info/updatexml.inc, line 218
At which point the core update aborts.
Would really like to get to the bottom of this.
Comment | File | Size | Author |
---|---|---|---|
#3 | drush-1839378.patch | 6.74 KB | jonhattan |
Comments
Comment #1
MentalFS CreditAttribution: MentalFS commentedI'm having the same problem. Updating a Drupal 6 sites works fine, though.
Here is the output with --verbose --debug:
Comment #2
jonhattanreason: Drupal changed the release link from raw to alias since 7.17
http://drupal.org/drupal-7.17-release-notes
previously:
http://drupal.org/node/1815904
Comment #3
jonhattanThis is being discussed at #1853518: Update status XML should publish non-aliased release links.
Drush really don't need the node nid. Fixed it along with some cleanup. Committed attached patch to 6.x and 5.x