<?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[JavaScript error in M5Burner]]></title><description><![CDATA[<p dir="auto">What device are you using?<br />
M5Stack Gray (purchae date 1/14/2021) and Atom Matrix</p>
<p dir="auto">What firmware are you using? how did you burn the firmware into the device?<br />
version 1.7.2</p>
<p dir="auto">Version of UIFlow you are using<br />
M5Burner Version 2.2.7<br />
UIFlow Version 1.0.14</p>
<p dir="auto">PROBLEM 1:<br />
Whenever I click the configuration button in M5Burner, I get the attached error message. <img src="/assets/uploads/files/1612212297256-m5burner_error.png" alt="0_1612212296026_m5burner_error.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">PROBLEM 2:<br />
(this is less of an issue than problem 1) the M5Burner screen will not resize property to my laptop resolution (which is only 1366x768) the minimum width appears to be greater than 1366.</p>
]]></description><link>https://community.m5stack.com/topic/2880/javascript-error-in-m5burner</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:00:42 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2880.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Feb 2021 20:47:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to JavaScript error in M5Burner on Fri, 09 Apr 2021 06:28:13 GMT]]></title><description><![CDATA[<p dir="auto">I have similar Problems.</p>
<p dir="auto">Burner V2.2.8<br />
M5Paper V1.7.3.1 and 1.7.4</p>
<p dir="auto"><img src="/assets/uploads/files/1617949689750-bildschirmfoto-2021-04-09-um-07.49.07-resized.png" alt="0_1617949687207_Bildschirmfoto 2021-04-09 um 07.49.07.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/13463</link><guid isPermaLink="true">https://community.m5stack.com/post/13463</guid><dc:creator><![CDATA[loefchen]]></dc:creator><pubDate>Fri, 09 Apr 2021 06:28:13 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript error in M5Burner on Sun, 14 Mar 2021 22:20:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> said in <a href="/post/12967">JavaScript error in M5Burner</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vlad29" aria-label="Profile: vlad29">@<bdi>vlad29</bdi></a> said in <a href="/post/12965">JavaScript error in M5Burner</a>:</p>
<blockquote>
<p dir="auto">I got the same error, it was due to python command doesn't was valid.</p>
<p dir="auto">I had to install "python-is-python3" package (sudo apt-get install python-is-python3) because the app tries using python and not python3.</p>
<p dir="auto">I hope it works.<br />
(making ln to python from python3 should work)</p>
</blockquote>
<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/vlad29" aria-label="Profile: vlad29">@<bdi>vlad29</bdi></a> this is another of those python/python3 issues caused by badly setup python3 installs.</p>
<p dir="auto">You need to look up how to set the enviromental variables in you operating system to stop the os running python 2 commands instead of python3 commands.</p>
</blockquote>
<p dir="auto">In the Chromebook Crostini shell (Ubuntu-based VM), I was getting the exact error in this thread.  There is no python-is-python3 package available, but the symlink solved it perfectly:<br />
ln -s /usr/bin/python3 /usr/bin/python</p>
]]></description><link>https://community.m5stack.com/post/13015</link><guid isPermaLink="true">https://community.m5stack.com/post/13015</guid><dc:creator><![CDATA[ScottKnight]]></dc:creator><pubDate>Sun, 14 Mar 2021 22:20:47 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript error in M5Burner on Sat, 13 Mar 2021 08:30:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vlad29" aria-label="Profile: vlad29">@<bdi>vlad29</bdi></a> said in <a href="/post/12965">JavaScript error in M5Burner</a>:</p>
<blockquote>
<p dir="auto">I got the same error, it was due to python command doesn't was valid.</p>
<p dir="auto">I had to install "python-is-python3" package (sudo apt-get install python-is-python3) because the app tries using python and not python3.</p>
<p dir="auto">I hope it works.<br />
(making ln to python from python3 should work)</p>
</blockquote>
<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/vlad29" aria-label="Profile: vlad29">@<bdi>vlad29</bdi></a> this is another of those python/python3 issues caused by badly setup python3 installs.</p>
<p dir="auto">You need to look up how to set the enviromental variables in you operating system to stop the os running python 2 commands instead of python3 commands.</p>
]]></description><link>https://community.m5stack.com/post/12967</link><guid isPermaLink="true">https://community.m5stack.com/post/12967</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 13 Mar 2021 08:30:58 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript error in M5Burner on Fri, 12 Mar 2021 23:00:38 GMT]]></title><description><![CDATA[<p dir="auto">I got the same error, it was due to python command doesn't was valid.</p>
<p dir="auto">I had to install "python-is-python3" package (sudo apt-get install python-is-python3) because the app tries using python and not python3.</p>
<p dir="auto">I hope it works.<br />
(making ln to python from python3 should work)</p>
]]></description><link>https://community.m5stack.com/post/12965</link><guid isPermaLink="true">https://community.m5stack.com/post/12965</guid><dc:creator><![CDATA[vlad29]]></dc:creator><pubDate>Fri, 12 Mar 2021 23:00:38 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript error in M5Burner on Tue, 02 Feb 2021 16:23:37 GMT]]></title><description><![CDATA[<p dir="auto">I CAN flash using the following from the command line:<br />
/M5Burner_Linux/packages/tools$ python3 <a href="http://esptool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esptool.py</a> --chip esp32 --port /dev/ttyUSB0 --baud 750000 --before default_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 /home/david/Desktop/m5stack/M5Burner_Linux/packages/fw/atom/UIFlow_Matrix-v1.7.2.bin</p>
<p dir="auto">I can then connect in UIFlow if I hold the button on the Atom while plugging into USB.</p>
<p dir="auto">However, I still cannot get the M5Burner App to work. I still get the Javascript error when I click the Configruation Button.</p>
]]></description><link>https://community.m5stack.com/post/12245</link><guid isPermaLink="true">https://community.m5stack.com/post/12245</guid><dc:creator><![CDATA[djw082]]></dc:creator><pubDate>Tue, 02 Feb 2021 16:23:37 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript error in M5Burner on Tue, 02 Feb 2021 15:44:18 GMT]]></title><description><![CDATA[<p dir="auto">If I perform the following from the command line:<br />
M5Burner_Linux/packages/tools$ python3 <a href="http://esptool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esptool.py</a> erase_flash</p>
<p dir="auto">I am able to erase flash. However, if I simply run<br />
$esptool erase_flash</p>
<p dir="auto">I get an error saying:<br />
A fatal error occurred: ESP32 ROM does not support function erase_flash.</p>
<p dir="auto">My installed version esptool was 2.8 but the version in the M5Burner.zip appears to be 2.5.0.  Is there maybe some issue with version 2.8 of esptool? The 2.8 version is what is installed if apt-get instal esptool is used.</p>
<p dir="auto">I tried using pip3 install esptool<br />
This has installed esptool v3.0 into<br />
~/.local/lib/python3.8/site-packages</p>
<p dir="auto">From this folder I can run python3 <a href="http://esptool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esptool.py</a> erase_flash and it was able to erase the flash from the command line using the V3.0 esptool.</p>
<p dir="auto">I ran the following to remove esptool v2.8:<br />
sudo apt autoremove esptool</p>
<p dir="auto">However, I am still getting the Javscript error when I click the Erase flash button inside the M5Burner App.</p>
<p dir="auto">I have tried downloading the MACOS version from the FlowUI as I saw the Linux Instructions said to do this (at <a href="https://github.com/m5stack/m5-docs/blob/master/docs/en/related_documents/how_to_burn_firmware.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/m5-docs/blob/master/docs/en/related_documents/how_to_burn_firmware.md</a>). However, I do not see any folder called firmware within the Resources. If I do a search there no <a href="http://flash.sh" target="_blank" rel="noopener noreferrer nofollow ugc">flash.sh</a> file.</p>
]]></description><link>https://community.m5stack.com/post/12243</link><guid isPermaLink="true">https://community.m5stack.com/post/12243</guid><dc:creator><![CDATA[djw082]]></dc:creator><pubDate>Tue, 02 Feb 2021 15:44:18 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript error in M5Burner on Tue, 02 Feb 2021 02:55:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a>  Thank you for responding.</p>
<p dir="auto">Here is the additional information you requested:</p>
<p dir="auto">OS is Linux Mint Version 20.1 / Ulyssa (based on Ubuntu 20.04) - kernel 5.4.0-65</p>
<p dir="auto">I just tried the following again:<br />
Downloaded new version of M5Burner_Linux.zip<br />
Extracted to ~/Desktop/m5stack/M5Burner_Linux<br />
cd ~/Desktop/m5stack/M5Burner_Linux<br />
run the command ./M5Burner</p>
<p dir="auto">M5Burner app opens<br />
Select COM: /dev/ttyUSB0<br />
Baudrate: 75000 (M5 Atom connected)<br />
Select ATOM on the left-hand side of the window<br />
Click the Download firmware button for the UIFLOW(MATRIX)<br />
Download Completes successfully</p>
<p dir="auto">Select Erase Flash<br />
Then I get the JavaScript Error Message</p>
<p dir="auto">Select the Configuration Button<br />
Then I get the same JavaScript Error Message</p>
]]></description><link>https://community.m5stack.com/post/12238</link><guid isPermaLink="true">https://community.m5stack.com/post/12238</guid><dc:creator><![CDATA[djw082]]></dc:creator><pubDate>Tue, 02 Feb 2021 02:55:21 GMT</pubDate></item><item><title><![CDATA[Reply to JavaScript error in M5Burner on Mon, 01 Feb 2021 21:24:39 GMT]]></title><description><![CDATA[<p dir="auto">What OS are you using?<br />
Have you deleted and reinstalled M5 Burner ?<br />
Have you downloaded the firmware before burning?<br />
Have you erased the device before writing?</p>
]]></description><link>https://community.m5stack.com/post/12235</link><guid isPermaLink="true">https://community.m5stack.com/post/12235</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 01 Feb 2021 21:24:39 GMT</pubDate></item></channel></rss>