You are not logged in.

#1 2012-10-24 01:55:17

ninjaaron
Member
Registered: 2010-12-10
Posts: 296

[SOLVED]Problem with Ubuntu One related python module gi.repository

So, I have Ubuntu One working on another Arch install, but I just put it on my new laptop today, and it's not working.  Installed with no apparent problems. However, when I try to run

$ ubuntuone-control-panel-qt

I get these messages (the last line is the only one that contains an actual error message):

Traceback (most recent call last):
  File "/usr/bin/ubuntuone-control-panel-qt", line 29, in <module>
    from ubuntuone.controlpanel.gui.qt import main
  File "/usr/lib/python2.7/site-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/__init__.py", line 26, in <module>
    from ubuntuone.controlpanel.backend import UBUNTUONE_LINK
  File "/usr/lib/python2.7/site-packages/ubuntuone-control-panel/ubuntuone/controlpanel/backend.py", line 29, in <module>
    from ubuntuone.platform.credentials import CredentialsManagementTool
  File "/usr/lib/python2.7/site-packages/ubuntuone-client/ubuntuone/platform/__init__.py", line 47, in <module>
    from ubuntuone.platform import os_helper
  File "/usr/lib/python2.7/site-packages/ubuntuone-client/ubuntuone/platform/os_helper/__init__.py", line 41, in <module>
    from ubuntuone.platform.os_helper import linux
  File "/usr/lib/python2.7/site-packages/ubuntuone-client/ubuntuone/platform/os_helper/linux.py", line 48, in <module>
    from gi.repository import Gio, GLib
ImportError: No module named gi.repository

I read on some Ubuntu site that it might help to reinstall python-gobjects, though the package is different on Arch (which I guess is a given), and it pulled in python3, so, as you might imagine, it didn't work.

When I run `ubuntuone-launch` or `u1sdtool` I don't get an error, but nothing happens either (no prompt for login).  I searched google and the forums and the wiki, so sorry if I missed something obvious. Don't know anything about python either, beyond "hello-world.py" (and that I had to put parenthesis around the print statement in order to "port my software" to python3)

Last edited by ninjaaron (2012-10-24 05:12:04)

Offline

#2 2012-10-24 03:29:26

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED]Problem with Ubuntu One related python module gi.repository

Do you have python2-gobject and/or python2-gobject2 installed?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2012-10-24 05:11:17

ninjaaron
Member
Registered: 2010-12-10
Posts: 296

Re: [SOLVED]Problem with Ubuntu One related python module gi.repository

I only had python2-gobject2 (well, and python-gobject, and python-gobject2).  Installed python2-gobject and it works now.

Thanks!
SOLVED

Last edited by ninjaaron (2012-10-24 05:27:21)

Offline

#4 2012-11-01 10:30:33

City-busz
Package Maintainer (PM)
From: Budapest, Hungary
Registered: 2010-12-27
Posts: 198
Website

Re: [SOLVED]Problem with Ubuntu One related python module gi.repository

Fixed in ubuntuone-client-4.0.0-3.

Offline

Board footer

Powered by FluxBB