OpenViBE forum

The OpenViBE community
It is currently Thu Dec 14, 2017 10:05 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Python box
PostPosted: Mon Nov 02, 2015 7:16 pm 
Offline

Joined: Thu Apr 30, 2015 7:26 am
Posts: 3
Hi,

Recently, I have installed OpenVibe 1-0-1. In the previous version I had an access to the Pyton box in the designer but now under "Scripting" category I have only Lua Stimulator and Matlab Scripting. Of course also my earlier scenarios with Python Boxes doesn't work now. Could you help me and point what should I do to regain the access to the Python Box?

Iza


Top
 Profile  
Reply with quote  
 Post subject: Re: Python box
PostPosted: Wed Nov 04, 2015 8:27 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 599
Location: INRIA Rennes, FRANCE
Hi, when you start designer, is there the following line in the output?

[ INF ] Added 1 plugin object descriptor(s) from [c:/Program Files (x86)/openvibe//bin/openvibe-plugins-contrib-python.dll]

If not, or if there's something else, what exactly?


Cheers,
Jussi


Top
 Profile  
Reply with quote  
 Post subject: Re: Python box
PostPosted: Wed Nov 04, 2015 9:05 am 
Offline

Joined: Thu Apr 30, 2015 7:26 am
Posts: 3
Jussi, thanks a lot!
In fact, I obtain the warning:

No 'plugin object descriptor' found from [c:/Program Files (x86)/openvibe//bin/openvibe-plugins-contrib-python.dll] even if it looked like a plugin module'

First, I thought that I should install the python library, but the library is contained in the mentioned folder. So what should I do to gain the access to the python box?

Best,
Iza


Top
 Profile  
Reply with quote  
 Post subject: Re: Python box
PostPosted: Wed Nov 04, 2015 10:39 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 599
Location: INRIA Rennes, FRANCE
I've tested both 1.0.1 and 1.1.0 installers, and both include that .dll, and the box seems to appear normally
in Designer. Can you check if the size of the dll it mentions is approx. 170kb in bin/?


Cheers,
Jussi


Top
 Profile  
Reply with quote  
 Post subject: Re: Python box
PostPosted: Fri Nov 06, 2015 12:56 pm 
Offline

Joined: Thu Apr 30, 2015 7:26 am
Posts: 3
I've just solved the problem. When students in my lab installed a new version of OpenVibe, they also reinstalled Python. Unfortunately, they chose 64-bit version of Python :). I haven't thought about this before but when I followed Jussi advice, I checked WHY Python stopped the cooperation with OpenVibe. So, Jussi thanks once again for your help. The problem has been solved by returning to 32-bit Python.

Best,
Iza


Top
 Profile  
Reply with quote  
 Post subject: Re: Python box
PostPosted: Fri Nov 06, 2015 2:19 pm 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 599
Location: INRIA Rennes, FRANCE
Okay, good to know, and thanks for the feedback!

Its a bit annoying that it cannot detect if the python interpreter is appropriate. Maybe we should think at the openvibe office if there's a nice automatic way to do this. I'll put it in our suggestion box.


Cheers,
Jussi


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.