Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Migration Help

ANSWERED

I had developed my own clockface for my Versa three years ago. I just bought a new Versa 3 and tried migrating it. I have renamed the files in the resource folder (index.view and widget.defs) and updated the package.json settings.

 

Most of my code is in the display.onchange() method. When I run the code on the Versa 3 simulator, all I get is the time, which is coded in the clock.ontick() method. And I am getting "Error 2 Invalid path './resources/steps.png' (or something similar) for all my images.

 

I believe I have uploaded the code to GitHub (opens in a new page): https://github.com/gh13s68/NoFrills

 

Any idea what I'm missing here?  

 

 

Best Answer
1 BEST ANSWER

Accepted Solutions

And the second problem solved - didn't realize I had uploaded JPG instead of PNG files.

 

Guess today was really an example of measure twice, cut once...

 

Sorry for the interruption 😀

View best answer in original post

Best Answer
2 REPLIES 2

Solved the first problem - I didn't realize the simulator had a Display on/off toggle. So now I can see all the text. I am still getting the invalid path error on the images though.

Best Answer
0 Votes

And the second problem solved - didn't realize I had uploaded JPG instead of PNG files.

 

Guess today was really an example of measure twice, cut once...

 

Sorry for the interruption 😀

Best Answer