brewblox / brewblox-boilerplate Goto Github PK
View Code? Open in Web Editor NEWBoilerplate for quickly setting up BrewBlox service plugins.
License: GNU General Public License v3.0
Boilerplate for quickly setting up BrewBlox service plugins.
License: GNU General Public License v3.0
There appears to be a bug in the version of libseccomp2 that is used in Buster-based OS's that causes the following error when trying to use asyncio inside a container using the python:3.9 base image on a host running Rasbian Buster (and presumably all Buster-based OS's):
brewfather-uploader_1 | 2021-11-17T18:03:11.551122661Z File "/usr/local/lib/python3.9/asyncio/events.py", line 761, in new_event_loop
brewfather-uploader_1 | 2021-11-17T18:03:11.552624275Z return get_event_loop_policy().new_event_loop()
brewfather-uploader_1 | 2021-11-17T18:03:11.552730004Z File "/usr/local/lib/python3.9/asyncio/events.py", line 659, in new_event_loop
brewfather-uploader_1 | 2021-11-17T18:03:11.554136515Z return self._loop_factory()
brewfather-uploader_1 | 2021-11-17T18:03:11.554301515Z File "/usr/local/lib/python3.9/asyncio/unix_events.py", line 54, in __init__
brewfather-uploader_1 | 2021-11-17T18:03:11.554896150Z super().__init__(selector)
brewfather-uploader_1 | 2021-11-17T18:03:11.555004379Z File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 55, in __init__
brewfather-uploader_1 | 2021-11-17T18:03:11.555625265Z super().__init__()
brewfather-uploader_1 | 2021-11-17T18:03:11.555746359Z File "/usr/local/lib/python3.9/asyncio/base_events.py", line 397, in __init__
brewfather-uploader_1 | 2021-11-17T18:03:11.556805317Z self._clock_resolution = time.get_clock_info('monotonic').resolution
brewfather-uploader_1 | 2021-11-17T18:03:11.556951150Z PermissionError: [Errno 1] Operation not permitted
The problem can be fixed by updating libseccomp2
from the buster-backports
repo. The issue is also not present if the container is using the python:3.9-buster
base image. If you do not want require Rasbian >= 11 as a prereq, ask the users to enable the backports repo, or somehow put it in the install script to detect Buster-based OSs add update libseccomp2
if necessary, it would probably be best to change the Dockerfile in this template to use python.3.9-buster
and python.3.9-buster-slim
so that anyone using it will have images compatible with buster out of the box.
required changes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.