Google Groups Home
Help | Sign in
Modules path
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
wwwald  
View profile
 More options Jun 9, 8:40 am
From: wwwald <arnout.standa...@gmail.com>
Date: Mon, 9 Jun 2008 05:40:21 -0700 (PDT)
Local: Mon, Jun 9 2008 8:40 am
Subject: Modules path
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?

Thanks a bunch!
wwwald


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Ziemski  
View profile
 More options Jun 9, 3:01 pm
From: Christian Ziemski <cz...@gmx.de>
Date: Mon, 9 Jun 2008 12:01:57 -0700 (PDT)
Local: Mon, Jun 9 2008 3:01 pm
Subject: Re: Modules path
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....

But there's an easy way to make the import in the TagView extension
unnecessary.
I added a note about how to http://wikidpad.python-hosting.com/wiki/TagView.

 (BTW: Nice extension! Thanks for the hint.).

Christian


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wwwald  
View profile
 More options Jun 10, 2:24 am
From: wwwald <arnout.standa...@gmail.com>
Date: Mon, 9 Jun 2008 23:24:54 -0700 (PDT)
Local: Tues, Jun 10 2008 2:24 am
Subject: Re: Modules path
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.

> But there's an easy way to make the import in the TagView extension
> unnecessary.
> I added a note about how tohttp://wikidpad.python-hosting.com/wiki/TagView.

Great, works like a charm!

>  (BTW: Nice extension! Thanks for the hint.).

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 :-)

wwwald


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jaysen  
View profile
 More options Jun 10, 8:57 am
From: jaysen <jay...@gmail.com>
Date: Tue, 10 Jun 2008 13:57:13 +0100
Local: Tues, Jun 10 2008 8:57 am
Subject: Re: Modules path
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)

I'll add this to the instructions to
http://wikidpad.python-hosting.com/wiki/TagView.

Thanks Christian for your help and input.

jaysen naidoo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jaysen  
View profile
 More options Jun 10, 9:41 am
From: jaysen <jay...@gmail.com>
Date: Tue, 10 Jun 2008 14:41:09 +0100
Local: Tues, Jun 10 2008 9:41 am
Subject: Re: Modules path
Hi wwwald.
how did you resolve your problem? Did you rename Tags.py/TagView.py or
exclude the changes to WikidpadHooks.py ?

jaysen


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Ziemski  
View profile
 More options Jun 10, 11:27 am
From: Christian Ziemski <cz...@gmx.de>
Date: Tue, 10 Jun 2008 17:27:21 +0200
Local: Tues, Jun 10 2008 11:27 am
Subject: Re: Modules path
on 10.06.2008 15:41 jaysen wrote:

> 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.

Christian


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wwwald  
View profile
 More options Jun 11, 5:21 am
From: wwwald <arnout.standa...@gmail.com>
Date: Wed, 11 Jun 2008 02:21:07 -0700 (PDT)
Local: Wed, Jun 11 2008 5:21 am
Subject: Re: Modules path
I took Christian's suggestion to not modify WikidpadHooks.py, but I'll
try your suggestion later this week (Wikidpad on WinXP).

wwwald

On Jun 10, 5:27 pm, Christian Ziemski <cz...@gmx.de> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google