<div dir="ltr"><div>Thanks, it worked out. <br></div><div><br></div><div>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? </div><div><br></div><div>Thanks in advance.</div><div>-Naman <br></div></div><div dir="ltr"><br></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 11, 2019 at 1:56 PM James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">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">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, 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 or<br>
> something cause I didn't even click on that. And on the journal page, 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 <module><br>
> from jarabe.view import keyhandler<br>
> File "/usr/lib/python2.7/dist-packages/jarabe/view/keyhandler.py", line 32,<br>
> in <module><br>
> from jarabe.journal import journalactivity<br>
> File "/usr/lib/python2.7/dist-packages/jarabe/journal/journalactivity.py",<br>
> line 45, in <module><br>
> from jarabe.journal.volumestoolbar import VolumesToolbar<br>
> File "/usr/lib/python2.7/dist-packages/jarabe/journal/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]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> 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]<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 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', it<br>
> won't<br>
> > display<br>
> > > sugar folder.. but It displays that if I type 'ls -a'. Why is that<br>
> > happening? <br>
> > ><br>
> > > On Wed, Dec 11, 2019 at 11:51 AM James Cameron <[1][2][3]<br>
> <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 a<br>
> missing<br>
> > > package.<br>
> > ><br>
> > > Be sure you are using Ubuntu 19.04, because Ubuntu 19.10 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 wrote:<br>
> > > > Hello mentors,<br>
> > > > I want to contribute to this open-source project. I have read<br>
> the<br>
> > > documentation<br>
> > > > already. I know python and want to contribute to "sugar", but<br>
> I am<br>
> > facing<br>
> > > some<br>
> > > > trouble in setting up the development environment. Once I<br>
> installed<br>
> > Sugar<br>
> > > on<br>
> > > > ubuntu 19.04, Sugar 0.112 does not start. In the docs, 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]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > > [3][4][5]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > ><br>
> > > --<br>
> > > James Cameron<br>
> > > [4][5][6]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > ><br>
> > > References:<br>
> > ><br>
> > > [1] mailto:[6][7]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > > [2] mailto:[7][8]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > [3] [8][9]<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]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ><br>
> > --<br>
> > James Cameron<br>
> > [10][11]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ><br>
> > References:<br>
> ><br>
> > [1] mailto:[12]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [2] mailto:[13]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [3] mailto:[14]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [4] [15]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [5] [16]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [6] mailto:[17]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [7] mailto:[18]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [8] [19]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [9] [20]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [10] [21]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> <br>
> --<br>
> James Cameron<br>
> [22]<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:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [5] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [6] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [7] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [8] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [9] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [10] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [11] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [12] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [13] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [14] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [15] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [16] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [17] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [18] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [19] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> [20] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</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>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</blockquote></div>