<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I have added python2-sugar support for helping out python2 based sugar activities Arch Linux. </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">It is under the filename</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">```</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(255,84,84)">sugar-toolkit2-gtk3-0.116-1-x86_64.pkg.tar.xz</span><br></span></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(255,84,84)">```</span></span></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><div class="gmail_default">Release 0.116 updated on <a href="https://github.com/srevinsaju/sugar-arch/releases/tag/0.116">https://github.com/srevinsaju/sugar-arch/releases/tag/0.116</a></div><div class="gmail_default"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 6, 2020 at 8:16 PM Srevin Saju <<a href="mailto:srevin03@gmail.com">srevin03@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Thanks Sebastian. I will remove the empy package, yes I guess its a build time dependency, but it seems like the older PKGBUILD by Ballo Gyorfy used it not as build dependency, but I wait for Quozl or someone else to confirm. I am currently adding python2 support to sugar2-toolkit-gtk3, unreleased. Thanks for testing. Hope other activities work satisfactorily.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 6, 2020 at 7:59 PM Sebastian Silva <<a href="mailto:sebastian@fuentelibre.org" target="_blank">sebastian@fuentelibre.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Okay, I was able to run Calculate from the Git repository.<br>
<br>
I suggest you to remove package python3-empy from your release, as it's<br>
a build-time dependency and it seems not to be needed for running Sugar<br>
or activities?<br>
<br>
Also the .INSTALL problem with your package seems to be unrelated to<br>
the issue you posted (but explains why you made the package).<br>
<br>
Regards,<br>
Sebastian<br>
<br>
<br>
El jue, 06-02-2020 a las 19:47 +0300, Srevin Saju escribió:<br>
> Great, thanks for the update. In this package, I have dropped support<br>
> for Python2 activities, (I have forgotten to mention that), as<br>
> python2 support has become deprecated, I have moved all the activity<br>
> support to python3, please see if any python3 based activities work<br>
> on the new system. I am currently working on Python2 support too,<br>
> will update you shortly.<br>
> <br>
> Python3 activities:<br>
> All Sugar Fructose Activities, latest sources from git<br>
> All Sugar Activities on GitHub, with Port to Python3 PR merged<br>
> Thanks again. Looking forward for more updates.<br>
> <br>
> On Thu, Feb 6, 2020 at 7:34 PM Sebastian Silva <<br>
> <a href="mailto:sebastian@fuentelibre.org" target="_blank">sebastian@fuentelibre.org</a>> wrote:<br>
> > Thanks,<br>
> > I installed the remaining packages and the native python-empy<br>
> > package.<br>
> > While Sugar starts ok, activities fail with:<br>
> > <br>
> > Traceback (most recent call last):<br>
> > File "/usr/bin/sugar-activity", line 3, in <module><br>
> > from sugar3.activity import activityinstance<br>
> > ImportError: No module named sugar3.activity<br>
> > <br>
> > Getting closer...<br>
> > Regards,<br>
> > Sebastian<br>
> > <br>
> > El jue, 06-02-2020 a las 19:16 +0300, Srevin Saju escribió:<br>
> > > Thanks for testing, Sebastian. This is because, the python-empy<br>
> > > package on Fedora Distribution and Arch Linux distribution works,<br>
> > by<br>
> > > only creating the module in python. After installing the native<br>
> > > Fedora or Arch Linux, we would be able use empty by<br>
> > > ```<br>
> > > python3<br>
> > > >>> import empy<br>
> > > ```<br>
> > > But, Ubuntu distributions have a special symlink to empy, so If a<br>
> > > manual build goes on, I guess it searches in /usr/bin, for empy<br>
> > or<br>
> > > empy3, although it's installed as a python module, it is not<br>
> > detected<br>
> > > on build. this was workaround'd in the easiest way by me on<br>
> > Fedora:<br>
> > > * convert the working DEB (Ubuntu version) to RPM. <br>
> > > on Arch Linux<br>
> > > * convert the working DEB to PKG (using debtap)<br>
> > > Installing the modified python-empy version derived from the Deb<br>
> > > package, helps to create the symlink without changing the package<br>
> > > itself. <br>
> > > See <a href="https://github.com/sugarlabs/sugar/issues/896" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/issues/896</a> for information<br>
> > on<br>
> > > the link.<br>
> > > <br>
> > > Finally, about the error, the error can be temporarily ignored<br>
> > until<br>
> > > it's fixed on the #896 on sugar repository, the package is<br>
> > installed<br>
> > > successfully, you can proceed with the rest of the steps. <br>
> > > <br>
> > > If a solution for it is found in future on #896, it can be<br>
> > removed<br>
> > > the usual way, removing all of the remnants of the installation.<br>
> > > Alternatively, you may also try other solution, but this method<br>
> > has<br>
> > > been confirmed to be working by Markismus, another Arch User for<br>
> > > Sugar<br>
> > > <br>
> > > Please let me know if it indeed works for you and you could login<br>
> > to<br>
> > > your Sugar Desktop. Great Help.<br>
> > > <br>
> > > <br>
> > > On Thu, 6 Feb 2020, 16:57 Sebastian Silva, <<br>
> > <a href="mailto:sebastian@fuentelibre.org" target="_blank">sebastian@fuentelibre.org</a><br>
> > > > wrote:<br>
> > > > Hi Srevin,<br>
> > > > I downloaded the packages and tried installing them. As<br>
> > instructed<br>
> > > > I installed python3-empy-3.3.2-1-any.pkg.tar.xz first, but then<br>
> > I<br>
> > > > got this error:<br>
> > > > <br>
> > > > :: Processing package changes...<br>
> > > > (1/1) installing python3-<br>
> > > > empy <br>
> > [######################<br>
> > > > ################] 100%<br>
> > > > /tmp/alpm_oAGVZn/.INSTALL: line 21: syntax error near<br>
> > unexpected<br>
> > > > token `}'<br>
> > > > /tmp/alpm_oAGVZn/.INSTALL: line 21: `}'<br>
> > > > :: Running post-transaction hooks...<br>
> > > > (1/1) Arming ConditionNeedsUpdate...<br>
> > > > <br>
> > > > Looking forward to test again.<br>
> > > > Regards,<br>
> > > > <br>
> > > > Sebastian<br>
> > > > <br>
> > > > El jue, 06-02-2020 a las 16:24 +0300, Srevin Saju escribió:<br>
> > > > > An Initial release for <br>
> > > > > * Sugar 0.116<br>
> > > > > * Sugar Artwork 0.116<br>
> > > > > * Sugar Datastore 0.116<br>
> > > > > * Sugar Toolkit GTK3 0.116<br>
> > > > > * Sugar runner 0.110 (master)<br>
> > > > > * gwebsockets 0.7 <br>
> > > > > <br>
> > > > > has been published as prerelease to <br>
> > > > > <a href="https://github.com/srevinsaju/sugar-arch/releases/tag/0.116" rel="noreferrer" target="_blank">https://github.com/srevinsaju/sugar-arch/releases/tag/0.116</a>. <br>
> > > > > Some developer filed a deletion request on the python3<br>
> > packages<br>
> > > > > on the AUR, as it was claimed to be a duplicate of the<br>
> > original<br>
> > > > > version (sugar 0.114 pkg by Ballo Gyorgy). If it works good<br>
> > for<br>
> > > > > any of the Arch Users, it can be pushed to the community<br>
> > packages<br>
> > > > > with the permission of Ballo Gyorgy.<br>
> > > > > <br>
> > > > > _______________________________________________<br>
> > > > > Sugar-devel mailing list<br>
> > > > > <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > > > <br>
> > > > > <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > > > > <br>
> > <br>
<br>
</blockquote></div>
</blockquote></div>