<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="Noto Sans">Oops, you got the wrong sucrose.</font></p>
<p><font face="Noto Sans">sucrose is not distributed on pypi, i.e,
PIP. On ubuntu 18.04, the suggested method is to build sugar
development environment, I guess you missed that part; <br>
</font></p>
<p><font face="Noto Sans">The latest version of sugar repository is
not available on Bionic Beaver (18.04). See
<a class="moz-txt-link-freetext" href="https://pkgs.org/search/?q=sucrose">https://pkgs.org/search/?q=sucrose</a>; So that means you have to
build it, to make it work!<br>
</font></p>
<p><font face="Noto Sans">But, its simple, but make sure you follow
all the instructions carefully; in case you miss one step, the
rest of them goes awry.<br>
</font></p>
<p><font face="Noto Sans"><a class="moz-txt-link-freetext" href="https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md#native-sugar">https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md#native-sugar</a></font></p>
<p><font face="Noto Sans">Let me know if you face any issues in
between the steps<br>
</font></p>
<div class="moz-cite-prefix">On 08/06/2020 21:18, Tushar Gupta
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM07WGmGJWkZA6nFAr_DvtP=EYXUnBFDt=qxMpc421DwXFqsnQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">Just a quick question, I am using ubuntu 18.04
<div dir="auto"><br>
</div>
<div dir="auto">I pip installed sucrose</div>
<div dir="auto">Cloned the repo somewhere on ubuntu</div>
<div dir="auto">Then navigated to the cloned repo, ran python
main.py dev </div>
<div dir="auto">Re-login with sugar And changes will be
reflected in sugar ?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks !</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Jun 8, 2020, 11:03 PM
Srevin Saju <<a href="mailto:srevinsaju@sugarlabs.org"
moz-do-not-send="true">srevinsaju@sugarlabs.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello
Tushar,<br>
<br>
Great to hear you have setup the development environment<br>
<br>
To port stick-hero-activity, you may follow these steps if you
are not <br>
using a VM. These steps are pretty simple, (there might be
other <br>
methods, but if you are beginning development, you may prefer
this method)<br>
<br>
* Clone a local copy of stick-hero-activity: `git clone <br>
<a href="https://github.com/sugarlabs/stick-hero-activity"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://github.com/sugarlabs/stick-hero-activity`</a><br>
<br>
* Create a `branch` so that you can revert any time, in case
you make a <br>
mistake, and also reviews would be easier, and your patch
could get <br>
merged faster. `git branch tushar-fixes`<br>
<br>
* Checkout the branch : `git checkout tushar-fixes`<br>
<br>
* Now, there are many different ways to do this step, i.e
setting it up <br>
for development, but I prefer this: `python setup.py dev`, or
`python3 <br>
setup.py dev`; In case you are porting it to python3, port the
setup.py <br>
first so that you can test it. This will create 'symlinks' to
the <br>
'~/Activities' folder, so if you make changes to the cloned
activity, <br>
then your changes will get reflected (almost) immediately<br>
<br>
* Log out your system, Log In to sugar: see <br>
<a
href="https://github.com/sugarlabs/sugar-docs/blob/master/src/sugar-logging-in.md"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://github.com/sugarlabs/sugar-docs/blob/master/src/sugar-logging-in.md</a><br>
<br>
* You are likely to see your activity in the spiral view. (do
not see it?)<br>
<br>
* You can check the logs your activity produces using the
Log.Activity <br>
(<a href="https://github.com/sugarlabs/log-activity"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://github.com/sugarlabs/log-activity</a>)
, alternatively, use the <br>
Terminal Activity (<a
href="https://github.com/sugarlabs/terminal-activity"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://github.com/sugarlabs/terminal-activity</a>),
<br>
change your directory to `~/Activities/StickHero.Activity` and
then run <br>
`sugar-activity3`, this will launch your activity. After you
close your <br>
activity, you can see the logs in the Terminal itself.<br>
<br>
Hope I did not complicate things. if you have any more
questions, you <br>
can join #sugar on IRC <br>
(<a href="https://wiki.sugarlabs.org/go/Internet_Relay_Chat"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://wiki.sugarlabs.org/go/Internet_Relay_Chat</a>)
. we will try to <br>
help you out,<br>
<br>
-- <br>
V/r<br>
Srevin Saju<br>
<br>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
V/r
Srevin Saju</pre>
</body>
</html>