Closed luizsoares closed 12 years ago
I checked 1st virtual console where I started X and there I see a syntax error at line 134:
def read(self):
configuration = ""
if (os.path.exists(self.configuration_file) and
os.path.isfile(self.configuration_file)):
in_file = open(self.configuration_file,"r")
configuration = self.custom_decode(json.load(in_file))
in_file.close()
else:
134: print "Configuration file not exists" configuration = self.custom_decode(json.loads('{"Root": []}'))
return configuration
Hi, probably you have python linked to python3 executable. Can you launch, from shell, the following command?
python2 /home/
with
If it's work correctly, then the problem is version python (it is required version 2). You can fix this bug substituting in extension.js file, only line 89 like shown:
originale line 89: Util.spawnCommandLine('python ' + this._prefFile);
new line 89: Util.spawnCommandLine('python2 ' + this._prefFile);
and reload extension.
I think to fix this bug in the next release.
Probably I'm missing some package here...
ok arch users need python2-gconf. Now I can run your command no problems, however the instance started by gnome-shell seems to ignore my alteration in the shebang line to /usr/bin/env python2, is it cached somewhere?
You can reload extension. You can try these ways:
On 12/07/2011 07:05 PM, luizsoares wrote:
ok arch users need python2-gconf. Now I can run your command no problems, however the instance started by gnome-shell seems to ignore my alteration in the shebang line to /usr/bin/env python2, is it cached somewhere?
Reply to this email directly or view it on GitHub: https://github.com/sciancio/connectionmanager/issues/5#issuecomment-3050873
Ah I understand it now. The CM icon on the panel is controlled by extension.js and not your python script. I changed the invocation on line 89 to python2, problem solved. Thanks!
Hi,
On archlinux, this still doesn't work.
I have to change line 114 of extension.js file to replace python by python2. Obviously, calling python .... does'nt work but don't catch any Exception.
Can't you do the reverse order? (Try python2 and if it fails, catch the exception to launch python?)
I'm on Arch Linux and was hitting the same issue that @ALSai was hitting. I made the change to try python2 first and then fall back to python which fixed my problem. Just a thought, but it seems like that should be fine to do.
Hi masteinhauser, have you tried code on github or you have installed it from extensions.gnome.org site? The code on github is newer and it would be works correctly. On e.g.o. site are pending review.
Ah, okay. I installed it from extensions.gnome.org which would explain it. Thanks for commenting back!
I have the current version of Connection Manager from the gnome extensions website and the Settings menu will not open for me. Running Arch Linux x64 with gnome 3.6. It wasn't working initially after installing and I installed the python2-gconf package which made it work and then for no apparent reason (was just web browsing) it stopped opening again. How can I troubleshoot why it won't open?
Title pretty much says it all... how do I collect information to help you debug this?