Skip to main content
Question

WorkspaceRunner Error when runnging

  • September 5, 2019
  • 1 reply
  • 117 views

Forum|alt.badge.img

Please help to find out reasons for this errors. If i run job with cmd all ok. But WorkspaceRunner cannot run this fme job.

 

===============================================

When running with WorkspaceRunner

FME 2019.0.2.0 (20190605 - Build 19260 - WIN64)

FME Desktop ESRI Edition (floating)

Permanent License.

Machine host name is: tcoatyv12gispro

Operating System: Microsoft Windows Server 2012 R2 Server 4.0 64-bit (Build 9600)

Copyright (c) 1994 - 2019, Safe Software Inc.

Safe Software Inc.

 

The environment variable FME_USE_LM_ENVIRONMENT is defined, causing FME to use the floating license environment variables LM_LICENSE_FILE and SAFE_LICENSE_FILE (if defined).

Shape Reader: Failed to open dataset which is neither an existing file nor directory

 

An error occurred during the batch file execution, 1 translation failed. The following error message was raised:

#2 : Shape Reader: Failed to open dataset

which is neither an existing file nor directory

Program Terminating

 

Translation FAILED.

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.

1 reply

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Hi @bkolubenka,

 

It looks like there is something strange going on the with the file paths to the shape files.

You can see in the log that its looking only for one file, however, it looks like you want several files.

 

Each shapefile here should have a comma seperating the next shapefile and the beginning of each path needs to nave two slashes like I've shown below.
\\tcoatynas1\tcogis\browser\FGP\FGP_Primary_Network_Mons.shp\tcoatynas1\tcogis\browser\FGP\FGP_Secondary_Network_Mons.shp,\\tcoatynas1\tcogis\browser\FGP\FibreCable_Backbone.shp\tcoatynas1\tcogis\browser\FGP\FibreCable_Gathering.shp 

Perhaps when running on the CMD you are only using one shapefile?