Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (82 - 84 of 894)

Ticket Owner Reporter Resolution Summary
#132 desai bradshaw fixed -f traceback
Description

Running bcfg2 -qvf:

Traceback (most recent call last):

  File "/usr/sbin/bcfg2", line 288, in ?

    Client().run()

  File "/usr/sbin/bcfg2", line 68, in __init__

    self.setup = Bcfg2.Options.OptionParser('bcfg2', optinfo).parse()

  File "/usr/lib/python2.3/site-packages/Bcfg2/Options.py", line 50, in parse

    raise OptionFailure, err

#134 desai lueningh fixed rpm-related traceback
Description

When rpm is already running:

tg-v001:~ # bcfg2 -q -v -n Failed to instantiate toolset: rh Traceback (most recent call last):

File "/usr/sbin/bcfg2", line 109, in load_toolset

self.toolset = mod.ToolsetImpl?(self.config, self.setup)

File "/usr/lib/python2.3/site-packages/Bcfg2/Client/Redhat.py", line 17, in init

self.Refresh()

File "/usr/lib/python2.3/site-packages/Bcfg2/Client/Redhat.py", line 35, in Refresh

(name, version) = line.split()

ValueError?: unpack list of wrong size

#147 desai dclark fixed bcfg2-server fails under Python 2.5
Description

Under Python 2.5 (final), bcfg2-server fails for me with:

/usr/local/etc/bcfg2.key
Failed to setup server; probably a key problem
Traceback (most recent call last):
 File "/usr/local/bin/bcfg2-server", line 217, in <module>
   BSERV = Bcfg2Serv(SSETUP)
 File "/usr/local/bin/bcfg2-server", line 71, in __init__
   Bcfg2.Server.Component.Component.__init__(self, setup)
 File "/usr/local/encap/bcfg2-0.8.5/lib/bcfg2/lib/python2.5/site-packages/Bcfg2/Server/Component.py",
line 140, in __init__
   SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self)
TypeError: __init__() takes exactly 3 arguments (1 given)
Traceback (most recent call last):
 File "/usr/local/bin/bcfg2-server", line 219, in <module>
   critical_error("Failed to setup server; probably a key problem")
 File "/usr/local/bin/bcfg2-server", line 60, in critical_error
   raise Fault, (7, "Critical unexpected failure: %s" % (operation))
xmlrpclib.Fault: <Fault 7: 'Critical unexpected failure: Failed to
setup server; probably a key problem'>

The culprit looks like a change from Python 2.4 to 2.5:

Python 2.4:

   class SimpleXMLRPCDispatcher:
   """Mix-in class that dispatches XML-RPC requests.

   This class is used to register XML-RPC method handlers
   and then to dispatch them. There should never be any
   reason to instantiate this class directly.
   """

   def __init__(self):
       self.funcs = {}
       self.instance = None

Python 2.5:

   class SimpleXMLRPCDispatcher:
   """Mix-in class that dispatches XML-RPC requests.

   This class is used to register XML-RPC method handlers
   and then to dispatch them. There should never be any
   reason to instantiate this class directly.
   """

   def __init__(self, allow_none, encoding):
       self.funcs = {}
       self.instance = None
       self.allow_none = allow_none
       self.encoding = encoding
Note: See TracQuery for help on using queries.