Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2299 closed defect (notabug)

MalformedBundleException opening bundle

Reported by: greenfeld Owned by:
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: untriaged Version: 0.86.x
Severity: Unspecified Keywords:
Cc: dsd Distribution/OS: Fedora
Bug Status: Unconfirmed


This was seen on a Fedora R12 system running Sugar 0.86.3, as well as a OLPC system running Sugar 0.84.16 {OLPC build 10.1.2}.

There is an step in the OLPC smoke test which asks you to download and install the "Net Bible" collection from . This step works with the original OLPC Sugar 0.82.1 release, but does not work with the newer releases mentioned above.

It may be that the bundle is at fault due to newer stricter checking or package format chagnes, but I am filing this just in case it is a Sugar regression.

The exception shown in the newer Sugar logs whenever one tries to open this collection is:

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/jarabe/journal/", line 111, in start_activate_cb


File "/usr/lib/python2.6/site-packages/jarabe/journal/", line 181, in resume

bundle = ContentBundle(file_path)

File "/usr/lib/python2.6/site-packages/sugar/bundle/", line 63, in init


File "/usr/lib/python2.6/site-packages/sugar/bundle/", line 164, in _parse_info

'bundle_class' % self._path)

sugar.bundle.bundle.MalformedBundleException: Content bundle /home/olpc/.sugar/default/data/3a9c509b-e1fd-4660-9c21-e74b491a8eff.xol must specify either global_name or bundle_class
Traceback (most recent call last):

File "/usr/share/sugar/extensions/deviceicon/", line 107, in _mount_cb


Change History (4)

comment:1 Changed 13 years ago by erikos

Yes, the bible-en collection should be repackaged.

name = bible-en
long_name = NET Bible
library_version = 1
host_version = 1
l10n = false
locale = en_US
category = books
category_icon = bible-en.jpg
subcategory = bible
class = English bible

comment:2 Changed 13 years ago by erikos

  • Cc dsd added
  • Resolution set to notabug
  • Status changed from new to closed

I will close that bug.

(I think Daniel run into it at some point, too)

comment:3 Changed 13 years ago by martin.langhoff

Well, from a "make things work and be useful" PoV... maybe the bug belongs to the bundle but I say we gotta fix it. Probably:

  • Fix the bundle if possible
  • Fix the test script to use a better bundle (avoiding religious content for example?)

Maybe the bug belongs @ -- either way, a fix is needed.

comment:4 Changed 13 years ago by erikos

Yes, I think it belongs to, that is why i marked it notabug.

We should fix the bundle if there is interest (or remove it from the list) and use the test script with another bundle.

Note: See TracTickets for help on using tickets.