Skip to main content
Question

running workspace from python use workspaceRunner no longer works

  • May 23, 2016
  • 4 replies
  • 36 views

Forum|alt.badge.img

I have a workspace that I can run without error from the workbench, and I have a python script that also has run it in the past without issue. For some reason, now when I run the workspace via the script, it does not produce an error, but the output files it is writing (KMZ) are empty. I've double-checked all the parameters and they seem to be ok. There is an sde reader, which I did change to read a connection file, vs previously I entered in all the connection information. I'm not sure what's going wrong?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

Forum|alt.badge.img
  • Author
  • May 23, 2016

I should also mention the path of the workspace changed.


david_r
Celebrity
  • May 24, 2016

The FME log file will most likely tell you why, in particular where there are no more features passing through.


Forum|alt.badge.img
  • Author
  • May 24, 2016

The FME log file will most likely tell you why, in particular where there are no more features passing through.

Thanks for the tip. I compared the log from the python script run to the one generated when i launched the workspace from workbench. It seems it is not reading the features in the sde geodatabase, but I'm unsure why. I wonder if I need to specify the feature class in the database in the script, in addition to the database itself as a parameter.


Forum|alt.badge.img
  • Author
  • May 24, 2016

The FME log file will most likely tell you why, in particular where there are no more features passing through.

I've also tried now to run the workspace through command line (i'm on windows), and I get the same results with empty kmz files...