Re: [sugar] Other jhbuild issues - No module named sugar.activity

2008-05-08 Thread James Simmons
Dan,

I had the same issue.  What happened to me was that telepathy would not 
build because my pkg-config was either missing or too old.  I did "give 
up on module" and then got the error you got.  I installed the latest 
pkg-config from source and that resolved it.  That may not be your 
problem, but what probably is is a missing dependency.  Sugar activity 
support depends on telepathy (and probably a bunch of other things) but 
the sugar activities themselves don't depend on activity support 
(although they really should).  So instead of skipping that step it 
tries to run it and fails.

If you did any "give up on modules" along the way that would be the 
place to look.  Fix those and the read-activity and the rest should 
build OK.

James Simmons

Message: 1

>Date: Sat, 26 Apr 2008 10:49:41 -0700
>From: Dan Krejsa <[EMAIL PROTECTED]>
>Subject: [sugar] Other jhbuild issues - No module named sugar.activity
>To: sugar@lists.laptop.org
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain
>
>Hi,
>
>Recently I'm running into the following during 'sugar-jhbuild build':
>
>*** Checking out read-activity *** [36/46]
>git checkout
>git pull origin master
>Already up-to-date.
>*** Building read-activity *** [36/46]
>python setup.py build
>Traceback (most recent call last):
>  File "setup.py", line 19, in 
>from sugar.activity import bundlebuilder
>ImportError: No module named sugar.activity
>*** error during stage build of read-activity: ## Error running
>python setup.py build *** [36/46]
>
>  [1] rerun stage build
>  [2] ignore error and continue to install
>  [3] give up on module
>  [4] start shell
>  [5] go to stage force_checkout
>
>Any hints?
>
>- Dan
>
>  
>


___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Help building and running sugar

2008-05-13 Thread James Simmons
Gustavo,

The first few lines look like normal messages.  The real problem, I 
think, is pointed to by this last traceback:

Traceback (most recent call last):
  File "/home/gob/sugar-jhbuild/install/bin/sugar-shell", line 30, in 
from main import main
  File "/home/gob/sugar-jhbuild/install/share/sugar/shell/main.py",
line 23, in 
import numpy
ImportError: No module named numpy

"numpy" is the Numeric Python module.  You may be able to install this 
with apt-get install numpy.  Sugar-jhbuild in my own case identified 
numpy as a required module before it even ran the "build" step, but it 
may not be doing that anymore.  In any case, it looks like Sugar can 
build itself without numpy but can't run without it.

James Simmons


>Message: 6
>Date: Tue, 13 May 2008 14:38:13 -0300
>From: "Gustavo Olaza" <[EMAIL PROTECTED]>
>Subject: [sugar] Help building and running sugar
>To: [EMAIL PROTECTED]
>Message-ID:
>   <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Hi everyone,
>
>I made a fresh sugar install following the wiki recipe for Ubuntu
>Feisty with sugar-jhbuild.   After a few stops I have did.
>But when I try './sugar-jhbuild run' only got a bare bones Xwindow and
>the console say:
>
>
>
>[EMAIL PROTECTED]:~/sugar-jhbuild$ ./sugar-jhbuild run
>INFO:sugar-emulator:Attempting to find free port for X11 (Xephyr)
>INFO:sugar-emulator:  Found free port: #4 (6004)
>INFO:sugar-emulator:Starting the Xephyr nested X display on display 4
>DEBUG:sugar-emulator:Xephyr command: Xephyr :4 -ac -screen 1200x900 -dpi 96
>INFO:sugar-emulator:Attempting to launch sugar to replace this
>process: dbus-launch dbus-launch --exit-with-session sugar-shell
>Extended Input Devices not yet supported. Impelement it at line 625 in
>../../../../hw/kdrive/src/kinput.c
>Could not init font path element /usr/X11R6/lib/X11/fonts/misc,
>removing from list!
>Could not init font path element /usr/share/fonts/X11/cyrillic,
>removing from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/Type1,
>removing from list!
>Traceback (most recent call last):
>  File "/home/gob/sugar-jhbuild/install/bin/sugar-shell", line 30, in 
>from main import main
>  File "/home/gob/sugar-jhbuild/install/share/sugar/shell/main.py",
>line 23, in 
>import numpy
>ImportError: No module named numpy
>
>
>
>May somebody help me in fixing this?
>
>Thanks in advance.
>
>
>  
>


___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar