Page 1 of 1

Ubuntu 9.04: “bt_audio_service_open: connect() failed”

Posted: Sun Sep 20, 2009 1:00 pm
by JensAyton
I’ve had a report of the following error when trying to run Oolite 1.73.3 under Ubuntu 9.04:
bt_audio_service_open: connect() failed: Connection refused (111)
This appears to be a bug in eSpeak. Possible workarounds:
  • Build Oolite from source with the command make libespeak=no (this will disable speech synthesis).
  • Enable Bluetooth services in System -> Administration -> Services.
There doesn’t appear to be a way to exclude libespeak when building from pre-made debs. Micha?

Posted: Sun Sep 20, 2009 7:07 pm
by Micha
I could build debs with and without espeak, but they're either-or. Once the debs are made that's it as they are a binary release, not a source release. I'll see about putting together source debs as well.

We could add a patch and make espeak a command-line or config-file option, or if there's a way to detect when it fails to initialise that Oolite just logs that but continues on anyway with espeak disabled.

The report you've had - does that mean Oolite fails to start completely?

Posted: Sun Sep 20, 2009 7:15 pm
by JensAyton
It appears to be a complete failure; the report wasn’t very clear. Check your #oolite history. :-)