Comments (11)
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
from connectionmanager2.
Hi,
probably you have python linked to python3 executable. Can you launch, from shell, the following command?
python2 /home//.local/share/gnome-shell/extensions/[email protected]/connmgr.py
with = user on your linux box.
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.
from connectionmanager2.
- 797 - ~ % python2 /home/luiz/.local/share/gnome-shell/extensions/[email protected]/connmgr.py
/usr/lib/python2.7/site-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
import gobject._gobject
Traceback (most recent call last):
File "/home/luiz/.local/share/gnome-shell/extensions/[email protected]/connmgr.py", line 7, in
import gconf
ImportError: No module named gconf
Probably I'm missing some package here...
from connectionmanager2.
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?
from connectionmanager2.
You can reload extension. You can try these ways:
- ALT-F2 + 'r' command
- Logout, Login
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:
#5 (comment)
from connectionmanager2.
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!
from connectionmanager2.
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?)
from connectionmanager2.
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.
from connectionmanager2.
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.
from connectionmanager2.
Ah, okay. I installed it from extensions.gnome.org which would explain it. Thanks for commenting back!
from connectionmanager2.
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?
from connectionmanager2.
Related Issues (20)
- Allow to specify connection parameters HOT 3
- Settings window not opening
- Could not parse valid .ssh/config HOT 2
- not compatible with gnome 3.18 HOT 1
- CM Search is not working HOT 2
- Not compatible with Gnome 3.24.2 HOT 2
- CM on Fedora 26, gnome-shell 3.24.2 HOT 6
- Icons size HOT 5
- Option to keep terminal open after command execution
- Replaced by Argos HOT 2
- not working with gnome-desktop3 3.22.2-2 HOT 1
- Gnome 3.32 fails to load extension consistently HOT 2
- SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data HOT 1
- In Fedora 30 clicking on Connection Manager Settings does nothing HOT 2
- does not load in fedora 32, gnome 3.36 HOT 4
- Crippled in Fedora 33 - Gnome 3.38.1
- Fails to load in Gnome 40 HOT 2
- Failed to start in Gnome 42.0 HOT 8
- Failed to start in Gnome 44 HOT 2
- failed to load in gnome 45.1 (fedora 39) HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectionmanager2.