WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1  
Old 03-17-2014, 05:13 AM
chris2307 chris2307 is offline
Member
 
Join Date: Nov 2013
Posts: 36
Okay,

So I guess it may have been installed incorrectly. The people who previously worked with pylink in Vizard 4 did not install it via the package manager but directly linked their project to the pylink directory (as I have tried to do above).

Installing pylink in the Vizard 5 beta means I can now import pylink. However, the previous code breaks and I now see this error.

Code:
Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "C:\Users\Operator\Desktop\Application\src\functions\EyeTracker.py", line 194, in <module>
    beginExperiment()
  File "C:\Users\Operator\Desktop\Application\src\functions\EyeTracker.py", line 138, in beginExperiment
    _setupConnection(False)
  File "C:\Users\Operator\Desktop\Application\src\functions\EyeTracker.py", line 20, in _setupConnection
    eyelinktracker = pylink.EyeLink()     # Real connection
AttributeError: 'module' object has no attribute 'EyeLink'
The code at which it fails at is:

Code:
	if dummy == True:
		eyelinktracker = pylink.EyeLink(None) # open dummy connection
	else:
		eyelinktracker = pylink.EyeLink()     # Real connection
I'm getting frustrated now because I feel like I am missing something really obvious here...
Reply With Quote
  #2  
Old 03-17-2014, 02:07 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I'm thinking the pylink module you are using is different than the official one that is hosted on the Python Package Index. Do you know where the previous module came from?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
5DT glove ultra error 5dt.dls failed kabk Vizard 2 05-05-2009 01:43 PM
iteration over non-sequence error just alex Vizard 3 03-04-2009 01:58 PM
Vrml Import Error softscan2 Vizard 0 01-14-2008 06:28 AM
Import error mjabon Vizard 1 11-01-2007 11:31 AM
Pick porblem with arrays shivanangel Vizard 3 08-27-2007 11:10 AM


All times are GMT -7. The time now is 01:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC