-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libpebble2.exceptions.TimeoutError when running emu-app-config for faces with enableMultiJS #37
Comments
Can confirm here. Not entirely sure how to work around this. |
In the case of Chris Lewis's "thin" watchface, there is no bug with the
If you fix the error by replacing I can try to reproduce the issue if this is not the resolution to your problem, but a minimal app that reproduces the issue would be needed to do that. @thirtythreeforty @tilden |
Oh I see, so the problem is that the JS crashes due to the non-relative load path, and the Python that is expecting the JS to load finally times out? Funny that it would work on the phone but not on the emulator. I will try that when I get home, thanks. |
@cjwilliams Thanks for the response! I hadn't thought to look at the logs for "Thin" because the logs came up blank when I encountered the same issue on my own watchface. It turns out that if a face uses the classic appinfo.json format, JS package errors aren't shown in the logs for whatever reason. After converting my watchface to the new package.json format, I started getting errors that looked identical to the ones you found in Chris Lewis's face. Changing the paths to relative did indeed fix the issue! Thanks! |
It seems that some change in the Pebble tool broke the
emu-app-config
function for faces withenableMultiJS
set totrue
. Faces and apps using the older style of Javascript do not appear to be affected.Steps to reproduce:
enableMultiJS
. For example, Chris Lewis's Thin face will work:git clone https://github.com/C-D-Lewis/thin.git
pebble build
pebble install --emulator=basalt
pebble emu-app-config
At least in my tests, it times out, giving the error:
However, if a pre-multi-js commit is checked out, this error doesn't occur:
git checkout 35c1f53b487ee54690ce42dc222f47a9ff5cea56
Build, install, and emu-app-config. It will correctly load the Dropbox-hosted config page.
The text was updated successfully, but these errors were encountered: