(04-30-2018, 06:38 PM)rikardo1979 Wrote: To early for excitement
System wont boot anymore after reboot.
Maybe some clue in syslog or pydPiper.log ?
Right now I'm trying to remember what little I used to know about the behavior of Docker containers, so I'm not ready to say why your system won't reboot.
Looking at your logs, though, they mostly consist of a repetitive error message (which makes it hard to see if anything else is going on):
Code:
Apr 30 13:58:55 moode docker[23347]: localhost:3000/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1525111135721-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1318530>: Failed to establish a new connection: [Errno 111] Connection refused',))
So, a socket.io server isn't listening on port 3000 on the host. Indeed, there is no listener on port 3000 in the moOde 4.1 system I'm looking at nor is Node.JS even installed (socket.io is a Node.JS module).
Oh, wait, It looks like most of the testing of pydPiper was done on Volumio. The client/server architecture in Volumio2 depends on the WebSockets API provided by socket.io. Not so with moOde.
At a glance, it appears your instance of pydPiper is using pydPiper/sources/musicdata_volumio2.py. Try configuring it for musicdata_mpd.py instead (it's already configured for the default port 6600 that mpd is listening to in moOde). With some study of existing pydPiper and moOde sources, you could write a new musicdata_moode.py, but let's go for the easy win first!.
I see there is a pydPiper/pages_fixed_moode.py file but its contents deal with the display of data not the acquisition of it. Seems like half a loaf, to quote my grandmother.
Again, I haven't addressed your system's inability to reboot, but this should get rid of that repetitive error message and allow the acquisition of real data for your display.
No promises, but I'm hoping to spin up pydPiper later this week. I don't have a suitable display module yet but I want to revisit Docker in preparation for another project. Besides, I'd like to have a digital display now that I've given up on re-purposing an old 7" Android tablet as a local GUI
This way I can learn and do at the same time.
Regards,
Kent