10-19-2020, 03:35 AM
(10-18-2020, 06:56 PM)purlupar Wrote: Hi Daniel and hi everyone,
back in early 2020 I managed to write some watchfaces (wasp-faces) working with wasp-os. In June I managed to "migrate" to wasp-os 0.2. Ever since I have not been successful trying to migrate them to wasp-os 0.3 (the current "stable" version, I think?). Thing is, I am completely stuck now and can't get anything to run. Usually I checked Daniel's commits since the last time compatible to my wasp-faces. This time, I simply do not know where to start (but believe me I have tried a lot).
There hasn't been a 0.3 released yet, but the current master branch is close to what 0.3 will be. It is essentially feature complete and the next round of changes are likely to be non-functional changes (updating the installer for newer PineTime releases).
Certainly the master branch is in fairly good shape at the moment.
(10-18-2020, 06:56 PM)purlupar Wrote: If I follow the instructions I put down in spring (for wasp-faces) (slightly adapted below to meet 0.3 wasp-os standards), this happens:
Code:$ wasp-os/tools/wasptool --exec wasp-faces/watchfaces/chrono24.py --eval "wasp.system.register(Chrono24App())" --console
Traceback (most recent call last):
File "wasp-os/tools/wasptool", line 279, in <module>
console = pexpect.spawn(pynus, encoding='UTF-8')
File "/usr/lib/python3.8/site-packages/pexpect/pty_spawn.py", line 205, in __init__
self._spawn(command, args, preexec_fn, dimensions)
File "/usr/lib/python3.8/site-packages/pexpect/pty_spawn.py", line 276, in _spawn
raise ExceptionPexpect('The command was not found or was not ' +
pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: wasp-os/tools/pynus/pynus.py.
So, if anyone in here feels like pointing me where to look (or giving it a try themself), I'd be very thankful. As you might notice, I don't do software development in my main time (let alone hardware stuff).
This means you cannot execute the BLE terminal program (in a file called wasp-os/tools/pynus/pynus.py ) and based on the error message it doesn't appear to be installed. Did you run `make submodules` (from the build guide)? If that doesn't help then take a look in the wasp-os/tools/pynus folder and share what you see (including the result of a `git status`).
BTW if you have licensed the watch faces the same way was the rest of wasp-os then you're welcome to make a pull request to get them included in the main wasp-os repo. I'd be particularly keen to integrate the analogue clock faces (I like the other clock too... but am not yet decided on what fonts to include in the distro by default... I'm open to discussion though).