Git Product home page Git Product logo

Comments (4)

Taiko2k avatar Taiko2k commented on August 25, 2024

I seem to be having trouble replicating this. Can you show me the error when running from terminal?

To launch it in terminal: python /opt/tauon-music-box/tauon.py

from tauon.

legion1978 avatar legion1978 commented on August 25, 2024

this is the error output

Traceback (most recent call last):
File "/opt/tauon-music-box/tauon.py", line 21767, in
queue_box.draw(0, gui.panelY + pl_box_h, gui.lspw, full - pl_box_h)
File "/opt/tauon-music-box/tauon.py", line 17737, in draw
self.draw(x, y, w, h)
File "/opt/tauon-music-box/tauon.py", line 17737, in draw
self.draw(x, y, w, h)
File "/opt/tauon-music-box/tauon.py", line 17737, in draw
self.draw(x, y, w, h)
[Previous line repeated 989 more times]
File "/opt/tauon-music-box/tauon.py", line 17651, in draw
ddt.draw_text((x + (10 * gui.scale), yy + 2 * gui.scale), "Up Next:", [80, 80, 80, 255], 211, bg=self.bg)
File "/opt/tauon-music-box/t_modules/t_draw.py", line 304, in draw_text
return self.__draw_text_cairo(location, text, colour, font, max_w, bg, align)
File "/opt/tauon-music-box/t_modules/t_draw.py", line 186, in __draw_text_cairo
self.__render_text(sd, x, y, range_top, range_height, align)
File "/opt/tauon-music-box/t_modules/t_draw.py", line 163, in __render_text
SDL_RenderCopy(self.renderer, sd[1], None, sd[0])
ctypes.ArgumentError: argument 1: <class 'RecursionError'>: maximum recursion depth exceeded while calling a Python object

from tauon.

Taiko2k avatar Taiko2k commented on August 25, 2024

Thanks, I've figured out the problem now.

The existing code assumed that if mouse button was released it must not be clicked down. But it is actually possible by clicking quick enough before a single tick has completed.

I've fixed this now.

from tauon.

legion1978 avatar legion1978 commented on August 25, 2024

awesome.

from tauon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.