Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

unichr() arg not in range(0x110000) error (sometimes)

edited April 2018 in OpenSesame

Hi, I got a very strange error but only twice out of ten or twenty of runs.

It's happening in a blank sketchpad, with no code and a duration of 500ms. So no code at all. I tried to google this error, but I couldn't find anything about it.

Any clues about what's happening?

I'm using 3.2.2b1 'Kafkaesque Koffka' in Ubuntu 16.04

Thanks!

The experiment did not finish normally for the following reason:

Unexpected error
Details

item-stack: experiment[run].practice_loop[run].trial_sequence[run].block_loop[run].trial_procedure_1[run].blank[run]
exception type: ValueError
exception message: unichr() arg not in range(0x110000) (wide Python build)
time: Tue Apr 24 15:15:45 2018
Traceback (also in debug window)

  File "/usr/lib/python2.7/dist-packages/libqtopensesame/misc/process.py", line 154, in run
    exp.run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/experiment.py", line 439, in run
    self.items.execute(self.var.start)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 103, in execute
    self.run(name)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 122, in run
    self[name].run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/sequence.py", line 51, in run
    self.experiment.items.run(_item)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 122, in run
    self[name].run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/loop.py", line 341, in run
    self.experiment.items.execute(self._item)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 103, in execute
    self.run(name)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 122, in run
    self[name].run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/sequence.py", line 51, in run
    self.experiment.items.run(_item)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 122, in run
    self[name].run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/loop.py", line 341, in run
    self.experiment.items.execute(self._item)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 103, in execute
    self.run(name)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 122, in run
    self[name].run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/sequence.py", line 51, in run
    self.experiment.items.run(_item)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 122, in run
    self[name].run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/sketchpad.py", line 154, in run
    base_response_item.run(self)
  File "/usr/lib/python2.7/dist-packages/libopensesame/base_response_item.py", line 128, in run
    retval = self._collect_response()
  File "/usr/lib/python2.7/dist-packages/libopensesame/base_response_item.py", line 232, in <lambda>
    return lambda: self.clock.sleep(self.var.duration)
  File "/usr/lib/python2.7/dist-packages/openexp/_clock/psycho.py", line 38, in sleep
    core.wait(.001*ms)
  File "/usr/lib/python2.7/dist-packages/psychopy/clock.py", line 222, in wait
    win.winHandle.dispatch_events()  # pump events
  File "/usr/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 1140, in dispatch_events
    self.dispatch_platform_event(e)
  File "/usr/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 1169, in dispatch_platform_event
    event_handler(e)
  File "/usr/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 1326, in _event_key
    text, symbol = self._event_text_symbol(ev)
  File "/usr/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 1262, in _event_text_symbol
    symbol = ord(unichr(symbol).lower())
ValueError: unichr() arg not in range(0x110000) (wide Python build)

Comments

  • Hi Bruno,

    That's a very strange error message. It seems to originate from pyglet, the Python library used by PsychoPy (and thus OpenSesame's psycho backend), when it tries to handle a key press with a strange key code. A bug, clearly. Does this happen when you accidentally press a key, or do something else, during the delay period?

    Upgrading pyglet may be the best solution.

    Cheers!
    Sebastiaan

  • Ok, i'll do it. I think I might have turned on the volume with the keyboard or pressed special keys now that you mention it.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games