Skip to content
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

Error when first interval is up #1

Open
hsribei opened this issue Feb 16, 2016 · 7 comments
Open

Error when first interval is up #1

hsribei opened this issue Feb 16, 2016 · 7 comments

Comments

@hsribei
Copy link

hsribei commented Feb 16, 2016

Hi! Thanks for making this. I'm getting this error while trying to use it:

$ interval-timer --intervals 0.1,0.1
Will time [ 0.1, 0.1 ] for  1  sets
Interval:  0 : 6 Current timer:  0 : 0 
time is up 
Interval:  0 : 6 Current timer:  0 : 6 
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn festival ENOENT
    at exports._errnoException (util.js:856:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:474:9)
    at process._tickCallback (node.js:388:17)

Any idea how I could fix it? Thanks!

@rdepena
Copy link
Owner

rdepena commented Feb 16, 2016

hmm, not sure. Will take a look tonight, thanks for reporting.

@rdepena
Copy link
Owner

rdepena commented Feb 17, 2016

Hey @obvio171 looks like this might be an issue with festival, so a few questions:

  • Did you see any failures or warnings during the install ?
  • I assume you are running Linux, what distro are you using and what kernel version?
  • What version of node are you targeting?

I will set up a linux VM and give it another go.

@rdepena
Copy link
Owner

rdepena commented Feb 18, 2016

Hey @obvio171 I was able to recreate it on Debian wheezy, seems like on Linux Festival needs to be installed manually (or at least with a package manager).

so in debian/ubuntu you can install it using apt-get:

sudo apt-get install festival festvox-kallpc16k

Let me know if that fixes it.

@hsribei
Copy link
Author

hsribei commented Feb 18, 2016

Hi! Thanks for looking into it. Doing that fixed the crash, but I still
hear no sound.

On Thu, Feb 18, 2016 at 12:38 AM, Ricardo De Peña [email protected]
wrote:

Hey @obvio171 https://github.com/obvio171 I was able to recreate it on
Debian wheezy, seems like on Linux Festival needs to be installed manually
(or at least with a package manager).

so in debian/ubuntu you can install it using apt-get:

sudo apt-get install festival festvox-kallpc16k

Let me know if that fixes it.


Reply to this email directly or view it on GitHub
#1 (comment)
.

Code is politics.

@rdepena
Copy link
Owner

rdepena commented Feb 18, 2016

hmm, ok. Stepping up my virtual machine game; I will install debian desktop and all that, up to now I was using headless debian.

@rdepena
Copy link
Owner

rdepena commented Feb 19, 2016

Ok, with the following I got it working in Debian 8:

$ sudo apt-get install festival festvox-kallpc16k libnotify-bin

re-Install the cli tool (new version):

$ npm install --global interval-timer-cli

Now you can pass the speak flag

$ interval-timer --speak --intervals 0.1,0.1 

@rdepena
Copy link
Owner

rdepena commented Jun 11, 2016

@obvio171 ping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants