[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/usr/local/bin/sketch can't be invoked via symlink
From: |
Csaba Henk |
Subject: |
/usr/local/bin/sketch can't be invoked via symlink |
Date: |
Sun, 24 Aug 2003 22:26:14 +0200 |
User-agent: |
Mutt/1.3.28i |
Hello!
One would expect that a program can be symlinked to and invoked via the
symlink.
/usr/local/bin/sketch fails to satisfy this: if you invoke it via a symlink,
you get
Traceback (most recent call last):
File "/usr/bin/sketch.orig", line 30, in ?
import Sketch
ImportError: No module named Sketch
It's rather due to a python bug than a bug in sketch (see my appropriate bug
report [python bug no. 794291]
http://sourceforge.net/tracker/index.php?func=detail&aid=794291&group_id=5470&atid=105470
)
but still it gets resolved, maybe it would be better if /usr/local/bin/sketch
were a shell script like
env PYTHONPATH=/usr/local/lib/sketch-0.6.15
/usr/local/lib/sketch-0.6.15/sketch.py
rather than a symlink to /usr/local/lib/sketch-0.6.15/sketch.py
Csaba
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- /usr/local/bin/sketch can't be invoked via symlink,
Csaba Henk <=