Ticket #63 (closed defect: fixed)
Something wrong in the Base64 world
Reported by: | bradshaw | Owned by: | desai |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | bcfg2-client | Version: | |
Keywords: | Cc: |
Description
ccsched:/sandbox/bcfg2/Cfg/var/cache/debconf/templates.dat# cat :info encoding: base64 owner: root group: root perms: 0644
bcfg.log: Jun 12 10:43:54 ccsched bcfg2-server[29804]: Failed to marshall file /var/cache/debconf/templates.dat. Mark it as base64
One the client: Failure in VerifyEntry? Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/Bcfg2/Client/Toolset.py", line 211, in VerifyEntry?
self.states[entry] = method(entry)
File "/usr/lib/python2.3/site-packages/Bcfg2/Client/Toolset.py", line 368, in VerifyConfigFile?
tempdata = binascii.a2b_base64(entry.text)
TypeError?: a2b_base64() argument 1 must be string or read-only character buffer, not None Entry: <ConfigFile? name="/var/cache/debconf/templates.dat" owner="root" perms="0644" group="root" encoding="base64"/> Traceback information (please include in any bug report): File /usr/sbin/bcfg2, line 105, in load_toolset
self.toolset = mod.ToolsetImpl?(self.config, self.setup)
/usr/sbin/bcfg2:137: FutureWarning?: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up
print "%s: %s\n" % (ttype, value)
exceptions.KeyError?: <Element ConfigFile? at b7981368>
File /usr/lib/python2.3/site-packages/Bcfg2/Client/Debian.py, line 18, in init
Bcfg2.Client.Toolset.Toolset.init(self, cfg, setup)
exceptions.KeyError?: <Element ConfigFile? at b7981368>
File /usr/lib/python2.3/site-packages/Bcfg2/Client/Toolset.py, line 63, in init
if not self.states[cfile]:
exceptions.KeyError?: <Element ConfigFile? at b7981368>
Fatal error: An unexpected failure occurred in instantiating toolset debian
fixed in [cb440cd649a31b723195338127cd861dbb11676b] (SVN r1880)