Cannot add python plugin path

Asked by Hendrik

Hi everybody,
i am currently following your installation guide on a new machine and got stuck at the point where to add python plugin path to playground.config.

[AdditionalPluginPaths]
path1 = /usr/lib/python[version]/site-packages/openwns/wrowser/playgroundPlugins/

Currently there are python versions 2.4, 2.5, 2.6 and 3.0 installed. Only version 2.5 comprises a folder site-packages, but no subsequent openwns folder...

Did I miss something?
I followed your installation order except that I installed the postgresql in advance...

Thanks for your help.

Question information

Language:
English Edit question
Status:
Solved
For:
openWNS Library Edit question
Assignee:
No assignee Edit question
Solved by:
Hendrik
Solved:
Last query:
Last reply:
Revision history for this message
Hendrik (mostricht) said :
#1

Aha,
[AdditionalPluginPaths]
path1 = /usr/local/lib/python2.6/dist-packages/openwns/wrowser/playgroundPlugins/SimulationCampaign/
works even better!
Find is a powerful weapon :-)

BR

Revision history for this message
Daniel Bültmann (daniel.bueltmann) said :
#2

Dear Hendrik,

I will file a bug for this in the documentation project. What I wonder is, do you need to give the full path to '/usr/.../SimulationCampaign'? It should be './usr/....../playgroundPlaygroundPlugins' instead. Playground expects plugins to be in subdirectories of a set of plugin paths. I am a bit surprised that this seems to work at all.

Regards,
  Daniel

Revision history for this message
Hendrik (mostricht) said :
#3

Sorry,
this was a mistake by myself: there is no need for the last folder 'SimulationCampaign'.
You are right, the path should be like you said './usr/....../playgroundPlaygroundPlugins'

BR

Revision history for this message
Daniel Bültmann (daniel.bueltmann) said :
#4

Just out of curiosity:

Does it work with SimulationCampaign appended to the path, too?

Hendrik wrote:
> Question #110429 on openWNS Library changed:
> https://answers.launchpad.net/openwns-library/+question/110429
>
> Hendrik posted a new comment:
> Sorry,
> this was a mistake by myself: there is no need for the last folder 'SimulationCampaign'.
> You are right, the path should be like you said './usr/....../playgroundPlaygroundPlugins'
>
> BR
>
>

Revision history for this message
Hendrik (mostricht) said :
#5

No, it doesn't...