A space to discuss FME Flow
Recently active
Changed some old workbenchs from Py 2.7 to Py 3x. Republished and getting this warning: 2022-6-22 13:02:23 | Python: There is a known Windows bug that may cause instability when using Python in the current locale. Please update to Windows 10 version 2004 and greater, or to Windows Server 2022
I am working to develop metrics for my workbench that run on FME Server. I use batch script to do some metrics with FME Server API. I am wondering if is it possible to monitor topic as we can do on FME Server (Topic Monitoring) with the FME Server API. I would like to test if my workbench send topics successfully.
Does anyone has a good example for this script? I copied the script from here and filled out some of the parameters. Not a coder. Hope someone can help me out https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop/Workbench/Startup_and_Shutdown_Python_Scripts.htm import smtplibfrom email.MIMEMultipart import MIMEMultipartfrom email.MIMEBase import MIMEBasefrom email.MIMEText import MIMETextfrom email.Utils import COMMASPACE, formatdatefrom email import Encodersimport osimport fme# FME variables.status = fme.statuserrorMsg = fme.failureMessagelogFile = fme.logFileName # E-mail message values.subject = "FME Translation FAILURE"to = "receiver@domain.com"sender = "Your FME script <sender@domain.com>"text = "FME translation failed with error message: " + errorMsg + "\r\n\r\nSee attached logfile for details." # Credentials.AUTHREQUIRED = 0username = "smtp.user@domain.com"password = "smtppassword"smtpServer = "smtp.server.com" # Create and return a message with a logfile a
I have created an encoded password user parameter and used it with the job submitter, but if the job submitter returns an error, the password is decrypted and shown in the log, as seen in the screenshots below.
Hello,I'm trying to rebuild FME server automatically. I take back up of the server (.fsconfig file) and use this when ever I try to recreate the server automatically using python script. But, I found that the fsconfig does not store the number dynamic engines which were configured previously. So, whenever I recreate server the dynamic engine has default value 0. Is there any way to change this number automatically without manually changing this figure ? Thanks
Hello, I successfully imported AD in FME server and I cannot log into FME Server afterwards with these users. Error from Log:(Directory Server) Exception: "LDAPException(resultCode=82 (local error), errorMessage='An error occurred while attempting to initialize the JAAS login context for GSSAPI authentication: LoginException(null (68)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d3.... Any ideas? Thank you Nicu
Hi altruist, I am looking for an solution.I have a road name list in three different feature type (two in shape files, one in excel). I have brought them together after editing schema to get a unique list of names. Now I want an automated way to validate a new name whether this is a new name or existing in the list. Can anyone kindly tell the ways of working around? Thanks in advance. attached image: my workspace so far
Hello everyone, I'm using the paramiko and scp python libraries in a pythoncaller to transfer files from my local environment to a remote Linux server. When testing locally I received an import error which I could solve by removing all contents of C:\\Users\\<user>\\Documents\\FME\\Plugins\\Python and reinstalling paramiko and scp. However, when I transferred the contents to the Plugin folder on my FME Server instance, managed by FME Cloud, I received the same import error I previously received on FME Desktop even though the Plugin folder on FME Server was empty to start with. The import error I receive is formatted like this: Python Exception <ImportError>: cannot import name '_bycript' from partially initialized module 'bcrypt' (most likely due to a circular import) (/data/fmeserver/resources/engine/Plugins/Python/bcrypt). The following python code is the source of the import error:import paramikofrom scp import SCPClient I noticed that the importerro
Hi,I have a FME workbench, so i have to use it within my organization and i want to restrict it to outsiders based on domain name or in any possible way. how can i do this ?
I have survey records being written to a database using a work bench. Along the way there is a transformer that checks for null values, if they exist currently the records are wrote to a .csv file to be checked. I would like to send an email to the surveyor so they can edit and resend their records for writing to the database. Currently I have a HTML Report Generator set up for a table of records that have null values. I had tried to use the Attribute File Writer to isolate the surveyor name and then use the html content in the email body. This doesn't seem to work and was hoping someone has a workflow. Basically the Emailer 'To' is conditional based on the survey record submitted and then I would like the email to contain the survey record with null value. Thanks in advance!,Kathy
Hi folks, My FME workspace reads data from Azure Blob Storage. I'd like to run it in FME Cloud, but the account/password credentials do not get published to the server.I am able to replace the SourceDataset user parameter with a custom string containing embedded credentials ("fme://safe.azurestorage....") then run the workspace successfully, but this solution has some maintenance issues (not scalable, and would need to be applied to every workspace). I was hoping that I could create a Web Connection for Azure Blob Storage in FME Cloud, but it looks like I can only create an S3 bucket web resource: I also cannot add a new web connection: Can anyone help solve this issue? Thanks.
We have a large number of JPG images that cover the same area (flown with a drone in a criss-cross pattern). We need to split the set of images into smaller, workable groups. The idea is to, if possible, create an area of 2 rows by 2 columns that cover the same area where the images were taken. If an image falls within one of the four quadrants, it should be moved to a specific folder that representsthat quadrant. That way we can correctly subdivide the set of images into four, more manageable blocks. The 2DGridAccumulator seems to be able to setup a grid, but is there now a way to compare each image to each cell of such a generated grid and then move that image to a folder as explained above? As the drone flew in a criss-cross pattern, the date modified for each file cannot be used to determine in what block it should be placed (ie by just using Windows File Explorer to categorise the images). Apologies if there is a straight forward solution for this which I could not find.
Is it possible to use multiple CRON triggers in the same Automation, also while "passing" values from one workspace block to another using values from an embedded Automations writer? Essentially I would like to set up a single Automation that triggers at a given time, completes a number of steps, and then "waits" for a second CRON trigger to continue with additional steps, and with the additional steps part of the routine using a value from an upstream block.
I've written an FME Server app that uses the ZipExtrator transformer. I've set the Source Zip File as a user parameter so when it is run, the user is prompted to select the file they want to upload. Once the user has selected their file and kicked off the file upload, I've noticed that when the file upload progress bar has reached 100%, the upload process hasn't actually finshed. If I inspect the network traffic in the browser dev tools, the HTTP request for the file upload process does not complete until several seconds after the file upload progress bar shows 100%. If the user clicks OK before the HTTP request has finished, then the job fails. If the user waits until the HTTP request has finished then click OK, the job runs successfully. Has anyone else seen this behaviour? I've upvoted this idea which is similar to this, but this seems to me like a bug and not an enhancement. I'm running FME Desktop 2021.2 and FME Server 2021.2.
If i want to run apps from galery, system send me Repository "xxxxxxxx" doesn't exist or you do not have permission to Read or Run from itBut permissions on repository "xxxxxxxx" is OK - Run and Read.This problem started after i tested changes in permissions on this repositories. Versions: FME Server 2022.0.0.2 Build 22343 - win64 Thank you for your advices
Hi. Im having no luck connect to sql express db. Can FME connect to SQL Express? If so, should I be using the ADO or JDBC reader? Also, is there anything else that could be an issue? Ive put the server and instance name in and port 1433 is open. Thanks
I have a workbench that is reading in FFS files as source. The files are located at a network location that required permissions from IT under our logins to access, \\\\serverloc\\folder\\source.ffs. Everything works as expected from Desktop. The issue is when we upload the workbench to FME Server. The error is Invalid Dataset '\\\\serverloc\\folder\\source.ffs'. Dataset must exist prior to reading. We have spoken with the admin of FME Server, who said they added a service account that is used for the FME Services to access that network location. We are getting the same error. What steps need to be taken to allow FME Server access to read from this location?
I want to be able to manage user acounts, particularly those that have not been used in a significant period of time. Is there a way to do this automatically with FME Server?
@david_r @Hans van der Maarel @safesoftware safesoftware
Dear community,Upcoming June the 14th Microsoft DCOM will get ‘hardened’ by a update. Therefore I would like to know if the DCOM-protocol is used in any way within FME and if anyone knows this update could affect FME server. If this is the case, it is necessary to test the new hardening. For more information on this update: (https://support.microsoft.com/en-us/topic/kb5004442-manage-changes-for-windows-dcom-server-security-feature-bypass-cve-2021-26414-f1400b52-c141-43d2-941e-37ed901c769c) Used FME server versions: FME server 2018.1 & 2021.1
I have created workspace apps and then used them to create my gallery app. If I then update the original workspace and re-publish it, do I need to recreate both the workspace apps and then the gallery app to get the updated workspace?
Hi, I'm trying to use the output of an Automations Writer (workspace 0) as input for the next workspace (1). For the two 'Text' User Parameters, I can use the drop down menu and choose the 'SFTP_Username' Attribute of the Automations Writer as the input for the next Workspace. However, for the 'Password' User Parameter, the is no drop down menu to choose the 'SFTP_Password' Attribute of the Automations Writer. I have tried inserting it as '{route.ConnectionParameters.SFTP_Password}' and this did not work. Any suggestions would be highly appreciated! Regards
On FME Server there is a job running in some kind of loop. I am not able to cancel the job; even when I cancel the jobs it keeps running. I have tried many things:- disabling the automation- removing the workspace We restarted the Server, but the job just started immediately. I find this information in the System Events:Event Description: Triggered whenever an error message is logged to fmeserver.log.Event Title: Error Message LoggedMessage: ERROR: duplicate key value violates unique constraint "fme_job_history_pkey" Detail: Key (job_id)=(37020) already exists. Does someone has an idea how I can fix the issue?
Hi, We are running FME Server 2019.2.3.2 - Build 19825 - win64 (yeah, I know - upgrade coming soon). We successfully set up IMAP on an account and the Publication/Topic in FME Server to receive emails. I followed the tutorials and created my own workspace. Everything works as it should, however, in the Jobs completed page on FME Server I see this (ReceiveEmailTester.fmw is mine): The ReceiveSMTPEmail.fmw doesn't exist in FME Server, but I notice that a fmwt version exists in the download package from:https://community.safe.com/s/article/receiving-email-part-2-processing-email-with-a-wor In the tutorial I notice a screenshot that shows their workspace and this SMTP workspace - both having run successfully. I cannot find any reference to this extra workspace or explanation for why it is there or why FME Server tries to run it. Suffice to say there is no log file generated. Particularly odd as it is called SMTP even though I have only set up IMAP for receiving. Whilst everything works
When publishing a workspace in FME to track version history a 'Commit' link is enabled as part of the publishing procedure. When I attempt to publish a workpace to I am not presented with this link.