Re: [Sugar-devel] GCI Porting task

2020-01-22 Thread James Cameron
Well done!

On Thu, Jan 23, 2020 at 03:26:18PM +0800, Abhay Malik wrote:
> [1]https://github.com/sugarlabs/tuxpaint-wrapper-activity/pull/4, [2]https://
> github.com/sugarlabs/sugar-commander/pull/7. i ported this two repos for this
> task (I ported these two repos while I was waiting for my task to get 
> reviewed)
> and both these repos got merged into the master branch,
> so for this task can i basically port 3 repos, out of which 2 of them just got
> merged today into the master branch (the above repos) and this one which im
> currently working on that includes telepathy ([3]https://github.com/sugarlabs/
> reflect/pull/13/files)
> 
> References:
> 
> [1] https://github.com/sugarlabs/tuxpaint-wrapper-activity/pull/4
> [2] https://github.com/sugarlabs/sugar-commander/pull/7
> [3] https://github.com/sugarlabs/reflect/pull/13/files

-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] GCI Porting task

2020-01-22 Thread Abhay Malik
https://github.com/sugarlabs/tuxpaint-wrapper-activity/pull/4 
, 
https://github.com/sugarlabs/sugar-commander/pull/7 
. i ported this two repos 
for this task (I ported these two repos while I was waiting for my task to get 
reviewed) and both these repos got merged into the master branch,
so for this task can i basically port 3 repos, out of which 2 of them just got 
merged today into the master branch (the above repos) and this one which im 
currently working on that includes telepathy 
(https://github.com/sugarlabs/reflect/pull/13/files 
)___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GCI Port to python3

2020-01-22 Thread James Cameron
Yes, it is very difficult.  Thanks for trying.  I've approved your
task now based on other work you did that wasn't part of a task.

If you'd like to learn about Telepathy, the best places are the
documentation and the source code.

On Thu, Jan 23, 2020 at 12:27:51AM +0800, Abhay Malik wrote:
> I am not good at the porting telepathy stuff, I don’t get what I have to do. 
> This is something which I need to understand more, so can you kindly help me.
> 
> Thanks,
> Abhay

-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [RELEASE] Abacus-61

2020-01-22 Thread James Cameron
Abacuse-61 is released.

* New translations (Chris Leonard et al),
* Port to Python 3 (Rahul Bothra),
* Update README.md (James Cameron),
* Fixing files for deployment of ASLOv3 (Vipul Gupta),
* Add screenshots and update metadata (Ashnidh),

Requires Sugar 0.116 or later.

Downloads;

https://download.sugarlabs.org/sources/honey/Abacus/Abacus-61.tar.bz2
https://github.com/sugarlabs/activity-abacus/releases/tag/v61

-- 
James Cameron
http://quozl.netrek.org/


signature.asc
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Contribution to SUGARLABS

2020-01-22 Thread James Cameron
Sorry, I don't remember.

You should really figure this out yourself, as it is a question for
Ubuntu or GTK communities, not Sugar.

However, to get you moving;

1.  what is failing for you is `python2 -c "import gtk"`,

2.  on an Ubuntu 18.04 VM in my lab, the above command works, but
there is no list of which packages were used,

3.  using strace and dpkg to list the packages used;

```
guest@guest:~$ DISPLAY=:0 strace -o tmp -e openat python2 -c 'import gtk'
guest@guest:~$ dpkg -S $(grep gtk tmp|grep -v ENOENT|cut -f2 -d'"'|sort|uniq) 
2>/dev/null|cut -f1 -d:|sort|uniq
language-pack-gnome-en-base
libgtk2.0-0
python-gobject-2
python-gtk2
```

Tracing the dependencies between each package suggests python-gtk2 is
the package to install.  I've not tested this.

What package did you try to install?  What happened when you tried?

Please, don't call me Sir.

