-
Notifications
You must be signed in to change notification settings - Fork 633
API should not use /var/root on OS X #180
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
Comments
Yikes! Thanks for reporting. We were supposed to install it your home directory, Where does |
Is it perhaps related to the fact that I was running an R session as root when I did the |
Perhaps directory expansion does not work as expected during package load? Here is a direct transcript:
|
Any updates to this? I'm running into the same issue on a Ubuntu 14.04 box, my path is:
with [user] being a specific username on the system. I should mention that I also installed this as ROOT, though it seems like it's trying to create the credentials file in the correct folder. |
Even I installed it as a root user, doesn't seem to work at all. Even Though the CREDENTIALS_FILE does exist having non logical size, it doesn't seem to work. Is there any solution to it ? |
Version 1.0 no longer requires credentials to be stored in this location. Instead, you can store credentials with: Sys.setenv("plotly_username"="your_plotly_username")
Sys.setenv("plotly_api_key"="your_api_key") If you want these credentials to be loaded on startup, put this code in your |
The API attempts to store credentials in
/var/root
, at least on my OS X Yosemite installation via MacPorts. This (rightly) fails due to permission problems.Traditionally on OS X this type of thing is stored in something like
$HOME/Library/Preferences/com.plotly.plist
. Python probably has a good defaults module for it.The text was updated successfully, but these errors were encountered: