Ticket #2299 (closed defect: notabug)
MalformedBundleException opening bundle
| Reported by: | greenfeld | Owned by: | |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified by Release Team |
| 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)
