Giter Club home page Giter Club logo

python-lametric's Introduction

Hello! Hej! Bonjour! こんにちは!

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.

python-lametric's People

Contributors

breitburg avatar kalidor avatar mar627 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

python-lametric's Issues

[pip package] model directory is missing

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)

Error 'HTTPConnectionPool(host='0.0.0.0', port=1901): Max retries exceeded with url: /index.html

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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.