Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (49 - 51 of 894)

Ticket Owner Reporter Resolution Summary
#668 desai Jack Neely <[email protected]…> fixed Can't import hashlib on python 2.4
Description

Looks like we're importing hashlib without checking if we are running in a new enough python version.

Starting Configuration Management Server: Traceback (most recent call last):
  File "/usr/sbin/bcfg2-server", line 14, in ?
    from Bcfg2.Server.Core import CoreInitError
  File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 5, in ?
    import hashlib
ImportError: No module named hashlib

This on RHEL 5 with python-2.4.3-24.el5.

#669 desai Jack Neely <[email protected]…> fixed SimpleXMLRPCServer in python 2.4
Description

Looks like the SimpleXMLRPCServer API changes in 2.5. I'm getting:

Traceback (most recent call last):
  File "/usr/sbin/bcfg2-server", line 62, in ?
    ca=setup['ca'],
  File "/usr/lib/python2.4/site-packages/Bcfg2/Component.py", line 64, in run_component
    register=register, timeout=time_out, ca=ca)
  File "/usr/lib/python2.4/site-packages/Bcfg2/SSLServer.py", line 239, in __init__
    XMLRPCDispatcher.__init__(self, allow_none, encoding)
  File "/usr/lib/python2.4/site-packages/Bcfg2/SSLServer.py", line 30, in __init__
    encoding)
TypeError: __init__() takes exactly 1 argument (3 given)

from bcfg2-server on RHEL 5 with python 2.4.

http://docs.python.org/library/simplexmlrpcserver.html states: "Changed in version 2.5: The allow_none and encoding parameters were added."

#671 solj Jack Neely <[email protected]…> fixed Unexpected instantiation failure for plugin Packages
Description

Chasing tracebacks:

Unexpected instantiation failure for plugin Packages
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 127, in init_plugins
    self.plugins[plugin] = plug(self, self.datastore)
  File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Plugins/Packages.py", line 314, in __init__
    os.mkdir(cachepath)
OSError: [Errno 2] No such file or directory: '/var/lib/bcfg2/Packages/cache'

I had not yet created /var/lib/bcfg2/Packages which caused os.mkdir to blow up.

Note: See TracQuery for help on using queries.