bandit-masked / raccoon Goto Github PK
View Code? Open in Web Editor NEWRaccoon Music Player is a pocket-sized music player that shows raccoons dancing around a campfire while songs are playing.
License: Other
Raccoon Music Player is a pocket-sized music player that shows raccoons dancing around a campfire while songs are playing.
License: Other
Hi,
I tried to use your player but I had an error. I am on Windows 10. Python 3.10
What I did:
This is the console message:
Exception: Error: [1000] Message: Font file could not be found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\Users\guill\Documents\Python\raccoon\src\main.py", line 126, in <module>
main()
File "c:\Users\guill\Documents\Python\raccoon\src\main.py", line 118, in main
raccoons, mp, app_state, logo_fader, leaves_button_fader, fire, glow, smoke1, smoke2, particle = setup()
File "c:\Users\guill\Documents\Python\raccoon\src\main.py", line 14, in setup
main_window, logo_window = gui.gui(mp, music_folder, music_files, app_state)
File "c:\Users\guill\Documents\Python\raccoon\src\gui\gui.py", line 246, in gui style.load_fonts()
File "c:\Users\guill\Documents\Python\raccoon\src\gui\style.py", line 57, in load_fonts
default_font = dpg.add_font(id='font1', file='fonts/open_sans/opensans_regular.ttf', size=20)
File "C:\Users\guill\Documents\Python\raccoon\.venv\lib\site-packages\dearpygui\dearpygui.py", line 4155, in add_font
return internal_dpg.add_font(file, size, label=label, user_data=user_data, use_internal_label=use_internal_label, tag=tag, parent=parent, **kwargs)
SystemError: <built-in function add_font> returned a result with an exception set
I added /src/ at the beginning of each relative path and now it is working.
For example:
default_font = dpg.add_font(
id="font1", file="src/fonts/open_sans/opensans_regular.ttf", size=20
)
I did that because using print(os.getcwd()) in main.py, it showed it was working in the "raccoon folder", not the "src" one.
Did I run the app the wrong way?
Here is the video of animation flickering
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.