-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Settings' object has no attribute 'CUMULUS' #161
Comments
Here is what my config.xml looks like:
|
I've got a little bit more of an update for you. I brought up a brand new Vagrant Debian Squeeze box, installed git, pip, and File Conveyor per INSTALL.txt. After configuring config.xml for cloudfiles I am still getting the following error after a
Here's the output from pip:
|
I have the same errors, any help? |
None here. I'm still waiting on Wim Leers to respond. I'm assuming that this is because one of the packages is at a non-working version. Can somebody who has a working copy of fileconveyor please put up a pip listing of the currently installed modules? We might be able to determine which module is the cause of the current problem that we are all experiencing with getting this module working. Again, this problem is only for the select few of us that will be utilizing cloudfiles. Signs point to the cumulus module. I think I'm going to start from there as I need to have this fixed by the end of the day. |
What other alternatives if this is not fixed? i want to use cloud files |
When I was last using fileconveyor, it was at the time when the cloudfiles stuff was just a pull request so it's a while ago. Having said that, I did get it running and unfortunately I haven't got access to that machine any more. On looking at the docs for django-cumulus though, it does mention the CUMULUS object.
Now I suspect that it'll need adding to the django-settings.py file but this is just a hunch and I can no longer test with any Rackspace stuff without setting up a new account. |
I tried adding the CUMULUS object in both the django-settings in fileconveyor and also in the django settings file itself and both didn't work :( |
My old fork of fileconveyor has this in the django_settings.py file. I suspect I've missed out the api key etc:
It doesn't look like my settings.py file differs much. You can look over my fork if you wish but I warn you, it's deliberately broken to prevent local deletions propagating to Cloudfiles. Oh, and it's quite a bit behind. |
its almost the same as mine, i have a feeling its not related to the settings in fileconveyor, but something with django and its settings, but i have no idea why its not working |
Good morning all! I don't have any updates on my end other than the fact that I've tried multiple versions of cumulus, django, etc. and still can't get it working. I created a gist (https://gist.github.com/dasginganinja/7769677) with some outputs that might be helpful in diagnosing. In the gist I give the setup done to the box to get it up and running, the strace output for starting the arbitrator, and a pip freeze to show what python modules are actually being used. Hopefully this helps somebody diagnose further! Here's a quick shortcut to the strace output: https://gist.github.com/dasginganinja/7769677/raw/696b112bf25a967ecab63cf08330ac4f6569425b/Strace+Output.txt |
Okay here's another little update. I went ahead and put the CUMULUS object into /usr/lib/local/python2.6/dist-packages/django/conf/global_settings.py with my correct settings. Here is the output when I run now:
As you can see, at this point this error is now what is being shown in #162. |
i think he is asking for the cloud files storage, i added it to settings DEFAULT_FILE_STORAGE = 'cumulus.storage.CloudFilesStorage', but also didn't work |
At this point all I think we need to do is find out why 'classname' isn't getting set. I'm sure that will open a whole other can of worms but that's the next step. |
you reached anything about this class issue? i couldn't solve it :s |
I went back through and took a look at the PIP Install log for this program and noticed the following lines:
I wonder if this has something to do with it.... |
Update django-cumulus to 1.0.10: In setup.py the dependencies must be |
The error is now gone thanksss :) But i have another issue, when saving images i got this error: Filter queue: dropped 'files/blue-search-icon_2.png' because it doesn't match any rules |
I have put the cumulus object into django/conf/global_settings.py with my settings but now I am getting this error
Last login: Fri Mar 28 22:28:25 2014 from 196.201.228.134
[root@af-server ~]# sudo python src/fileconveyor/fileconveyor/arbitrator.py
/root/src/fileconveyor/fileconveyor/filter.py:10: DeprecationWarning: the sets m
odule is deprecated
from sets import Set, ImmutableSet
2014-03-28 22:34:38,206 - Arbitrator - WARNING - File Conveyor i
s initializing.
2014-03-28 22:34:38,210 - Arbitrator - WARNING - Loaded config f
ile.
Traceback (most recent call last):
File "src/fileconveyor/fileconveyor/arbitrator.py", line 1185, in
run_file_conveyor()
File "src/fileconveyor/fileconveyor/arbitrator.py", line 1168, in run_file_con
veyor
arbitrator = Arbitrator(os.path.join(FILE_CONVEYOR_PATH, "config.xml"), rest
art)
File "src/fileconveyor/fileconveyor/arbitrator.py", line 142, in **init**
transporter_class = self._import_transporter(transporter_name)
File "src/fileconveyor/fileconveyor/arbitrator.py", line 1162, in _import_tran
sporter
self.logger.error("The Transporter module '%s' was found, but its Transporte
r class '%s' could not be found." % (module_name, classname))
UnboundLocalError: local variable 'classname' referenced before assignment
[root@af-server ~]#
I have already updated django-cumulus to 1.0.10 and still get the error. |
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'".
My Python 2.6 dist packages looks like so:
Can somebody point me in the right direction?
Thanks!
The text was updated successfully, but these errors were encountered: