If it makes any difference (although I don't think it does on this case) I did the python install and the command I use to start is sudo /etc/init.d/weewx start. Also, since /*|sudo wee_extension --install weewx-belchertown-0.1.tar.gz|*//**/ didn't work I just copied the contents to the skin directory




On 8/25/2018 6:49 AM, gjr80 wrote:
The issue has nothing to do with permissions, if you look at the error message 
carefully you will see that the file being written includes a relative path, 
but relative to what? Just as you were confused about what it was referring to 
so to is python confused. What ever python is using as the current directory 
does not have a public_html/json directory so the error is thrown. Pat will 
need to look at his code, I suspect he needs to make sure his path is relative 
to WEEWX_ROOT.

As an aside, a default weeWX install sees the weeWX daemon run as root so in 
such cases permissions are rarely an issue. Running weeWX directly may cause 
permission issues unless sudo or other privileged access is used.

Gary


--
*/John Clark <mailto:[email protected]>/*

--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to