<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload]]></title><description><![CDATA[<p dir="auto">When I try to upload my project i get this error:<br />
X ERROR Invalid syntax<br />
Detail: File '&lt;string&gt;', line1 Syntaxerror: invalid syntax (quite explanatory, isn't it :)</p>
<p dir="auto"><a href="https://forum.m5stack.com/topic/2208/a-simple-calendar-for-cores" target="_blank" rel="noopener noreferrer nofollow ugc">My project</a> runs fine from UIFlow and It does upload the python file, I can select and run it from the core</p>
<p dir="auto">I've been searching around here but only found <a href="https://forum.m5stack.com/topic/1904/uiflow-1-5-1" target="_blank" rel="noopener noreferrer nofollow ugc">this post</a> but it did not provide a solution.</p>
<p dir="auto">Could this be a bug or is my project messed up or something else ?</p>
<p dir="auto">UIFLow version 1.0.11 FW1.6.2 on win10 64</p>
]]></description><link>https://community.m5stack.com/topic/2209/error-invalid-syntax-uiflow-1-6-2-when-trying-to-upload</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 00:24:00 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2209.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Aug 2020 08:52:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Thu, 01 Oct 2020 05:26:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1">@m5stack</a></p>
<p dir="auto">FW1.6.4 and editor 1.0.12 totally broke my program, still can't upload but then again, why would I need to, it doesn't even run anymore, the python code gets screwed up.</p>
<p dir="auto">I don't get to make an app anymore, all I do is running into stuff that doesn't work. It seems to me M5stack is suffering from what I call the "Yamaha disease" : keep spitting out new hardware without fixing the mediocre stuff they released before.<br />
Well I for one am not jumping on that train anymore , I refrain from buying any more new stuff a la core2 and whatnot before the existing stuff gets fixed. (which I expect now, will never happen)</p>
]]></description><link>https://community.m5stack.com/post/10222</link><guid isPermaLink="true">https://community.m5stack.com/post/10222</guid><dc:creator><![CDATA[ardo]]></dc:creator><pubDate>Thu, 01 Oct 2020 05:26:40 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Wed, 19 Aug 2020 05:57:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4076">@ardo</a> thank you feedback.  i had test your program (m5f file) , got the same stuation in the offline version UIFlow 。 (the online version UIFlow is not problem. ）  we will fix this bug as soon as possible.</p>
]]></description><link>https://community.m5stack.com/post/9734</link><guid isPermaLink="true">https://community.m5stack.com/post/9734</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Wed, 19 Aug 2020 05:57:41 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Wed, 19 Aug 2020 05:33:09 GMT]]></title><description><![CDATA[<p dir="auto">So I managed to get UIFlow running on a linux machine (a struggle in itself, I dare say) and... same result, it hangs while uploading via USB. It doesn't give me the syntax error, but it's stuck with the "Uploading..." indicator diplayed on the device.</p>
]]></description><link>https://community.m5stack.com/post/9733</link><guid isPermaLink="true">https://community.m5stack.com/post/9733</guid><dc:creator><![CDATA[ardo]]></dc:creator><pubDate>Wed, 19 Aug 2020 05:33:09 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Tue, 18 Aug 2020 08:20:08 GMT]]></title><description><![CDATA[<p dir="auto">Wel this problem still persists, I guess I was secretly hoping for someone from m5stack to shed a light on this matter. ;-)<br />
Is there maybe someone who could try to reproduce this error with the desktop version of UIFlow ?</p>
]]></description><link>https://community.m5stack.com/post/9712</link><guid isPermaLink="true">https://community.m5stack.com/post/9712</guid><dc:creator><![CDATA[ardo]]></dc:creator><pubDate>Tue, 18 Aug 2020 08:20:08 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Sun, 16 Aug 2020 17:02:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a><br />
Hi, thanks for having a go at it.</p>
<p dir="auto">As I mentioned before, with the desktop version the python file gets uploaded, but then I get the syntax error (when it should auto-start after the upload). After a manual reset and switch to app mode, the python file is on the device, I can select and run it on the core, it runs fine. I can run the py from and upload it via Thonny too without any problem. I've tried it on 2 devices, a black and a grey, I've tried different cables all with the same result.</p>
<p dir="auto">With other projects the upload to the device also works fine. Is it because there something wrong with my .m5f ? Is it because its a little bigger, who can tell ? I really would like to have this issue solved before I officially share this project so people -especially new to m5stack- can atleast get it up and running without hassle.</p>
]]></description><link>https://community.m5stack.com/post/9689</link><guid isPermaLink="true">https://community.m5stack.com/post/9689</guid><dc:creator><![CDATA[ardo]]></dc:creator><pubDate>Sun, 16 Aug 2020 17:02:53 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Sun, 16 Aug 2020 16:09:41 GMT]]></title><description><![CDATA[<p dir="auto">Download (or upload to the device) worked for me. However, it took several tries for my device to stay connected to the uiFlow web IDE.  I kept having to hit the refresh button and I rebooted my m5stack once.</p>
<p dir="auto">Stability of the web IDE can vary, depending on your location, time of day, and how many people are using the server. But overall, I didn't have a problem with our flow and it loaded onto the device in about 10-15 seconds.</p>
<p dir="auto">If you still can't get it, you could switch to the Python tab and copy all the Python code to a file called <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a> on your computer. Then use ampy, Thonny, Mu, or another utility to copy <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a> to your device and place it in the /flash directory. Then the m5stack should boot your program by default after startup.</p>
]]></description><link>https://community.m5stack.com/post/9687</link><guid isPermaLink="true">https://community.m5stack.com/post/9687</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sun, 16 Aug 2020 16:09:41 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Sun, 16 Aug 2020 12:55:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a></p>
<p dir="auto">Hi, I left it "uploading" for about 15mins, long enough to conclude it hangs I suppose.</p>
<p dir="auto">You can find the m5f file <a href="https://github.com/Ardo9602/M5stack-SimpleCalendar" target="_blank" rel="noopener noreferrer nofollow ugc">here</a><br />
(Bear in mind, I'm no coder, just a hobbyist)</p>
]]></description><link>https://community.m5stack.com/post/9678</link><guid isPermaLink="true">https://community.m5stack.com/post/9678</guid><dc:creator><![CDATA[ardo]]></dc:creator><pubDate>Sun, 16 Aug 2020 12:55:12 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Sun, 16 Aug 2020 12:10:36 GMT]]></title><description><![CDATA[<p dir="auto">Also, the Desktop uiFlow IDE is several revs behind the web version. I hope they will keep both IDEs in feature parity in the future.</p>
]]></description><link>https://community.m5stack.com/post/9677</link><guid isPermaLink="true">https://community.m5stack.com/post/9677</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sun, 16 Aug 2020 12:10:36 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Sun, 16 Aug 2020 12:07:22 GMT]]></title><description><![CDATA[<p dir="auto">It’s usually quick, but sometimes downloading your flow to the device takes a bit (~1 minute). Send or PM me a link to the file and I’ll give it a try.</p>
]]></description><link>https://community.m5stack.com/post/9676</link><guid isPermaLink="true">https://community.m5stack.com/post/9676</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sun, 16 Aug 2020 12:07:22 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Sun, 16 Aug 2020 11:18:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a><br />
Hi and thanks,</p>
<p dir="auto">Indeed I use (and prefer to use) the desktop version, but I gave it a go with the online version. A similar thing occurs, I can run it, but now it hangs when trying to upload to the device, showing the "Uploading..." indicator on the core screen...</p>
]]></description><link>https://community.m5stack.com/post/9675</link><guid isPermaLink="true">https://community.m5stack.com/post/9675</guid><dc:creator><![CDATA[ardo]]></dc:creator><pubDate>Sun, 16 Aug 2020 11:18:06 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR Invalid syntax (UIFlow 1.6.2) when trying to upload on Sun, 16 Aug 2020 10:26:06 GMT]]></title><description><![CDATA[<p dir="auto">Nice project.</p>
<p dir="auto">Are you using the offline/Desktop version of uiFlow? If so, can you try the web IDE <a href="https://flow.m5stack.com/" target="_blank" rel="noopener noreferrer nofollow ugc">https://flow.m5stack.com</a> to see if you get the same error?</p>
]]></description><link>https://community.m5stack.com/post/9671</link><guid isPermaLink="true">https://community.m5stack.com/post/9671</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sun, 16 Aug 2020 10:26:06 GMT</pubDate></item></channel></rss>