Skip to main content
Solved

System Caller Special characters on FME Server

  • August 8, 2019
  • 3 replies
  • 77 views

I have I directory watch on FME Server that triggers a workspace to move a file that inserts into the directory watch-folder, to the FME-server with a SystemCaller transformer.

It works fine when using a file that dosen´t cointain any special characters, however when I have a file with å, ä or ö the SystemCaller fails according to the log-file. In the log file, a file that spells "åäö.pdf" have the name "åäö.pdf" in the log file.

However the path to the file also contain å, ä and ö, but spells correctly in the logfile.

 

I´ve tried and wright the filename-attribute that generates from the JSONFlattener to a txt-file from the same workspace, and it also spells correctly.

I´ve tried to add "@echo off && chcp 1252 &&" infront och the copy-command in the SystemCaller, but it dosen´t seem to work for the filename.

So what must be the problem is that when the SystemCaller runs on FME Server and try to find "åäö.pdf" it can´t find it. Somehow something gets wrong with the formatting of the filename.

Does anyone have any idea what I´ve could´ve missed? Or what I can do to get this to work?

Best answer by laurawatsafe

Hi @eetmyhouse,

Thanks for reporting this one! I've been able to replicate the problem in both FME Server 2017.1.2 and FME Server 2019.1. It looks like the issue is that the directory watcher isn't setting the path name correctly when there are special characters present. I'm seeing this problem with just regular Readers within a workspace as well, so it doesn't look like it's a SystemCaller specific issue, but rather a problem with what the directory watcher is passing into the workspace.

I've reported this internally as issue number FMESERVER-13338 for us to investigate further. I'll post an update here once we have more information. Sorry for the trouble with this!

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.

3 replies

  • Author
  • 8 replies
  • August 8, 2019

Should add that I run a FME Server 2017.1.2.1


laurawatsafe
Safer
Forum|alt.badge.img+12
  • Safer
  • 158 replies
  • Best Answer
  • August 9, 2019

Hi @eetmyhouse,

Thanks for reporting this one! I've been able to replicate the problem in both FME Server 2017.1.2 and FME Server 2019.1. It looks like the issue is that the directory watcher isn't setting the path name correctly when there are special characters present. I'm seeing this problem with just regular Readers within a workspace as well, so it doesn't look like it's a SystemCaller specific issue, but rather a problem with what the directory watcher is passing into the workspace.

I've reported this internally as issue number FMESERVER-13338 for us to investigate further. I'll post an update here once we have more information. Sorry for the trouble with this!


  • Author
  • 8 replies
  • September 2, 2019

Hi @eetmyhouse,

Thanks for reporting this one! I've been able to replicate the problem in both FME Server 2017.1.2 and FME Server 2019.1. It looks like the issue is that the directory watcher isn't setting the path name correctly when there are special characters present. I'm seeing this problem with just regular Readers within a workspace as well, so it doesn't look like it's a SystemCaller specific issue, but rather a problem with what the directory watcher is passing into the workspace.

I've reported this internally as issue number FMESERVER-13338 for us to investigate further. I'll post an update here once we have more information. Sorry for the trouble with this!

Thank you Laura, that sounds very reasonable. At least I know it´s something I can´t fix myself. I´ll wait for the new patch when the issue is fixed and then update my server. Thanks again.