domenkozar / almir

Bacula web administration written in Pyramid
Other
38 stars 13 forks source link

'NoneType' object has no attribute 'get' #52

Closed syphernl closed 11 years ago

syphernl commented 11 years ago

Installing Almir on Ubuntu 12.10 fails after the question of director password:

--> Password of director to connect to:

Connecting director with bconsole to verify configuration ...
Traceback (most recent call last):
  File "almir/scripts/configure_deploy.py", line 197, in <module>
    main()  # PRAGMA: no cover
  File "almir/scripts/configure_deploy.py", line 182, in main
    password=options['director_password']) as bconsole:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/opt/almir/almir/lib/bconsole.py", line 66, in from_temp_config
    yield cls(config_file=f.name)
  File "/opt/almir/almir/lib/bconsole.py", line 47, in __init__
    self.config_file = registry.settings.get('bconsole_config',
AttributeError: 'NoneType' object has no attribute 'get'