[Sugar-devel] setting up the development environment

Naman Nimmo namangera15 at gmail.com
Wed Dec 11 03:38:04 EST 2019


Thanks, it worked out.

As I told earlier that I know python & can understand the codebase after
some help. Can anyone please guide me through the basic issues that I can
work on now. Should I learn raw javascript so that I'm eligible to work on
more issues like music blocks or Sugarizer?

Thanks in advance.
-Naman



On Wed, Dec 11, 2019 at 1:56 PM James Cameron <quozl at laptop.org> wrote:

> new.py is not a Sugar file, it is yours; move it out of the way, and
> then Xapian won't try to load it?
>
> Fix for the start up to Journal is to upgrade Metacity package.  Sugar
> Live Build for instance has a custom Metacity package just to fix this.
>
> On Wed, Dec 11, 2019 at 12:57:21PM +0530, Naman Nimmo wrote:
> > Based on the trackbacks (mentioned below) I got earlier in shell.log,
> new. py
> > file required a Wikipedia import. And I didn't have that.
> > Once I started sugar, it always displays the journal page. Is that a bug
> or
> > something cause I didn't even click on that. And on the journal page,
> there is
> > no option (I think??) of moving back to the home page
> >
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
> >     "__main__", fname, loader, pkg_name)
> >   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
> >     exec code in run_globals
> >   File "/usr/lib/python2.7/dist-packages/jarabe/main.py", line 74, in
> <module>
> >     from jarabe.view import keyhandler
> >   File "/usr/lib/python2.7/dist-packages/jarabe/view/keyhandler.py",
> line 32,
> > in <module>
> >     from jarabe.journal import journalactivity
> >   File
> "/usr/lib/python2.7/dist-packages/jarabe/journal/journalactivity.py",
> > line 45, in <module>
> >     from jarabe.journal.volumestoolbar import VolumesToolbar
> >   File
> "/usr/lib/python2.7/dist-packages/jarabe/journal/volumestoolbar.py",
> > line 28, in <module>
> >     import xapian
> >   File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 26, in
> > <module>
> >     from new import instancemethod as new_instancemethod
> >   File "new.py", line 1, in <module>
> >     import wikipedia
> > ImportError: No module named wikipedia
> >
> > On Wed, Dec 11, 2019 at 12:44 PM James Cameron <[1]quozl at laptop.org>
> wrote:
> >
> >     I'm really surprised, because I didn't have to install any such
> >     package on my Ubuntu 19.04 VM
> >
> >     Are you sure it is a Sugar file that has imported Wikipedia?
> >
> >     Might you have a file in your directory which is overriding a system
> >     file?  I see from your screenshot you have some *.py files.
> >
> >     On Wed, Dec 11, 2019 at 12:34:04PM +0530, Naman Nimmo wrote:
> >     > Ok, thanks. It's working now. I had to install Wikipedia
> >     >
> >     > On Wed, Dec 11, 2019 at 12:21 PM James Cameron <[1][2]
> quozl at laptop.org>
> >     wrote:
> >     >
> >     >     It is normal that .sugar is not shown by ls without -a.
> >     >
> >     >     Look carefully at any traceback you see in shell.log, in case
> it
> >     >     refers to files that are not system files.
> >     >
> >     >     On Wed, Dec 11, 2019 at 12:01:26PM +0530, Naman Nimmo wrote:
> >     >     > Hey,
> >     >     > I couldn't find that file in the terminal. Once I type 'ls',
> it
> >     won't
> >     >     display
> >     >     > sugar folder.. but It displays that if I type 'ls -a'. Why
> is that
> >     >     happening?
> >     >     >
> >     >     > On Wed, Dec 11, 2019 at 11:51 AM James Cameron <[1][2][3]
> >     quozl at laptop.org>
> >     >     wrote:
> >     >     >
> >     >     >     Hello Naman,
> >     >     >
> >     >     >     What you have to do is read the file .sugar/default/logs/
> >     shell.log to
> >     >     >     find out why /usr/bin/sugar did fail.  Usually because
> of a
> >     missing
> >     >     >     package.
> >     >     >
> >     >     >     Be sure you are using Ubuntu 19.04, because Ubuntu 19.10
> fails
> >     >     because
> >     >     >     of using version 0.116 of package python-sugar3.
> >     >     >
> >     >     >     On Wed, Dec 11, 2019 at 11:44:42AM +0530, Naman Nimmo
> wrote:
> >     >     >     > Hello mentors,
> >     >     >     > I want to contribute to this open-source project. I
> have read
> >     the
> >     >     >     documentation
> >     >     >     > already. I know python and want to contribute to
> "sugar", but
> >     I am
> >     >     facing
> >     >     >     some
> >     >     >     > trouble in setting up the development environment.
> Once I
> >     installed
> >     >     Sugar
> >     >     >     on
> >     >     >     > ubuntu 19.04, Sugar 0.112 does not start. In the docs,
> it is
> >     >     written that
> >     >     >     I
> >     >     >     > need to first log out & then log in again, but It won't
> >     display
> >     >     anything
> >     >     >     once I
> >     >     >     > type sugar in the terminal. What should I do?
> >     >     >
> >     >     >     > _______________________________________________
> >     >     >     > Sugar-devel mailing list
> >     >     >     > [2][3][4]Sugar-devel at lists.sugarlabs.org
> >     >     >     > [3][4][5]
> http://lists.sugarlabs.org/listinfo/sugar-devel
> >     >     >
> >     >     >     --
> >     >     >     James Cameron
> >     >     >     [4][5][6]http://quozl.netrek.org/
> >     >     >
> >     >     > References:
> >     >     >
> >     >     > [1] mailto:[6][7]quozl at laptop.org
> >     >     > [2] mailto:[7][8]Sugar-devel at lists.sugarlabs.org
> >     >     > [3] [8][9]http://lists.sugarlabs.org/listinfo/sugar-devel
> >     >     > [4] [9][10]http://quozl.netrek.org/
> >     >
> >     >     --
> >     >     James Cameron
> >     >     [10][11]http://quozl.netrek.org/
> >     >
> >     > References:
> >     >
> >     > [1] mailto:[12]quozl at laptop.org
> >     > [2] mailto:[13]quozl at laptop.org
> >     > [3] mailto:[14]Sugar-devel at lists.sugarlabs.org
> >     > [4] [15]http://lists.sugarlabs.org/listinfo/sugar-devel
> >     > [5] [16]http://quozl.netrek.org/
> >     > [6] mailto:[17]quozl at laptop.org
> >     > [7] mailto:[18]Sugar-devel at lists.sugarlabs.org
> >     > [8] [19]http://lists.sugarlabs.org/listinfo/sugar-devel
> >     > [9] [20]http://quozl.netrek.org/
> >     > [10] [21]http://quozl.netrek.org/
> >
> >     --
> >     James Cameron
> >     [22]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] mailto:quozl at laptop.org
> > [2] mailto:quozl at laptop.org
> > [3] mailto:quozl at laptop.org
> > [4] mailto:Sugar-devel at lists.sugarlabs.org
> > [5] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [6] http://quozl.netrek.org/
> > [7] mailto:quozl at laptop.org
> > [8] mailto:Sugar-devel at lists.sugarlabs.org
> > [9] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [10] http://quozl.netrek.org/
> > [11] http://quozl.netrek.org/
> > [12] mailto:quozl at laptop.org
> > [13] mailto:quozl at laptop.org
> > [14] mailto:Sugar-devel at lists.sugarlabs.org
> > [15] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [16] http://quozl.netrek.org/
> > [17] mailto:quozl at laptop.org
> > [18] mailto:Sugar-devel at lists.sugarlabs.org
> > [19] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [20] http://quozl.netrek.org/
> > [21] http://quozl.netrek.org/
> > [22] http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20191211/026857af/attachment.html>


More information about the Sugar-devel mailing list