#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 |
Description
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 http://wiki.laptop.org/go/Collections . 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/palettes.py", line 111, in start_activate_cb
misc.resume(self._metadata)
File "/usr/lib/python2.6/site-packages/jarabe/journal/misc.py", line 181, in resume
bundle = ContentBundle(file_path)
File "/usr/lib/python2.6/site-packages/sugar/bundle/contentbundle.py", line 63, in init
self._parse_info(info_file)
File "/usr/lib/python2.6/site-packages/sugar/bundle/contentbundle.py", 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/volume.py", line 107, in _mount_cb
volume.mount_finish(result)
Change History (4)
comment:1 Changed 14 years ago by erikos
comment:2 Changed 14 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 14 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 @ dev.laptop.org -- either way, a fix is needed.
comment:4 Changed 14 years ago by erikos
Yes, I think it belongs to dev.laptop.org, 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.
Yes, the bible-en collection should be repackaged.
http://wiki.laptop.org/go/Sample_library.info_file