<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Parsing error from XML files generated by Python and Alteryx Server in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/717219#M8287</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem with the generation of XML file with the Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written a script in python to generate XML. When I run the workflow on my desktop, I have as a result XML files that I can parse easily.&lt;/P&gt;&lt;P&gt;But I run it on the server after validation, the XML files generated can't be parsed. I get this message when I send the generated files to a parser:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;unexpected character " (code 65279 / 0xfeff) (expected a name start character)&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tina1_0-1613119706245.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/169908i1FB7B06475D073A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tina1_0-1613119706245.jpeg" alt="Tina1_0-1613119706245.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to run the workflow from the Designer of the server (both have the same version: 2020.4) but I got the same error on my XML when trying to parse it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this thread on a community, don't know if I might have a similar problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/t5/ESXi-Discussions/Error-Unexpected-character-code-65279-0xfeff-in-prolog-expected/m-p/493641" target="_blank" rel="noopener"&gt;https://communities.vmware.com/t5/ESXi-Discussions/Error-Unexpected-character-code-65279-0xfeff-in-prolog-expected/m-p/493641&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm on Windows 10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas of how I can solve this problem?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2021 09:10:17 GMT</pubDate>
    <dc:creator>Tina1</dc:creator>
    <dc:date>2021-02-12T09:10:17Z</dc:date>
    <item>
      <title>Parsing error from XML files generated by Python and Alteryx Server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/717219#M8287</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem with the generation of XML file with the Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written a script in python to generate XML. When I run the workflow on my desktop, I have as a result XML files that I can parse easily.&lt;/P&gt;&lt;P&gt;But I run it on the server after validation, the XML files generated can't be parsed. I get this message when I send the generated files to a parser:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;unexpected character " (code 65279 / 0xfeff) (expected a name start character)&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tina1_0-1613119706245.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/169908i1FB7B06475D073A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tina1_0-1613119706245.jpeg" alt="Tina1_0-1613119706245.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to run the workflow from the Designer of the server (both have the same version: 2020.4) but I got the same error on my XML when trying to parse it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this thread on a community, don't know if I might have a similar problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/t5/ESXi-Discussions/Error-Unexpected-character-code-65279-0xfeff-in-prolog-expected/m-p/493641" target="_blank" rel="noopener"&gt;https://communities.vmware.com/t5/ESXi-Discussions/Error-Unexpected-character-code-65279-0xfeff-in-prolog-expected/m-p/493641&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm on Windows 10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas of how I can solve this problem?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 09:10:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/717219#M8287</guid>
      <dc:creator>Tina1</dc:creator>
      <dc:date>2021-02-12T09:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing error from XML files generated by Python and Alteryx Server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/718471#M8309</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/206139"&gt;@Tina1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you share the workflow or a print screen? That would help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are running a Python script, does the Server have all libraries installed (same as your computer)?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 19:28:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/718471#M8309</guid>
      <dc:creator>mathieuf</dc:creator>
      <dc:date>2021-02-15T19:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing error from XML files generated by Python and Alteryx Server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/718684#M8317</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@MathieuF,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you help. I have no idea if the Server have all libraries installed.&lt;/P&gt;&lt;P&gt;All I can say is there is no problem in the validation of the workflow so I assumed the Server had everything it needed...&lt;/P&gt;&lt;P&gt;You'll find attached the workflow which only contains a python tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 08:53:44 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/718684#M8317</guid>
      <dc:creator>Tina1</dc:creator>
      <dc:date>2021-02-16T08:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing error from XML files generated by Python and Alteryx Server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/719287#M8325</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/206139"&gt;@Tina1&lt;/a&gt; !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an input before your python tool? I'm getting an error when running it.&lt;/P&gt;&lt;P&gt;Would it be possible to get a sample of that source (you can change the nature of the data if confidential)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question I have in mind: does the Server have access to the datasources or web resources you reached with your workflow?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 08:50:35 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/719287#M8325</guid>
      <dc:creator>mathieuf</dc:creator>
      <dc:date>2021-02-17T08:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing error from XML files generated by Python and Alteryx Server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/719320#M8326</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No there is no imput but you have to create a folder where you'll store the 3 csv files that I've joined.&lt;/P&gt;&lt;P&gt;Then in the script (in the main) you have to change the 3 links:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tina1_1-1613553579513.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/170627i3808C6344D7E9EE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tina1_1-1613553579513.png" alt="Tina1_1-1613553579513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are the links of the folder containing the csv files (Mine are stored in the folder "Flux aller")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tina1_2-1613553719056.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/170629i95CD41D667C78A18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tina1_2-1613553719056.png" alt="Tina1_2-1613553719056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And here change it to a folder of your choice, the xml files generated will be stored in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And to answer your question, the Server has access to the datasources. The XML files are generated with the Server (you can open them with a notepad++, you'll see all the data), but when you try to parse them you get an error (see my first post).&lt;/P&gt;&lt;P&gt;Same when you try to open in Alteryx:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tina1_3-1613554462128.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/170630i2B4DE517281841ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tina1_3-1613554462128.png" alt="Tina1_3-1613554462128.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 09:35:04 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/719320#M8326</guid>
      <dc:creator>Tina1</dc:creator>
      <dc:date>2021-02-17T09:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing error from XML files generated by Python and Alteryx Server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/719459#M8333</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/206139"&gt;@Tina1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As discussed in private, the Python version as been updated from 2020.2 (your Designer) and 2020.4 (the Server).&lt;/P&gt;&lt;P&gt;Please see to upgrade your Designer in 2020.4 then it should all be ok.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 14:01:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Parsing-error-from-XML-files-generated-by-Python-and-Alteryx/m-p/719459#M8333</guid>
      <dc:creator>mathieuf</dc:creator>
      <dc:date>2021-02-17T14:01:21Z</dc:date>
    </item>
  </channel>
</rss>

