The drush wfx command works fine with delimited files, but fail when creating the new-style Excel xlsx files. These files are actually zip archives containing a variety of XML files. The xlsx exporter creates the stylesheet XML file, incorporates it with other files into a Zip, unlinks the original and attempts to rename the zip as the new files. At this point, When run via drush, the temporary file stream isn't the file system and the rename fails.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DanChadwick’s picture

Status: Active » Fixed
FileSize
1.06 KB

The solution is to attempt the rename, and failing that, copy and unlink the zip.

Committed to 7.x-4.x and 8.x.

  • DanChadwick committed ece68f5 on 7.x-4.x
    Issue #2443373: drush wfx --format=excel cannot create fite
    
  • DanChadwick committed fc3704f on 8.x-4.x
    Issue #2443373: drush wfx --format=excel cannot create fite
    

Status: Fixed » Closed (fixed)

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