On Thu, Jan 23, 2020 at 09:29:27AM +0530, Abhishek Tanwar wrote:
> Hello,
> 
> Sir I tried installing GTK+2 but it seems it didn't get installed . I am using
> Ubuntu 18.04 on my VM.
> It would be great if you could help me with the installation of GTK+2 (command
> or the source from where I can install it with steps).
> 
> Thank You
> 
> On Thu, Jan 23, 2020 at 8:51 AM James Cameron <[1]qu...@laptop.org> wrote:
> 
> You haven't got GTK 2 installed yet, on your VM.  I can't be specific
> about how to install it, because I don't know what operating system
> you are using in the VM.
> 
> Immediately after that, you will also face
> [2]https://github.com/sugarlabs/arithmetic/issues/3
> 
> On Thu, Jan 23, 2020 at 04:26:48AM +0530, Abhishek Tanwar wrote:
> > I am trying to port the Arithmetic activity to GTK+3 . I downloaded the
> > repository and ran it (GTK version) so that I can see the interface and
> make
> > the same using GTK+3 but it doesnt work.
> > Here are the logs when I run this activity on my sugar desktop on my VM.
> > I am not able to understand the errors,if anyone could show me the
> direction
> > .It would be much appreciated.
> >
> > Thank You
> >
> > 
> > Python 2.7.17: /usr/bin/python
> > Thu Jan 23 04:13:18 2020
> >
> > A problem occurred in a Python script.  Here is the sequence of
> > function calls leading up to the error, in the order they occurred.
> >
> >  /usr/bin/sugar-activity in ()
> >   215
> >   216     if hasattr(instance, 'run_main_loop'):
> >   217         instance.run_main_loop()
> >   218
> >   219 main()
> > main = 
> >
> >  /usr/bin/sugar-activity in main()
> >   161     class_name = splitted_module[1]
> >   162
> >   163     module = __import__(module_name)
> >   164     for comp in module_name.split('.')[1:]:
> >   165         module = getattr(module, comp)
> > module undefined
> > builtin__import__ = 
> > module_name = 'arithmetic'
> >
> >  /usr/share/sugar/activities/Arithmetic.activity/arithmetic.py in
> ()
> >    15
> >    16 import logging
> >    17 import gtk
> >    18 import pango
> >    19 import random
> > gtk undefined
> > : No module named gtk
> >     __class__ = 
> >     __delattr__ =  exceptions.ImportError
> > object>
> >     __dict__ = {}
> >     __doc__ = "Import can't find module, or can't find name in module."
> >     __format__ =  object>
> >     __getattribute__ =  > exceptions.ImportError object>
> >     __getitem__ =  exceptions.ImportError
> > object>
> >     __getslice__ =  exceptions.ImportError
> > object>
> >     __hash__ =  object>
> >     __init__ =  object>
> >     __new__ = 
> >     __reduce__ =  object>
> >     __reduce_ex__ =  exceptions.ImportError
> > object>
> >     __repr__ =  object>
> >     __setattr__ =  exceptions.ImportError
> > object>
> >     __setstate__ =  exceptions.ImportError
> > object>
> >     __sizeof__ =  object>
> >     __str__ =  object>
> >     __subclasshook__ = 
> >     __unicode__ =  > object>
> >     args = ('No module named gtk',)
> >     message = 'No module named gtk'
> >
> > The above is a description of an error in a Python program.  Here is
> > the original traceback:
> >
> > Traceback (most recent call last):
> >   File "/usr/bin/sugar-activity", line 219, in 
> >     main()
> >   File "/usr/bin/sugar-activity", line 163, in main
> >     module = __import__(module_name)
> >   File "/usr/share/sugar/activities/Arithmetic.activity/arithmetic.py",
> line
> > 17, in 
> >     import gtk
> > ImportError: No module named gtk
> >
> > Exited with status 1, pid 1675 data (', mode 'w' at
> > 0x7f28d7dbc780>, 'e1df43f3e9571a85b2dc8b025ba334c83eff39ea')
> >
> > On Tue, Jan 21, 2020 at 6:52 PM Walter Bender <[1][3]
> 

Re: [Sugar-devel] Contribution to SUGARLABS

2020-01-22 Thread Abhishek Tanwar
Hello,

Sir I tried installing GTK+2 but it seems it didn't get installed . I am
using Ubuntu 18.04 on my VM.
It would be great if you could help me with the installation of GTK+2
(command or the source from where I can install it with steps).

Thank You

On Thu, Jan 23, 2020 at 8:51 AM James Cameron  wrote:

