esdalmaijer / PyGaze

an open-source, cross-platform toolbox for minimal-effort programming of eye tracking experiments
www.pygaze.org
GNU General Public License v3.0
671 stars 211 forks source link

Compatability with OpenSesame 3.0.0 #41

Closed cyrus closed 6 years ago

cyrus commented 8 years ago

Does anyone know if the current versions of the OpenSesame plugins on the master branch work with OpenSesame 3.0.0? If not, is there a branch for testing this yet?

I tried them today and I got this error (below)

Thanks!

Unexpected error

item-stack: experiment[run].practice_loop[run].block_sequence[run].block_loop[run].trial_sequence[run].pygaze_log[run]
exception message: eval_text not found
time: Thu Oct 22 15:44:44 2015
exception type: AttributeError

Traceback:
  File "/usr/lib/pymodules/python2.7/libqtopensesame/runners/inprocess_runner.py", line 38, in execute
    self.experiment.run()
  File "/usr/lib/pymodules/python2.7/libopensesame/experiment.py", line 390, in run
    self.items.execute(self.var.start)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 95, in execute
    self.run(name)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 110, in run
    self[name].run()
  File "/usr/lib/pymodules/python2.7/libopensesame/sequence.py", line 49, in run
    self.experiment.items.run(_item)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 110, in run
    self[name].run()
  File "/usr/lib/pymodules/python2.7/libopensesame/loop.py", line 143, in run
    self.experiment.items.execute(self.var.item)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 95, in execute
    self.run(name)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 110, in run
    self[name].run()
  File "/usr/lib/pymodules/python2.7/libopensesame/sequence.py", line 49, in run
    self.experiment.items.run(_item)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 110, in run
    self[name].run()
  File "/usr/lib/pymodules/python2.7/libopensesame/loop.py", line 143, in run
    self.experiment.items.execute(self.var.item)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 95, in execute
    self.run(name)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 110, in run
    self[name].run()
  File "/usr/lib/pymodules/python2.7/libopensesame/sequence.py", line 49, in run
    self.experiment.items.run(_item)
  File "/usr/lib/pymodules/python2.7/libopensesame/item_store.py", line 110, in run
    self[name].run()
  File "/usr/share/opensesame/plugins/pygaze_log/pygaze_log.py", line 60, in run
    self.experiment.pygaze_eyetracker.log(self.eval_text(msg))
  File "/usr/lib/pymodules/python2.7/libopensesame/item.py", line 280, in __getattr__
    raise AttributeError(u'%s not found' % var)
AttributeError: eval_text not found
cyrus commented 8 years ago

I just got word from Sebastian to use his fork. I am trying this now.

-Cyrus

smathot commented 7 years ago

@esdalmaijer You can close this one. PyGaze works fine with OpenSesame 3.X for a while now.