<div dir="ltr">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, <b>it isn't necessary to install Wikipedia </b>to be able to run Sugar.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 11, 2019 at 2:37 PM James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.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">Can you please confirm that you didn't need to install a Python<br>
Wikipedia package to be able to run Sugar? It's important, because so<br>
far you have said you did need to install it, and as far as I can see<br>
you didn't need to. I don't want people to think it is necessary.<br>
<br>
Sorry, but nobody is available to guide you through the basic issues.<br>
<br>
When you subscribed to the mailing list today, I sent to you the "How<br>
to get started as a Sugar Labs developer [v8]"<br>
<a href="http://lists.sugarlabs.org/archive/sugar-devel/2019-November/057323.html" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/2019-November/057323.html</a><br>
which has a prepared answer to your question in the section "How to<br>
ask for directions?". Please read that.<br>
<br>
Yes, JavaScript/HTML5/CSS is an appropriate choice if you'd like to<br>
work on Music Blocks or Sugarizer. For other programming languages we<br>
use, see our list;<br>
<a href="https://github.com/sugarlabs/sugar-docs/blob/master/src/languages.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-docs/blob/master/src/languages.md</a><br>
<br>
On Wed, Dec 11, 2019 at 02:08:04PM +0530, Naman Nimmo wrote:<br>
> Thanks, it worked out. <br>
> <br>
> As I told earlier that I know python & can understand the codebase after some<br>
> help. Can anyone please guide me through the basic issues that I can work on<br>
> now. Should I learn raw javascript so that I'm eligible to work on more issues<br>
> like music blocks or Sugarizer? <br>
> <br>
> Thanks in advance.<br>
> -Naman <br>
> <br>
> On Wed, Dec 11, 2019 at 1:56 PM James Cameron <[1]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
> <br>
> new.py is not a Sugar file, it is yours; move it out of the way, and<br>
> then Xapian won't try to load it?<br>
> <br>
> Fix for the start up to Journal is to upgrade Metacity package. Sugar<br>
> Live Build for instance has a custom Metacity package just to fix this.<br>
> <br>
> On Wed, Dec 11, 2019 at 12:57:21PM +0530, Naman Nimmo wrote:<br>
> > Based on the trackbacks (mentioned below) I got earlier in shell.log,<br>
> new. py<br>
> > file required a Wikipedia import. And I didn't have that. <br>
> > Once I started sugar, it always displays the journal page. Is that a bug<br>
> or<br>
> > something cause I didn't even click on that. And on the journal page,<br>
> there is<br>
> > no option (I think??) of moving back to the home page<br>
> ><br>
> > Traceback (most recent call last):<br>
> > File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main<br>
> > "__main__", fname, loader, pkg_name)<br>
> > File "/usr/lib/python2.7/runpy.py", line 72, in _run_code<br>
> > exec code in run_globals<br>
> > File "/usr/lib/python2.7/dist-packages/jarabe/main.py", line 74, in<br>
> <module><br>
> > from jarabe.view import keyhandler<br>
> > File "/usr/lib/python2.7/dist-packages/jarabe/view/keyhandler.py", line<br>
> 32,<br>
> > in <module><br>
> > from jarabe.journal import journalactivity<br>
> > File "/usr/lib/python2.7/dist-packages/jarabe/journal/<br>
> journalactivity.py",<br>
> > line 45, in <module><br>
> > from jarabe.journal.volumestoolbar import VolumesToolbar<br>
> > File "/usr/lib/python2.7/dist-packages/jarabe/journal/<br>
> volumestoolbar.py",<br>
> > line 28, in <module><br>
> > import xapian<br>
> > File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 26, in<br>
> > <module><br>
> > from new import instancemethod as new_instancemethod<br>
> > File "new.py", line 1, in <module><br>
> > import wikipedia<br>
> > ImportError: No module named wikipedia<br>
> ><br>
> > On Wed, Dec 11, 2019 at 12:44 PM James Cameron <[1][2]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
> wrote:<br>
> ><br>
> > I'm really surprised, because I didn't have to install any such<br>
> > package on my Ubuntu 19.04 VM<br>
> ><br>
> > Are you sure it is a Sugar file that has imported Wikipedia?<br>
> ><br>
> > Might you have a file in your directory which is overriding a system<br>
> > file? I see from your screenshot you have some *.py files.<br>
> ><br>
> > On Wed, Dec 11, 2019 at 12:34:04PM +0530, Naman Nimmo wrote:<br>
> > > Ok, thanks. It's working now. I had to install Wikipedia<br>
> > ><br>
> > > On Wed, Dec 11, 2019 at 12:21 PM James Cameron <[1][2][3]<br>
> <a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
> > wrote:<br>
> > ><br>
> > > It is normal that .sugar is not shown by ls without -a.<br>
> > ><br>
> > > Look carefully at any traceback you see in shell.log, in case<br>
> it<br>
> > > refers to files that are not system files.<br>
> > ><br>
> > > On Wed, Dec 11, 2019 at 12:01:26PM +0530, Naman Nimmo wrote:<br>
> > > > Hey,<br>
> > > > I couldn't find that file in the terminal. Once I type 'ls',<br>
> it<br>
> > won't<br>
> > > display<br>
> > > > sugar folder.. but It displays that if I type 'ls -a'. Why is<br>
> that<br>
> > > happening? <br>
> > > ><br>
> > > > On Wed, Dec 11, 2019 at 11:51 AM James Cameron <[1][2][3]<br>
> > [4]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
> > > wrote:<br>
> > > ><br>
> > > > Hello Naman,<br>
> > > ><br>
> > > > What you have to do is read the file .sugar/default/logs/<br>
> > shell.log to<br>
> > > > find out why /usr/bin/sugar did fail. Usually because of<br>
> a<br>
> > missing<br>
> > > > package.<br>
> > > ><br>
> > > > Be sure you are using Ubuntu 19.04, because Ubuntu 19.10<br>
> fails<br>
> > > because<br>
> > > > of using version 0.116 of package python-sugar3.<br>
> > > ><br>
> > > > On Wed, Dec 11, 2019 at 11:44:42AM +0530, Naman Nimmo<br>
> wrote:<br>
> > > > > Hello mentors,<br>
> > > > > I want to contribute to this open-source project. I<br>
> have read<br>
> > the<br>
> > > > documentation<br>
> > > > > already. I know python and want to contribute to<br>
> "sugar", but<br>
> > I am<br>
> > > facing<br>
> > > > some<br>
> > > > > trouble in setting up the development environment. Once<br>
> I<br>
> > installed<br>
> > > Sugar<br>
> > > > on<br>
> > > > > ubuntu 19.04, Sugar 0.112 does not start. In the docs,<br>
> it is<br>
> > > written that<br>
> > > > I<br>
> > > > > need to first log out & then log in again, but It won't<br>
> > display<br>
> > > anything<br>
> > > > once I<br>
> > > > > type sugar in the terminal. What should I do? <br>
> > > ><br>
> > > > > _______________________________________________<br>
> > > > > Sugar-devel mailing list<br>
> > > > > [2][3][4][5]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > > > [3][4][5][6]<a href="http://lists.sugarlabs.org/listinfo/" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/</a><br>
> sugar-devel<br>
> > > ><br>
> > > > --<br>
> > > > James Cameron<br>
> > > > [4][5][6][7]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > > ><br>
> > > > References:<br>
> > > ><br>
> > > > [1] mailto:[6][7][8]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > > > [2] mailto:[7][8][9]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > > [3] [8][9][10]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > > > [4] [9][10][11]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > ><br>
> > > --<br>
> > > James Cameron<br>
> > > [10][11][12]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > ><br>
> > > References:<br>
> > ><br>
> > > [1] mailto:[12][13]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > > [2] mailto:[13][14]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > > [3] mailto:[14][15]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > [4] [15][16]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > > [5] [16][17]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > > [6] mailto:[17][18]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > > [7] mailto:[18][19]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > [8] [19][20]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > > [9] [20][21]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > > [10] [21][22]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ><br>
> > --<br>
> > James Cameron<br>
> > [22][23]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ><br>
> > References:<br>
> ><br>
> > [1] mailto:[24]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [2] mailto:[25]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [3] mailto:[26]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [4] mailto:[27]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [5] [28]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [6] [29]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [7] mailto:[30]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [8] mailto:[31]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [9] [32]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [10] [33]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [11] [34]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [12] mailto:[35]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [13] mailto:[36]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [14] mailto:[37]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [15] [38]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [16] [39]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [17] mailto:[40]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [18] mailto:[41]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [19] [42]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [20] [43]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [21] [44]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [22] [45]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> <br>
> --<br>
> James Cameron<br>
> [46]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> <br>
> References:<br>
> <br>
> [1] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [2] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [3] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [4] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [5] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [6] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [7] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [8] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [9] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [10] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [11] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [12] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [13] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [14] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [15] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [16] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [17] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [18] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [19] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [20] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [21] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [22] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [23] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [24] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [25] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [26] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [27] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [28] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [29] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [30] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [31] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [32] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [33] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [34] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [35] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [36] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [37] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [38] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [39] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [40] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [41] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [42] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [43] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [44] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [45] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [46] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</blockquote></div>