-
Notifications
You must be signed in to change notification settings - Fork 20
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
Mac OS Can't install #10
Comments
Set the API key using the top menu item under "AnkiBrain"
…On Fri, Apr 19, 2024 at 11:42 AM John Yarbro ***@***.***> wrote:
I'm getting the following error when trying to auto install:
/Library/Application Support/Anki2/addons21/1915225457/./macos-install.sh:
bad interpreter: /bin/bash^M: no such file or directory
I've also tried manually installing and didn't seem to have any errors but
don't see a way to input API key.
Know how I can fix this?
—
Reply to this email directly, view it on GitHub
<#10>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEV7EV4A65EGYF4YATZ7S7TY6E3NTAVCNFSM6AAAAABGPNFDYSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TGMZRGY4DANQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I can't get to the input API key menu because AnkiBrain isn't installing correctly. Only install and switch user are displayed under "AnkiBrain" |
I figured out the error. Had to remove the carriage return character from the shebang line of the script. Fixed it by using the command dos2unix macos-install.sh |
Can you make a pull request to fix the line endings?
…On Fri, Apr 19, 2024, 2:15 PM John Yarbro ***@***.***> wrote:
I figured out the error. Had to remove the carriage return character from
the shebang line of the script. Fixed it by using the command dos2unix
macos-install.sh
—
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRKWGCQLLZ7VNAXBMIVM7LY6FNMFAVCNFSM6AAAAABGPNFDYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGA3TCNJQGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Another solution: Fixed file: Just run command "open ." this will open current directory in Finder and replace the "macos-install.sh" file with the unpacked one. |
I'm getting the following error when trying to auto install: /Library/Application Support/Anki2/addons21/1915225457/./macos-install.sh: bad interpreter: /bin/bash^M: no such file or directory
I've also tried manually installing and didn't seem to have any errors but don't see a way to input API key.
Know how I can fix this?
The text was updated successfully, but these errors were encountered: