hyperion.ng: Segmentation fault on Hyperion 2.0.0-alpha.7

  • I confirm that this is an issue rather than a question.

Bug report

Hyperion 2.0.0-alpha.7 crashes after setting up LED hardware with a segmentation fault

Steps to reproduce

  1. Flash HyperBian
  2. Open Hyperion UI from the browser
  3. Setup LED Hardware:
  • LED Controller
    • Controller Type: adalight
    • Output path: /dev/ttyUSB0
  1. Save Settings

What is expected?

Hyperion running

What is actually happening?

Hyperion crashes as soon as the Settings are saved. Because by default Hyperion runs as service, Hyperion restarts and crashes again, and again …

Stopping the service and manual starting hyperiond shows these logs:

2020-07-25T11:13:20.076 hyperiond EFFECTENGINE : <ERROR> ###### PYTHON EXCEPTION ######
2020-07-25T11:13:20.077 hyperiond EFFECTENGINE : <ERROR> ## In effect 'Rainbow swirl fast'
2020-07-25T11:13:20.077 hyperiond EFFECTENGINE : <ERROR> ## ZipImportError: can't decompress data; zlib not available
2020-07-25T11:13:20.843 hyperiond EFFECTENGINE : <ERROR> ## Traceback (most recent call last):
2020-07-25T11:13:20.844 hyperiond EFFECTENGINE : <ERROR> ## File "<string>", line 1, in <module>
2020-07-25T11:13:20.845 hyperiond EFFECTENGINE : <ERROR> ## File "/usr/share/hyperion/bin/python35.zip/random.py", line 40, in <module>
    from types import MethodType as _MethodType, BuiltinMethodType as _BuiltinMethodType
2020-07-25T11:13:20.846 hyperiond EFFECTENGINE : <ERROR> ## File "/usr/share/hyperion/bin/python35.zip/types.py", line 166, in <module>
    import functools as _functools
2020-07-25T11:13:20.846 hyperiond EFFECTENGINE : <ERROR> ## File "/usr/share/hyperion/bin/python35.zip/functools.py", line 21, in <module>
    from collections import namedtuple
2020-07-25T11:13:20.847 hyperiond EFFECTENGINE : <ERROR> ## File "/usr/share/hyperion/bin/python35.zip/collections/__init__.py", line 32, in <module>
    from reprlib import recursive_repr as _recursive_repr
2020-07-25T11:13:20.848 hyperiond EFFECTENGINE : <ERROR> ## zipimport.ZipImportError: can't decompress data; zlib not available
2020-07-25T11:13:20.848 hyperiond EFFECTENGINE : <ERROR> ###### EXCEPTION END ######

Hyperion caught signal :SIGSEGV
2020-07-25T11:13:20.923 hyperiond CORE         : <ERROR> 	/lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0x7561e130]
2020-07-25T11:13:20.924 hyperiond CORE         : <ERROR> 	/usr/share/hyperion/bin/../lib/libQt5Core.so.5(QRingBuffer::reserve(long long)+0x44) [0x75af1b74]
Segmentation fault

From above logs multiple errors occur, not sure if they are related. The zipimport.ZipImportError: can't decompress data; zlib not available error was reported earlier at #881

Removing hyperion.db make Hyperion start again.

System

Hyperion Server: 
- Build:       (HEAD detached at ffa2fd45) (Paulchen-Panther-69e9fa6d/ffa2fd45-1595517126)
- Build time:  Jul 24 2020 15:49:41
- Git Remote:  https://github.com/hyperion-project/hyperion.ng
- Version:     2.0.0-alpha.7
- UI Lang:     auto (BrowserLang: en-gb)
- UI Access:   expert
- Avail Capt:  dispmanx,v4l2,framebuffer,qt

Hyperion Server OS: 
- Distribution: HyperBian GNU/Linux 10 (buster)
- Arch:         arm
- Kernel:       linux (5.4.51-v7+ (WS: 32))
- Browser:      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15 

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 108 (89 by maintainers)

Commits related to this issue

Most upvoted comments

@RaymondMouthaan Just checking… Does the script works perfect and/or the fix?

Both 😃 … This is without the script -> https://github.com/hyperion-project/hyperion.ng/issues/903#issuecomment-687580254

And this is using the handy script of @Paulchen-Panther -> https://github.com/hyperion-project/hyperion.ng/issues/903#issuecomment-687582462

@Paulchen-Panther, that’s just great to have such a script, let me test the script right a way 👍

edit: it works perfect 💯

@RaymondMouthaan In the future, you can test PRs on HyperBian faster. Simply attach a suitable PR number to the following script and execute it. The script downloads the appropriate artifact, extracts it to a new folder, and creates an startup script. Example for PR # 991: wget -qO- https://git.io/JUsob | bash -s 991

@TheEsch Ab diesem Post findest du Hilfe. #903 (comment)

Hi,

habe es vorrübergehend mit einem Workround behoben. (Raspian Baster + Hyperion alpha 6.0

So funktioniert es ohne Probleme.

Bitte informiert, sobald das Problem in Hyperbian gefixed ist. würde es sehr gerne verwenden.

Grüße

Grüße Andi

I think i see the same error. Took latest release alpha7 selected output as /dev/ttyUSB0 adalight and as soon as i press save the leds blink and then the error message in console appears. It i select a non existing port the hyperion does not crash.

`Hyperion caught signal :SIGSEGV 2020-08-13T06:53:50.260 hyperiond CORE : <ERROR> /usr/lib/libpthread.so.0(+0x12350) [0x7f10cf232350] 2020-08-13T06:53:50.260 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(QRingBuffer::reserve(long long)+0x2a) [0x7f10ce15ec3a] 2020-08-13T06:53:50.260 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5SerialPort.so.5(+0xacec) [0x7f10cf24bcec] 2020-08-13T06:53:50.260 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5SerialPort.so.5(+0xb5eb) [0x7f10cf24c5eb] 2020-08-13T06:53:50.261 hyperiond CORE : <ERROR> /storage/hyperion/bin/hyperiond(ProviderRs232::writeBytes(long long, unsigned char const*)+0x352) [0x5569e316cc4e] 2020-08-13T06:53:50.261 hyperiond CORE : <ERROR> /storage/hyperion/bin/hyperiond(LedDeviceAdalight::write(std::vector<ColorRgb, std::allocator<ColorRgb> > const&)+0x1d3) [0x5569e31673cf] 2020-08-13T06:53:50.261 hyperiond CORE : <ERROR> /storage/hyperion/bin/hyperiond(LedDevice::updateLeds(std::vector<ColorRgb, std::allocator<ColorRgb> > const&)+0xd4) [0x5569e31b8910] 2020-08-13T06:53:50.261 hyperiond CORE : <ERROR> /storage/hyperion/bin/hyperiond(QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<std::vector<ColorRgb, std::allocator<ColorRgb> > const&>, int, int (LedDevice::)(std::vector<ColorRgb, std::allocator<ColorRgb> > const&)>::call(int (LedDevice::)(std::vector<ColorRgb, std::allocator<ColorRgb> > const&), LedDevice*, void**)+0x8f) [0x5569e316672a] 2020-08-13T06:53:50.262 hyperiond CORE : <ERROR> /storage/hyperion/bin/hyperiond(void QtPrivate::FunctionPointer<int (LedDevice::)(std::vector<ColorRgb, std::allocator<ColorRgb> > const&)>::call<QtPrivate::List<std::vector<ColorRgb, std::allocator<ColorRgb> > const&>, int>(int (LedDevice::)(std::vector<ColorRgb, std::allocator<ColorRgb> > const&), LedDevice*, void**)+0x42) [0x5569e3166300] 2020-08-13T06:53:50.262 hyperiond CORE : <ERROR> /storage/hyperion/bin/hyperiond(QtPrivate::QSlotObject<int (LedDevice::)(std::vector<ColorRgb, std::allocator<ColorRgb> > const&), QtPrivate::List<std::vector<ColorRgb, std::allocator<ColorRgb> > const&>, int>::impl(int, QtPrivate::QSlotObjectBase, QObject*, void**, bool*)+0x6c) [0x5569e3165c7b] 2020-08-13T06:53:50.262 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(QObject::event(QEvent*)+0xe9) [0x7f10ce2da659] 2020-08-13T06:53:50.262 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Widgets.so.5(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x9c) [0x7f10ceb94b8c] 2020-08-13T06:53:50.263 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Widgets.so.5(QApplication::notify(QObject*, QEvent*)+0x261) [0x7f10ceb9c351] 2020-08-13T06:53:50.263 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x110) [0x7f10ce2adc20] 2020-08-13T06:53:50.263 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)+0x2dd) [0x7f10ce2b03bd] 2020-08-13T06:53:50.263 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(+0x2d1cb3) [0x7f10ce301cb3] 2020-08-13T06:53:50.263 hyperiond CORE : <ERROR> /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x125) [0x7f10cbb4e8a3] 2020-08-13T06:53:50.263 hyperiond CORE : <ERROR> /usr/lib/libglib-2.0.so.0(+0x40af7) [0x7f10cbb4eaf7] 2020-08-13T06:53:50.264 hyperiond CORE : <ERROR> /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7f10cbb4eb90] 2020-08-13T06:53:50.264 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag)+0x7b) [0x7f10ce3020db] 2020-08-13T06:53:50.264 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag)+0xfa) [0x7f10ce2abc0a] 2020-08-13T06:53:50.264 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(QThread::exec()+0xc3) [0x7f10ce0da093] 2020-08-13T06:53:50.264 hyperiond CORE : <ERROR> /storage/hyperion/bin/…/lib/libQt5Core.so.5(+0xaed48) [0x7f10ce0ded48] 2020-08-13T06:53:50.264 hyperiond CORE : <ERROR> /usr/lib/libpthread.so.0(+0x7fb5) [0x7f10cf227fb5] 2020-08-13T06:53:50.264 hyperiond CORE : <ERROR> /usr/lib/libc.so.6(clone+0x3f) [0x7f10cd9f210f] Segmentation fault LibreELEC:~ #

`

I suppose current HyperBian doesn’t have libcec-dev pre-installed and therefore I installed it manually:

I had already fixed this bug. https://github.com/hyperion-project/HyperBian/commit/8db2ef9f961084b5cde5a820ca30ea0b8a3c56fe

The rest of the bug is now known to us. It is due to a QT function that is available in Raspbian Stretch (QT version 5.7). In Debian Buster (QT version 5.11) this has been fixed. Since the automatic release creation is still based on Raspbian Stretch, we might consider switching to Buster, but that should and shouldn’t bother you. We’re working on it. Thank you for your cooperation and your strong nerves with us.

@RaymondMouthaan Could you please test this artifact? Many thanks https://github.com/Paulchen-Panther/hyperion.ng/actions/runs/202890120

@Paulchen-Panther,

First thing to notice is that while starting hyperiond from the artifact an error occurred:

pi@HyperBian:~/7a8552f/hyperion/share/hyperion/bin $ ./hyperiond
./hyperiond: error while loading shared libraries: libcec.so.4: cannot open shared object file: No such file or directory

I suppose current HyperBian doesn’t have libcec-dev pre-installed and therefore I installed it manually:

sudo apt update && sudo apt install libcec-dev

Next:

./hyperiond -d --deleteDatabase
2020-08-10T21:56:30.886 hyperiond MAIN         : <INFO> Set user data path to '/home/pi/.hyperion'
2020-08-10T21:56:31.079 hyperiond DAEMON       : <DEBUG> PythonInit.cpp:45:PythonInit() | Initializing Python interpreter
2020-08-10T21:56:31.415 hyperiond SETTINGSMGR  : <DEBUG> SettingsManager.cpp:107:SettingsManager() | Settings database initialized
2020-08-10T21:56:31.416 hyperiond DAEMON       : <INFO> CEC handler created
2020-08-10T21:56:31.432 hyperiond EFFECTFILES  : <INFO> 39 effects loaded from directory :/effects/
2020-08-10T21:56:31.439 hyperiond EFFECTFILES  : <INFO> 22 effect schemas loaded from directory :/effects/schema/
2020-08-10T21:56:31.439 hyperiond EFFECTFILES  : <INFO> 0 effects loaded from directory /home/pi/.hyperion/custom-effects
2020-08-10T21:56:31.478 hyperiond SETTINGSMGR  : <DEBUG> SettingsManager.cpp:107:SettingsManager() | Settings database initialized
2020-08-10T21:56:31.481 hyperiond BLACKBORDER  : <DEBUG> BlackBorderProcessor.cpp:65:handleSettingsUpdate() | Set mode to: default
2020-08-10T21:56:31.481 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Blackborder detector: enabled
2020-08-10T21:56:31.505 hyperiond DAEMON       : <INFO> set screen capture device to 'dispmanx'
2020-08-10T21:56:31.505 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:31:setVideoMode() | Set videomode to 0
2020-08-10T21:56:31.508 hyperiond LEDDEVICE    : <INFO> Start LedDevice 'file'.
2020-08-10T21:56:31.508 hyperiond DISPMANXGRAB : <INFO> Display opened with resolution: 640x480
2020-08-10T21:56:31.508 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:91:setWidthHeight() | Set new width: 80, height: 45 for capture
2020-08-10T21:56:31.508 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Smoothing: enabled
2020-08-10T21:56:31.508 hyperiond LEDDEVICE    : <DEBUG> LedDevice.cpp:133:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":26,"hardwareLedCount":1,"latchTime":0,"output":"/dev/null","rewriteTime":0,"type":"file"}]
2020-08-10T21:56:31.509 hyperiond LEDDEVICE    : <DEBUG> LedDeviceFile.cpp:55:open() | QIODevice::WriteOnly, /dev/null
2020-08-10T21:56:31.509 hyperiond DAEMON       : <INFO> DISPMANX frame grabber created
2020-08-10T21:56:31.511 hyperiond FLATBUFCONN  : <INFO> Connecting to Hyperion: 127.0.0.1:19401
2020-08-10T21:56:31.511 hyperiond V4L2:AUTO    : <DEBUG> Grabber.cpp:31:setVideoMode() | Set videomode to 0
2020-08-10T21:56:31.513 hyperiond EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 0
2020-08-10T21:56:31.514 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2020-08-10T21:56:31.514 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 0 as inactive
2020-08-10T21:56:31.514 hyperiond HYPERION     : <INFO> Initial foreground effect 'Rainbow swirl fast' started
2020-08-10T21:56:31.515 hyperiond EFFECTENGINE : <INFO> Run effect "Warm mood blobs" on channel 254
2020-08-10T21:56:31.516 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Warm mood blobs], smoothCfg [2]
2020-08-10T21:56:31.516 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 254 as inactive
2020-08-10T21:56:31.516 hyperiond HYPERION     : <INFO> Inital background effect 'Warm mood blobs' started
2020-08-10T21:56:31.517 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/GRABBER' with priority 250 as inactive
2020-08-10T21:56:31.518 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Framegrabber: enabled
2020-08-10T21:56:31.519 hyperiond BOBLIGHT     : <DEBUG> BoblightServer.cpp:28:BoblightServer() | Instance created
2020-08-10T21:56:31.519 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | LED device: enabled
2020-08-10T21:56:31.600 hyperiond V4L2:AUTO    : <INFO> Signal threshold set to: {12, 12, 12}
2020-08-10T21:56:31.601 hyperiond V4L2:AUTO    : <INFO> CEC detection is now disabled
2020-08-10T21:56:31.601 hyperiond V4L2:AUTO    : <INFO> Signal detection is now disabled
2020-08-10T21:56:31.602 hyperiond V4L2:AUTO    : <INFO> Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2020-08-10T21:56:31.603 hyperiond DAEMON       : <DEBUG> hyperiond.cpp:567:handleSettingsUpdate() | V4L2 grabber created
2020-08-10T21:56:31.605 hyperiond JSONSERVER   : <DEBUG> JsonServer.cpp:27:JsonServer() | Created instance
2020-08-10T21:56:31.606 hyperiond JSONSERVER   : <INFO> Started on port 19444
2020-08-10T21:56:31.609 hyperiond FLATBUFSERVE : <INFO> Started on port 19400
2020-08-10T21:56:31.611 hyperiond PROTOSERVER  : <INFO> Started on port 19445
2020-08-10T21:56:31.614 hyperiond WEBSERVER    : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
2020-08-10T21:56:31.616 hyperiond WEBSERVER    : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
2020-08-10T21:56:31.617 hyperiond Dispmanx     : <DEBUG> GrabberWrapper.cpp:49:start() | Grabber start()
2020-08-10T21:56:31.620 hyperiond HYPERION     : <INFO> Hyperion instance 'First LED Hardware instance' has been started
2020-08-10T21:56:31.667 hyperiond WEBSERVER    : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
2020-08-10T21:56:31.667 hyperiond WEBSERVER    : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
2020-08-10T21:56:31.667 hyperiond WEBSERVER    : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
2020-08-10T21:56:31.667 hyperiond WEBSERVER    : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
2020-08-10T21:56:31.668 hyperiond WEBSERVER    : <INFO> Started on port 8090 name 'Hyperion Webserver'
2020-08-10T21:56:31.725 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 250 is now active
2020-08-10T21:56:31.725 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 0
2020-08-10T21:56:31.765 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 0 is now active
2020-08-10T21:56:31.780 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:198:setInput() | Priority 254 is now active
2020-08-10T21:56:31.859 hyperiond WEBSERVER    : <DEBUG> WebServer.cpp:174:handleSettingsUpdate() | Setup SSL certificate
2020-08-10T21:56:31.860 hyperiond WEBSERVER    : <DEBUG> WebServer.cpp:190:handleSettingsUpdate() | Setup private SSL key
2020-08-10T21:56:31.860 hyperiond WEBSERVER    : <INFO> Started on port 8092 name 'Hyperion Webserver'
2020-08-10T21:56:34.799 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:298:setCurrentTime() | Timeout clear for priority 0
2020-08-10T21:56:35.050 hyperiond HYPERION     : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 250
2020-08-10T21:56:36.992 hyperiond WEBSOCKET    : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:10.0.10.40
2020-08-10T21:56:36.992 hyperiond WEBSOCKET    : <DEBUG> JsonAPI.cpp:107:handleInstanceSwitch() | Client '::ffff:10.0.10.40' switch to Hyperion instance 0

Configure adalight device @ /dev/ttyUSB0

2020-08-10T21:57:34.873 hyperiond WEBSOCKET    : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:10.0.10.40
2020-08-10T21:57:34.873 hyperiond WEBSOCKET    : <DEBUG> JsonAPI.cpp:107:handleInstanceSwitch() | Client '::ffff:10.0.10.40' switch to Hyperion instance 0
2020-08-10T21:58:01.783 hyperiond LEDDEVICE    : <DEBUG> LedDeviceFile.cpp:81:close() | File: /dev/null
[hyperiond LedDeviceWrapper] <INFO> LedDevice 'file' closed
2020-08-10T21:58:01.786 hyperiond LEDDEVICE    : <INFO> Start LedDevice 'adalight'.
2020-08-10T21:58:01.786 hyperiond LEDDEVICE    : <DEBUG> LedDevice.cpp:133:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":26,"delayAfterConnect":1500,"hardwareLedCount":1,"latchTime":30,"lightberry_apa102_mode":false,"output":"/dev/ttyUSB0","rate":1e+06,"rewriteTime":1000,"type":"adalight"}]
2020-08-10T21:58:01.787 hyperiond LEDDEVICE    : <DEBUG> LedDevice.cpp:153:init() | Refresh interval = 1000ms
2020-08-10T21:58:01.787 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:35:init() | DeviceType   : adalight
2020-08-10T21:58:01.787 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:36:init() | LedCount     : 26
2020-08-10T21:58:01.787 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:37:init() | ColorOrder   : rgb
2020-08-10T21:58:01.788 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:38:init() | RefreshTime  : 1000
2020-08-10T21:58:01.788 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:39:init() | LatchTime    : 30
2020-08-10T21:58:01.788 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:51:init() | deviceName   : ttyUSB0
2020-08-10T21:58:01.788 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:52:init() | AutoDevice   : 0
2020-08-10T21:58:01.789 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:53:init() | baudRate_Hz  : 1000000
2020-08-10T21:58:01.789 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:54:init() | delayAfCon ms: 1500
2020-08-10T21:58:01.789 hyperiond LEDDEVICE    : <DEBUG> LedDeviceAdalight.cpp:62:init() | Adalight header for 26 leds: Ada 0x00 0x19 0x4c
2020-08-10T21:58:01.789 hyperiond LEDDEVICE    : <INFO> Opening UART: ttyUSB0
2020-08-10T21:58:01.790 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:140:tryOpen() | _rs232Port.open(QIODevice::WriteOnly): ttyUSB0, Baud rate [1000000]bps
2020-08-10T21:58:01.797 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | LED device: disabled
2020-08-10T21:58:01.852 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:145:tryOpen() | portName:          ttyUSB0
2020-08-10T21:58:01.853 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:146:tryOpen() | systemLocation:    /dev/ttyUSB0
2020-08-10T21:58:01.853 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:147:tryOpen() | description:       USB2.0-Serial
2020-08-10T21:58:01.853 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:148:tryOpen() | manufacturer:      1a86
2020-08-10T21:58:01.853 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:149:tryOpen() | productIdentifier: 0x7523
2020-08-10T21:58:01.854 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:150:tryOpen() | vendorIdentifier:  0x1a86
2020-08-10T21:58:01.854 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:151:tryOpen() | serialNumber:
2020-08-10T21:58:01.857 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:172:tryOpen() | delayAfterConnect for 1500 ms - start
2020-08-10T21:58:03.358 hyperiond LEDDEVICE    : <DEBUG> ProviderRs232.cpp:179:tryOpen() | delayAfterConnect for 1500 ms - finished
2020-08-10T21:58:03.358 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | LED device: enabled

