Closed geometric-networks closed 7 years ago
Hi, can you be more specific on the error messages your receiving and from where? If you could post screenshots of the errors your getting it might be useful.
Yep, screenshots are below. In Scumblr's WebUI, under TASKS, New Task, all the API keys I defined in /home/"usr"/Scumblr/environments/initializer/scumblr.rb are not working in the WebUI.
A few things,
/home/Scumblr/config/initializers/scumblr.rb
Please make sure it's in the right place.Thanks
Ahoernecke,
Thanks
Based on your original comment it appeared the scumblr root directory was /home/Scumblr... It doesn't really matter what this is, but where have you have the scumblr code there should be a /config/initializer folder. This is where the scumblr.rb file need to be. In other words:
<scumblr folder>/config/initializers/scumblr.rb
ahoernecke,
apologies for misclarification. original path was /home/"user"/Scumblr, but when I move to /home/Scumblr, I now see several new sections where I didn't before. That definitely helped! I don't understand the API error part. It's in the correct location: /home/Scumblr/config/initializers/scumblr.rb and the scumblr.rb.example file was taken out. File permissions are set to 0664.
Can you post a redacted version of your scumblr file and a directory listing for the initializers folder?
I did. Please see original thread: https://github.com/Netflix/Scumblr/issues/135
Oh thanks, I missed it. I think I see what's happening here... The ENV["..."] syntax will load the value from an environment variable. So for example you have the google application set to ENV["Scumblr"]. This is going to check for an environment variable named "Scumblr" and set the value to that variable's value.
From looking at your config, I think what you've done is put the actual secret value in the quotes (i.e. ENV["secret here"]. This won't work because it will be looking for a environment variable with the secret's name.
If this is right you have two options:
or
config.google_developer_key = "secret_here"
(In other works get rid of the ENV[] part)
Np. Ah, I see I see. That makes sense. I completely overlooked something. Okay, I'll give that a try.
I confirmed it works! Thank you. :)
Hi,
I have an issue where after tying my API keys for Google, Facebook, eBay, etc... I continue to get access denied or error messages when attempting to create new tasks that search these services. I checked the permissions for scumblr.rb and they don't appear to be different from the other files. I'm not sure how to troubleshoot further. Any suggestions?
Thanks in advance