aleho / gnome-shell-volume-mixer

GNOME Shell Extension allowing separate configuration of PulseAudio devices
https://extensions.gnome.org/extension/858/volume-mixer/
GNU General Public License v2.0
135 stars 32 forks source link

Plugin is not loading on Ubuntu 15.04 #33

Closed alessandrolattao closed 9 years ago

alessandrolattao commented 9 years ago

Looking glass says "Error: invalid element in string array". I don't know how to help more :)

aleho commented 9 years ago

Does it give any detailed source code information? "Module", line number, etc, could be useful.

VoidChen commented 9 years ago

I have same problem on Debian stretch (gnome-shell 3.16.2-4).

I do some debug and found that error caused by hotkeys.js

_proxyStringSettingChange: function(gsettings, key) {
    let value = gsettings.get_string(key) || undefined;
    let proxy = this._settings.get_array(key);

    // don't trigger a change event
    if (proxy.length == 1 && proxy[0] == value) {
        return;
    }

    this._settings.set_array(key, [value]);
},

If value is undefined, the line this._settings.set_array(key, [value]); will cause error.