[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#894850: cinnamon: Network applet can't activate new networks



Il 04/04/2018 22:07, Tollef Fog Heen ha scritto:
> Package: cinnamon
> Version: 3.6.7-5
> Severity: important
>
> When trying to connect to a new wireless network, I'm getting in the jouranl:
>
> JS ERROR: Exception in callback for signal: activate: TypeError: NM.Client.Permission is undefined
>                                            default_to_private_connections@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:77
>                                            NMDeviceWireless.prototype._createAutomaticConnection@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:1543
>                                            NMDeviceWireless.prototype._createNetworkItem/<@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:1588
>                                            _emit@resource:///org/gnome/gjs/modules/signals.js:140
>                                            PopupBaseMenuItem.prototype.activate@/usr/share/cinnamon/js/ui/popupMenu.js:178
>                                            PopupBaseMenuItem.prototype._onButtonReleaseEvent@/usr/share/cinnamon/js/ui/popupMenu.js:151
>
> Happy to provide any sort of debugging information.

Thanks for you report, this is caused by my mistake in latest network
patch fix, sorry.
To solves it in /usr/share/cinnamon/applets/network@cinnamon.org/applet.js
change:
let perms = client.get_permission_result
(NM.Client.Permission.SETTINGS_MODIFY_SYSTEM);
with:
let perms = client.get_permission_result
(NM.ClientPermission.SETTINGS_MODIFY_SYSTEM);

Maxy told me that also solving it is still unable set wifi connection
with password, can you tell me if you have the same issue please?
I don't know if I'll have the time to try to test and solves it today, 
if not I'll do it tomorrow or in the weekend.


Reply to: