[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] symlink Problem trying to run GNUmed from git

From: Jim Busser
Subject: Re: [Gnumed-bugs] symlink Problem trying to run GNUmed from git
Date: Sat, 30 Jul 2011 19:07:26 -0700

> MacBook-2:client djb$ sh
> -------------------------------------------------
> Running from Git branch: * master
> -------------------------------------------------
> GNUmed startup: Running from local source tree.
> -----------------------------------------------
> Creating module import symlink ...
> real dir: /Users/djb/git/gnumed/gnumed/gnumed/client
>     link: /Users/djb/git/gnumed/gnumed/gnumed/Gnumed
> Traceback (most recent call last):
>  File "", line 519, in <module>
>    setup_python_path()
>  File "", line 191, in setup_python_path
>    os.symlink(real_dir, link_name)
> OSError: [Errno 17] File exists


I had caused my own problem, because after creating a local git clone in


I moved it to my personal user space. Even after I remembered to change the 
file permissions recursively, it did not occur to me that any posix symlinks 
would now be mal-pointed. I just had to delete


and re-launch the GNUmed client, as a result of which the code in

took care of recreating a symlink that now points correctly.

BTW the new symlink has the added advantage of gaining the Mac OS property of 
dynamic linkage (and now has the appearance of an alias folder and not just the 
appearance of a generic file)

-- Jim

reply via email to

[Prev in Thread] Current Thread [Next in Thread]