WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 03-17-2014, 04: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
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 12:43 PM
iteration over non-sequence error just alex Vizard 3 03-04-2009 12:58 PM
Vrml Import Error softscan2 Vizard 0 01-14-2008 05:28 AM
Import error mjabon Vizard 1 11-01-2007 10:31 AM
Pick porblem with arrays shivanangel Vizard 3 08-27-2007 10:10 AM


All times are GMT -7. The time now is 05:28 PM.


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