ahodges9 / LedFx

LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
MIT License
384 stars 91 forks source link

AttributeError: type object 'RestEndpoint' has no attribute '_registry' #54

Closed dansleboby closed 4 years ago

dansleboby commented 4 years ago

How to fix that?

Traceback (most recent call last): File "/home/gpaquin/.local/bin/ledfx", line 7, in from ledfx.main import main File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/main.py", line 26, in from ledfx.core import LedFxCore File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/core.py", line 11, in from ledfx.http import HttpServer File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/http.py", line 6, in from ledfx.api import RestApi File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/api/init.py", line 8, in class RestEndpoint(BaseRegistry): File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/utils.py", line 137, in no_registration del cls._registry[name] AttributeError: type object 'RestEndpoint' has no attribute '_registry'

richyxi commented 4 years ago

Try python 3.6

On Sat, Nov 9, 2019, 3:11 PM Gilbert Paquin notifications@github.com wrote:

How to fix that?

Traceback (most recent call last): File "/home/gpaquin/.local/bin/ledfx", line 7, in from ledfx.main import main File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/main.py", line 26, in from ledfx.core import LedFxCore File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/core.py", line 11, in from ledfx.http import HttpServer File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/http.py", line 6, in from ledfx.api import RestApi File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/api/init.py", line 8, in class RestEndpoint(BaseRegistry): File "/home/gpaquin/.local/lib/python3.5/site-packages/ledfx/utils.py", line 137, in no_registration del cls._registry[name] AttributeError: type object 'RestEndpoint' has no attribute '_registry'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/54?email_source=notifications&email_token=ALHKYG3QEIHR22QYJVG45EDQS4ROZA5CNFSM4JLJSU52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYGNNJQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALHKYG33JGEI7BBSEMJGFCTQS4ROZANCNFSM4JLJSU5Q .