Put the user that is running the weewx into the dialout group?

On Wednesday, 19 December 2018 14:03:05 UTC+11, Sean Timm wrote:
>
> Matthew Wall,
>
> I installed your "usb" branch of WeeWX. I'm still getting insufficient 
> permissions. Are there code or configuration changes that I need to make to 
> get it to work?
>
> Thanks,
> Sean
>
> default 21:57:10.315482 -0500 kernel 080745.640834 Python@(null): 
> IOUSBUserClientLegacy::start: missing entitlement com.apple.ibridge.control
> default 21:57:10.319241 -0500 Python fousb: Unable to claim USB interface 
> 0: [Errno 13] Access denied (insufficient permissions)
> default 21:57:10.319311 -0500 Python import of driver failed: [Errno 13] 
> Access denied (insufficient permissions) (<class 'weewx.WeeWxIOError'>)
> default 21:57:10.319481 -0500 Python engine: Unable to load driver: 
> [Errno 13] Access denied (insufficient permissions)
> default 21:57:10.319504 -0500 Python     ****  Exiting...
>
>
> On Tue, Dec 18, 2018 at 12:39 AM Sean Timm <[email protected] 
> <javascript:>> wrote:
>
>> Ah, I found another thread that is useful... 
>> https://groups.google.com/forum/#!topic/weewx-user/tFGnDKSXgfo
>>
>> Too late to play with it tonight, but I'll try the usb branch tomorrow. 
>> Anything that I need to be aware of?
>>
>> Thanks,
>> Sean
>>
>> On Tue, Dec 18, 2018 at 12:25 AM Sean Timm <[email protected] 
>> <javascript:>> wrote:
>>
>>> I have a WS-2080 connected via USB (FineOffsetUSB) to a Mac Mini running 
>>> Mojave 10.14.2.
>>>
>>> I am receiving a driver error:
>>>
>>> default 23:55:14.233775 -0500 Python import of driver failed: No 
>>> backend available (<class 'usb.core.NoBackendError'>)
>>> default 23:55:14.233817 -0500 Python engine: Unable to load driver: No 
>>> backend available
>>> default 23:55:14.233836 -0500 Python     ****  Exiting...
>>>
>>> I installed WeeWX following the directions for MacOS. Two deviations 
>>> were made from the installation instructions: I installed Pillow instead of 
>>> PIL, and I ran pip with --user instead of sudo.
>>>
>>> Next I installed libusb from homebrew to see if I could fix the above 
>>> error. Now I get the following:
>>>
>>> default 00:12:21.154045 -0500 kernel 002458.086826 Python@(null): 
>>> IOUSBUserClientLegacy::start: missing entitlement com.apple.ibridge.control
>>> default 00:12:21.157183 -0500 Python fousb: Unable to claim USB 
>>> interface 0: [Errno 13] Access denied (insufficient permissions)
>>> default 00:12:21.157250 -0500 Python import of driver failed: [Errno 
>>> 13] Access denied (insufficient permissions) (<class 'weewx.WeeWxIOError'>)
>>> default 00:12:21.157438 -0500 Python engine: Unable to load driver: 
>>> [Errno 13] Access denied (insufficient permissions)
>>> default 00:12:21.157465 -0500 Python     ****  Exiting...
>>>
>>> Running as 'sudo bin/weewxd weewx.conf' does not change the error 
>>> messages.
>>>
>>> It looks like Monte had a similar problem in this thread: 'version 3.3.1 
>>> on Mac OS X Yosemite "No backend available".', but I do not see that he got 
>>> it working.
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>> Sean
>>>
>>> -- 
>>> 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] <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

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