[Olpcaustria] xo-get news
Andres Cabrera
mantaraya36 at gmail.com
Sun Dec 23 19:33:40 CET 2007
Hi Chris,
Thanks for a very useful utility.
I'm having trouble with some applications from your repository. It seems
some python modules are missing from my machine. I have a B4 with build
650.
Any ideas?
(Please let me know if there is a better way to report these issues)
Cheers,
Andrés
ThreeDPong (shows no icon)
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback
(most recent call last)
/usr/bin/sugar-activity in <module>()
99 class_name = splitted_module[1]
100
--> 101 module = __import__(module_name)
global module = undefined
global __import__ = undefined
global module_name = 'activity'
102 for comp in module_name.split('.')[1:]:
103 module = getattr(module, comp)
/home/olpc/Activities/3dpong.activity/activity.py in <module>()
----> 1
global olpcgames = undefined
2
3 import olpcgames
4
5 class ThreeDPongActivity(olpcgames.PyGameActivity):
6 game_name = '3dpong'
7 game_title = '3dpong'
/home/olpc/Activities/3dpong.activity/olpcgames/__init__.py in
<module>()
1
----> 2 from canvas import *
global activity = undefined
3 from activity import *
4
5
/home/olpc/Activities/3dpong.activity/olpcgames/activity.py in
<module>()
7
8 from sugar.activity import activity
----> 9 from sugar.graphics import units
global sugar.graphics = undefined
global units = undefined
10 from olpcgames.canvas import PyGameCanvas
11
<type 'exceptions.ImportError'>: cannot import name
units
GuidoVanRobot
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback
(most recent call last)
/usr/bin/sugar-activity in <module>()
99 class_name = splitted_module[1]
100
--> 101 module = __import__(module_name)
global module = undefined
global __import__ = undefined
global module_name = 'start_activity'
102 for comp in module_name.split('.')[1:]:
103 module = getattr(module, comp)
/home/olpc/Activities/GvRng.activity/start_activity.py in
<module>()
21 import gtk
22
---> 23 import gvrng
global gvrng = undefined
24
25 class GvRngActivity(activity.Activity):
/home/olpc/Activities/GvRng.activity/gvrng.py in <module>()
84 sys.path.append('gui-gtk')
85
---> 86 import gvr_gtk # the frontend to use
global gvr_gtk = undefined
87
88 import GvrModel
/home/olpc/Activities/GvRng.activity/gui-gtk/gvr_gtk.py in
<module>()
46
47 # Release > 623 packs gtksourceview
---> 48 import Editors
global Editors = undefined
49 import Widgets
50
/home/olpc/Activities/GvRng.activity/gui-gtk/Editors.py in
<module>()
28 pygtk.require('2.0')
29 import gtk
---> 30 import gtksourceview
global gtksourceview = undefined
31
32 class Editor:
<type 'exceptions.ImportError'>: No module named
gtksourceview
PollBuilder
** (sugar-activity:2099): WARNING **: Got plain
filename /usr/share/abiword-2.6/keybindings.xml in UT_go_file_open.
** (sugar-activity:2099): WARNING **: Got plain
filename /home/olpc/.AbiSuite/keybindings.xml in UT_go_file_open.
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'> Traceback
(most recent call last)
/usr/bin/sugar-activity in <module>()
145
gtk.icon_theme_get_default().append_search_path(bundle.get_icons_path())
146
--> 147 create_activity_instance(constructor, handle)
global create_activity_instance = <function
create_activity_instance at 0x8343ca4>
global constructor = <class 'poll.PollBuilder'>
global handle = <sugar.activity.activityhandle.ActivityHandle
object at 0x8509dcc>
148
149 gtk.main()
/usr/bin/sugar-activity in
create_activity_instance(constructor=<class
'poll.PollBuilder'>,
handle=<sugar.activity.activityhandle.ActivityHandle object at
0x8509dcc>)
42
43 def create_activity_instance(constructor, handle):
---> 44 activity = constructor(handle)
activity = undefined
constructor = <class 'poll.PollBuilder'>
handle = <sugar.activity.activityhandle.ActivityHandle object
at 0x8509dcc>
45 activity.connect('destroy', activity_destroy_cb)
46 activity.show()
/home/olpc/Activities/Poll.activity/poll.py in
__init__(self=<PollBuilder object at 0x85dd52c (SugarActivity at
0x8898800)>, handle=<sugar.activity.activityhandle.ActivityHandle
object at 0x8509dcc>)
192 # Setup screen
193 self._canvas = hippo.Canvas()
--> 194 self._canvas.set_root(self._select_canvas())
self._canvas.set_root = <built-in method set_root of
hippocanvas.Canvas object at 0x85ddf54>
self._select_canvas = <bound method
PollBuilder._select_canvas of <PollBuilder object at 0x85dd52c
(SugarActivity at 0x8898800)>>
195 self.set_canvas(self._canvas)
196 self.show_all()
/home/olpc/Activities/Poll.activity/poll.py in
_select_canvas(self=<PollBuilder object at 0x85dd52c (SugarActivity
at 0x8898800)>)
316 canvasbox.append(pollbuilderbox)
317
--> 318 pollbuilderbox.append(self._canvas_topbox())
pollbuilderbox.append = <built-in method append of
hippocanvas.CanvasBox object at 0x85e69b4>
self._canvas_topbox = <bound method
PollBuilder._canvas_topbox of <PollBuilder object at 0x85dd52c
(SugarActivity at 0x8898800)>>
319
320 mainbox = self._canvas_mainbox()
/home/olpc/Activities/Poll.activity/poll.py in
_canvas_topbox(self=<PollBuilder object at 0x85dd52c (SugarActivity
at 0x8898800)>, lesson_return=None)
942 orientation=hippo.ORIENTATION_HORIZONTAL)
943 topbox.append(hippo.CanvasWidget(widget=self._logo()))
--> 944 languageselectbox =
self._canvas_language_select_box()
languageselectbox = undefined
self._canvas_language_select_box = <bound method
PollBuilder._canvas_language_select_box of <PollBuilder object at
0x85dd52c (SugarActivity at 0x8898800)>>
945 topbox.append(languageselectbox, hippo.PACK_EXPAND)
946 lessonplanbox =
self._canvas_lessonplanbox(lesson_return)
/home/olpc/Activities/Poll.activity/poll.py in
_canvas_language_select_box(self=<PollBuilder object at 0x85dd52c
(SugarActivity at 0x8898800)>)
907 orientation=hippo.ORIENTATION_VERTICAL)
908 button = LanguageComboBox()
--> 909 button.install()
button.install = <bound method LanguageComboBox.install of
<LanguageComboBox object at 0x85e6a2c (GtkComboBox at
0x88bf8e8)>>
910
languageselectbox.append(hippo.CanvasWidget(widget=theme_button(button)))
911 return languageselectbox
/home/olpc/Activities/Poll.activity/i18n.py in
install(self=<LanguageComboBox object at 0x85e6a2c (GtkComboBox at
0x88bf8e8)>, *args=())
132 # Try to find the exact translation
133 for i,t in enumerate(self.translations):
--> 134 if t.matches(code):
t.matches = <bound method LangDetails.matches of
<i18n.LangDetails object at 0x85e156c>>
code = None
135 self.set_active(i)
136 break
/home/olpc/Activities/Poll.activity/i18n.py in
matches(self=<i18n.LangDetails object at 0x85e156c>, code=None,
exact=True)
78 def matches (self, code, exact=True):
79 if exact:
---> 80 return code.lower() == self.code.lower()
code.lower = undefined
self.code.lower = <built-in method lower of str object at
0xb7c86c00>
81 return code.split('_')[0].lower() ==
self.country_code.lower()
82
<type 'exceptions.AttributeError'>: 'NoneType'
object has no attribute 'lower'
El dom, 23-12-2007 a las 02:30 +0100, Chris Hager escribió:
> Hi,
>
> Here a few news about the latest xo-get updates:
>
> 1. Easy installation with 'wget xo-get.linuxuser.at'
>
> 2. Installation of the process watching tool with 'xo-get install pw'
> (http://wiki.laptop.org/go/Monitoring_System_Load)
>
> 3. 32 Activities ready to install
> (http://www.olpcaustria.org/mediawiki/index.php/Xo-get/Repository)
>
> 4. Backup repository (on linuxuser.at), in case olpcaustria.org is down
>
> The tool also proved useful for development, when you need to do many
> de-/installations of xo's for testing. Have a look at it!
>
> http://www.olpcaustria.org/mediawiki/index.php/Xo-get
>
> Best regards from Vienna,
> - Chris
>
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
More information about the Olpcaustria
mailing list