[Sugar-devel] Error on running sugar-activity
quozl at laptop.org
Thu Aug 1 22:40:18 EDT 2019
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:
> I noticed something strange. Earlier while i was trying run sugar-activity
> through Ubuntu Terminal, the warning that is thrown "Activity written for
> Python 2, consider porting to Python 3", was being shown as "Activity written
> for Python 2, consider porting to Python
> 3", with a considerable amount of whitespace in between in words.
> Could it be possible that the issue of running sugar activities was introduced
> at the commit where the warning got updated?
> On Fri, Aug 2, 2019 at 7:12 AM Swarup N <nswarup14 at gmail.com> wrote:
> I was able get Sugar running as expected, thanks to James's earlier
> 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 later
> 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> wrote:
> 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 "/usr/local/lib/python2.7/dist-packages/sugar3/datastore/
> > line 51, in _get_data_store
> > [...]
> > dbus.exceptions.DBusException:
> > Process org.laptop.sugar.DataStore exited with status 1
> James Cameron
>  mailto:nswarup14 at gmail.com
>  mailto:quozl at laptop.org
>  http://quozl.netrek.org/
More information about the Sugar-devel