Skip to main content
Hi,

 

I have an FME workspace that includes a Python start-up script used to download some zip files from a website:

 

 

import urllib

 

# Get Mining tenement zip files.

 

urllib.urlretrieve ("http://geodownloads.dmp.wa.gov.au/datacentre/download/mineral_inf/tenements.zip", save_path + "tenements.zip")

 

 

The script works fine in FME Desktop, but fails when run by FME Server with the error:

 

 

Error executing string `import urllib

 

 

Any ideas what the problem could be?

 

 

Thanks

 

Dave LL
Hi

 

 

urllib is part of the Python standard library, I would be surprised if that was the problem. I suspect something else is the problem. A frequent issue is by default FME Server has no rights on the local network shares, could that be the issue here? Also, have you verified that the FME Server machine has internet access?

 

 

What is the complete error in the FME log?

 

 

David
Hi,

 

Thanks for the quick reply! Actually, your reply clued me in on the problem - local network shares. Resolved.

 

Thanks for you help.

 

Dave LL

 

 

Reply