> You haven't got GTK 2 installed yet, on your VM.  I can't be specific
> about how to install it, because I don't know what operating system
> you are using in the VM.
>
> Immediately after that, you will also face
> https://github.com/sugarlabs/arithmetic/issues/3
>
> On Thu, Jan 23, 2020 at 04:26:48AM +0530, Abhishek Tanwar wrote:
> > I am trying to port the Arithmetic activity to GTK+3 . I downloaded the
> > repository and ran it (GTK version) so that I can see the interface and
> make
> > the same using GTK+3 but it doesnt work.
> > Here are the logs when I run this activity on my sugar desktop on my VM.
> > I am not able to understand the errors,if anyone could show me the
> direction
> > .It would be much appreciated.
> >
> > Thank You
> >
> > 
> > Python 2.7.17: /usr/bin/python
> > Thu Jan 23 04:13:18 2020
> >
> > A problem occurred in a Python script.  Here is the sequence of
> > function calls leading up to the error, in the order they occurred.
> >
> >  /usr/bin/sugar-activity in ()
> >   215
> >   216 if hasattr(instance, 'run_main_loop'):
> >   217 instance.run_main_loop()
> >   218
> >   219 main()
> > main = 
> >
> >  /usr/bin/sugar-activity in main()
> >   161 class_name = splitted_module[1]
> >   162
> >   163 module = __import__(module_name)
> >   164 for comp in module_name.split('.')[1:]:
> >   165 module = getattr(module, comp)
> > module undefined
> > builtin__import__ = 
> > module_name = 'arithmetic'
> >
> >  /usr/share/sugar/activities/Arithmetic.activity/arithmetic.py in
> ()
> >15
> >16 import logging
> >17 import gtk
> >18 import pango
> >19 import random
> > gtk undefined
> > : No module named gtk
> > __class__ = 
> > __delattr__ =  > object>
> > __dict__ = {}
> > __doc__ = "Import can't find module, or can't find name in module."
> > __format__ =  object>
> > __getattribute__ =  > exceptions.ImportError object>
> > __getitem__ =  > object>
> > __getslice__ =  exceptions.ImportError
> > object>
> > __hash__ =  object>
> > __init__ =  object>
> > __new__ = 
> > __reduce__ =  object>
> > __reduce_ex__ =  exceptions.ImportError
> > object>
> > __repr__ =  object>
> > __setattr__ =  > object>
> > __setstate__ =  exceptions.ImportError
> > object>
> > __sizeof__ =  object>
> > __str__ = 
> > __subclasshook__ = 
> > __unicode__ =  > object>
> > args = ('No module named gtk',)
> > message = 'No module named gtk'
> >
> > The above is a description of an error in a Python program.  Here is
> > the original traceback:
> >
> > Traceback (most recent call last):
> >   File "/usr/bin/sugar-activity", line 219, in 
> > main()
> >   File "/usr/bin/sugar-activity", line 163, in main
> > module = __import__(module_name)
> >   File "/usr/share/sugar/activities/Arithmetic.activity/arithmetic.py",
> line
> > 17, in 
> > import gtk
> > ImportError: No module named gtk
> >
> > Exited with status 1, pid 1675 data (', mode 'w' at
> > 0x7f28d7dbc780>, 'e1df43f3e9571a85b2dc8b025ba334c83eff39ea')
> >
> > On Tue, Jan 21, 2020 at 6:52 PM Walter Bender <[1]
> walter.ben...@gmail.com>
> > wrote:
> >
> > On Tue, Jan 21, 2020 at 6:15 AM Abhishek Tanwar <[2]
> > abhishektanwar...@gmail.com> wrote:
> >
> > Hello sir
> > Thank you for your response and valuable information . I have
> found these
> > [3]https://github.com/sugarlabs/arithmetic/issues/4 and
> > [4]https://github.com/sugarlabs/Bounce
> > activities and I feel comfortable with the code and I want to
> port this
> > activity to GTK +3.
> >
> > Is there any certain procedure that I am supposed to follow in
> order to
> > contribute to these two tasks or can I straight away start with
> it.
> >
> > [5]
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md
> >  should have all the information you need.
> >
> > regards.
> >
> > -walter
> >
> > Thank you
> >
> > ___
> > Sugar-devel mailing list
> > [6]Sugar-devel@lists.sugarlabs.org
> > [7]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > --
> > Walter Bender
> > Sugar Labs
> > [8]http://www.sugarlabs.org
> > [9]
> >
> > References:
> >
> > [1] mailto:walter.ben...@gmail.com
> > [2] mailto:abhishektanwar...@gmail.com
> > [3] https://github.com/sugarlabs/arithmetic/issues/4
> > [4] https://github.com/sugarlabs/Bounce
> > [5]
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md
> > [6] 

Re: [Sugar-devel] Contribution to SUGARLABS

