You are here

Sound Preferences Panel blank... and error message when accessing Preferences, in 0.96.14 on MacOS X

Hi everybody.

According to the changes reported in the release 0.96.14, there has been some changes on the sound part:
==> "option to select sound device"

Unfortunately, this seems to be broken at least on the MacOS X version.

If I go to the preferences of the Coccinella 0.96.14, I get the following error message:
<<><>>
Hook prefsBuildHook failed: 1
invalid command name "snack::audio"
while executing
"snack::audio outputDevices"
(procedure "BuildPrefsPage" line 21)
invoked from within
"BuildPrefsPage $wpage"
(procedure "::Sounds::BuildPrefsHook" line 7)
invoked from within
"::Sounds::BuildPrefsHook .prefs.frall.f.f.t.frtree.t .prefs.frall.f.f.nb"
("eval" body line 1)
invoked from within
"eval $func $args"
invalid command name "snack::audio"
while executing
"snack::audio outputDevices"
(procedure "BuildPrefsPage" line 21)
invoked from within
"BuildPrefsPage $wpage"
(procedure "::Sounds::BuildPrefsHook" line 7)
invoked from within
"::Sounds::BuildPrefsHook .prefs.frall.f.f.t.frtree.t .prefs.frall.f.f.nb"
("eval" body line 1)
invoked from within
"eval $func $args"
<<><>>

And then the "General" | "Sound" section is emply.

For the time being, I have copied to the /Applications/Coccinella.app/Contents/Resources/Scripts/coccinella/components/ location the "Sounds.tcl" file coming from the from the 0.96.12 (at least to revert back to the previous working Sound feature).

Cheers.
/Damien.

Remark: when checking the version of the Coccinella 0.96.14 for the Finder ("File" | "Get Info"), I still see mentioned 0.96.12... that information has not been updated.

Forum: 

Hi Damien,

Sorry for answering so late, However, I added a fix to Sound.tcl in SVN revision 2741. Let me know if that solves your problem.

cheers
Sebastian

Hi Sebastien.

I have tested the fix revision 2741 of the Sound.tcl file with my Coccinella 0.96.14... and it works fine.

I don't get anymore the error message when accessing the Preferences and I can configure my sound preferences properly.

****

I have noticed that the "daily build breakfast" 0.96.15 works too... I guess that you the mentioned fix has been added to it.

Thx again Sebastien for working on that fix.

Cdly.
/Damien.

Remark: when checking the version of the Coccinella 0.96.15 for the Finder ("File" | "Get Info"), I see it is mentioned 0.96.15... which is correct (compared to what we got with the 0.96.14).

Hi,

yes, the version was fixed for the 0.96.15. For the 0.96.14, tt was forgotten to set the right version when it was released. The next release will have the right version again.

thanks for reporting back
Sebastian