pls help, I must have missed something ... or is it a problem with changing the localize system ?
when I do drush dl cs (or other language), the response is :

heldev:/var/www/drupal/sites/enf.squelle.cz# drush dl sk
Source directory /tmp/drush_tmp_1297810826/sk is not readable or does not exist.                                               [error]
Project sk (6.x-1.4) could not be downloaded to /var/www/drupal/sites/enf.squelle.cz/modules/sk.                               [error]

According to localize, the file to download is http://ftp.drupal.org/files/translations/6.x/drupal/drupal-6.20.cs.po. I tried dl drupal-6.20.cs.po, no help-

Thanks for any ideas.

CommentFileSizeAuthor
#13 drush-1062790.patch1.38 KBjonhattan

Comments

mojzis’s picture

Category: support » bug

no sign of a trouble when creating the temp directory ... and then it doesnt exist. drush dl of a standard project works. it must be something in the last code in CVS - i tried it on a different computer first and it worked fine. Then I got new code from CVS and bingo it doesnt work on the second machine neither.

heldev:/var/www/drupal/sites/lucka.squelle.cz# drush dl --verbose fr
Initialized Drupal 6.20 root directory at /var/www/drupal                                                                  [notice]
Initialized Drupal site lucka.squelle.cz at sites/lucka.squelle.cz                                                         [notice]
Executing: wget --version
Downloading release history from http://updates.drupal.org/release-history/fr/6.x                                          [notice]
Executing: mkdir '/tmp/drush_tmp_1297893335'
Downloading project fr to /tmp/drush_tmp_1297893335 ...                                                                    [notice]
Calling chdir(/tmp/drush_tmp_1297893335)
Executing: wget -P . 'http://ftp.drupal.org/files/projects/fr-6.x-1.0.tar.gz'
Downloading fr-6.x-1.0.tar.gz was successful.                                                                              [notice]
Calling md5_file(fr-6.x-1.0.tar.gz)
Md5 checksum of fr-6.x-1.0.tar.gz verified.                                                                                [notice]
Executing: gzip -d 'fr-6.x-1.0.tar.gz'
Executing: tar -xf 'fr-6.x-1.0.tar'
Calling unlink(fr-6.x-1.0.tar)
Calling chdir(/var/www/drupal)
Using destination directory /var/www/drupal/sites/lucka.squelle.cz/modules                                                 [notice]
Executing: svn info '/var/www/drupal/sites/lucka.squelle.cz/modules'
Executing: bzr root '/var/www/drupal/sites/lucka.squelle.cz/modules'
Calling is_readable(/tmp/drush_tmp_1297893335/fr)
Source directory /tmp/drush_tmp_1297893335/fr is not readable or does not exist.                                        [error]
Project fr (6.x-1.0) could not be downloaded to /var/www/drupal/sites/lucka.squelle.cz/modules/fr.                      [error]
Command dispatch complete                                                                                                  [notice]
jonhattan’s picture

Assigned: Unassigned » jonhattan

We stopped supporting the download of translataion files recently in favor of l10n_update but it seems we need to put some checks in to stop the process and inform the user.

mojzis’s picture

until now one would usually install the site in the final language (switching later on used to cause trouble) ... hence the dl cs before anything else... so i figured out i probably need l10n_install but it yields the same on download ... so what shall one do for profiles ? thanks :)

Tor Arne Thune’s picture

I get the same error when trying to dl drupal, using the latest recommended 4.x release. I see the directory is created in /tmp, and it contains drupal-7.0.tar.gz being downloaded (slowly growing in size every time I 'ls -l'), but just before the error, the directory contains two files: drupal-7.0.tar and drupal-7.0.tar.gz, then the directory disappears. So something is deleting it again. Damn gnomes.

jaymiejones86’s picture

I am too getting this error and have been doing so for the past 2 days while issuing drush dl drupal but works fine when downloading a project drush dl cck

jaymiejones86’s picture

*updated tags

Also running a check on what exactly is happening via --verbose I get the following

Executing: wget --version
Executing: curl --version
Downloading release history from http://updates.drupal.org/release-history/drupal/7.x [notice]
Executing: mkdir '/tmp/drush_tmp_1299039322'
Downloading project drupal to /tmp/drush_tmp_1299039322 ... [notice]
Calling chdir(/tmp/drush_tmp_1299039322)
Executing: wget -P . 'http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz'
Executing: curl -O 'http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz'
Downloading drupal-7.0.tar.gz was successful. [notice]
Calling md5_file(drupal-7.0.tar.gz)
Md5 checksum of drupal-7.0.tar.gz verified. [notice]
Executing: gzip -d 'drupal-7.0.tar.gz'
Executing: tar -xf 'drupal-7.0.tar'
Calling unlink(drupal-7.0.tar)
Calling chdir(/Users/jaymiejones/Desktop)
Executing: svn info '/Users/example/Desktop'
Executing: bzr root '/Users/example/Desktop'
Calling is_readable(/tmp/drush_tmp_1299039322/drupal)
Source directory /tmp/drush_tmp_1299039322/drupal is not readable or does not exist. [error]
Project drupal (7.0) could not be downloaded to /Users/example/Desktop/drupal. [error]
Command dispatch complete [notice]

Circlefusion1’s picture

Last week, I installed the latest drush on a server, downloaded drupal 7 and installed various modules to a new site. This week, on the same server, without making any changes to the server, I tried to repeat the same steps for second site and I got the error:

drush dl drupal
Source directory /tmp/drush_tmp_1299052831/drupal is not readable or does not exist.

The sites are in the same directory path:
/www/public_html/sites/site1
/www/public_html/sites/site2

Drush didn't change.
My file permissions didn't change.
Nothing was installed or updated on the server.

This is a bit confusing.

jaymiejones86’s picture

Just an update: I seen this is for all version 5.x-dev, but I am experiencing this on 4.2 as well. Must be something related to the D.O changes with git somehow?

jaymiejones86’s picture

Priority: Normal » Major

Setting this issue to major as it is across both the supported 4.2 release as well as the 5.x release and can disrupt general use of drush as well as while using add-ons such as drush make.

I have found that this occurs on both Mac and Linux systems after further testing.

I have tested doing a drush update and this appears to work fine.

flatcircle’s picture

FYI.

Seems like the same issue as http://drupal.org/node/1078318

Kind regards.

jonhattan’s picture

Back to #2. Support for translations was dropped in #1035706: Remove translations from pm-download.

jonhattan’s picture

Status: Active » Fixed

Commited a fix to master branch:

$ drush dl es
Drush has dropped support for downloading translation projects. See l10n_update and l10n_install projects.         [error]
jonhattan’s picture

Version: » All-versions-4.x-dev
Assigned: jonhattan » msonnabaum
Status: Fixed » Patch (to be ported)
StatusFileSize
new1.38 KB
msonnabaum’s picture

Status: Patch (to be ported) » Fixed

Backported.

Status: Fixed » Closed (fixed)

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

weseze’s picture

Has this been comitted?

I'm running Drush 4.4 and when I try the command 'drush dl l10n_install' it gives me the error...
All other drush dl commands are working.

weseze’s picture

Status: Closed (fixed) » Needs work
msonnabaum’s picture

Status: Needs work » Closed (fixed)

As you can see in #14, I committed this to the 4 branch, and it went into 4.4.

If you're experiencing a different problem, please start a new issue and provide a bit more info about the error you're getting.

dagomar’s picture

I filed a new bug report, even though the error seems to be exactly the same:
http://drupal.org/node/1140642