cournape/Bento — Issue #67: build_mpkg crashes if Summary: is not present
Author: pberkes
Created: 2011-11-12 09:00:11+00:00
State: open

build_mpkg raises a not-very-useful ValueError if the Summary entry is not in bento.info .

Here's a traceback:

File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/site-packages/bento/commands/mpkg_utils.py", line 210, in make_mpkg_description
write(d, path)
File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/site-packages/bento/commands/mpkg_utils.py", line 61, in write
p.write(path)
File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/plistlib.py", line 353, in write
writePlist(self, pathOrFile)
File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/plistlib.py", line 94, in writePlist
writer.writeValue(rootObject)
File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/plistlib.py", line 252, in writeValue
self.writeDict(value)
File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/plistlib.py", line 281, in writeDict
self.writeValue(value)
File "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/plistlib.py", line 260, in writeValue
raise TypeError("unsuported type: %s" % type(value))
bentomaker: Error: bentomaker crashed (uncaught exception : unsuported type: ).
Please report this on bento issue tracker:
http://github.com/cournape/bento/issues