Hi all, I’m having trouble converting the date-time-adapter to cross compile. I got it to build all the artifacts for linux arm/64, x64, and mac for python 3.7, 3.8, and 3.9. I am running python 3.7 on my pi. When I clone https://github.com/wfahle/date-time-adapter to the .webthings/addons folder, it seems to bring everything down, but in the logs I get:
2021-03-10 20:55:46.362 INFO : zwave-adapter: Loading add-on zwave-adapter from /home/node/.webthings/addons/zwave-adapter
2021-03-10 20:55:46.583 INFO : scene-control-adapter: Loading add-on scene-control-adapter from /home/node/.webthings/addons/scene-control-adapter
2021-03-10 20:55:46.769 INFO : thing-url-adapter: Loading add-on thing-url-adapter from /home/node/.webthings/addons/thing-url-adapter
2021-03-10 20:55:46.791 ERROR : date-time-adapter: Traceback (most recent call last):
2021-03-10 20:55:46.792 ERROR : date-time-adapter: File “/home/node/.webthings/addons/date-time-adapter/main.py”, line 12, in
2021-03-10 20:55:46.793 ERROR : date-time-adapter: from pkg.date_adapter import DateTimeAdapter
2021-03-10 20:55:46.795 ERROR : date-time-adapter: File “/home/node/.webthings/addons/date-time-adapter/pkg/date_adapter.py”, line 8, in
2021-03-10 20:55:46.796 ERROR : date-time-adapter: from .date_device import DateTimeDevice # , DateTimeTestDevice
2021-03-10 20:55:46.798 ERROR : date-time-adapter: File “/home/node/.webthings/addons/date-time-adapter/pkg/date_device.py”, line 9, in
2021-03-10 20:55:46.799 ERROR : date-time-adapter: from .util import DT
2021-03-10 20:55:46.806 ERROR : date-time-adapter: File “/home/node/.webthings/addons/date-time-adapter/pkg/util.py”, line 4, in
2021-03-10 20:55:46.809 ERROR : date-time-adapter: import ephem
2021-03-10 20:55:46.820 ERROR : date-time-adapter: ModuleNotFoundError: No module named ‘ephem’
2021-03-10 20:55:46.888 INFO : run-program-adapter: Loading add-on run-program-adapter from /home/node/.webthings/addons/run-program-adapter
What do I need to change so that it finds the ephem (which is in lib, by the way)? Thanks.