Skip to main content
Question

FFS writer error, Failed to open file '' for writing


Hi,

 

We have implemented a FME script that an ESRI GIS database on several computer. However the script fails on one computer and succeed on all the other.

 

Here is the error messge return in the FME log file.

2020-03-25 14:45:29| 23.0| 0.0|ERROR |FFS writer: Failed to open file '' for writing. Please ensure that you have sufficient privileges to write this file. If the file already exists, please ensure it is not open in another application

2020-03-25 14:45:29| 23.0| 0.0|ERROR |BADNEWS: Internal Error: Failed to build feature table class StatusInfo *__thiscall STFFeatureTableWrapper::WrapperFeature::FTFeature::initChangedValuesWriter(void)(c:\\code\\fme\\foundation\\framework\\engine\\stffeaturetablewrapperfeatureftfeature.cpp:764) - class StatusInfo *__thiscall STFFeatureTableWrapper::WrapperFeature::FTFeature::initChangedValuesWriter(void)(c:\\code\\fme\\foundation\\framework\\engine\\stffeaturetablewrapperfeatureftfeature.cpp:764)

2020-03-25 14:45:29| 23.1| 0.1|INFORM|Closing the Geodatabase reader

2020-03-25 14:45:30| 23.1| 0.0|ERROR |Internal Error: Failed to build feature table

2020-03-25 14:45:30| 23.1| 0.0|ERROR |class StatusInfo *__thiscall STFFeatureTableWrapper::WrapperFeature::FTFeature::initChangedValuesWriter(void)(c:\\code\\fme\\foundation\\framework\\engine\\stffeaturetablewrapperfeatureftfeature.cpp:764) - class StatusInfo *__thiscall STFFeatureTableWrapper::WrapperFeature::FTFeature::initChangedValuesWriter(void)(c:\\code\\fme\\foundation\\framework\\engine\\stffeaturetablewrapperfeatureftfeature.cpp:764) - class StatusInfo *__thiscall STFFeatureTableWrapper::WrapperFeature::FTFeature::startNewChangedValuesFeatureTable(void)(c:\\code\\fme\\foundation\\framework\\engine\\stffeaturetablewrapperfeatureftfeature.cpp:222) - class StatusInfo *__thiscall STFFeatureTableWrapper::WrapperFeature::FTFeature::startFeature(bool &)(c:\\code\\fme\\foundation\\framework\\engine\\stffeaturetablewrapperfeatureftfeature.cpp:131) - class StatusInfo *__thiscall STFFeatureTableWrapper::startFeature(bool &)(c:\\code\\fme\\foundation\\framework\\engine\\stffeaturetablewrapper.cpp:63) - class StatusInfo *__thiscall STFReaderImp::getFeatureTableFromFeatures(class STFFeature *&)(c:\\code\\fme\\foundation\\framework\\engine\\readrimp.cpp:1967) - class StatusInfo *__thiscall STFReaderImp::getAndTagFeatureWithCoordSys(class STFFeature *&)(c:\\code\\fme\\foundation\\framework\\engine\\readrimp.cpp:1760) - class StatusInfo *__thiscall STFReaderImp::getNextFeature(class STFFeature *&)(c:\\code\\fme\\foundation\\framework\\engine\\readrimp.cpp:1524) - class StatusInfo *__thiscall STFReaderImp::getTaggedFeature(class STFFeature *&)(c:\\code\\fme\\foundation\\framework\\engine\\readrimp.cpp:1160) - class StatusInfo *__thiscall STFReaderImp::getFeatureOrFeatureTable(class STFFeature *&)(c:\\code\\fme\\foundation\\framework\\engine\\readrimp.cpp:1916) - class StatusInfo *__thiscall STFReaderImp::getAndTagFeatureWithCoordSys(class STFFeature *&)(c:\\code\\fme\\foundation\\framework\\engine\\readrimp.cpp:1760) - class StatusInfo *__thiscall STFReaderImp::getNextFeature(class STFFeature *&)(c:\\code\\fme\\foundation\\framework\\engine\\readrimp.cpp:1524) - class StatusInfo *__thiscall STFReaderImp::getTaggedFeature(class STFFeature *&)(c:\\code\\fme\\foundation\\framework\\engine\\readrimp.cpp:1160) - class StatusInfo *__thiscall STFTranslator::abortProcessing(class StatusInfo *)(c:\\code\\fme\\foundation\\framework\\engine\\stftrans.cpp:323) - class StatusInfo *__thiscall STFSimpleTranslator::convert(void)(c:\\code\\fme\\foundation\\kernel\\simptran.cpp:742) - class StatusInfo *__thiscall STFTranslator::translate(const class FMETValOrderedVector<class ObsoleteString> &,const class FMETValOrderedVector<class ObsoleteString> &)(c:\\code\\fme\\foundation\\framework\\engine\\stftrans.cpp:293)

2020-03-25 14:45:30| 23.1| 0.0|INFORM|Translation FAILED with 4 error(s) and 1 warning(s) (0 feature(s) output)

 

Any idea?

 

Regards,

Simon

3 replies

jovitaatsafe
Safer
Forum|alt.badge.img+11

Hi @simonbelletete,

What format are you writing to when you get this error? Are you writing to an existing file and does this machine have access and permissions to it?

If you could share the full log file (.log in the same location as your workspace .fmw file), that would be really helpful as well.


jovitaatsafe wrote:

Hi @simonbelletete,

What format are you writing to when you get this error? Are you writing to an existing file and does this machine have access and permissions to it?

If you could share the full log file (.log in the same location as your workspace .fmw file), that would be really helpful as well.

4_1_2__fme.txtHi @jovitaatsafe,

 

Here is the full log file attached.

 

We are writing a GML file using our own writer plugin we developed. We are writing to a new file and the user logged has all the permissions to create and write a file in that folder.

 

Regards,

Simon


jovitaatsafe
Safer
Forum|alt.badge.img+11
simonbelletete wrote:

4_1_2__fme.txtHi @jovitaatsafe,

 

Here is the full log file attached.

 

We are writing a GML file using our own writer plugin we developed. We are writing to a new file and the user logged has all the permissions to create and write a file in that folder.

 

Regards,

Simon

Hi @simonbelletete,

My apologies for missing your last comment! Are you still looking for a solution to this issue?

There are a few suggestions from this thread including one user who copied and pasted their workflow into a fresh workspace and replaced the reader/writer connections. Though I'm not sure how this plays into your plugin and whether this is a viable solution. If you're still having problems with it, please create a case with us here and send us a simplified reproduction of your issue for us to take a closer look at.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings