[SoaS] Fix to Paint-65 text brush

Walter Bender walter.bender at gmail.com
Thu Feb 16 03:37:10 EST 2017


On Wed, Feb 15, 2017 at 9:44 AM, Raul Benitez <rbenitez at paraguayeduca.org>
wrote:

> It is the Paint-65 activity preinstalled in SoaS 25. The functionalities
> of the Paint activity should work for a training of teachers.
>
> Regards!
> Raúl Benítez
>
> 2017-02-15 11:36 GMT-03:00 <soas-request at lists.sugarlabs.org>:
>
>> Send SoaS mailing list submissions to
>>         soas at lists.sugarlabs.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.sugarlabs.org/listinfo/soas
>> or, via email, send a message with subject or body 'help' to
>>         soas-request at lists.sugarlabs.org
>>
>> You can reach the person managing the list at
>>         soas-owner at lists.sugarlabs.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of SoaS digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: SoaS Digest, Vol 67, Issue 2 (Walter Bender)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 15 Feb 2017 09:31:07 -0500
>> From: Walter Bender <walter.bender at gmail.com>
>> To: Development of live Sugar distributions <soas at lists.sugarlabs.org>
>> Subject: Re: [SoaS] SoaS Digest, Vol 67, Issue 2
>> Message-ID:
>>         <CADf7C8vUD=jKw_7Pdxo+SX8MZUtJ+wQd+zgGvT8OuAWDhB34Ew at mail.
>> gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> On Wed, Feb 15, 2017 at 7:50 AM, Raul Benitez <rbenitez at paraguayeduca.org
>> >
>> wrote:
>>
>> > I placing the exceptions in parenthesis makes the activity run.
>> >
>> > *except (GObject.GError, TypeError):*
>> >
>> > *Text functionality does not work.* The letters are not shown on the
>> > screen when typing from the keyboard.
>> >
>> > In the log only the coordinates of the mouse click appear but no error
>> > that helps me to solve it.
>> >
>> > Any suggestions?
>> >
>> >
>> > Raúl Benítez
>> > Regards!
>> >
>>
>
Raul,

Quozl pushed  a patch for this bug which I just reviewed and merged:

https://github.com/sugarlabs/paint-activity/pull/19

regards.

-walter

