Skip to main content
Question

Data Download success, empty zip file


michael
Contributor
Forum|alt.badge.img+1
I'm working on a Data Download service. The workspace runs successfully when I run it in Desktop. I uploaded to Server and it finishes successfully but the zip file doesn't contain any files. I checked the Output directory and the files are there.

9 replies

Forum|alt.badge.img+2
  • March 15, 2013

michael
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • March 15, 2013
I don't think so. I'm not using a fanout. And it finishes successfully and creates a zip file, but the file file doesn't contain the output files that were written.

Forum|alt.badge.img+2
  • March 15, 2013
Sure I had this before. I'll rack my brain to see if I can remember :-)

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • March 17, 2013
Hi Michael!

 

 

Remember having a similar issue when I defined the output filename as for instance output.kml. Then it would not write the file to the temp-catalogue, however somewhere else on the disk (I think somewhere on the FMEServer Resources directory). Can you examine the log and see where the file was written (not the zip-file). 

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • March 18, 2013
Sounds like this issue: http://fmepedia.safe.com/articles/Error_Unexpected_Behavior/Data-Download-Zip-File-Empty   Sometimes when publishing a workspace we don't automatically assign a writer to the Data Download Service.  When you publish your workspace look at the Edit settings for the Data Download Service and make sure there is ""Desired Output Writer" set

michael
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • March 18, 2013
That was it Ken! Thanks for finding that article.

owen
Forum|alt.badge.img+1
  • March 18, 2013

Ken,

 

 

I am having the same problem at the moment, and I could really do with some help!

 

 

My data download service has 3 possible output formats, and all three are ticked as the 'Desired Output Writer' with the Data Download Service:

 

 

1. ASCII grid

 

2. csv

 

3. File Geodatabase Raster

 

 

All three formats output correctly when using the Job Submitter.

 

 

With the Data Download Service, I get empty zip files for the csv and geodatabase output (but is written to the output folder).

 

 

HOWEVER the ASCII output is properly zipped up, but not written to the output folder! Is written here instead-

 

 

Esri ASCII Grid Plugin: Closing the Esri Ascii Grid writer for file 'E:\\repo\\DefaultResults\\FME_747F090A_1363630510132_2668\\20130318181510_OP3'

 

 

Any ideas?!?

 

 

All three have a dataset and or file fanout.

 

 

Many thanks,

 

 

Owen

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • March 20, 2013
Hi Owen,

 

I think your issue is more likely related to the article Mark@SAUK pointed out:

 

 

http://fmepedia.safe.com/articles/Error_Unexpected_Behavior/Dataset-Fanout-doesn-t-work-for-Services

 

 

The key point is at the end:

 

In the workspace publish the Fanout Directory parameter on the writer and give the parameter the name FME_SERVER_DEST_DIR.

 

 

When the workspace is run on FME Server this macro is replaced by the destination directory for the service and the data can be fanned out and still accessible to the service.

Forum|alt.badge.img
Thanks Ken, that was exactly the information I needed and google pointed me to this thread :)

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings