openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #08915
Re: Horizon OpenStack Dashboard RC1 on Ubuntu 12.04 B1 - can't get it working
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@xxxxxxxxxxxx> 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
Follow ups
References