After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646968 - can't properly talk to NM
can't properly talk to NM
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: network-indicator
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks: GnomeShell301
 
 
Reported: 2011-04-06 22:13 UTC by Bill Nottingham
Modified: 2011-04-11 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
network: fix typo in bluetooth code (820 bytes, patch)
2011-04-07 12:04 UTC, Dan Winship
committed Details | Review

Description Bill Nottingham 2011-04-06 22:13:34 UTC
Currently, my shell is in a state where it displays NM state correctly, but attempting to control it fails. Clicking to change wireless networks, turn off wireless, connect or disconnect VPN, etc. all fail.

Relevant log messages (in theory):

(gnome-shell:7253): St-CRITICAL **: st_label_set_text: assertion `text != NULL' failed
    JS ERROR: !!!   Exception was: TypeError: this._makeConnectioName is not a function
    JS ERROR: !!!     lineNumber = '916'
    JS ERROR: !!!     fileName = '/usr/share/gnome-shell/js/ui/status/network.js'
    JS ERROR: !!!     stack = '([object _private_NMClient_DeviceBt],[object _private_GLib_ParamSpec])@/usr/share/gnome-shell/js/ui/status/network.js:916
([object _private_NMClient_DeviceBt],[object _private_GLib_ParamSpec])@/usr/share/gjs-1.0/lang.js:110
'
    JS ERROR: !!!     message = 'this._makeConnectioName is not a function'
    JS ERROR: !!!   Exception was: TypeError: this._makeConnectioName is not a function
    JS ERROR: !!!     lineNumber = '916'
    JS ERROR: !!!     fileName = '/usr/share/gnome-shell/js/ui/status/network.js'
    JS ERROR: !!!     stack = '([object _private_NMClient_DeviceBt],[object _private_GLib_ParamSpec])@/usr/share/gnome-shell/js/ui/status/network.js:916
([object _private_NMClient_DeviceBt],[object _private_GLib_ParamSpec])@/usr/share/gjs-1.0/lang.js:110
'
    JS ERROR: !!!     message = 'this._makeConnectioName is not a function'
Window manager warning: Log level 16: Device activation failed: (32) Not authorized to control networking.
Window manager warning: Log level 16: Device activation failed: (32) Not authorized to control networking.
Window manager warning: Log level 16: handle_property_changed: property 'vpn-state' changed but wasn't defined by object type NMActiveConnection.
Window manager warning: Log level 16: handle_property_changed: property 'vpn-state' changed but wasn't defined by object type NMActiveConnection.

NetworkManager-0.8.998-1.fc15.x86_64
gnome-shell-3.0.0.1-1.fc15.x86_64
Comment 1 Matthias Clasen 2011-04-07 11:44:19 UTC
> this._makeConnectioName 

Looks like a typo right there ?
Comment 2 Matthias Clasen 2011-04-07 11:45:05 UTC
The type is in network.js:916
Comment 3 Dan Winship 2011-04-07 12:04:52 UTC
Created attachment 185414 [details] [review]
network: fix typo in bluetooth code
Comment 4 Giovanni Campagna 2011-04-07 15:30:48 UTC
(In reply to comment #0)
> Window manager warning: Log level 16: Device activation failed: (32) Not
> authorized to control networking.
> Window manager warning: Log level 16: Device activation failed: (32) Not
> authorized to control networking.

This part has nothing to do with the rest of the report, but it reveals the real problem: you're not authorized to control the network. Check that PolicyKit policy files are properly installed, and check that the authentication agent is running.
Comment 5 Giovanni Campagna 2011-04-07 15:34:39 UTC
Comment on attachment 185414 [details] [review]
network: fix typo in bluetooth code

Obviously correct
Comment 6 Dan Winship 2011-04-11 14:45:45 UTC
Attachment 185414 [details] pushed as ef55284 - network: fix typo in bluetooth code