I have a workspace that is aimed at accepting either a shapefile or a DWG to define an area of interest which in turn is used to find data. I've linked both readers to optional parameters, blank default sources, and set 'ignore failed readers' to yes, yet when only uploading a shapefile (i.e. not uploading a DWG) I still get a process failure on FME Server with this message about the DWG reader failing:
I can try later with feature readers, but to me this shouldn't fail - any ideas?thanks.
Lyes.
Hi,
Are you able to open the dwg file in AutoCAD environment? If yes, is it possible to provide the same here for review...
Pratap
Hi,
Are you able to open the dwg file in AutoCAD environment? If yes, is it possible to provide the same here for review...
Pratap
Hi @chrisw84 ,
From what I see FME cannot read the file. Cannot read it on FME Desktop? Just wondering is your Desktop and Server versions the same?
Could you please provide us with sample data and also the workspace? Perhaps At least the workspace.
Thanks.
Uploaded the wrong log file in a hurry, here's a more useful one.
did you Run this workspace in the same FME desktop version in FME Server?
@chrisw84 - Is this the only Reader in your workspace? As per documentation for the 'Ignore Failed Readers' parameter, "If all readers in the workspace fail, FME aborts the translation, regardless of this setting."
Edit1: I misread your original posting. You have two Readers and when the Shapefile Reader successfully reads a file, you are correct that the RealDWG Reader (with that parameter set) should not fail out the workspace..
2017-08-11 08:51:26| 0.5| 0.0|INFORM|MULTI_READER(MULTI_READER): Adding REALDWG Reader with keyword REALDWG_2 2017-08-11 08:51:26| 0.5| 0.0|INFORM|MULTI_READER(MULTI_READER): Adding ESRISHAPE Reader with keyword ESRISHAPE_2
As some others have suggested, does this run without issue in FME Desktop?
Edit2: I have been unable to reproduce this issue with a sample workspace (attached). Can you provide your workspace and example data?
Hi @chrisw84 ,
From what I see FME cannot read the file. Cannot read it on FME Desktop? Just wondering is your Desktop and Server versions the same?
Could you please provide us with sample data and also the workspace? Perhaps At least the workspace.
Thanks.
did you Run this workspace in the same FME desktop version in FME Server?
@chrisw84 - Is this the only Reader in your workspace? As per documentation for the 'Ignore Failed Readers' parameter, "If all readers in the workspace fail, FME aborts the translation, regardless of this setting."
Edit1: I misread your original posting. You have two Readers and when the Shapefile Reader successfully reads a file, you are correct that the RealDWG Reader (with that parameter set) should not fail out the workspace..
2017-08-11 08:51:26| 0.5| 0.0|INFORM|MULTI_READER(MULTI_READER): Adding REALDWG Reader with keyword REALDWG_2 2017-08-11 08:51:26| 0.5| 0.0|INFORM|MULTI_READER(MULTI_READER): Adding ESRISHAPE Reader with keyword ESRISHAPE_2
As some others have suggested, does this run without issue in FME Desktop?
Edit2: I have been unable to reproduce this issue with a sample workspace (attached). Can you provide your workspace and example data?
cadastral-to-dwg-using-aoi.fmw
Bear in mind that a) I disabled the DWG reader to try the workspace out using the shapefile reader only. This presented no reader issues, but only because I only let one attempt reading at all. Also b) I have added a KML reader at an engineer's request, again, only letting one reader work at a time right now. Finally c) the feature readers points to a very large dataset that is too large to share, but if you have a dataset with land boundaries, street addresses and road centrelines/street name this will do to test it out.
Sorry, and yes - it runs ok on Desktop beyond the failed DWG read. I had tested it on desktop first.
Note in your case you are using the basic ACAD reader, whereas I am using the RealDWG reader. I have not tried the other reader yet, as I use the RealDWG one as standard, but I should give it a try.
I would use a Generic Reader format rather than separate readers then you could separate the branches based on the format chosen by the user on FME Server/Desktop.
Cheers.
Lyes
I would use a Generic Reader format rather than separate readers then you could separate the branches based on the format chosen by the user on FME Server/Desktop.
Cheers.
Lyes
I would use a Generic Reader format rather than separate readers then you could separate the branches based on the format chosen by the user on FME Server/Desktop.
Cheers.
Lyes
I would use a Generic Reader format rather than separate readers then you could separate the branches based on the format chosen by the user on FME Server/Desktop.
Cheers.
Lyes
glad that you managed to manage it ;)