I tried to install the TagView script, following the instructions on
http://wikidpad.python-hosting.com/wiki/TagView. One problem remains:
when I try to import the "Tags" module in WikidPadHooks.py, Wikidpad
won't start and gives me a "no module named Tags" error.
Where does Wikidpad look for modules in this case? Is there some place
where this search path can be configured?
On 9 Jun., 14:40, wwwald <arnout.standa...@gmail.com> wrote:
> I tried to install the TagView script, following the instructions on http://wikidpad.python-hosting.com/wiki/TagView. One problem remains:
> when I try to import the "Tags" module in WikidPadHooks.py, Wikidpad
> won't start and gives me a "no module named Tags" error.
> Where does Wikidpad look for modules in this case? Is there some place
> where this search path can be configured?
I don't know the answer regarding the modul path for import. If anyone
else knows....
On Jun 9, 9:01 pm, Christian Ziemski <cz...@gmx.de> wrote:
> On 9 Jun., 14:40, wwwald <arnout.standa...@gmail.com> wrote:
> > I tried to install the TagView script, following the instructions onhttp://wikidpad.python-hosting.com/wiki/TagView. One problem remains:
> > when I try to import the "Tags" module in WikidPadHooks.py, Wikidpad
> > won't start and gives me a "no module named Tags" error.
Agreed, very handy extension. I keep a daily journal in Wikidpad, the
extension is really handy to group log entries into project-specific
pages. Together with your Todo scripts, it's a real lifesaver since I
tend to forget everything that's not in Google :-)
Greetings, sorry for the late response. I'm in the middle of moving and without fixed internet connection for a while. Try adding the following at the beginning of your WikidPadHooks.py file:
import sys userextpath = 'C:\\Program Files\\WikidPad\\user_extensions' # replace this path with your wikidpad location if different if userextpath not in sys.path: sys.path.append(userextpath)
On Mon, Jun 9, 2008 at 1:40 PM, wwwald <arnout.standa...@gmail.com> wrote:
> Hi,
> I tried to install the TagView script, following the instructions on > http://wikidpad.python-hosting.com/wiki/TagView. One problem remains: > when I try to import the "Tags" module in WikidPadHooks.py, Wikidpad > won't start and gives me a "no module named Tags" error.
> Where does Wikidpad look for modules in this case? Is there some place > where this search path can be configured?
On Tue, Jun 10, 2008 at 1:57 PM, jaysen <jay...@gmail.com> wrote: > Greetings, sorry for the late response. I'm in the middle of moving > and without fixed internet connection for a while. > Try adding the following at the beginning of your WikidPadHooks.py file:
> import sys > userextpath = 'C:\\Program Files\\WikidPad\\user_extensions' # replace > this path with your wikidpad location if different > if userextpath not in sys.path: > sys.path.append(userextpath)
> On Mon, Jun 9, 2008 at 1:40 PM, wwwald <arnout.standa...@gmail.com> wrote:
>> Hi,
>> I tried to install the TagView script, following the instructions on >> http://wikidpad.python-hosting.com/wiki/TagView. One problem remains: >> when I try to import the "Tags" module in WikidPadHooks.py, Wikidpad >> won't start and gives me a "no module named Tags" error.
>> Where does Wikidpad look for modules in this case? Is there some place >> where this search path can be configured?
> Hi wwwald. > how did you resolve your problem? Did you rename Tags.py/TagView.py or > exclude the changes to WikidpadHooks.py ?
Don't know what wwwald did, but rename Tags.py/TagView.py didn't work for me (running WikidPad under Linux). Unfortunately I found that out just a minute after my own posting suggesting that as a possible reason for the failing import. So I deleted that posting immediately again. At least in the online group.
> > Hi wwwald.
> > how did you resolve your problem? Did you rename Tags.py/TagView.py or
> > exclude the changes to WikidpadHooks.py ?
> Don't know what wwwald did, but rename Tags.py/TagView.py didn't work
> for me (running WikidPad under Linux).
> Unfortunately I found that out just a minute after my own posting
> suggesting that as a possible reason for the failing import.
> So I deleted that posting immediately again. At least in the online group.