"maximum recursion depth exceeded" installing android tools with ubuntu make

Colin Law clanlaw at gmail.com
Wed Oct 2 15:16:40 UTC 2024


On Wed, 2 Oct 2024 at 06:47, Little Girl <littlergirl at gmail.com> wrote:
>
> Hey there,
>
> Colin Law wrote:
>
> >Following the instructions from https://wiki.ubuntu.com/ubuntu-make I
> >installed ubuntu-make with snap.
> >sudo snap install ubuntu-make --classic
> >then ran
> >umake android
> >to install the developer tools.  It said
> >Downloading and installing requirements
> >then after a long time it said
> >ERROR: maximum recursion depth exceeded
> >100%
> >|#################################################################################################|
> >ERROR: Package requirements can't be met: maximum recursion depth
> >exceeded.
> >
> >It appears to be a problem with the python code but Google did not
> >come up with anything specific to umake.
> >
> >Any suggestions gratefully received.
>
> It sounds like stack overflow. Either the recursion call inside the
> function exceeded its specified recursion depth or the normally-valid
> recursion depth exceeded your limit. I'm betting on the former, but
> to find out your recursion limit, run this little Python script:
>
> import sys
> print(sys.getrecursionlimit())
>
> Either way, it sounds like it's time to fill out a bug report,
> because something's probably wrong with the installation script.
> That's understandable. Recursions are tricky, slippery little beasts
> that can easily get away from you.

Thanks, I have now tried the version from ppa:lyzardking/ubuntu-make,
also described in the link I posted and it works fine I am glad to
say, so it seems it has been fixed since the snap was built.

Colin L.



More information about the ubuntu-users mailing list