Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Python: There is no valid metadata for the outgoing connection 1.

wee
6 - Meteoroid

Hi all,

 

I'm trying to implement stemming via Python in Alteryx. However, even when there is a "Success: writing outgoing connection data 1" message in Python, there are no data shown in the outgoing anchor. 

Stem_PythonError2.png

This is the error that I encountered. 

Stem_PythonError.png

I saw these posts.

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Error-in-Python-Write-No-Valid-Metadat...

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Python-Tool-Issues-with-Output/td-p/35...

However, by reverting my designer layout does not solve my issue. 

 

Please help. Have attached the workflow for reference. 

Stem_PythonError3.png

 

Thanks and regards,

W

16 REPLIES 16
AndrewKramer
Alteryx Alumni (Retired)

The workflow should still be published. Can you view it and run it in the gallery?

yixuankang
6 - Meteoroid

Thanks for the reply! I actually didn't think of checking the gallery itself after encountering the error but turns out it is there and it runs ok after I downloaded it from another machine

 

But it won't work when I tried to run it on the gallery itself.

error on gallery running workflow with python - Copy.png

AndrewKramer
Alteryx Alumni (Retired)

I believe the Python Tool is disabled by default, but I'm not sure on this specific error. I'd recommend working with your admin or Alteryx support to get this workflow to run.

MacRo
Alteryx
Alteryx

Correct -- the Python tool is a Gallery restricted tool because it has the potential to access/modify files outside of the workflow. That said, a gallery admin can make an exception if you send them a request. If this is the Alteryx public gallery, you can send an email to curator@alteryx.com. For more information see https://gallery.alteryx.com/#!exemption

psubramanian
7 - Meteor

Hi @yixuankang,

Is this issue resolved for you? Is the solution - to check with admin if Python has been disabled or not?

Can you please suggest what your resolution was? I am facing the same issue.

alberto_herni
9 - Comet

If you want to get rid off the python error no valid metadata you can encapsulate the python script into a macro following the steps I describe in this article: Python macros in Alteryx, how to get rid of the valid metadata error | by Alberto Hernández | May, 2...

 

 

EtienneBert
5 - Atom

Hi, 

 

I was contfronted to the same issue. For me, it solved it when I launched Alteryx in "run as an administrator". But I do not of this solution globally apply or it is just related to my configuration of Alteryx. 

Labels