[Sugar-devel] setting up the development environment

Naman Nimmo namangera15 at gmail.com
Wed Dec 11 02:27:21 EST 2019


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 <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]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]
> 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]Sugar-devel at lists.sugarlabs.org
> >     >     > [3][4]http://lists.sugarlabs.org/listinfo/sugar-devel
> >     >
> >     >     --
> >     >     James Cameron
> >     >     [4][5]http://quozl.netrek.org/
> >     >
> >     > References:
> >     >
> >     > [1] mailto:[6]quozl at laptop.org
> >     > [2] mailto:[7]Sugar-devel at lists.sugarlabs.org
> >     > [3] [8]http://lists.sugarlabs.org/listinfo/sugar-devel
> >     > [4] [9]http://quozl.netrek.org/
> >
> >     --
> >     James Cameron
> >     [10]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] mailto:quozl at laptop.org
> > [2] mailto:quozl at laptop.org
> > [3] mailto:Sugar-devel at lists.sugarlabs.org
> > [4] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [5] http://quozl.netrek.org/
> > [6] mailto:quozl at laptop.org
> > [7] mailto:Sugar-devel at lists.sugarlabs.org
> > [8] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [9] http://quozl.netrek.org/
> > [10] 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/f4934ba2/attachment-0001.html>


More information about the Sugar-devel mailing list