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 -- 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.
