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

Getting Permission Denied on .ticker.yaml file #136

Closed
tmack8080 opened this issue Feb 28, 2021 · 7 comments
Closed

Getting Permission Denied on .ticker.yaml file #136

tmack8080 opened this issue Feb 28, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@tmack8080
Copy link

Created a $HOME/.ticker.yaml file with the contents from the read me:
show-summary: true
show-tags: true
show-fundamentals: true
show-separator: true
show-holdings: true
interval: 5
currency: USD
watchlist:

  • NET
  • TEAM
  • ESTC
  • BTC-USD

Receive the following error from the CLI:
~$ ticker --config .ticker.yaml

Invalid config: open .ticker.yaml: permission denied

Permissions on the file:
My user is the owner and group. The file has -rw-rw-r-- permissions set.

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • Terminal: MobaXterm
  • Terminal Version: 20.6
  • ticker Version: 3.1.9

ticker-permission-denied

@tmack8080 tmack8080 added the bug Something isn't working label Feb 28, 2021
@achannarasappa
Copy link
Owner

Would you mind trying to run this within a VM or docker container? Although your file permissions look okay, this sort of issue is typically machine specific

You could also try opening the file with vim (e.g. vim .ticker.yaml) to see if a similar error is raised

@tmack8080
Copy link
Author

tmack8080 commented Feb 28, 2021 via email

@randlet
Copy link

randlet commented Mar 1, 2021

I also had the same error on Ubuntu 18.04 using the snap package. Installing using the general Linux install instructions worked fine though.

@tmack8080
Copy link
Author

tmack8080 commented Mar 1, 2021 via email

@achannarasappa
Copy link
Owner

Thanks @randlet and @tmack8080 that's a really useful detail. I'll have a look at the snap package and see what's wrong there

@achannarasappa
Copy link
Owner

This was fixed in the latest release. See #148 which mentions the same issue.

@randlet
Copy link

randlet commented Mar 17, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants