Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Python to delete files. Works in Designer but not in Gallery.

adamturnbull
6 - Meteoroid

Hi All,

I have a workflow using the Python tool to delete files in a network folder. It works fine when i run it via Designer on my desktop, but when i run it via Gallery it doesn't work. It cannot locate any files in the folder.

Can anyone help?

1 REPLY 1
gawa
16 - Nebula
16 - Nebula

hi @adamturnbull 
It should be network problem, and a couple of things to check to drill down the issue.

(1) Your Alteryx Server can resolve the name of network path? (Alteryx Server references the same DNS as your computer?) If not, try to access the network folder by specifying IP address.

(2) Access to that folder is permitted from Alteryx Server? Check firewall setting or any other security settings.

(3) You run the WF with credentials having access right to that folder?

 

In order to make debug easy, you can prepare the simple workflow to read file list of that network folder by using Directory tool, and let it run on Gallery. Then, you will see the precise error what's wrong.

Labels
Top Solution Authors