[Sugar-devel] Error on running sugar-activity
nswarup14 at gmail.com
Fri Aug 2 00:53:47 EDT 2019
Now that I go through the commits for sugar-datastore, I had built
datastore for Python2 instead of Python3.
I shall repeat the sudo make install step once again, however this time
building for python3 and post the result here
On Fri, Aug 2, 2019 at 8:10 AM James Cameron <quozl at laptop.org> wrote:
> Yes, it is possible that your issue of running sugar activities was
> introduced at the commit where the warning got updated, so you should
> test the possibility by checking out the immediately prior commit.
> You could also review the commit for functional change.
> First, find the commit.
> The message is in this file;
> According to "git blame", the whitespace was introduced by 3b28597.
> The whitespace is not welcome. You may either remove it yourself,
> tell Aniket about it, or if you don't want to work toward fixing it
> create a new issue.
> However, given that the error message you posted specifically
> identifies the datastore as failing to start, it is more likely that
> the commits to the datastore have introduced a regression. I've given
> you methods to prove that, but not enough information has been
> revealed, and I've not had time to try it myself. I had tested it
> already, so don't want to waste time testing again unless I can see
> what is different.
> On speculation that you may not have been aware of the Port to Python
> 3 of the datastore, I've updated the instructions for native install;
> Let me know if you had built the datastore for Python 2 by mistake.
> On Fri, Aug 02, 2019 at 07:22:33AM +0530, Swarup N wrote:
> > Hi
> > I noticed something strange. Earlier while i was trying run
> > through Ubuntu Terminal, the warning that is thrown "Activity written
> > Python 2, consider porting to Python 3", was being shown as "Activity
> > for Python 2, consider porting to
> > 3", with a considerable amount of whitespace in between in words.
> > Could it be possible that the issue of running sugar activities was
> > at the commit where the warning got updated?
> > Thanks.
> > On Fri, Aug 2, 2019 at 7:12 AM Swarup N <nswarup14 at gmail.com> wrote:
> > Hi,
> > I was able get Sugar running as expected, thanks to James's earlier
> > suggestion.
> > I entering each of the core sugar directories, apart from
> sugar-toolkit, i
> > checked out via "git checkout v0.114" to the v0.114 tag, and
> repeated the
> > process of sudo make install for each of these directories, and
> logged out
> > and logged in with Sugar-desktop selected. This way I was able to
> get my
> > activities running.
> > Earlier, I had cloned the HEAD of each the repositories. Perhaps a
> > change to sugar-datastore was what causing the issue?
> > Thanks for all the help.
> > -Swarup N
> > On Thu, Aug 1, 2019 at 12:01 PM James Cameron <quozl at laptop.org>
> > Again, this only tells you the datastore has failed on start.
> > On Thu, Aug 01, 2019 at 11:25:09AM +0530, Swarup N wrote:
> > > File
> > datastore.py",
> > > line 51, in _get_data_store
> > > [...]
> > > dbus.exceptions.DBusException:
> > org.freedesktop.DBus.Error.Spawn.ChildExited:
> > > Process org.laptop.sugar.DataStore exited with status 1
> > --
> > James Cameron
> > http://quozl.netrek.org/
> > References:
> >  mailto:nswarup14 at gmail.com
> >  mailto:quozl at laptop.org
> >  http://quozl.netrek.org/
> James Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel