<?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[Maximum recursion depth?]]></title><description><![CDATA[<p dir="auto">I am getting:</p>
<pre><code>  File "flowlib/hw/mpu6050.py", line 145, in acceleration
RuntimeError: maximum recursion depth exceeded
</code></pre>
<p dir="auto">I'm using the timer and button events, and that may contribute, but how do I debug this? What is the maximum recursion depth, and can I display the current depth?</p>
]]></description><link>https://community.m5stack.com/topic/1939/maximum-recursion-depth</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:51:56 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1939.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 09 May 2020 04:01:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Maximum recursion depth? on Thu, 02 Mar 2023 18:39:22 GMT]]></title><description><![CDATA[<p dir="auto">Rather, I chose to switch to polling, which worked much better, so it seems.</p>
]]></description><link>https://community.m5stack.com/post/20230</link><guid isPermaLink="true">https://community.m5stack.com/post/20230</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Thu, 02 Mar 2023 18:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to Maximum recursion depth? on Thu, 02 Mar 2023 11:47:16 GMT]]></title><description><![CDATA[<p dir="auto">Instead, I switched to a polling loop, which seemed to work much better<a href="https://techemirate.com/how-to-fix-internet-keeps-disconnecting/" target="_blank" rel="noopener noreferrer nofollow ugc">.</a></p>
]]></description><link>https://community.m5stack.com/post/20229</link><guid isPermaLink="true">https://community.m5stack.com/post/20229</guid><dc:creator><![CDATA[KirkSutton23]]></dc:creator><pubDate>Thu, 02 Mar 2023 11:47:16 GMT</pubDate></item><item><title><![CDATA[Reply to Maximum recursion depth? on Wed, 01 Feb 2023 11:56:33 GMT]]></title><description><![CDATA[<p dir="auto">Instead, I choose to switch to a polling loop, and it seems to function much better<a href="https://mybankinginformation.com/citibank-routing-number/" target="_blank" rel="noopener noreferrer nofollow ugc">.</a></p>
]]></description><link>https://community.m5stack.com/post/19978</link><guid isPermaLink="true">https://community.m5stack.com/post/19978</guid><dc:creator><![CDATA[SAbadshah]]></dc:creator><pubDate>Wed, 01 Feb 2023 11:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to Maximum recursion depth? on Wed, 01 Feb 2023 11:52:51 GMT]]></title><description><![CDATA[<p dir="auto">Since I'm not expressly using recursion, something else must be happening. Or I made a mistake! Or perhaps event-driven isn't clean and keeps naming itself in some way[url=<a href="https://mybankinginformation.com/citibank-routing-number/" target="_blank" rel="noopener noreferrer nofollow ugc">https://mybankinginformation.com/citibank-routing-number/</a>].[/url]</p>
]]></description><link>https://community.m5stack.com/post/19977</link><guid isPermaLink="true">https://community.m5stack.com/post/19977</guid><dc:creator><![CDATA[SAbadshah]]></dc:creator><pubDate>Wed, 01 Feb 2023 11:52:51 GMT</pubDate></item><item><title><![CDATA[Reply to Maximum recursion depth? on Wed, 13 May 2020 01:27:15 GMT]]></title><description><![CDATA[<p dir="auto">As I'm not doing recursion explicitly, there must be something going on behind the scenes. Or I've got an error! Or maybe event-driven isn't clean and somehow keeps calling itself.</p>
]]></description><link>https://community.m5stack.com/post/8641</link><guid isPermaLink="true">https://community.m5stack.com/post/8641</guid><dc:creator><![CDATA[dclaar]]></dc:creator><pubDate>Wed, 13 May 2020 01:27:15 GMT</pubDate></item><item><title><![CDATA[Reply to Maximum recursion depth? on Mon, 11 May 2020 21:23:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dclaar" aria-label="Profile: dclaar">@<bdi>dclaar</bdi></a><br />
See <a href="https://www.geeksforgeeks.org/python-handling-recursion-limit/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.geeksforgeeks.org/python-handling-recursion-limit/</a> :<br />
by default, the value normally is 10^4.</p>
]]></description><link>https://community.m5stack.com/post/8635</link><guid isPermaLink="true">https://community.m5stack.com/post/8635</guid><dc:creator><![CDATA[crami25]]></dc:creator><pubDate>Mon, 11 May 2020 21:23:10 GMT</pubDate></item><item><title><![CDATA[Reply to Maximum recursion depth? on Sun, 10 May 2020 23:57:50 GMT]]></title><description><![CDATA[<p dir="auto">I decided to go to a polling loop instead and it seems to work a lot better.</p>
]]></description><link>https://community.m5stack.com/post/8620</link><guid isPermaLink="true">https://community.m5stack.com/post/8620</guid><dc:creator><![CDATA[dclaar]]></dc:creator><pubDate>Sun, 10 May 2020 23:57:50 GMT</pubDate></item><item><title><![CDATA[Reply to Maximum recursion depth? on Sat, 09 May 2020 08:42:38 GMT]]></title><description><![CDATA[<p dir="auto">could you provide your code?</p>
]]></description><link>https://community.m5stack.com/post/8585</link><guid isPermaLink="true">https://community.m5stack.com/post/8585</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Sat, 09 May 2020 08:42:38 GMT</pubDate></item><item><title><![CDATA[Reply to Maximum recursion depth? on Sat, 09 May 2020 04:16:18 GMT]]></title><description><![CDATA[<p dir="auto">Sometimes I get a stack dump almost immediately on starting the network, so maybe I'm skating close to the edge.</p>
<pre><code>Connected. Network config: ('192.168.6.109', '255.255.255.0', '192.168.6.1', '192.168.6.1')
***ERROR*** A stack overflow in task mp_thread has been detected.
abort() was called at PC 0x400899a8 on core 1

ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000

Backtrace: 0x400896a7:0x3ffb9160 0x40089991:0x3ffb9180 0x400899a8:0x3ffb91a0 0x4009220a:0x3ffb91c0 0x40093f98:0x3ffb91e0 0x40093f4e:0x3ffb91cc</code></pre>
]]></description><link>https://community.m5stack.com/post/8583</link><guid isPermaLink="true">https://community.m5stack.com/post/8583</guid><dc:creator><![CDATA[dclaar]]></dc:creator><pubDate>Sat, 09 May 2020 04:16:18 GMT</pubDate></item></channel></rss>