[Sugar-devel] setting up the development environment
Naman Nimmo
namangera15 at gmail.com
Wed Dec 11 04:34:07 EST 2019
Sorry for the last email. I just checked & there was a file named new.py in
my local machine with "import wikipedia" in it. So, *it isn't necessary to
install Wikipedia *to be able to run Sugar.
On Wed, Dec 11, 2019 at 2:37 PM James Cameron <quozl at laptop.org> wrote:
> Can you please confirm that you didn't need to install a Python
> Wikipedia package to be able to run Sugar? It's important, because so
> far you have said you did need to install it, and as far as I can see
> you didn't need to. I don't want people to think it is necessary.
>
> Sorry, but nobody is available to guide you through the basic issues.
>
> When you subscribed to the mailing list today, I sent to you the "How
> to get started as a Sugar Labs developer [v8]"
> http://lists.sugarlabs.org/archive/sugar-devel/2019-November/057323.html
> which has a prepared answer to your question in the section "How to
> ask for directions?". Please read that.
>
> Yes, JavaScript/HTML5/CSS is an appropriate choice if you'd like to
> work on Music Blocks or Sugarizer. For other programming languages we
> use, see our list;
> https://github.com/sugarlabs/sugar-docs/blob/master/src/languages.md
>
> On Wed, Dec 11, 2019 at 02:08:04PM +0530, Naman Nimmo wrote:
> > 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 <[1]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][2]
> 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][3]
> > 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]
> > > [4]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][5]Sugar-devel at lists.sugarlabs.org
> > > > > > [3][4][5][6]http://lists.sugarlabs.org/listinfo/
> > sugar-devel
> > > > >
> > > > > --
> > > > > James Cameron
> > > > > [4][5][6][7]http://quozl.netrek.org/
> > > > >
> > > > > References:
> > > > >
> > > > > [1] mailto:[6][7][8]quozl at laptop.org
> > > > > [2] mailto:[7][8][9]Sugar-devel at lists.sugarlabs.org
> > > > > [3] [8][9][10]
> http://lists.sugarlabs.org/listinfo/sugar-devel
> > > > > [4] [9][10][11]http://quozl.netrek.org/
> > > >
> > > > --
> > > > James Cameron
> > > > [10][11][12]http://quozl.netrek.org/
> > > >
> > > > References:
> > > >
> > > > [1] mailto:[12][13]quozl at laptop.org
> > > > [2] mailto:[13][14]quozl at laptop.org
> > > > [3] mailto:[14][15]Sugar-devel at lists.sugarlabs.org
> > > > [4] [15][16]http://lists.sugarlabs.org/listinfo/sugar-devel
> > > > [5] [16][17]http://quozl.netrek.org/
> > > > [6] mailto:[17][18]quozl at laptop.org
> > > > [7] mailto:[18][19]Sugar-devel at lists.sugarlabs.org
> > > > [8] [19][20]http://lists.sugarlabs.org/listinfo/sugar-devel
> > > > [9] [20][21]http://quozl.netrek.org/
> > > > [10] [21][22]http://quozl.netrek.org/
> > >
> > > --
> > > James Cameron
> > > [22][23]http://quozl.netrek.org/
> > >
> > > References:
> > >
> > > [1] mailto:[24]quozl at laptop.org
> > > [2] mailto:[25]quozl at laptop.org
> > > [3] mailto:[26]quozl at laptop.org
> > > [4] mailto:[27]Sugar-devel at lists.sugarlabs.org
> > > [5] [28]http://lists.sugarlabs.org/listinfo/sugar-devel
> > > [6] [29]http://quozl.netrek.org/
> > > [7] mailto:[30]quozl at laptop.org
> > > [8] mailto:[31]Sugar-devel at lists.sugarlabs.org
> > > [9] [32]http://lists.sugarlabs.org/listinfo/sugar-devel
> > > [10] [33]http://quozl.netrek.org/
> > > [11] [34]http://quozl.netrek.org/
> > > [12] mailto:[35]quozl at laptop.org
> > > [13] mailto:[36]quozl at laptop.org
> > > [14] mailto:[37]Sugar-devel at lists.sugarlabs.org
> > > [15] [38]http://lists.sugarlabs.org/listinfo/sugar-devel
> > > [16] [39]http://quozl.netrek.org/
> > > [17] mailto:[40]quozl at laptop.org
> > > [18] mailto:[41]Sugar-devel at lists.sugarlabs.org
> > > [19] [42]http://lists.sugarlabs.org/listinfo/sugar-devel
> > > [20] [43]http://quozl.netrek.org/
> > > [21] [44]http://quozl.netrek.org/
> > > [22] [45]http://quozl.netrek.org/
> >
> > --
> > James Cameron
> > [46]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:quozl at laptop.org
> > [5] mailto:Sugar-devel at lists.sugarlabs.org
> > [6] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [7] http://quozl.netrek.org/
> > [8] mailto:quozl at laptop.org
> > [9] mailto:Sugar-devel at lists.sugarlabs.org
> > [10] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [11] http://quozl.netrek.org/
> > [12] http://quozl.netrek.org/
> > [13] mailto:quozl at laptop.org
> > [14] mailto:quozl at laptop.org
> > [15] mailto:Sugar-devel at lists.sugarlabs.org
> > [16] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [17] http://quozl.netrek.org/
> > [18] mailto:quozl at laptop.org
> > [19] mailto:Sugar-devel at lists.sugarlabs.org
> > [20] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [21] http://quozl.netrek.org/
> > [22] http://quozl.netrek.org/
> > [23] http://quozl.netrek.org/
> > [24] mailto:quozl at laptop.org
> > [25] mailto:quozl at laptop.org
> > [26] mailto:quozl at laptop.org
> > [27] mailto:Sugar-devel at lists.sugarlabs.org
> > [28] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [29] http://quozl.netrek.org/
> > [30] mailto:quozl at laptop.org
> > [31] mailto:Sugar-devel at lists.sugarlabs.org
> > [32] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [33] http://quozl.netrek.org/
> > [34] http://quozl.netrek.org/
> > [35] mailto:quozl at laptop.org
> > [36] mailto:quozl at laptop.org
> > [37] mailto:Sugar-devel at lists.sugarlabs.org
> > [38] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [39] http://quozl.netrek.org/
> > [40] mailto:quozl at laptop.org
> > [41] mailto:Sugar-devel at lists.sugarlabs.org
> > [42] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [43] http://quozl.netrek.org/
> > [44] http://quozl.netrek.org/
> > [45] http://quozl.netrek.org/
> > [46] 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/1ab1eeee/attachment-0001.html>
More information about the Sugar-devel
mailing list