[Sugar-devel] [ASLO] Release Telescope-11
Gary Martin
garycmartin at googlemail.com
Sun Oct 16 00:25:29 EDT 2011
Hi Alan,
On 16 Oct 2011, at 04:09, Alan Jhonn Aguiar Schwyn wrote:
> Hi,
>
> I have the same problem in 0.92.2
>
> Where can I get the "monocular" to the XO? (I'm from Uruguay)
It's monocular I've ordered myself to help with testing (arrived today). A 'Brunton Echo 10-30x 21', a little expensive at £40 UK pounds, but I could do with a monocular any way and it seems quite a nice one. I also ordered an alternative monocular model that is about a 1/3 of the price, called a 'Praktica 12x 32'. It has a fixed zoom at 12x but a larger aperture (I doesn't get here until end of November for me to try).
Any way... This was my very first random grab through the clouds of the Moon, with just the XO-1 camera and no time to adjust any of the Telescope activity settings:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x4 dig zoom view of moon.jpe
Type: image/jpe
Size: 12561 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111016/76ec4c66/attachment-0006.bin>
-------------- next part --------------
And here's some more through my window and quite hazy cloud (I live in a city centre with lots of light pollution) and the monocular set to 10x magnification. This was all done holding the monocular by hand (!!) in front of the XO camera with lots of hand shake blur (I don't have a way to securely mount it to the XO yet) and no time to try adjusting the focus, or the Telescope activity settings.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x4 dig zoom through monocular at x10.jpe
Type: image/jpe
Size: 14332 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111016/76ec4c66/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x4 dig zoom through monocular at x10 v2.jpe
Type: image/jpe
Size: 13781 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111016/76ec4c66/attachment-0008.bin>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x4 dig zoom through monocular at x10 v3.jpe
Type: image/jpe
Size: 14084 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111016/76ec4c66/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x4 dig zoom through monocular at x10 v4.jpe
Type: image/jpe
Size: 14382 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111016/76ec4c66/attachment-0010.bin>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x4 dig zoom through monocular at x10 v5.jpe
Type: image/jpe
Size: 14175 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111016/76ec4c66/attachment-0011.bin>
-------------- next part --------------
Right after I added the above images to this email, the sky went clear for a few minutes and I managed to take ~10 _much_ better shots... The Telescope activity unfortunately locked up, and I had to force quit it :-( None of the extra shots had been stored to its Journal entry. Sigh... Such is life – always there is the fish that got away! :)
Regards,
--Gary
> 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
More information about the Sugar-devel
mailing list