Greetings (again). I'm a he/him residing in Brussels, Belgium.
I express myself through design and software.
Currently working on Superset. Previously at Parabola.
If you are a recruiter, have a look at my CV.
Unofficial LaMetric API wrapper
Home Page: https://lametric-documentation.readthedocs.io/en/latest/
License: GNU General Public License v3.0
Hi, thanks for this project, I'm just testing it by installing it using pip: pip install lametric
.
Version installed: lametric-2.0.0.dist-info
Unfortunately, it seems the model
directory is missing:
>>> from lametric.discovery import discover
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/gch/.local/lib/python3.8/site-packages/lametric/discovery.py", line 3, in <module>
from lametric.device import Time as _Time
File "/home/gch/.local/lib/python3.8/site-packages/lametric/device.py", line 6, in <module>
from lametric.model.sound import Sound as _Sound
ModuleNotFoundError: No module named 'lametric.model'
And obviously in site-packages directory, we can see it's missing:
<prompt>% ls -l ~/.local/lib/python3.8/site-packages/lametric
Permissions Size User Group Date Modified Name
drwxrwxr-x - gch gch 21 mars 19:25 __pycache__
.rw-rw-r-- 0 gch gch 21 mars 19:25 __init__.py
.rw-rw-r-- 4,3k gch gch 21 mars 19:25 device.py
.rw-rw-r-- 376 gch gch 21 mars 19:25 discovery.py
<prompt>%
We can also confirm that by unzipping the .egg file created during build process (even by installing the package by hand using git)
Hello,
Firstly, thanks for taking the time to put this together!
Just getting started via pip install lametric
and noticed the model
directory was missing, grabbed it from here and all seems to work now.
I tested the notification with your sample code (only changing the priority to "critical"
) and success, but I did get these three error returned to me in the terminal:
Error 'HTTPConnectionPool(host='0.0.0.0', port=1901): Max retries exceeded with url: /index.html (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1101ac340>: Failed to establish a new connection: [Errno 61] Connection refused'))' for <upnpclient.ssdp.Entry object at 0x10eb13c40>
Error 'HTTPConnectionPool(host='0.0.0.0', port=1901): Max retries exceeded with url: /index.html (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x11019fa30>: Failed to establish a new connection: [Errno 61] Connection refused'))' for <upnpclient.ssdp.Entry object at 0x10eb13ca0>
Error ''DstSupported'' for <upnpclient.ssdp.Entry object at 0x10eb13bb0>
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.