>
>> Could you please provide a bit more context? Which activity? What are you
>> trying to do with the activity?
>>
>> regards.
>>
>> -walter
>>
>> >
>> > 2017-02-10 14:00 GMT-03:00 <soas-request at lists.sugarlabs.org>:
>> >
>> >> Send SoaS mailing list submissions to
>> >>         soas at lists.sugarlabs.org
>> >>
>> >> To subscribe or unsubscribe via the World Wide Web, visit
>> >>         http://lists.sugarlabs.org/listinfo/soas
>> >> or, via email, send a message with subject or body 'help' to
>> >>         soas-request at lists.sugarlabs.org
>> >>
>> >> You can reach the person managing the list at
>> >>         soas-owner at lists.sugarlabs.org
>> >>
>> >> When replying, please edit your Subject line so it is more specific
>> >> than "Re: Contents of SoaS digest..."
>> >>
>> >>
>> >> Today's Topics:
>> >>
>> >>    1. Re: SoaS Digest, Vol 67, Issue 1 (Raul Benitez)
>> >>    2. Re: SoaS Digest, Vol 67, Issue 1 (Walter Bender)
>> >>
>> >>
>> >> ----------------------------------------------------------------------
>> >>
>> >> Message: 1
>> >> Date: Thu, 9 Feb 2017 14:39:01 -0300
>> >> From: Raul Benitez <rbenitez at paraguayeduca.org>
>> >> To: soas at lists.sugarlabs.org
>> >> Subject: Re: [SoaS] SoaS Digest, Vol 67, Issue 1
>> >> Message-ID:
>> >>         <CAJUdHc2Yvq90W3ChWsZPVcY4gHH7r7FoiYyq_Z1=0v8NjDUtnw at mail.gm
>> >> ail.com>
>> >> Content-Type: text/plain; charset="utf-8"
>> >>
>> >> Yes, I need direction and assistance to be able to debug and fix it
>> >> myself,
>> >> please.
>> >>
>> >> Regards!
>> >> Raul Benitez
>> >>
>> >>
>> >> 2017-02-09 14:00 GMT-03:00 <soas-request at lists.sugarlabs.org>:
>> >>
>> >> > Send SoaS mailing list submissions to
>> >> >         soas at lists.sugarlabs.org
>> >> >
>> >> > To subscribe or unsubscribe via the World Wide Web, visit
>> >> >         http://lists.sugarlabs.org/listinfo/soas
>> >> > or, via email, send a message with subject or body 'help' to
>> >> >         soas-request at lists.sugarlabs.org
>> >> >
>> >> > You can reach the person managing the list at
>> >> >         soas-owner at lists.sugarlabs.org
>> >> >
>> >> > When replying, please edit your Subject line so it is more specific
>> >> > than "Re: Contents of SoaS digest..."
>> >> >
>> >> >
>> >> > Today's Topics:
>> >> >
>> >> >    1. Paint-65 activity (Raul Benitez)
>> >> >    2. Re: Paint-65 activity (Peter Robinson)
>> >> >
>> >> >
>> >> > ------------------------------------------------------------
>> ----------
>> >> >
>> >> > Message: 1
>> >> > Date: Wed, 8 Feb 2017 17:02:16 -0300
>> >> > From: Raul Benitez <rbenitez at paraguayeduca.org>
>> >> > To: soas at lists.sugarlabs.org
>> >> > Subject: [SoaS] Paint-65 activity
>> >> > Message-ID:
>> >> >         <CAJUdHc1_8uA0wk5AVt-EeoeaNuj+W5=fT=bZ3F_VqMhg6mX5Eg at mail.
>> >> > gmail.com>
>> >> > Content-Type: text/plain; charset="utf-8"
>> >> >
>> >> > Hi all
>> >> >
>> >> >
>> >> > In Fedora SoaS 25 the Paint-65 activity does not work. The last
>> lines of
>> >> > the error log is:
>> >> >
>> >> > *File "/usr/share/sugar/activities/Paint.activity/Area.py", line
>> 1754,
>> >> in
>> >> > set_tool_cursor*
>> >> > *    cursor = Gdk.Cursor.new_from_name(display, name)*
>> >> > *TypeError: constructor returned NULL*
>> >> >
>> >> > I need to make it work for the start of school classes.
>> >> >
>> >> >
>> >> > Thanks!
>> >> >
>> >> > --
>> >> > -------------- next part --------------
>> >> > An HTML attachment was scrubbed...
>> >> > URL: <http://lists.sugarlabs.org/archive/soas/attachments/
>> >> > 20170208/be7ba671/attachment-0001.html>
>> >> >
>> >> > ------------------------------
>> >> >
>> >> > Message: 2
>> >> > Date: Wed, 8 Feb 2017 22:40:35 +0000
>> >> > From: Peter Robinson <pbrobinson at gmail.com>
>> >> > To: Development of live Sugar distributions <
>> soas at lists.sugarlabs.org>
>> >> > Subject: Re: [SoaS] Paint-65 activity
>> >> > Message-ID:
>> >> >         <CALeDE9PcL1K6tyZeviO5PQTSKzHotC6AiY1ZKozRnrS=zoUrpA at mail.
>> >> > gmail.com>
>> >> > Content-Type: text/plain; charset="utf-8"
>> >> >
>> >> > On Wed, Feb 8, 2017 at 8:02 PM, Raul Benitez <
>> >> rbenitez at paraguayeduca.org>
>> >> > wrote:
>> >> >
>> >> > > Hi all
>> >> > >
>> >> > >
>> >> > > In Fedora SoaS 25 the Paint-65 activity does not work. The last
>> lines
>> >> of
>> >> > > the error log is:
>> >> > >
>> >> > > *File "/usr/share/sugar/activities/Paint.activity/Area.py", line
>> >> 1754,
>> >> > in
>> >> > > set_tool_cursor*
>> >> > > *    cursor = Gdk.Cursor.new_from_name(display, name)*
>> >> > > *TypeError: constructor returned NULL*
>> >> > >
>> >> > > I need to make it work for the start of school classes.
>> >> > >
>> >> >
>> >> > Do you need direction and assistance so you can debug it to fix it
>> >> yourself
>> >> > or do you just want someone to fix it?
>> >> >
>> >> > Peter
>> >> > -------------- next part --------------
>> >> > An HTML attachment was scrubbed...
>> >> > URL: <http://lists.sugarlabs.org/archive/soas/attachments/
>> >> > 20170208/36d1394b/attachment-0001.html>
>> >> >
>> >> > ------------------------------
>> >> >
>> >> > Subject: Digest Footer
>> >> >
>> >> > _______________________________________________
>> >> > SoaS mailing list
>> >> > SoaS at lists.sugarlabs.org
>> >> > http://lists.sugarlabs.org/listinfo/soas
>> >> >
>> >> >
>> >> > ------------------------------
>> >> >
>> >> > End of SoaS Digest, Vol 67, Issue 1
>> >> > ***********************************
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> -------------- next part --------------
>> >> An HTML attachment was scrubbed...
>> >> URL: <http://lists.sugarlabs.org/archive/soas/attachments/2017020
>> >> 9/1cd00fad/attachment-0001.html>
>> >>
>> >> ------------------------------
>> >>
>> >> Message: 2
>> >> Date: Thu, 9 Feb 2017 13:05:48 -0500
>> >> From: Walter Bender <walter.bender at gmail.com>
>> >> To: Development of live Sugar distributions <soas at lists.sugarlabs.org>
>> >> Subject: Re: [SoaS] SoaS Digest, Vol 67, Issue 1
>> >> Message-ID:
>> >>         <CADf7C8vPYVUjET2vWVPFrttGg8VnNxjx6cUHzbOGwmThe5FPgw at mail.gm
>> >> ail.com>
>> >> Content-Type: text/plain; charset="utf-8"
>> >>
>> >> Quozl submitted a patch to fix the problem:
>> >>
>> >> https://github.com/sugarlabs/paint-activity/commit/7e7462351
>> >> 3fa170fb568f149a703cfc489965ebf
>> >>
>> >> regards.
>> >>
>> >> -walter
>> >>
>> >> On Thu, Feb 9, 2017 at 12:39 PM, Raul Benitez <
>> rbenitez at paraguayeduca.org
>> >> >
>> >> wrote:
>> >>
>> >> > Yes, I need direction and assistance to be able to debug and fix it
>> >> > myself, please.
>> >> >
>> >> > Regards!
>> >> > Raul Benitez
>> >> >
>> >> >
>> >> > 2017-02-09 14:00 GMT-03:00 <soas-request at lists.sugarlabs.org>:
>> >> >
>> >> >> Send SoaS mailing list submissions to
>> >> >>         soas at lists.sugarlabs.org
>> >> >>
>> >> >> To subscribe or unsubscribe via the World Wide Web, visit
>> >> >>         http://lists.sugarlabs.org/listinfo/soas
>> >> >> or, via email, send a message with subject or body 'help' to
>> >> >>         soas-request at lists.sugarlabs.org
>> >> >>
>> >> >> You can reach the person managing the list at
>> >> >>         soas-owner at lists.sugarlabs.org
>> >> >>
>> >> >> When replying, please edit your Subject line so it is more specific
>> >> >> than "Re: Contents of SoaS digest..."
>> >> >>
>> >> >>
>> >> >> Today's Topics:
>> >> >>
>> >> >>    1. Paint-65 activity (Raul Benitez)
>> >> >>    2. Re: Paint-65 activity (Peter Robinson)
>> >> >>
>> >> >>
>> >> >> ------------------------------------------------------------
>> ----------
>> >> >>
>> >> >> Message: 1
>> >> >> Date: Wed, 8 Feb 2017 17:02:16 -0300
>> >> >> From: Raul Benitez <rbenitez at paraguayeduca.org>
>> >> >> To: soas at lists.sugarlabs.org
>> >> >> Subject: [SoaS] Paint-65 activity
>> >> >> Message-ID:
>> >> >>         <CAJUdHc1_8uA0wk5AVt-EeoeaNuj+W5=fT=bZ3F_
>> VqMhg6mX5Eg at mail.gm
>> >> >> ail.com>
>> >> >> Content-Type: text/plain; charset="utf-8"
>> >> >>
>> >> >> Hi all
>> >> >>
>> >> >>
>> >> >> In Fedora SoaS 25 the Paint-65 activity does not work. The last
>> lines
>> >> of
>> >> >> the error log is:
>> >> >>
>> >> >> *File "/usr/share/sugar/activities/Paint.activity/Area.py", line
>> >> 1754, in
>> >> >> set_tool_cursor*
>> >> >> *    cursor = Gdk.Cursor.new_from_name(display, name)*
>> >> >> *TypeError: constructor returned NULL*
>> >> >>
>> >> >> I need to make it work for the start of school classes.
>> >> >>
>> >> >>
>> >> >> Thanks!
>> >> >>
>> >> >> --
>> >> >> -------------- next part --------------
>> >> >> An HTML attachment was scrubbed...
>> >> >> URL: <http://lists.sugarlabs.org/archive/soas/attachments/2017020
>> >> >> 8/be7ba671/attachment-0001.html>
>> >> >>
>> >> >> ------------------------------
>> >> >>
>> >> >> Message: 2
>> >> >> Date: Wed, 8 Feb 2017 22:40:35 +0000
>> >> >> From: Peter Robinson <pbrobinson at gmail.com>
>> >> >> To: Development of live Sugar distributions <
>> soas at lists.sugarlabs.org>
>> >> >> Subject: Re: [SoaS] Paint-65 activity
>> >> >> Message-ID:
>> >> >>         <CALeDE9PcL1K6tyZeviO5PQTSKzHotC6AiY1ZKozRnrS=zoUrpA at mail.
>> gm
>> >> >> ail.com>
>> >> >> Content-Type: text/plain; charset="utf-8"
>> >> >>
>> >> >> On Wed, Feb 8, 2017 at 8:02 PM, Raul Benitez <
>> >> rbenitez at paraguayeduca.org>
>> >> >> wrote:
>> >> >>
>> >> >> > Hi all
>> >> >> >
>> >> >> >
>> >> >> > In Fedora SoaS 25 the Paint-65 activity does not work. The last
>> >> lines of
>> >> >> > the error log is:
>> >> >> >
>> >> >> > *File "/usr/share/sugar/activities/Paint.activity/Area.py", line
>> >> 1754,
>> >> >> in
>> >> >> > set_tool_cursor*
>> >> >> > *    cursor = Gdk.Cursor.new_from_name(display, name)*
>> >> >> > *TypeError: constructor returned NULL*
>> >> >> >
>> >> >> > I need to make it work for the start of school classes.
>> >> >> >
>> >> >>
>> >> >> Do you need direction and assistance so you can debug it to fix it
>> >> >> yourself
>> >> >> or do you just want someone to fix it?
>> >> >>
>> >> >> Peter
>> >> >> -------------- next part --------------
>> >> >> An HTML attachment was scrubbed...
>> >> >> URL: <http://lists.sugarlabs.org/archive/soas/attachments/2017020
>> >> >> 8/36d1394b/attachment-0001.html>
>> >> >>
>> >> >> ------------------------------
>> >> >>
>> >> >> Subject: Digest Footer
>> >> >>
>> >> >> _______________________________________________
>> >> >> SoaS mailing list
>> >> >> SoaS at lists.sugarlabs.org
>> >> >> http://lists.sugarlabs.org/listinfo/soas
>> >> >>
>> >> >>
>> >> >> ------------------------------
>> >> >>
>> >> >> End of SoaS Digest, Vol 67, Issue 1
>> >> >> ***********************************
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > SoaS mailing list
>> >> > SoaS at lists.sugarlabs.org
>> >> > http://lists.sugarlabs.org/listinfo/soas
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> Walter Bender
>> >> Sugar Labs
>> >> http://www.sugarlabs.org
>> >> <http://www.sugarlabs.org>
>> >> -------------- next part --------------
>> >> An HTML attachment was scrubbed...
>> >> URL: <http://lists.sugarlabs.org/archive/soas/attachments/2017020
>> >> 9/8d7bf60b/attachment-0001.html>
>> >>
>> >> ------------------------------
>> >>
>> >> Subject: Digest Footer
>> >>
>> >> _______________________________________________
>> >> SoaS mailing list
>> >> SoaS at lists.sugarlabs.org
>> >> http://lists.sugarlabs.org/listinfo/soas
>> >>
>> >>
>> >> ------------------------------
>> >>
>> >> End of SoaS Digest, Vol 67, Issue 2
>> >> ***********************************
>> >>
>> >
>> >
>> >
>> > --
>> >
>> >
>> > _______________________________________________
>> > SoaS mailing list
>> > SoaS at lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/soas
>> >
>> >
>>
>>
>> --
>> Walter Bender
>> Sugar Labs
>> http://www.sugarlabs.org
>> <http://www.sugarlabs.org>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.sugarlabs.org/archive/soas/attachments/2017021
>> 5/8ce1f98d/attachment.html>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> SoaS mailing list
>> SoaS at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/soas
>>
>>
>> ------------------------------
>>
>> End of SoaS Digest, Vol 67, Issue 4
>> ***********************************
>>
>
>
>
> --
>
>
> _______________________________________________
> SoaS mailing list
> SoaS at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/soas
>
>


-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
<http://www.sugarlabs.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/soas/attachments/20170216/292d9516/attachment-0001.html>


More information about the SoaS mailing list