Question

FME Server adding Shared Repository folder prior to file being read

  • 16 January 2018
  • 8 replies
  • 3 views

Badge

I'm using an XMLXQueryExploder to do some querying.

When I read in the file as published parameter, it adds 'D:\\FME Server\\repositories\\' prior to the full UNC path for no reason I can see. It also sometimes does it if I don't use a parameter.

Any ideas why it might be doing this?

It may be something obvious but can't work it out.


8 replies

Badge

Did you hardcode any FME Server related parameters?

Badge
In addition to this, I've discovered it is adding the 4 characters "\\"\\ prior to the path in the FME_SERVER_REQUESTS_PARAMETERS

 

 

Badge

Did you hardcode any FME Server related parameters?

No, I haven't. Neither in the workspace before publishing nor do any appear once downloaded from FME Server

 

 

Userlevel 4
Badge +25

In Desktop, is the workspace saved in the same folder as the XML file you are reading? FME might be changing the path because of that.

The other possibility I found is that the first \\ character in the UNC path is being treated as an escape character. Try adding an extra \\ at the beginning and see if that works (which is what I think the "\\"\\ might be trying to do).

Any space characters in the UNC path? If so maybe enclose it in quotes.

I suspect this is a problem we've sorted out for readers and writers, but this transformer might have missed out.

Badge

In Desktop, is the workspace saved in the same folder as the XML file you are reading? FME might be changing the path because of that.

The other possibility I found is that the first \\ character in the UNC path is being treated as an escape character. Try adding an extra \\ at the beginning and see if that works (which is what I think the "\\"\\ might be trying to do).

Any space characters in the UNC path? If so maybe enclose it in quotes.

I suspect this is a problem we've sorted out for readers and writers, but this transformer might have missed out.

Hi Mark

 

 

No the workspace is saved in a different folder. I have also added the additional \\ and it made no difference.

 

 

The UNC paths does have spaces in but has already got quotes round it.

 

Userlevel 4
Badge +25
Hi Mark

 

 

No the workspace is saved in a different folder. I have also added the additional \\ and it made no difference.

 

 

The UNC paths does have spaces in but has already got quotes round it.

 

Then I think we'll need one of our FME Server experts to weigh in. I'll ask them to take a look.

 

Userlevel 4
Badge +13
In addition to this, I've discovered it is adding the 4 characters "\\"\\ prior to the path in the FME_SERVER_REQUESTS_PARAMETERS

 

 

Hi @david_whiteside - I've been trying to reproduce this without much luck. Can I ask the build of FME Server and FME Desktop you're using.

 

Can I also ask how the publish parameter is being populated? i.e., Are you just running the job from the Run Workspace page on FME Server or are you using an FMEServerJobSubmitter or something like that?

 

Are you able to share a copy of the job's log file with us?

 

Badge
@MattAtSafe

 

 

Hi Matt

 

 

I have raised a case with your support. Case ID is C133890. This has the workspace, original file and log file attached.

 

 

It has been run as both a jobsumbitter from Desktop and as a job from the UI in FME Server

 

Reply