jlarriba/astounding

.rmapi config file not found

Closed this issue · 4 comments

I found the config file for rmapi under
~/.config/rmapi/rmapi.conf
not under
~/.rmapi

Thx for your app

The file that the application reads is the one rmapi uses to store the tokens. This file can be set by an environment variable, but by default is ~/.rmapi as stated in the rmapi Github repo:

RMAPI_CONFIG: filepath used to store authentication tokens. When not set, rmapi uses the file .rmapi in the home directory of the current user.

Maybe you changed it in your environment?

Thanks for the great work!
I have the same issue on Ubuntu 20.10. I have not (consciously) changed the anything in my environment.

I've managed to get it working without tinkering with env. variables, by using a sym link:

ln -s ~/.config/rmapi/rmapi.conf ~/.rmapi   

As this is a matter of finding where rmapi is locating the .rmapi file with the credentials, which seems to be in two well known locations:

~/.rmapi
~/.config/rmapi/rmapi.conf

I will close the issue.