[Sugar-devel] [ASLO] Release Telescope-11
Alan Jhonn Aguiar Schwyn
alanjas at hotmail.com
Sat Oct 15 23:09:57 EDT 2011
Hi,
I have the same problem in 0.92.2
Where can I get the "monocular" to the XO? (I'm from Uruguay)
Regards
Alan
> From: garycmartin at googlemail.com
> Date: Sun, 16 Oct 2011 04:06:43 +0100
> To: anish at sugarlabs.org
> CC: sugar-devel at lists.sugarlabs.org
> Subject: Re: [Sugar-devel] [ASLO] Release Telescope-11
>
> Hi Anish,
>
> Could you request a component on bugs.sugarlabs.org (I looked there and on dev.laptop.org but couldn't spot a component for Telescope or XoScope)?
>
> Just tested Telescope-11 downloaded fresh ASLO on an XO-1 (with a recent Sugar 0.94.0, OLPC 11.3.0 build 8) and it fails to even start :-( It generated this log output:
>
> ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
> ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
> 1318731836.067201 WARNING root: KeepButton has been deprecated since Sugar 0.94
> and should not be used in newly written code.
> 1318731836.108794 WARNING root: No gtk.AccelGroup in the top level window.
> 1318731836.186838 WARNING root: No gtk.AccelGroup in the top level window.
> 1318731836.264460 WARNING root: No gtk.AccelGroup in the top level window.
> 1318731836.294764 WARNING root: No gtk.AccelGroup in the top level window.
> 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 158, in
> main
> create_activity_instance(activity_constructor, activity_handle)
> File "/usr/lib/python2.7/site-packages/sugar/activity/main.py", line 37, in
> create_activity_instance
> activity = constructor(handle)
> File "/home/olpc/Activities/Telescope.activity/activity.py", line 288, in
> __init__
> self._live_toolbar_container.insert(self._gain_button, -1)
> AttributeError: 'gtk.HBox' object has no attribute 'insert'
> Exited with status 1, pid 1205 data (None, <open file '<fdopen>', mode 'w' at
> 0x8f5a230>, 'bf7787f051793a52b8ac904aba237e43abf0a961')
>
> So I made a quick and dirty botch fix to try and carry on testing (replaced the insert on line 288 with an add, and dropped the -1 parameter). I could then launch the app and take a photo – the Moon is up and I have a monocular that arrived today I'm trying to rig up and test!! :-) I might get a test photo or two if the clouds don't get too much in the way (it's not great viewing tonight but OK for a first test)...
>
> Anyway, after taking a test shot or two, I notice when previewing an image and exporting it manually to the Journal that the naming field has no effect on the exported image file title that's added to the Journal (they are always saved with the default activity title).
>
> Looking at the log again after Stopping the activity revealed some more errors and warnings, not sure if they were related to my quick fix above, but I don't think so:
>
> ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
> ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
> 1318732175.042565 WARNING root: KeepButton has been deprecated since Sugar 0.94
> and should not be used in newly written code.
> 1318732175.067806 WARNING root: No gtk.AccelGroup in the top level window.
> 1318732175.124173 WARNING root: No gtk.AccelGroup in the top level window.
> 1318732175.181772 WARNING root: No gtk.AccelGroup in the top level window.
> 1318732175.215430 WARNING root: No gtk.AccelGroup in the top level window.
> 1318732175.450672 ERROR root: error setting control
> Traceback (most recent call last):
> File "/home/olpc/Activities/Telescope.activity/activity.py", line 887, in
> _check_available_control
> ioctl(VD, v4l2.VIDIOC_QUERYCTRL, control)
> IOError: [Errno 22] Invalid argument
> 1318732175.565251 ERROR root: error setting control
> Traceback (most recent call last):
> File "/home/olpc/Activities/Telescope.activity/activity.py", line 887, in
> _check_available_control
> ioctl(VD, v4l2.VIDIOC_QUERYCTRL, control)
> IOError: [Errno 22] Invalid argument
> 1318732175.570812 ERROR root: error setting control
> Traceback (most recent call last):
> File "/home/olpc/Activities/Telescope.activity/activity.py", line 887, in
> _check_available_control
> ioctl(VD, v4l2.VIDIOC_QUERYCTRL, control)
> IOError: [Errno 22] Invalid argument
> 1318732175.837011 WARNING root: No gtk.AccelGroup in the top level window.
> ** (sugar-activity:1330): DEBUG: Got client ID
> "10c985987abd085c3a131873217848924500000009400003"
> ** (sugar-activity:1330): DEBUG: Setting initial properties
> ** (sugar-activity:1330): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown,
> SmInteractStyleNone, !Fast) in state idle
> ** (sugar-activity:1330): DEBUG: Sending SaveYourselfDone(True) for initial
> SaveYourself
> ** (sugar-activity:1330): DEBUG: Received SaveComplete message in state
> save-yourself-done
> /usr/lib/python2.7/site-packages/sugar/datastore/datastore.py:103:
> UnicodeWarning: Unicode unequal comparison failed to convert both arguments to
> Unicode - interpreting them as being unequal
> if key not in self._properties or self._properties[key] != value:
> 1318732774.667929 ERROR root: read_file: [Errno 2] No such file or directory:
> '/home/olpc/.sugar/default/org.sugarlabs.XoScope/instance/1318732737'
> 1318732854.422316 WARNING root: No gtk.AccelGroup in the top level window.
> 1318732861.356065 WARNING root: No gtk.AccelGroup in the top level window.
> 1318732861.694095 WARNING root: No gtk.AccelGroup in the top level window.
> 1318732861.737951 WARNING root: No gtk.AccelGroup in the top level window.
>
> Gdk-ERROR **: The program 'sugar-activity' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
> (Details: serial 4235 error_code 9 request_code 131 minor_code 19)
> (Note to programmers: normally, X errors are reported asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the --sync command line
> option to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error() function.)
> aborting...
> Terminated by signal 6, pid 1330 data (None, <open file '<fdopen>', mode 'w' at
> 0x8fe6230>, dbus.ByteArray('bf7787f051793a52b8ac904aba237e43abf0a961',
> variant_level=1))
>
> Blast, lost the Moon for now behind a cloud bank, will try and wait up a little longer and see if there is a gap. Fingers crossed! :-)
>
> Regards,
> --Gary
>
> On 12 Oct 2011, at 20:39, Sugar Labs Activities wrote:
>
> > Activity Homepage:
> > http://activities.sugarlabs.org/addon/4481
> >
> > Sugar Platform:
> > 0.82 - 0.94
> >
> > Download Now:
> > http://activities.sugarlabs.org/downloads/file/27645/telescope-11.xo
> >
> > Release notes:
> > * Rename activity to Telescope
> > * Add Gain control to live-mode toolbar
> > * Add button hints
> > * Catch an unhandled exception while scaling image in preview mode
> >
> >
> >
> > Sugar Labs Activities
> > http://activities.sugarlabs.org
> >
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111016/1e72a58f/attachment-0001.html>
More information about the Sugar-devel
mailing list