Modify

Ticket #63 (closed defect: fixed)

Opened 17 years ago

Last modified 16 years ago

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

Attachments

Change History

comment:1 Changed 17 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.