<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thanks for testing that Sebastian. sugar-runner was not been actively used by many I guess. I have put up an issue on <a href="https://github.com/sugarlabs/sugar-runner/issues/4">https://github.com/sugarlabs/sugar-runner/issues/4</a>, I was able to recreate the error on KDE Plasma on Arch Linux as well as GNOME on Ubuntu Focal Fossa 20.04. I guess that error had been with sugar-runner from quite a time. </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"></div></div></div></div></div></div>P<span class="gmail_default" style="font-family:"trebuchet ms",sans-serif">S: I am only packaging Sugar repo's for Arch Linux. Releases are done by the community. But thanks for finding the issue, it would hopefully be fixed for the upcoming sugar-runner release :)</span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 7, 2020 at 6:41 PM Sebastian Silva <<a href="mailto:sebastian@fuentelibre.org">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"><div style="text-align:left;direction:ltr"><div>Hi Srevin,</div><div>I have another issue to report. While `sugar-runner` works from the command line, but when I try to run it from the main menu or from the launch application dialog (alt-f2),</div><div>the window appears, the cursor changes to the sugar cursor, but then it crashes with the following message in the shell.log:</div><div><br></div><pre>(metacity:7832): dconf-WARNING **: 10:35:30.888: failed to commit changes to dconf: No se pudo conectar: Conexión rehusada</pre><pre>Traceback (most recent call last):</pre><pre> File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main</pre><pre> return _run_code(code, main_globals, None,</pre><pre> File "/usr/lib/python3.8/runpy.py", line 86, in _run_code</pre><pre> exec(code, run_globals)</pre><pre> File "/usr/lib/python3.8/site-packages/jarabe/main.py", line 376, in <module></pre><pre> main()</pre><pre> File "/usr/lib/python3.8/site-packages/jarabe/main.py", line 366, in main</pre><pre> _begin_desktop_startup()</pre><pre> File "/usr/lib/python3.8/site-packages/jarabe/main.py", line 218, in _begin_desktop_startup</pre><pre> UIService()</pre><pre> File "/usr/lib/python3.8/site-packages/jarabe/view/service.py", line 51, in __init__</pre><pre> bus = dbus.SessionBus()</pre><pre> File "/usr/lib/python3.8/site-packages/dbus/_dbus.py", line 212, in __new__</pre><pre> return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,</pre><pre> File "/usr/lib/python3.8/site-packages/dbus/_dbus.py", line 102, in __new__</pre><pre> bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)</pre><pre> File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 124, in __new__</pre><pre> bus = cls._new_for_bus(address_or_type, mainloop=mainloop)</pre><pre>dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-sXjvXfatyb: Conexión rehusada</pre><pre><br></pre><pre><span id="gmail-m_-2653574928917524156none"></span><br></pre><div>The spanish "Conexión rehusada" means "Connection refused".</div><div>I don't know why this would happen but it'd be good if you could look into it before releasing.</div><div>For what it's worth, I'm using XFCE.</div><div><br></div><div>Hope it helps!</div><div>Regards,</div><div><br></div><div>Sebastian</div><div><br></div><div><br></div><div><br></div><div>El jue, 06-02-2020 a las 20:16 +0300, Srevin Saju escribió:</div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);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 type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);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>
</blockquote></div>