From the past 2 days i have literally lost my patience trying to make Cloudfiles work for my project(using cumulus). Here are some of the issues:

1.) Sometimes when i upload any photo using admin(creating a model and registering with admin)... the photo looks like its uploaded but when i try to either access it using a view function by Photo.objects.all() or even going to the cloudfiles control panel...the image simply doesnt open up. I get a resource not found. I check and double check if the region(chicago is default for me) settings is screwing with me....but i don't think so.

I'm not going to be able to access your admin site directly, but I did create an account on your site (testaccount). I got immediate errors at the profile page. Any other code you can share? Nothing obvious is popping out to me except for this debug line: photo = Photo.objects.get(username=username) It appears that the code is requesting the username by string rather than id (note that Photo.username is a foreignkey/integer).
–
Kyle KelleyJul 19 '13 at 20:23

Went to the page, I see that it's not pulling up the Penguins.jpg resource. :( However, I did notice that the photos directory pulls up (deleted Penguins.jpg off the URL). Have you put a ticket in with Rackspace to have them look at that specific file? They usually respond very quickly and do their best to help.
–
Kyle KelleyJul 22 '13 at 3:15

The %5C is a \ rather than a /. This makes a difference as these are keys (key being the "path" and value being the file). You may want to check on how these were uploaded, and possibly normalize them to regular slashes (were these uploaded while you were on a Windows machine?).

Yes they were uploaded from a windows machine. how do u normalize them? I am actually using django's admin to upload them for now.
–
Vijay YellepeddiJul 23 '13 at 4:25

Personally, I would just change the path/name of the Penguins file to have the proper slash or upload another with the right path. All others should come out the same using Cumulus. It would probably be worth it to put unit tests in place for this.
–
Kyle KelleyJul 23 '13 at 14:58