can't run alda-player
kksun007 opened this issue · 10 comments
🐞 Bug report 🐞
Description
Steps to Reproduce
Expected Behavior
Actual Behavior
Environment
Operating system and version:
Alda version:
$ alda version
$ alda-player info
Health check:
$ alda doctor
eonlu@LeondeMacBook-Pro ~ % alda doctor
OK Parse source code
OK Generate score model
OK Ensure that there are no stale player processes
OK Find an open port
OK Send and receive OSC messages
OK Locate alda-player executable on PATH
OK Check alda-player version
OK Spawn a player process
ERR Ping player process
---
Oops! Something went wrong:
dial tcp 127.0.0.1:63631: connect: connection refused
This might be a bug. For help, consider filing an issue at:
https://github.com/alda-lang/alda/issues/new/choose
Or come chat with us on Slack:
https://slack.alda.io
leonlu@LeondeMacBook-Pro ~ %
**Logs:**
<!--- On macOS and Linux, you can find Alda's logs in either -->
<!--- ~/.cache/alda (Linux), or -->
<!--- ~/Library/Caches/alda (macOS), or -->
<!--- $XDG_CACHE_HOME (if you have that set) -->
<!--- On Windows, look in: -->
<!--- %LOCALAPPDATA%\alda\cache or -->
<!--- C:\Users\yourname\AppData\Local\alda\cache -->
<!--- Do you see any logs that might be relevant to the problem? -->
<!--- If so, copy-paste what you found below -->
Hi @kksun007 , thanks for the bug report!
I'm not sure yet what the problem may be, but would you mind trying the following and pasting any error messages you see (if any)?
- Run a player process in the foreground:
alda-player -v run -p 12345
- Try to make it play something:
alda -v2 play -p 12345 -c "piano: c12 e g > c4"
It would also be useful to know which versions of alda
and alda-player
you have installed. I did fix some issues similar to this recently in Alda 2.0.4.
I don't see an attachment - can you please try again?
@kksun007 Sorry for the late response! It's been a busy week at work.
From that log output, I think the problem might be that your user doesn't have owner permissions for /Users/leonlu/Library
. I would try changing the owner of that directory to your user.
Try this: sudo chown -R leonlu ~/Library
(and type in your password and press enter when prompted)
@kksun007 The image isn't displaying here. I just see it as:
[image: image.png]
I see the problem there. The last part of the command should be ~/Library
with a tilde, not a dash.
Closing this for now, but I'm happy to continue to help if you need it! We can either keep talking here in comments, or on Slack.