Skip to content

'Settings' object has no attribute 'CUMULUS' #161

@dasginganinja

Description

@dasginganinja

Hello all. I've done some searching on this issue and haven't been able to turn up too much so I figured I would finally ask in here. I've been trying to get File Conveyor working with Rackspace's Cloud Files but have been having horrible luck doing so. I installed originally with the instructions from INSTALL.txt and when starting up an instance with a fully configured config.xml file I got these errors while using "transport = 'cloudfiles'".

/usr/local/src/fileconveyor/fileconveyor# python arbitrator.py
/usr/local/src/fileconveyor/fileconveyor/filter.py:10: DeprecationWarning: the sets module is deprecated
  from sets import Set, ImmutableSet
2013-11-25 17:03:39,878 - Arbitrator                - WARNING  - File Conveyor is initializing.
2013-11-25 17:03:39,888 - Arbitrator                - INFO     - Loading config file.
2013-11-25 17:03:39,890 - Arbitrator.Config         - INFO     - Parsing sources.
2013-11-25 17:03:39,890 - Arbitrator.Config         - INFO     - Parsing servers.
2013-11-25 17:03:39,894 - Arbitrator.Config         - INFO     - Parsing rules.
2013-11-25 17:03:39,894 - Arbitrator                - WARNING  - Loaded config file.
Traceback (most recent call last):
  File "arbitrator.py", line 1185, in <module>
    run_file_conveyor()
  File "arbitrator.py", line 1168, in run_file_conveyor
    arbitrator = Arbitrator(os.path.join(FILE_CONVEYOR_PATH, "config.xml"), restart)
  File "arbitrator.py", line 142, in __init__
    transporter_class = self._import_transporter(transporter_name)
  File "arbitrator.py", line 1148, in _import_transporter
    module = __import__(module_name, globals(), locals(), ["TRANSPORTER_CLASS"], -1)
  File "/usr/local/src/fileconveyor/fileconveyor/transporters/transporter_cloudfiles.py", line 2, in <module>
    from cumulus.storage import CloudFilesStorage
  File "/usr/local/lib/python2.6/dist-packages/cumulus/storage.py", line 11, in <module>
    from cumulus.settings import CUMULUS
  File "/usr/local/lib/python2.6/dist-packages/cumulus/settings.py", line 33, in <module>
    if "FILTER_LIST" in settings.CUMULUS.keys():
  File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 55, in __getattr__
    return getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'CUMULUS'

My Python 2.6 dist packages looks like so:

/usr/local/src/fileconveyor/fileconveyor# ls /usr/local/lib/python2.6/dist-packages/ -1
Babel-1.3-py2.6.egg-info
Django-1.6-py2.6.egg-info
argparse-1.2.1-py2.6.egg-info
argparse.py
argparse.pyc
babel
boto
boto-1.6b-py2.6.egg-info
cloudfiles
cssutils
cssutils-0.9.10-py2.6.egg-info
cumulus
distribute-0.6.49-py2.6.egg
django
django_cumulus-1.0.11-py2.6.egg-info
easy-install.pth
encutils
fileconveyor-0.3_dev-py2.6.egg
fileconveyor.egg-link
httplib2
httplib2-0.8-py2.6.egg-info
iso8601
iso8601-0.1.8-py2.6.egg-info
keyring
keyring-3.2.1-py2.6.egg-info
mock-1.0.1-py2.6.egg-info
mock.py
mock.pyc
novaclient
os_diskconfig_python_novaclient_ext
os_diskconfig_python_novaclient_ext-0.1.1-py2.6.egg-info
os_networksv2_python_novaclient_ext-0.21-py2.6.egg-info
os_networksv2_python_novaclient_ext.py
os_networksv2_python_novaclient_ext.pyc
os_virtual_interfacesv2_python_novaclient_ext-0.14-py2.6.egg-info
os_virtual_interfacesv2_python_novaclient_ext.py
os_virtual_interfacesv2_python_novaclient_ext.pyc
pbr
pbr-0.5.23-py2.6.egg-info
pip
pip-1.4.1-py2.6.egg-info
prettytable-0.7.2-py2.6.egg-info
prettytable.py
prettytable.pyc
pyinotify-0.9.4-py2.6.egg-info
pyinotify.py
pyinotify.pyc
pyrax
pyrax-1.4.10-py2.6.egg-info
python_cloudfiles-1.7.10-py2.6.egg-info
python_novaclient-2.15.0-py2.6.egg-info
python_swiftclient-1.8.0-py2.6.egg-info
pytz
pytz-2013.8-py2.6.egg-info
rackspace_auth_openstack
rackspace_auth_openstack-1.1-py2.6.egg-info
rackspace_novaclient-1.4-py2.6.egg-info
rax_default_network_flags_python_novaclient_ext
rax_default_network_flags_python_novaclient_ext-0.1.3-py2.6.egg-info
rax_scheduled_images_python_novaclient_ext
rax_scheduled_images_python_novaclient_ext-0.2.1-py2.6.egg-info
requests
requests-2.0.1-py2.6.egg-info
setuptools-0.6c11-py2.6.egg-info
setuptools.pth
simplejson
simplejson-3.3.1-py2.6.egg-info
six-1.4.1-py2.6.egg-info
six.py
six.pyc
swiftclient

Can somebody point me in the right direction?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions