[visionegg] Re: ephys_gui

Joe:
This output is looking better...
Do you have a firewall on your PC?
 
There is a port (7766?) I think I had to enable on it to get the server to
run.
 
Ethan.

-----Original Message-----
From: joe voss [mailto:joe.voss@xxxxxxxxxxxxxxxx] 
Sent: Thursday, October 07, 2004 8:00 AM
To: visionegg@xxxxxxxxxxxxx
Subject: [visionegg] Re: ephys_gui


Hello Andrew,
OK, because of the information that ephys_gui does not work with new python
versions, I now uninstalled the python 2.3.4 version and installed the 2.2.1
with all programs given in "Instructions for Python 2.2 (old)".
I installed the latest release of Pyro and the config-check shows:

check-config.py for Vision Egg 0.9.5a2.
[2003/09/19 03:54:27 CVS revision 1.19]
Beginning configuration check.

...
VISIONEGG_GUI_INIT = 1
VISIONEGG_GUI_ON_ERROR = 1
VISIONEGG_HIDE_MOUSE = 1
VISIONEGG_LOG_FILE = VisionEgg.log
VISIONEGG_LOG_TO_STDERR = 1
VISIONEGG_MAXPRIORITY = 0
VISIONEGG_MONITOR_REFRESH_HZ = 60.0
VISIONEGG_PREFERRED_BPP = 32
VISIONEGG_REQUEST_ALPHA_BITS = 0
VISIONEGG_REQUEST_BLUE_BITS = 8
VISIONEGG_REQUEST_GREEN_BITS = 8
VISIONEGG_REQUEST_RED_BITS = 8
VISIONEGG_SCREEN_H = 480
VISIONEGG_SCREEN_W = 640
VISIONEGG_SYNC_SWAP = 1
VISIONEGG_SYSTEM_DIR = C:\PROGRAMME\VISIONEGG\PYTHON221\VisionEgg
VISIONEGG_TKINTER_OK = 1
VISIONEGG_USER_DIR = ~\VisionEgg

Version checklist:

Python version 2.2.1 (OK)
extra Python info: (#34, Apr 9 2002, 19:34:33) [MSC 32 bit (Intel)]
Numeric version 21.0 (OK)
PyOpenGL (package "OpenGL") version 2.0.0.44 (OK)
pygame version 1.5.3 (OK)
Python Imaging Library (package "Image") version 1.1.4 (OK)

Optional module(s):

Pyro version 3.4 (OK)
winioport failed

Then I tried to start the ephys_server and got the note:

2004-10-07 13:08:03,809 (-255899) INFO: Script C:\Programme\visionegg
source\dem
os\ephys_server.py started Vision Egg 0.9.9 with process id -255899.

    pyro_server = VisionEgg.PyroHelpers.PyroServer()
  File
"C:\PROGRA~1\VISION~2\PYTHON~1\Lib\site-packages\VisionEgg\PyroHelpers.py
", line 61, in __init__
    self.daemon = Pyro.core.Daemon()
  File "C:\PROGRAMME\VISIONEGG\PYTHON221\lib\site-packages\Pyro\core.py",
line 5
56, in __init__
    raise DaemonError('Couldn\'t start Pyro daemon: ' +str(errormsg))
DaemonError: Couldn't start Pyro daemon: (10047, 'Address family not
supported')


Traceback (most recent call last):
  File "C:\Programme\visionegg source\demos\ephys_server.py", line 14, in ?
    start_server( server_modules )
  File
"C:\PROGRA~1\VISION~2\PYTHON~1\Lib\site-packages\VisionEgg\PyroApps\EPhys
Server.py", line 166, in start_server
    pyro_server = VisionEgg.PyroHelpers.PyroServer()
  File
"C:\PROGRA~1\VISION~2\PYTHON~1\Lib\site-packages\VisionEgg\PyroHelpers.py
", line 61, in __init__
    self.daemon = Pyro.core.Daemon()
  File "C:\PROGRAMME\VISIONEGG\PYTHON221\lib\site-packages\Pyro\core.py",
line 5
56, in __init__
    raise DaemonError('Couldn\'t start Pyro daemon: ' +str(errormsg))
Pyro.errors.DaemonError: Couldn't start Pyro daemon: (10047, 'Address family
not
 supported')

Whe I try to run the EPhys_gui, the EPhysGUI Connect window appears,
hostname and port number are:
Bio1_4152 (this computer)
7766
When I press Enter I receive the message:

an unhandled exeption was caught.
Pyro.errors.URIError: unknown host
...

As far as I understand it, it should be possible to run the EPhysGUI and the
server on one and the same computer....?
I hope you can give me some advice.
Thanks in advance.
Cheers,      
Joe 


Andrew Straw wrote:


Hi, 

I'm a bit pressed for time at this instant, but next week, if you're still
having troubles, send another email to the list and I'll spend more time on
it. 

But, to hopefully answer your questions: 

Pyro, in general, is optional for using the Vision Egg.  However, it's an
integral part of the ephys_server and ephys_gui setup.  So, you need to
install it.  It's homepage is http://pyro.sourceforge.net/
<http://pyro.sourceforge.net/>  

There have very recently been some big improvements to the ephys_server and
ephys_gui stuff, thanks to Imran Ali and others from the David O'Carroll lab
at the University of Adelaide.  In a nutshell, now any Vision Egg script can
be run in this ephys_server/gui system without the hassle of writing a
specific plug-in module.  I am planning on releasing the 1.0 version with
this new stuff once I get the proverbial "bit of free time" to test it a bit
more and make a proper release.  (It can currently be downloaded from CVS,
but seeing as you're a self-admitted newbie, I wouldn't recommend that
approach...) 

Cheers! 
Andrew 

joe voss wrote: 



Hi Ethan, 
first of all: thank you for your fast response. I checked the modules and
you were right, "Pyro" does not exist. 
Unfortunately I did not find the module anywhere. Is it maybe a problem,
that I installed Python 2.3.4. I followed the "Instructions for Python 2.3",
given on the "Windows Install: Step-by-step" site. On the same site, in
"Instructions for Python 2.2 (old)" something is said that an installation
of Python-2.2.1 is recommended and more recent releases of Python are
available, but a bug (SF #651701) affects ephys_server/gui in Python 2.2.2
and 2.2.3....??? Mabbe that is the problem? 
Any ideas? 
I hope I´ll get it run .... 

Thanks again 
Joe 


Cohen, Ethan D wrote: 



Joe: 

I had that problem too as a newbie. 
I still am not sure where to put modules to load. I am putting them as 
subdirectories of the python executable files. 

1. First  you have to check you loaded the "Pyro" module at all. From the 
cmd line in MS_Windows 
Python 
Help () 
Modules 

See if Pyro was loaded. 

It seems you must load pyro to get it to run. 
2. Install Pyro and make sure you are successful: you should see a spew of 
modules loaded in the cmd box if it loads OK. 

3. First I ran ephys_server "python ephys_server". 
You should see a windows box for a opening a port 7766 or the like. 


Then I ran ephys_gui (I think that ran in python windows as a .pyw file). 

Then I was able to get to the construction screens you mentioned. 
Not so simple for us newbies. 

Ethan. 

-----Original Message----- 
From: joe voss [mailto:joe.voss@xxxxxxxxxxxxxxxx
<mailto:joe.voss@xxxxxxxxxxxxxxxx> ] Sent: Thursday, September 30, 2004 9:14
AM 
To: visionegg@xxxxxxxxxxxxx <mailto:visionegg@xxxxxxxxxxxxx>  
Subject: [visionegg] getting started 


Hello everybody, 
I want to perform some electrophysiological experiments on the visual system
of birds. 
As I searched the internet I came accross the Vision Egg programm and when I
saw the screenshots of the Ephys_gui I found this programm to fit very well
to my experimental setup. I want to present gratings, bars etc with
different properties and in varying angles. The problem is that I am new to
any programming. 
I successfully installed the programms as recommended under "Instruction for
Python2.3" and downloaded the demos. 
If I go to the Python folder (using the Windows-"Start"-button - "Programs"
- "Python 2.3.4"), I can start: 
IDLE (python GUI), Module Docs, Python (command line), etc... OK, now my 
question: how can I make the Ephys_gui run (...if I doubleclic on the
demofile nothing happends)? Is there any way to perform easy experiments
using Vision Egg without learning a whole programming language (the
Ephys_gui seem to provide all parameters I want to be controlled...)? 
I hope anyone can give me some advice. 
Thanks in advance. 
Joe 




Other related posts: