Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3587 closed defect (fixed)

Not possible to install as "dev"

Reported by: humitos Owned by: bert
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Etoys Version: Unspecified
Severity: Unspecified Keywords:
Cc: humitos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

I've just downloaded the source from the git repository[1] and I tried to install this as usual in my jhbuild instance, using:

python setup.py dev

and I got this error:

Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    bundlebuilder.start()
  File "/home/humitos/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/activity/bundlebuilder.py", line 390, in start
    config = Config()
  File "/home/humitos/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/activity/bundlebuilder.py", line 81, in __init__
    self.update()
  File "/home/humitos/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/activity/bundlebuilder.py", line 84, in update
    self.bundle = bundle = ActivityBundle(self.source_dir)
  File "/home/humitos/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/bundle/activitybundle.py", line 69, in __init__
    raise MalformedBundleException('No activity.info file')
sugar.bundle.bundle.MalformedBundleException: No activity.info file

After this, I realized this activity doesn't have the common directory structure and I don't know what to do.

[1] http://git.sugarlabs.org/etoys

Change History (5)

comment:1 Changed 9 years ago by bert

It should work fine if you just do

   ./sugar-jhbuild buildone etoys

What else are you trying to do, besides running Etoys?

comment:2 Changed 9 years ago by humitos

There is something that is not going well. This is the last part of the log:

«/home/humitos/sugar-jhbuild/install/share/sugar/activities/Etoys.activity/activity/activity-etoys.svg» borrado
«activity-etoys.svg» -> «/home/humitos/sugar-jhbuild/install/share/sugar/activities/Etoys.activity/activity/activity-etoys.svg»
for f in application-x-squeak-project application-x-squeak-image application-x-squeak-object application-x-squeak-source application-x-squeak-archive ; do \
	ln -sf activity-etoys.svg /home/humitos/sugar-jhbuild/install/share/sugar/activities/Etoys.activity/activity/$f.svg ; \
done
update-mime-database /home/humitos/sugar-jhbuild/install/share/mime
*** Error during phase install of etoys: Module failed to install into DESTDIR u'/home/humitos/sugar-jhbuild/install/_jhbuild/root-etoys-broken' *** [1/1]

  [1] Rerun phase install
  [2] Ignore error and continue to next module
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
choice: ^CInterrupted
[humitos@eulogia sugar-jhbuild]$ ls /home/humitos/sugar-jhbuild/install/_jhbuild/root-etoys-broken
[humitos@eulogia sugar-jhbuild]$

Here is the log at Sugar environment

[humitos@eulogia sugar-jhbuild]$ cat ~/.sugar/default/logs/org.vpri.EtoysActivity-1.log
launching org.vpri.EtoysActivity instance 217bc452241383dab68f7fa24f04c12fc7376906

padsp squeak -encoding UTF-8 -vm-display-x11 -xshm -sugarBundleId org.vpri.EtoysActivity -sugarActivityId 217bc452241383dab68f7fa24f04c12fc7376906 -vm-sound-oss /home/humitos/sugar-jhbuild/install/share/etoys/etoys.image  BUNDLE_PATH /home/humitos/sugar-jhbuild/install/share/sugar/activities/Etoys.activity SQUEAKLETS /home/humitos/.sugar/default/org.vpri.EtoysActivity/instance BUNDLE_ID org.vpri.EtoysActivity ACTIVITY_ID 217bc452241383dab68f7fa24f04c12fc7376906
/usr/bin/padsp: línea 86: exec: squeak: no se encontró
Exited with status 127, pid 8980 data (None, <open file '<fdopen>', mode 'w' at 0x9dd7440>, '217bc452241383dab68f7fa24f04c12fc7376906')
[humitos@eulogia sugar-jhbuild]$ 

comment:3 Changed 9 years ago by humitos

  • Resolution set to fixed
  • Status changed from new to closed

I fixed this problem installing this package in Fedora 16:

sudo yum install squeak-vm

comment:4 Changed 9 years ago by humitos

We should have something in the wiki that explains this process.

comment:5 Changed 9 years ago by humitos

O.K. I could run the EToys Activity but the error in the jhbuild buildone etoys did dissapeared.

Note: See TracTickets for help on using tickets.