Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Check out our powerful new search update! You can read more here. Please let us know if you have any feedback by creating a topic here.

Python Tool Content Deleted on 2019.1 Update

Quasar

When upgrading to 2019.1, the content of my Python tool was deleted. Although this may be a bug in the 2019.1 version, or just a bug in the upgrade process. Either way, it is problematic that details of a canvas would be deleted at all.

 

My guess is if the content of the Python Tool could be reliably stored in the canvas XML this issue could potentially be resolved.

Highlighted

Greetings, 

 

I ran into a similar issue yesterday. One of my teammates, @MichaelSu , suggested creating a copy of the workflow and changing the file extension from ".yxmd" to ".txt". Open the text file. You should be able to see the XML code for that workflow, including your python code. I ended up creating a new copy of my workflow, deleted the python tool, and added a clean Python tool.

 

Hope this helps.

Highlighted
Quasar

There is currently a defect in Designer that will wipe/reset all code in a canvas's Python tools if the canvas also has a macro with an embedded Python tool. We have been able to replicate this issue. This would be a very desirable fix as it would greatly increase the effectiveness of our solutions

Highlighted
Nebula
Nebula

Is this in 2019.1 @JoshKushner 

Have you been able to check if this also happens in 2019.2 or 3?

Highlighted
Quasar

Hi @SeanAdams I have been able to replicate this issue in v2019.3.5

Highlighted
Quasar

This has been raised as a defect in Alteryx Designer. The issue has been replicated up through the most recent version.

 

Issue Breakdown:

If a Python tool is within a Macro, it will wipe all Python Code within the outer-canvas it is placed. 

Highlighted
Alteryx
Alteryx

This is a known issue with the Python tool with previous versions as well - the developers are working on a solution! In the meantime, you can recover your work if you have the .bak file. 

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Python-tool-loses-code/m-p/300809 

Highlighted
Asteroid

Any progress on this fix? Timing?  I need the Python tool in a macro.  If it will be a while, I'll look for an alternative.  Thanks

 

Labels