Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218597 - app-accessibility/espeak-1.36 - Can't access (r) file 'en_rules'
Summary: app-accessibility/espeak-1.36 - Can't access (r) file 'en_rules'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-20 15:47 UTC by Foad Nosrati Habibi
Modified: 2011-06-27 18:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Foad Nosrati Habibi 2008-04-20 15:47:18 UTC
~x86 espeak 1.36   USE="portaudio pulseaudio"

When I use     # espeak "hello"     I can't hear anything,
But    # espeak -w 1.wav "hello"     makes a wave file that works!
I try   # espeak --compile=en     it says:  Can't access (r) file 'en_rules'
Comment 1 William Hubbs gentoo-dev 2008-04-20 19:35:40 UTC
I committed version 1.37 to the tree.

Also, I made a change in the ebuild so that you can only have either portaudio
or pulseaudio in use, but not both, since there is no way to support two audio
systems simultaneously in espeak.

Please test with 1.37 and let me know if you still have this issue.  If you
still can't compile the rules files, I need to know if you are attempting this
as a user, or as root, and what happens when you do this.

Thanks,

William

Comment 2 Foad Nosrati Habibi 2008-04-21 11:38:38 UTC
Thank you William,
Now    $ espeak "text"     works all right, but still there is problem with --compile as both user and root.
output as user:

foad@tux ~ $ espeak --compile=en
Can't access (r) file 'en_rules'

as root:

tux foad # espeak --compile=en
Can't access (r) file 'en_rules'

I test --compile with other languages but the result is same:

tux foad # espeak --compile=es
Can't access (r) file 'es_rules'
Comment 3 William Hubbs gentoo-dev 2008-04-26 05:31:41 UTC
The first part of this issue was that the pronounciation rules were not being
installed at all.  This has been fixed in 1.37-r1.  The rules are now
installed in /usr/share/espeak-data/dictsource.

Everything in the /usr/share/espeak-data directory can be customised on a
per-user basis, and this is how I recommend making changes if you are
interested in doing this since /usr/share/espeak-data will be over-written
each time you upgrade espeak.

Please check the espeak documentation for how to set this up and let me know
if you have any questions.

Thanks,

William

Comment 4 Foad Nosrati Habibi 2008-05-02 12:46:01 UTC
Thank you William,

I test it,
Everything done in right way.

thanks
Comment 5 Marcelo Andriolli 2011-06-27 18:29:34 UTC
I have the same problem: "Can't access (r) file 'en_rules". I did what you suggested but i still have the same problem. I intend to generate a phoneme to mbrola, can you help me?