Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot visualize: ERROR: texture file wood1 does not exist #46

Open
toku-sa-n opened this issue May 23, 2022 · 3 comments
Open

Cannot visualize: ERROR: texture file wood1 does not exist #46

toku-sa-n opened this issue May 23, 2022 · 3 comments

Comments

@toku-sa-n
Copy link

Hello. I'm trying to visualize my MIDI file with this command:

pianoplayer midi_file.midi -vz

However, the command fails with these errors:

[vedo.mesh.py:463] ERROR: texture file wood1 does not exist
[vedo.mesh.py:463] ERROR: texture file wood1 does not exist
Traceback (most recent call last):
  File "/home/hiroki/.local/bin/pianoplayer", line 224, in <module>
    vk = VirtualKeyboard(songname=xmlfn)
  File "/home/hiroki/.local/lib/python3.9/site-packages/pianoplayer/vkeyboard.py", line 41, in __init__
    self.build_keyboard()
  File "/home/hiroki/.local/lib/python3.9/site-packages/pianoplayer/vkeyboard.py", line 91, in build_keyboard
    self.vp += Text('PianoPlayer ^'+__version__+" ",
NameError: name 'Text' is not defined

I couldn't find the texture files on my computer. How can I get them?

@marcomusy
Copy link
Owner

Hi thanks for reporting
my guess is that you have a incompatible vedo version, try:

pip install vedo==2020.4.2 -U

@toku-sa-n
Copy link
Author

Thank you, that command solved the problem.
By the way, I've installed pianoplayer with pip install --user pianoplayer. I don't understand python fully, but since the requirements.txt contains vedo==2020.4.2, I think vedo should have been installed at that time. Did I miss something?

@marcomusy
Copy link
Owner

You are right.. I not sure the pip command did not take the specified version as in the requirements file...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants