Howdy, Stranger!

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

Supported by

[solved] VLC AttributeError

edited June 2014 in OpenSesame

Dear colleagues!

I have this problem with VLC plug-in:

Unexpected error
line: 1227
exception message: 'NoneType' object has no attribute '_instance'
exception type: AttributeError

Traceback (also in debug window):
  File "dist\libqtopensesame\misc\process.py", line 130, in run
  File "dist\libopensesame\experiment.py", line 291, in run
  File "dist\libopensesame\sequence.py", line 56, in run
  File "dist\libopensesame\loop.py", line 145, in run
  File "dist\libopensesame\sequence.py", line 56, in run
  File "dist\libopensesame\loop.py", line 144, in run
  File "dist\libopensesame\sequence.py", line 108, in prepare
  File "C:\Program Files (x86)\OpenSesame\plugins\media_player_vlc\media_player_vlc.py", line 212, in prepare
  File "C:\Program Files (x86)\OpenSesame\plugins\media_player_vlc\vlc.py", line 1227, in media_player_new
AttributeError: 'NoneType' object has no attribute '_instance'

I am not a programmer; however, I tried to see the indicated line, and did not understand where the problem was.

I tried GStreamer, it did not work; hence, it would be better, if you showed me how to fix the VLC problem.

I work on Windows 8 and OpenSesame 2.8.1

Comments

  • edited 2:24PM

    Hi,

    The media_player_vlc plug-in requires that the VLC player is (separately) installed to its default location. I'm not sure which versions of the VLC player work with the plug-in, but personally I have VLC media player 2.0.4 (Twoflower), which works just fine. Could that be it?

    I tried GStreamer, it did not work; hence, it would be better, if you showed me how to fix the VLC problem.

    There are quite elaborate installation instructions in the plug-in's readme:

    Cheers,
    Sebastiaan

  • edited 2:24PM

    Thank you very much, Sebastiaan. VLC plug-in did not work, when the version of VLC was 1.0.4. The combination of VLC 2.1.3, Windows 8, and OpenSesame 2.8.1 works correctly.

Sign In or Register to comment.