Howdy, Stranger!

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

Supported by

[open] Problems with running WinPython 2.8.1

edited June 2014 in OpenSesame

Hi,

I've downloaded WinPython, but even the most basic experiment (show a picture) doesn't seem to work. I have added a screenshot. Any ideas what I might be doing wrong?

Many thanks,

Martijn

image

Comments

  • edited 6:19AM

    I forgot to add that I'm also running the 'normal' (i.e. the non WinPython) version along side, and this works fine. The reason I want to use WinPython is to be able to interface it with EyeLink)

    Thanks,

    Martijn

  • edited June 2014

    Hi Martijn,

    Your screenshot has been scaled down and now the error message is too small to make out. Would you mind posting the full error message from the debug window?

    Cheers,
    Sebastiaan

  • edited June 2014

    Sorry forgot to actually post it. Here it is:

    Unexpected error
    
    exception message:
    exception type: WindowsError
    
    Traceback:
    File "C:\WinPython-OpenSesame-2.8.1\OpenSesame\opensesame-2.8.1\libopensesame\exceptions.py", line 74, in __init__
    info[u'line'] = traceback.extract_tb(sys.exc_info()[2])[-1][1]
    IndexError: list index out of range
    
  • edited 6:19AM

    Any ideas how to check what is wrong?

  • edited 6:19AM

    Hi Martijn,

    I'm not sure what's going here. It looks like OpenSesame fails to determine which line triggered the exception. And this error in parsing the error obscures the actual error, if you see what I mean. But I don't really understand why this would happen, and I've never seen it before.

    Is this problem specific for this machine and the WinPython distribution of OpenSesame? For example, if you run the latest 'official' OpenSesame release, do you see the same problem?

    And is there any more output in the debug window?

    Cheers,
    Sebastiaan

  • edited 6:19AM

    I’m having a similar problem…

    I created an experiment that runs perfectly on a MacBook Pro (OS X; OpenSesame 0.27.4). However, when I try to open the experiment file on my testing machine - a PC (running OpenSesame 2.8.2) - it gives an error message that reads: Unexpected error: exception message. Exception type: WindowsError

    The full error message from the debug window is as follows:

    Unexpected error

    exception message:
    exception type: WindowsError

    Traceback:
    File "dist\libopensesame\exceptions.py", line 74, in init
    IndexError: list index out of range

    See the screenshot below for the error message pop-up window.

    Any help would be much appreciated!

    Many thanks

  • edited 6:19AM

    image

  • edited 6:19AM

    image

  • edited 6:19AM

    Hi Sebastiaan (and cubistular),

    Thanks for your help so far.

    On this particular PC:

    OpenSesame 2.8.0 works fine

    WinPython-OpenSesame-2.8.1 does not work (i.e. the topic of this post)
    Just running a new blank experiment (i.e. only the welcome message) does not work with any back-end (always the same error message)

    opensesameportabble-0.27.1.-1-win32 does also not work
    However, it gives a different error: avbin.dll failed to load. Try importing psychopy.visual as the first library (before anything that uses scipy) and make sure that avbin is installed

    Cheers,

    Martijn

  • edited 6:19AM

    Hi guys,

    Thanks for letting me know about this problem. I'll try to replicate it and see if I can find the underlying problem. Once I have I'll get back to you.

    opensesameportabble-0.27.1.-1-win32 does also not work However, it gives a different error: avbin.dll failed to load. Try importing psychopy.visual as the first library (before anything that uses scipy) and make sure that avbin is installed

    This looks unrelated. The avbin.dll message is 'normal' in the sense that PsychoPy always complains about that, and it shouldn't cause any issues.

    Cheers,
    Sebastiaan

  • KJOKJO
    edited September 2014

    Hi,

    I've just come across this problem when trying to do a test run. Similar error message to those reported above...is there a solution to this problem?

    Thanks,

    KJ

  • edited 6:19AM

    I've encountered a similar issue before, on a laptop with a very outdated .NET framework. There are two possible solutions to this:

    1) Update the .NET framework.

    2) Do a local installation of Python, including all the dependencies, and use that to run OpenSesame from source.

    Alternatively, do a local installation of Python, and a local installation of PyGame. Then copy the pygame folder from Python's site-packages folder to WinPython's site-packages folder. This could work, but might not fully do it.

    Good luck!

Sign In or Register to comment.