I have a very odd problem and any help would be greatly appreciated.
I am running a version of this: https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/overview
When I run it manually with sudo python google_spreadsheet.py, it works fine. This works both in the desktop and the console. However using rc.local to run on startup I get an error 2, saying that the .json file does not exist or cannot be found. Obviously it is there, since it works when running manually. All other parts of the program work, it just won't connect to google.
Perhaps I should be using a different method to start it at startup?
Again, thanks a lot.