pak@Peters-iMac weewx % python3 ./bin/weewxd weewx.conf
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 563, in configure
handler = self.configure_handler(handlers[name])
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 744, in configure_handler
result = factory(**kwargs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/handlers.py", line 148, in __init__
BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/handlers.py", line 55, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/__init__.py", line 1143, in __init__
StreamHandler.__init__(self, self._open())
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/__init__.py", line 1172, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/var/log/weewx.log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./bin/weewxd", line 264, in <module>
main()
File "./bin/weewxd", line 81, in main
weeutil.logger.setup(options.log_label, {})
File "/Users/Shared/weewx/bin/weeutil/logger.py", line 187, in setup
logging.config.dictConfig(log_dict)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 808, in dictConfig
dictConfigClass(config).configure()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 570, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'rotate'
pak@Peters-iMac weewx %
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/62969bcb-fadf-4d05-8671-b164a0ed9390n%40googlegroups.com.
Hi
when you want to get the data from the HP2551 console (that's the console of the HP2553 package), you can only do this by the help of the interceptor driver.
Get it and install it - then verify what I
wrote below
You have to choose there / put in weewx.conf
[station]
station_type = Interceptor
[Interceptor]
device_type = ecowitt-client
port 8000
iface = eth0 (or wlan0 depending on your network interface)
(sometimes this latter entry is needed to
be added here - no harm having it )
and in the WSView app you choose the
Customized option for Weather networks,
enable Ecowitt protocol
Server IP is the IP of your MAC
path leave empty
port 8000
interval 16
Otherwise follow the Interceptor driver installation instruction at GitHUB
Some of the entries the install script will
already do.
Good luck
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/773b0d6b-717c-48c6-9d9f-66737ae669f4n%40googlegroups.com.
On Feb 5, 2021, at 5:06 AM, Graham Eddy <graha...@gmail.com> wrote:did you run bin/weewxd as root, to have needed permissions for creating /var/log/weewx.log?as an aside, you are thinking of moving weewx from mac to rpi. do it. macos continues to diverge from its linux roots into strange lands opaque to mere mortals e.g. i found daemons via launchd becoming impossible through successive macos releases without arcane knowledge, and abandoned macos 6 months ago. my mac mini now runs ubuntu in a DMZ and weewx runs wonderfully on an rpi 4B using raspian os. and i got a gw1000 to run as a service in parallel with my vp2 on same weewx instance(my macos laptops are still great - i just recommend against macos for server)
pak@Peters-iMac ~ % tail -f -n 10 /var/log/weewx.log
weewx[107] CRITICAL weewx.engine: **** sorted(core.find(find_all=True), key=lambda d: d.bus),
weewx[107] CRITICAL weewx.engine: **** File "/Library/Python/3.8/site-packages/usb/core.py", line 1299, in find
weewx[107] CRITICAL weewx.engine: **** raise NoBackendError('No backend available')
weewx[107] CRITICAL weewx.engine: **** usb.core.NoBackendError: No backend available
weewx[107] CRITICAL __main__: Unable to load driver: No backend available
weewx[107] CRITICAL __main__: **** Exiting...
What does that indicate - the driver is missing?