<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div><div>Hi,</div><div><br></div><div>Yesterday, I update my Ubuntu to 12.04.</div><div><br></div><div>When make it, appears a error with sugar. When I try use</div><div>the TurtleArt activity give this error:</div><div><br></div><div><div>Traceback (most recent call last):</div><div> File "/usr/bin/sugar-activity", line 21, in <module></div><div> main.main()</div><div> File "/usr/lib/python2.7/dist-packages/sugar/activity/main.py", line 121, in main</div><div> module = __import__(module_name)</div><div> File "/home/alan/Activities/TurtleBots.activity/TurtleArtActivity.py", line 68, in <module></div><div> from TurtleArt.tacollaboration import Collaboration</div><div> File "/home/alan/Activities/TurtleBots.activity/TurtleArt/tacollaboration.py", line 23, in <module></div><div> from dbus.gobject_service import ExportedGObject</div><div> File "/usr/lib/python2.7/dist-packages/dbus/gobject_service.py", line 27, in <module></div><div> from gi.repository import GObject as gobject</div><div> File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 23, in <module></div><div> from ._gi import _API, Repository</div><div>ImportError: could not import gobject (error was: ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".',))</div></div><div><br></div><div>The problem: a new python-dbus library.</div><div>In Oneiric, I have the Python dbus 0.84.0-2.</div><div>With the new Ubuntu, it install: 1.0.0-1 and giveme that problem..</div><div><br></div><div>Downgrading the version of 1.0.0-1 to 0.84.0-2 (manually) the problem is solved..</div><div><br></div><div>Someone know more about this? The ideal was the new library works good with all old</div><div>codes..</div><div><br></div><div>Regards!</div><div><br></div><div>alan</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div> </div></body>
</html>