Hello,

Was running drush 2 and everytime I issue the command 'drush dl ' I get:

WD php: simplexml_load_file(): I/O warning : failed to load external entity "6.x" in /home/user/bin/drush/commands/pm/pm.drush.inc on line [error]
1165.

Upgraded drush to 3.0b1 and I get the same error.

Might be related but update status does not work as well.

What can I check? Thanks in advance.

Comments

greg.1.anderson’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Not much to go on here. I presume your network is working, or you wouldn't be posting issues. ;) Do you get any interesting information if you add the -d option? Are you using --package-handler=cvs?

moshe weitzman’s picture

Status: Postponed (maintainer needs more info) » Fixed

yes, its very related to update_status. we rely on that module. once you fix that, drush will work.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tsmulugeta’s picture

Component: Code » Base system (internal API)
Issue summary: View changes

I have the same problem. What was the solution to the problem?

tsmulugeta’s picture

In Drupal 7, PHP version 5.6.10 I was having this error whenever I ran "drush dl module_name" in the command line (terminal):

simplexml_load_file(): I/O warning : failed to load external entity "" Project.php:74
Failed to get available update data from https://updates.drupal.org/release-history/nodeaccess_userreference/7.x
Could not download requested project(s).

What fixed the problem for me was:

  • drush dl module_name -d Running this command showed me that wget was missing
  • Installed wget on Mac running this command brew install wget
  • Restart server (MAMP or XAMP)
  • "drush dl module_name" should work. If it still doesn't:
  • echo "check_certificate=off" > ~/.wgetrc
  • Restart server (MAMP or XAMP)
  • Should now work
Koendema’s picture

Thanks @tsmulugeta, solved it!

mickotia’s picture

Thanks @tsmulugeta!

frankl’s picture

Thank you @tsmulugeta. Downloaded and installed wget (for macOS Sierra 10.12) from http://rudix.org/packages/wget.html