[Openstack] Horizon OpenStack Dashboard RC1 on Ubuntu 12.04 B1 - can't get it working

Kevin Jackson kevin at linuxservices.co.uk
Wed Mar 21 12:42:28 UTC 2012


If the code should just ignore the fact it can't create this directory -
what is the point of it needing to attempt to create the directory in the
first place?  What is its purpose if its superfluous?

try:
    os.makedirs(cache_dir, 0755)
except OSError as e:
     # NOTE(kiall): This is typicaly either permission denied while
     #              attempting to create the directory, or the directory
     #              already exists. Either way, don't fail.
     pass

Cheers,
Kev

On 21 March 2012 12:29, Kiall Mac Innes <kiall at managedit.ie> wrote:

> This should fix the issue - https://review.openstack.org/5608
>
> It duplicates the fix from 5-10 lines below now that the dot files have
> been moved into a directory.
>
> Thanks,
> Kiall
>
> --
Kevin Jackson
@itarchitectkev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120321/21afc32e/attachment.html>


More information about the Openstack mailing list