I do not know enough python to figure out for line 23 in __init__.py --
what is being imported, or from where -- but I interpret the cause for
the error message from that line as "could not find" (since the line in
webactivity.py DOES look like what the error message says it should be).
mikus
Traceback (most recent call last):
File "/usr/bin/sugar-activity", line 21, in <module>
main.main()
File "/usr/lib/python2.7/site-packages/sugar/activity/main.py", line 121, in main
module = __import__(module_name)
File "/home/olpc/Activities/Browse.activity/webactivity.py", line 24, in <module>
from gi.repository import GObject
File "/usr/lib/python2.7/site-packages/gi/__init__.py", line 23, in <module>
from ._gi import _API, Repository
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".',))
1324736391.516371 DEBUG root: _cleanup_temp_files
Exited with status 1, pid 1054 data (None, <open file '<fdopen>', mode 'w' at 0x950f758>, 'f88fbfbb3a10cf8f6a0eeb4199f6e72513b4f70c')
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel