[Sugar-devel] Problem starting working with browse-activity

James Cameron quozl at laptop.org
Fri Mar 13 17:06:43 EDT 2020


The Download button does not do anything until a download begins;
you'll see that in the source code.

Work with the Python 3 branch by using the master branch, combined
with Sugar 0.116.

On Fri, Mar 13, 2020 at 05:35:16PM +0530, Hitesh Shejwani wrote:
> Thanks for the response James. 
> 
> I saw that when I clicked on the Download button in the browser, it didn't do
> anything. So I thought to add something to it. 
> 
> How do I work with the Python 3 branch? 
> 
> On Fri, Mar 13, 2020, 1:00 PM James Cameron <[1]quozl at laptop.org> wrote:
> 
>     Welcome Hitesh.
> 
>     urllib.request is a Python 3 module.
> 
>     Browse master branch has been ported to Python 3, and requires Sugar
>     0.116, which in turn includes sugar-activity3.  Browse file
>     activity/[2]activity.info specifies sugar-activity3.
> 
>     If you wish to use the Python 2 version of Browse, use the branch
>     python2.
> 
>     Work on Browse is best done on the master branch unless you have a
>     good reason to work on Python 2.  I don't know why you are trying to
>     work on Browse, so I can't deduce your needs.
> 
>     On Fri, Mar 13, 2020 at 12:40:09PM +0530, Hitesh Shejwani wrote:
>     > Hello,
>     >
>     > I am trying to work on the browse-activity. I cloned the repo on my VM
>     and
>     > installed sugar for Ubuntu. When I try to start the activity with
>     > sugar-activity browser.py, it throws an error with traceback
>     >
>     > import urllib.request
>     > ImportError: No module named request
>     >
>     > I am using Ubuntu 18.04. I tried using sugar-activity3 but it was not
>     found.
> 
>     > _______________________________________________
>     > Sugar-devel mailing list
>     > [3]Sugar-devel at lists.sugarlabs.org
>     > [4]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
>     --
>     James Cameron
>     [5]http://quozl.netrek.org/
> 
> References:
> 
> [1] mailto:quozl at laptop.org
> [2] http://activity.info/
> [3] mailto:Sugar-devel at lists.sugarlabs.org
> [4] http://lists.sugarlabs.org/listinfo/sugar-devel
> [5] http://quozl.netrek.org/

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


More information about the Sugar-devel mailing list