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

can't run alda-player #395

Closed
kksun007 opened this issue Sep 5, 2021 · 10 comments
Closed

can't run alda-player #395

kksun007 opened this issue Sep 5, 2021 · 10 comments
Labels

Comments

@kksun007
Copy link

kksun007 commented Sep 5, 2021

🐞 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 -->
@kksun007 kksun007 added the bug label Sep 5, 2021
@daveyarwood
Copy link
Member

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)?

  1. Run a player process in the foreground: alda-player -v run -p 12345
  2. 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.

@kksun007
Copy link
Author

kksun007 commented Sep 6, 2021 via email

@daveyarwood
Copy link
Member

I don't see an attachment - can you please try again?

@kksun007
Copy link
Author

kksun007 commented Sep 6, 2021 via email

@daveyarwood
Copy link
Member

daveyarwood commented Sep 9, 2021

@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
Copy link
Author

kksun007 commented Sep 11, 2021 via email

@daveyarwood
Copy link
Member

@kksun007 The image isn't displaying here. I just see it as:

[image: image.png]

@kksun007
Copy link
Author

kksun007 commented Sep 13, 2021 via email

@daveyarwood
Copy link
Member

I see the problem there. The last part of the command should be ~/Library with a tilde, not a dash.

@daveyarwood
Copy link
Member

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.

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

No branches or pull requests

2 participants