An image says it all 💯 … Screenshot 2020-08-10 at 22 59 43

Hyperion Server: 
- Build:       (HEAD detached at 7a8552fa) (GitHub-dfef7ea9/7a8552fa-1597082858)
- Build time:  Aug 10 2020 18:25:59
- Git Remote:  https://github.com/Paulchen-Panther/hyperion.ng
- Version:     2.0.0-alpha.7
- UI Lang:     auto (BrowserLang: en-gb)
- UI Access:   expert
- Avail Capt:  dispmanx,v4l2,framebuffer,qt

Hyperion Server OS: 
- Distribution: HyperBian GNU/Linux 10 (buster)
- Arch:         arm
- Kernel:       linux (5.4.51-v7+ (WS: 32))
- Browser:      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15 

Stopped hyperiond and restarted it without deleting the database and this works as well 💯

Another thing to notice is that it works without running with root privileges and extracting python35.zip wasn’t needed.

Saving the LED layout still make hyperiond crash, but this is reported in another issue.

Also tested with actual a movie playing and let hyperiond do the amiblight magic and it works perfectly 👍

screen_record_3b48d8c.zip

Great, at least you can reproduce the error, but indeed here also b3b0f27 fails. During previous tests I forgot to connect the usb device #oeps

@RaymondMouthaan Thanks for the further test. That proves we didn’t fix it and there should be a dependency issue. You can install the latest mater to your system as I mentioned above.

@m-seker, your welcome! I assume you you know what to do to get it fixed? … if further assistance is required, don’t hesitate to contact me.

I just created a package and use it to install it for now, as you suggested 👍

I reverted back to alpha.6 so I can’t test right now, but I’ll prepare another sd for alpha.7 and try it with sudo and report back.

This error message can be traced back to this PR.

2020-07-25T11:13:20.848 hyperiond EFFECTENGINE : <ERROR> ## zipimport.ZipImportError: can’t decompress data; zlib not available

Thanks for the feedback. We’ll take a closer look at that.