alda-lang / alda

A music programming language for musicians. :notes:
https://alda.io
Eclipse Public License 2.0
5.59k stars 286 forks source link

Can not play in Sublime text #397

Closed mx91064728 closed 2 years ago

mx91064728 commented 3 years ago

🐞 Bug report 🐞

Description

I use Sublime Text as the editor, the error comes out when I build the code with ctrl + B:

{ Oops! Something went wrong: open "C:\ALDA\test.alda": The filename, directory name, or volume label syntax is incorrect.

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 }

However, I can run it in cmd window with alda play -f C:\ALDA\test.alda I already installed the ALDA package in Sublime Text, the code has color in different syntax.

Steps to Reproduce

1. 2. 3. 4.

Expected Behavior

Actual Behavior

擷取

Environment

Operating system and version:

Alda version:

$ alda version
alda 2.0.5
$ alda-player info
alda-player 2.0.5
log path: C: \Users\ASUS\AppData\Local\alda\cache\logs

Health check:

$ alda doctor
[32mOK  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
OK  Ping player process
OK  Play score
OK  Export score as MIDI
OK  Locate player logs
OK  Player logs show the ping was received
OK  Shut down player process
OK  Spawn a player on an unknown port
OK  Discover the player
OK  Ping the player
OK  Shut the player down
OK  Start a REPL server
nREPL server started on port 54314 on host localhost - nrepl://localhost:54314
OK  Find the REPL server
OK  Interact with the REPL server
OK  Shut down the REPL server

Logs:

daveyarwood commented 2 years ago

Hi @mx91064728 , thanks for reporting this!

Given that you said that this works in your terminal, I think this might be a bug in the Alda plugin for Sublime Text.

@erinzm Do you have any ideas about what might be causing this?

daveyarwood commented 2 years ago

Closing this for now. Happy to reopen it if there is something we can do about this on the Alda side!