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

shaman segfaults unless user specifies the cache location. #15

Closed
qwerty007 opened this issue Jun 28, 2014 · 3 comments
Closed

shaman segfaults unless user specifies the cache location. #15

qwerty007 opened this issue Jun 28, 2014 · 3 comments
Assignees

Comments

@qwerty007
Copy link

$ shaman -m -l "<city>,PL"
Determining if cache should be freshened failed: Permission denied
Segmentation fault
$ shaman -m -l "<city>,PL" -c $HOME/.shaman/cache.json
Sky is Clear (10°C)

$ ls -l $HOME/.shaman/cache.json
-rw-r--r-- 1 karol users 2048 Jun 28 04:29 /home/karol/.shaman/cache.json
@HalosGhost
Copy link
Owner

All right. Your tentative solution (adding execute permissions to the directory) is actually the real solution. And it has been pushed.

@HalosGhost
Copy link
Owner

For the moment, there is an error message still printed to the console on first-run when the directories don't exist; after that point, it should run fine. Can you please pull and test to see if it is fixed for you as well (to test effectively, you should remove $XDG_CONFIG_HOME/shaman and $HOME/.shaman before running shaman again after rebuilding.

@HalosGhost HalosGhost self-assigned this Jun 28, 2014
@qwerty007
Copy link
Author

It works, thank you.

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

No branches or pull requests

2 participants