2020-01-22 Thread James Cameron
You haven't got GTK 2 installed yet, on your VM.  I can't be specific
about how to install it, because I don't know what operating system
you are using in the VM.

Immediately after that, you will also face
https://github.com/sugarlabs/arithmetic/issues/3

On Thu, Jan 23, 2020 at 04:26:48AM +0530, Abhishek Tanwar wrote:
> I am trying to port the Arithmetic activity to GTK+3 . I downloaded the
> repository and ran it (GTK version) so that I can see the interface and make
> the same using GTK+3 but it doesnt work.
> Here are the logs when I run this activity on my sugar desktop on my VM.
> I am not able to understand the errors,if anyone could show me the direction
> .It would be much appreciated.
> 
> Thank You
> 
> 
> Python 2.7.17: /usr/bin/python
> Thu Jan 23 04:13:18 2020
> 
> A problem occurred in a Python script.  Here is the sequence of
> function calls leading up to the error, in the order they occurred.
> 
>  /usr/bin/sugar-activity in ()
>   215
>   216     if hasattr(instance, 'run_main_loop'):
>   217         instance.run_main_loop()
>   218
>   219 main()
> main = 
> 
>  /usr/bin/sugar-activity in main()
>   161     class_name = splitted_module[1]
>   162
>   163     module = __import__(module_name)
>   164     for comp in module_name.split('.')[1:]:
>   165         module = getattr(module, comp)
> module undefined
> builtin__import__ = 
> module_name = 'arithmetic'
> 
>  /usr/share/sugar/activities/Arithmetic.activity/arithmetic.py in ()
>    15
>    16 import logging
>    17 import gtk
>    18 import pango
>    19 import random
> gtk undefined
> : No module named gtk
>     __class__ = 
>     __delattr__ =  object>
>     __dict__ = {}
>     __doc__ = "Import can't find module, or can't find name in module."
>     __format__ = 
>     __getattribute__ =  exceptions.ImportError object>
>     __getitem__ =  object>
>     __getslice__ =  object>
>     __hash__ = 
>     __init__ = 
>     __new__ = 
>     __reduce__ = 
>     __reduce_ex__ =  object>
>     __repr__ = 
>     __setattr__ =  object>
>     __setstate__ =  object>
>     __sizeof__ = 
>     __str__ = 
>     __subclasshook__ = 
>     __unicode__ =  object>
>     args = ('No module named gtk',)
>     message = 'No module named gtk'
> 
> The above is a description of an error in a Python program.  Here is
> the original traceback:
> 
> Traceback (most recent call last):
>   File "/usr/bin/sugar-activity", line 219, in 
>     main()
>   File "/usr/bin/sugar-activity", line 163, in main
>     module = __import__(module_name)
>   File "/usr/share/sugar/activities/Arithmetic.activity/arithmetic.py", line
> 17, in 
>     import gtk
> ImportError: No module named gtk
> 
> Exited with status 1, pid 1675 data (', mode 'w' at
> 0x7f28d7dbc780>, 'e1df43f3e9571a85b2dc8b025ba334c83eff39ea')
> 
> On Tue, Jan 21, 2020 at 6:52 PM Walter Bender <[1]walter.ben...@gmail.com>
> wrote:
> 
> On Tue, Jan 21, 2020 at 6:15 AM Abhishek Tanwar <[2]
> abhishektanwar...@gmail.com> wrote:
> 
> Hello sir
> Thank you for your response and valuable information . I have found 
> these
> [3]https://github.com/sugarlabs/arithmetic/issues/4 and
> [4]https://github.com/sugarlabs/Bounce
> activities and I feel comfortable with the code and I want to port 
> this
> activity to GTK +3.
> 
> Is there any certain procedure that I am supposed to follow in order 
> to
> contribute to these two tasks or can I straight away start with it.
> 
> [5]https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md
>  should have all the information you need.
> 
> regards.
> 
> -walter
> 
> Thank you
> 
> ___
> Sugar-devel mailing list
> [6]Sugar-devel@lists.sugarlabs.org
> [7]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> --
> Walter Bender
> Sugar Labs
> [8]http://www.sugarlabs.org
> [9]
> 
> References:
> 
> [1] mailto:walter.ben...@gmail.com
> [2] mailto:abhishektanwar...@gmail.com
> [3] https://github.com/sugarlabs/arithmetic/issues/4
> [4] https://github.com/sugarlabs/Bounce
> [5] https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md
> [6] mailto:Sugar-devel@lists.sugarlabs.org
> [7] http://lists.sugarlabs.org/listinfo/sugar-devel
> [8] http://www.sugarlabs.org/
> [9] http://www.sugarlabs.org/


> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Contribution to SUGARLABS

2020-01-22 Thread Abhishek Tanwar
I am trying to port the Arithmetic activity to GTK+3 . I downloaded the
repository and ran it (GTK version) so that I can see the interface and
make the same using GTK+3 but it doesnt work.
Here are the logs when I run this activity on my sugar desktop on my VM.
I am not able to understand the errors,if anyone could show me the
direction .It would be much appreciated.

Thank You


Python 2.7.17: /usr/bin/python
Thu Jan 23 04:13:18 2020

A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.

 /usr/bin/sugar-activity in ()
  215
  216 if hasattr(instance, 'run_main_loop'):
  217 instance.run_main_loop()
  218
  219 main()
main = 

 /usr/bin/sugar-activity in main()
  161 class_name = splitted_module[1]
  162
  163 module = __import__(module_name)
  164 for comp in module_name.split('.')[1:]:
  165 module = getattr(module, comp)
module undefined
builtin__import__ = 
module_name = 'arithmetic'

 /usr/share/sugar/activities/Arithmetic.activity/arithmetic.py in ()
   15
   16 import logging
   17 import gtk
   18 import pango
   19 import random
gtk undefined
: No module named gtk
__class__ = 
__delattr__ = 
__dict__ = {}
__doc__ = "Import can't find module, or can't find name in module."
__format__ = 
__getattribute__ = 
__getitem__ = 
__getslice__ = 
__hash__ = 
__init__ = 
__new__ = 
__reduce__ = 
__reduce_ex__ = 
__repr__ = 
__setattr__ = 
__setstate__ = 
__sizeof__ = 
__str__ = 
__subclasshook__ = 
__unicode__ = 
args = ('No module named gtk',)
message = 'No module named gtk'

The above is a description of an error in a Python program.  Here is
the original traceback:

Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 219, in 
main()
  File "/usr/bin/sugar-activity", line 163, in main
module = __import__(module_name)
  File "/usr/share/sugar/activities/Arithmetic.activity/arithmetic.py",
line 17, in 
import gtk
ImportError: No module named gtk


Exited with status 1, pid 1675 data (', mode 'w' at
0x7f28d7dbc780>, 'e1df43f3e9571a85b2dc8b025ba334c83eff39ea')

On Tue, Jan 21, 2020 at 6:52 PM Walter Bender 
wrote:

>
>
> On Tue, Jan 21, 2020 at 6:15 AM Abhishek Tanwar <
> abhishektanwar...@gmail.com> wrote:
>
>> Hello sir
>> Thank you for your response and valuable information . I have found 
>> thesehttps://github.com/sugarlabs/arithmetic/issues/4 
>> andhttps://github.com/sugarlabs/Bounce
>> activities and I feel comfortable with the code and I want to port this
>> activity to GTK +3.
>>
>> Is there any certain procedure that I am supposed to follow in order to
>> contribute to these two tasks or can I straight away start with it.
>>
>>
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md should
> have all the information you need.
>
> regards.
>
> -walter
>
>> Thank you
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> 
>


arithmetic.logs
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] GCI Port to python3

2020-01-22 Thread Abhay Malik
I am not good at the porting telepathy stuff, I don’t get what I have to do. 
This is something which I need to understand more, so can you kindly help me.

Thanks,
Abhay
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [Reminder #2] Sugar Labs Oversight Board Elections 2019-21

2020-01-22 Thread Vipul Gupta
Hello folks,
Just checking in again with a polite reminder for folks who are yet to vote
in the ongoing Sugar Labs Oversight Board (SLOB) 2019-2021 elections. The
election closes on 31st January 2020. You can find more information on the
candidates here
https://wiki.sugarlabs.org/go/Oversight_Board/2019-2021-candidates

If you are a member of Sugar Labs, you must have received a unique link to
vote from CIVS or c...@cs.cornell.edu with the options to poll for the
candidates. If you know of someone who didn't get the email and is a member
of Sugar Labs. Please do let us know, I would be happy to help you out.

Looking forward to all your hearty participation in the ongoing election.
Thanks,

Best,
Vipul Gupta
Mixster  | Github
 | Linkedin

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel