Howdy, Stranger!

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

Supported by

Psychopy broken after latest upgrade to ubuntu 13.04 (due to PIL)

edited May 2013 in OpenSesame

Hey there,

Not really an OS - issue per se, because it mostly seems to be pscyhopy's problem -- or even further upstream actually-- but my latest Ubuntu upgrade didn't do psychopy much good.
I already posted in the psychopy mailing list, but after the latest upgrade, a import statement from PIL in psychopy doesn't seem to work anymore, rendering it impossible to run psychopy experiments

I posted details and links here

Anyone experiencing issues as well?

  • psychopy version 1.76.00

  • python-imaging version 1.1.7+2.0.0-1

Comments

  • edited 1:13AM

    Hi Wouter,

    I just upgraded to Kubuntu 13.04 as well (as you know), and I experience the same issue.

    This should be resolved as quickly as possible, because it will affect quite some users. Let's first see what Jon Peirce says, and whether he'll fix this soon. Your suggestion should work, I think. You can also submit this as a pull request to https://github.com/psychopy/psychopy to speed up the process.

    Cheers,
    Sebastiaan

  • edited 1:13AM

    Btw, on a related note: Do you also have the problem that the editor fonts in OpenSesame are stuck on Arial since the upgrade?

  • edited May 2013

    I could, but I have no insight so far as to how many files would need such a fix -- I'd have to dive into the psychopy source way deeper than I'd like to right now ;)

    Do you also have the problem that the editor fonts in OpenSesame are stuck on Arial since the upgrade?

    yep, that too

  • edited May 2013

    Jon's replied; He's fixed all of these imports and it seems a new psychopy release will be out next week, including these changes!
    https://github.com/psychopy/psychopy/commit/b294c5395574f7fdcfce28ea9258a5284a2fe1e4

  • edited 1:13AM

    Great! And in case someone needs a temporary hack to fix it for now:

    Open makeMovies.py in gedit (replace gedit by kate if your on Kubuntu/ KDE):

    sudo gedit /usr/lib/pymodules/python2.7/psychopy/makeMovies.py
    

    and change this line (near the top of the file):

    from GifImagePlugin import getheader, getdata #part of PIL
    

    to

    from PIL.GifImagePlugin import getheader, getdata #part of PIL
    

    Now, save and exit, and PsychoPy should work again.

Sign In or Register to comment.