Coder Social home page Coder Social logo

Comments (6)

Meiguro avatar Meiguro commented on July 23, 2024

Very sorry about that! I just made a fix. The patch notes explains the issue briefly. I'll close this when it's merged into CloudPebble.

from pebblejs.

otbe avatar otbe commented on July 23, 2024

Thank you very much. I'll be waiting for the merge :)

from pebblejs.

andreipopovici avatar andreipopovici commented on July 23, 2024

Hi there,

Strangely, I have a similar issue almost exactly a year later :) Here's the code:

var UI = require('ui');
var Voice = require('ui/voice');

var card = new UI.Card({
  title:'Ready',
  body:'Press Select to dictate'
});

card.on('click', function(e) {
    Voice.dictate('start', true, function(e) {
      card.title('');
      card.subtitle('Heard:');
      card.body(e.transcription);
    });
});

card.show();

This crashes without log output (doesn't help that CloudPebble returns a 403 for the debug.json from Heroku!).

I'm compiling on Chalk using Pebble.js in CloudPebble, firmware v3.12 on my PTR.

Ninja edit: well ain't that something. I just recompiled and ran the exact same code now, and it doesn't crash anymore. Wonder what changed in the last hour... Huh.

Either way, leaving this here for reference in case it happens to anyone else.

from pebblejs.

Meiguro avatar Meiguro commented on July 23, 2024

Ah yes, this is a problem with the voice window not being a normal window. I've created a new ticket for this issue, I'll try to think of something to fix it! #165

I'll post in this ticket too when I fix the issue.

from pebblejs.

Meiguro avatar Meiguro commented on July 23, 2024

As for the original issue, the fix is now merged in CloudPebble.

from pebblejs.

andreipopovici avatar andreipopovici commented on July 23, 2024

Thanks for taking a look! Just to be clear, when you say the fix is merged in CloudPebble, do I get the latest merged version each time I compile? Do I need to change anything else anywhere?

from pebblejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.