I'm trying to export feature layers from ArcGIS Online to Geodatabase, then upload the Geodatabase to Google Drive. I'm using a 'Choice with Alias (multiple)' user parameter to select and export one or more feature layers. If I select one feature layer my FME script works fine. If I select more than one layer then I get a geodatabase lock error while uploading the Geodatabase to Google Drive. This is the error message:
PermissionError: Errno 13] Permission denied: 'C:\\\\MyDirectory\\\\MyGeodatabase.gdb\\\\_gdb.JD2344.18360.9116.sr.lock'
Error encountered while calling method `input'
GoogleDrive_Geo_CALLER (PythonFactory): PythonFactory failed to process feature
I'm hoping someone can suggest a solution. My FME script is attached.
Regards, Damian