Skip to main content

Hi,

We are trying to use a FileCopy Transformer to transfer files from one location to our server (synology) / other computers (other computer).

If we do it in Ubuntu GUI / SystemCaller command it works perfectly.

But the file copy transformer always give error messages as we don’t have sufficient permission. Even if I put our NAS credential in the transformer (with a featureWriter), it give the error messages. The files are created in the server but there’s no content inside.

Does somones already experienced it ?

Thank’s

Sam

Hi,

We are trying to use a FileCopy Transformer to transfer files from one location to our server (synology) / other computers (other computer).

If we do it in Ubuntu GUI / SystemCaller command it works perfectly.

But the file copy transformer always give error messages as we don’t have sufficient permission. Even if I put our NAS credential in the transformer (with a featureWriter), it give the error messages. The files are created in the server but there’s no content inside.

Does somones already experienced it ?

Thank’s

Sam

In addition to the problem, the geopackage transformer is unable to write on our server. the file is created but there is no data inside.

OGCGEOPACKAGE writer: sqlite3_exec(COMMIT) failed: database is locked

Are you trying to move or copy the files? or do you get the problem in both scenarios?

How are you running the workspace? Via Workbench or via the terminal calling the fme executable directly?

It looks like the folder you want to write to has write permissions, however, the created files are not editable.

Could there be some weird setting somewhere creation of files is allowed but modification is not?

 


Are you trying to move or copy the files? or do you get the problem in both scenarios?

How are you running the workspace? Via Workbench or via the terminal calling the fme executable directly?

It looks like the folder you want to write to has write permissions, however, the created files are not editable.

Could there be some weird setting somewhere creation of files is allowed but modification is not?

 

Hi,

I’ am running the workspace directly.

The strange fact is that some writers are working correctly, like the shapefile writer.

We are trying to find if there is some parameters to change but we don’t find anything.


Yeah, I suspect (not sure though) that there may be certain logic steps in with certain writers that will first create a file and then use another file handler to edit it. For example for shapefule I suspect that because each file is it’s own feature type it will only need to create the file once (and write the data at the same time). Other formats, like geopackage which support multiple features times in the same file may require editing various parts of the file post creation. 
The filecopy for me it strange though - I can’t see why an empty file would first get created.

After creating the files what are the permissions on empty files? is the user running “fme” able to edit these files post creation in the terminal at all  - i.e., can you call “touch” on the files?


Reply