PineTime Simulation Feature
#1
Hi

I just started a PineTime developing project for college. I am quite new to programming and just kind of got thrown into that project without any help available, which means I am still quite lost at the moment.
I will get a physical PineTime to run my code on, but until then I read on the wiki FAQ that you can preview watch faces thanks to WebAssembly.

I followed every step on this site, which was linked to on the wiki: I forked the Pinetime repo and created the Github workflow as instructed. However, the action failed with following error every time it ran:

cp: cannot stat 'src/DisplayApp/Screens/Clock.cpp': No such file or directory

I tried to google that but did not get any wiser. What is the problem? The directory that the path above is pointing to is in my repo, there is no doubt about that (except that every directory actually starts with a lowercase letter, but I do not suppose that this is relevant?). So why was it not found?

Thanks in advance for any help
gjoyet
#2
That tutorial was originally announced in https://forum.pine64.org/showthread.php?tid=11077 so it might be worth asking there if @lupyuen doesn't spot this thread. I'm used to linux where paths are case sensitive, and I think that's what github are using behind the scenes for Actions, so I wouldn't be surprised if having the wrong case caused problems.
#3
(11-10-2020, 11:51 AM)gjoyet Wrote: Hi

I just started a PineTime developing project for college. I am quite new to programming and just kind of got thrown into that project without any help available, which means I am still quite lost at the moment.
I will get a physical PineTime to run my code on, but until then I read on the wiki FAQ that you can preview watch faces thanks to WebAssembly.

I followed every step on this site, which was linked to on the wiki: I forked the Pinetime repo and created the Github workflow as instructed. However, the action failed with following error every time it ran:

cp: cannot stat 'src/DisplayApp/Screens/Clock.cpp': No such file or directory

I tried to google that but did not get any wiser. What is the problem? The directory that the path above is pointing to is in my repo, there is no doubt about that (except that every directory actually starts with a lowercase letter, but I do not suppose that this is relevant?). So why was it not found?

Thanks in advance for any help
gjoyet

I also followed the instructions to preview watch faces and it worked for me.  However, I forked the repository when it was 0.7.1.  Since then there have been changes including changing the names of some of the directories, I don't know why.  In my fork the directory is DisplayApp.  In the current JF002 repository it is displayapp, all lower case.  Similarly directory Screens is now screens.  Clock.cpp is  still Clock.cpp.  If you change the action code appropriately it should work.

Hugh
#4
That was the problem. I didn't realise the path to the file was explicitly written in the *.yml file. It works now, thank you very much.


Possibly Related Threads…
Thread Author Replies Views Last Post
  PineTime display and micropython danielt 17 7,146 05-07-2021, 12:15 PM
Last Post: danielt
Heart wasp-os: MicroPython for PineTime! danielt 104 63,467 05-04-2021, 02:43 PM
Last Post: Msaulnier1
  Using Pine64 to install Wasp-os on PineTime Mpoint 1 610 04-30-2021, 02:39 AM
Last Post: danielt
  Star Trek computer themed wasp-os on PineTime graynada 13 7,414 12-14-2020, 07:10 PM
Last Post: tllim
  Update bootlogo and pinetime-app with OTA/DFU lookin 3 1,942 11-25-2020, 04:51 PM
Last Post: lookin
  Left-handed feature caligari 1 1,233 10-28-2020, 11:11 AM
Last Post: danielt
  Pinetime and P8 Integration testing framework maiden 7 3,385 10-23-2020, 03:25 PM
Last Post: maiden
  Article: Create Your Own PineTime Watch Face in Rust... And Publish on crates.io lupyuen 2 1,830 10-18-2020, 09:24 PM
Last Post: lupyuen
  Article: Bluetooth Time Sync and LVGL on PineTime Mynewt lupyuen 0 921 10-15-2020, 05:51 PM
Last Post: lupyuen
  Remote PineTime for flashing and testing firmware remotely lupyuen 5 2,329 10-06-2020, 12:03 AM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)