- Issue created by @tgoeg
- Status changed to Closed: works as designed
about 1 year ago 10:54am 5 April 2024 - 🇺🇸United States jrockowitz Brooklyn, NY
You can choose the archive type in the UI and drush command.
→ - Status changed to Active
12 months ago 6:40am 8 April 2024 - 🇦🇹Austria tgoeg
Yes, as stated in my original report, the GUI setting you show works indeed as it should.
However, drush does not produce anything useful when using
--exporter=json
or--exporter=yaml
!Tested with current v6.2.2
Do you get any meaningful output when you issue the following?
$ vendor/bin/drush wfx myform --exporter=json > /tmp/exporttest > [notice] Exported 441 of 441 submissions… $ file /tmp/exporttest /tmp/exporttest: gzip compressed data, extra field, has comment, last modified: Thu Feb 7 16:27:08 2019, max compression, from Unix, original size modulo 2^32 173806772 $ gzip -dc /tmp/exporttest | less gzip: /tmp/exporttest has flags 0x5c -- not supported
If I substitute the
0x5c
in the file with0x00
I cantar xzf /tmp/exporttest
and get a filesubmission-3.json
which is half broken, but still it shows it is JSON in (broken) .tar.gz1) The output is unusable
2) The output is compressed when the option/usage info does not say so. Either do output JSON/YAML as one would expect or state you get a .tar.gz (which should not be corrupt :-) )