Howdy, Stranger!

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

Supported by

Problems Ubuntu instalation and opensesame

edited June 2017 in OpenSesame

Hi all

recently I installed Ubuntu 17.04 in my laptop. The ubuntu installation is completely bare. First program that I was installed is opensesame and pip). When I try to run opensesame the following problem launched by opensesame:

   _item-stack: ``
    exception message: EOF when reading a line
    time: Tue May 30 00:55:36 2017
    exception type: EOFError
    Traceback (also in debug window)

      File "/home/hermesh2/.local/lib/python2.7/site-packages/libqtopensesame/misc/process.py", line 140, in run
        exp.run()
      File "/home/hermesh2/.local/lib/python2.7/site-packages/libopensesame/experiment.py", line 399, in run
        self.init_display()
      File "/home/hermesh2/.local/lib/python2.7/site-packages/libopensesame/experiment.py", line 749, in init_display
        canvas.init_display(self)
      File "/home/hermesh2/.local/lib/python2.7/site-packages/openexp/canvas.py", line 65, in init_display
        cls.init_display(experiment)
      File "/home/hermesh2/.local/lib/python2.7/site-packages/openexp/_canvas/xpyriment.py", line 273, in init_display
        exp = control.initialize()
      File "/home/hermesh2/.local/lib/python2.7/site-packages/expyriment/control/_experiment_control.py", line 389, in initialize
        ans = input(quest + " (Y/n) ").strip().lower()
    EOFError: EOF when reading a line_

==========================================================================================
I launched the following instructions. Probably I did something wrong (all code in order to prevent information loss):
1 pip install python-opensesame
2 sudo apt-get install pip
3 pip install -U pip
4 python get-pip.py
5 python
6 sudo apt-get install python-pip python-dev build-essential
7 sudo apt-get update && sudo apt-get -y upgrade
8 pip install python-opensesame
9 pip -v
10 sudo apt-get install python-pip
11 pip -v
12 pip install python-opensesame
13 open sesame
14 sudo add-apt-repository ppa:smathot/cogscinl
15 sudo apt-get update
16 sudo apt-get install opensesame
17 pip install expyriment
18 py[tab][tab]
19 py
20 python
21 type python
22 ll /usr/bin/python
23 history

Comments

  • Hi,

    In principle, just installing OpenSesame from CogSci PPA should be enough! But that doesn't seem to be the problem here. Instead, the problem that you're running into seems to be that expyriment tries to read from the standard input, which doesn't work when it is launched from within OpenSesame. Which version of expyriment do you have installed?

    This seems to be new and, to be honest, impolite behavior of expyriment. @fladd Do you known what's happening here?

    Cheers,
    Sebastiaan

  • Hi there,

    @sebastiaan
    When Expyriment detects that it is run from an interactive shell (i.e. ipython or IDLE) and that it is set to run in fullscreen mode, it will ask to switch to window mode, in order to stay interactive. This behaviour is neither new, nor impolite in this context (an interactive shell is made for...well...interacting with the user :smile: ).

    To be more precise, Expyriment checks for the existence of __IPYTHON__ and "idlelib.run" in sys.modules, and takes either as an indication of running in an interactive shell.

    I think the question here is why Expyriment is called from an interactive shell within Open Sesame on this particular installation and not on others?

  • edited June 2017

    Hi all and thank you for the answers.

    The expryment version is
    import expyriment
    Expyriment 0.9.0 (Python 2.7.13)
    Any instruction or guide about the installation way?

    Curiously, one year ago everything worked well. Anyway, I can run the experiment on windows. But I want to solve the problem.

    PS: Sorry for the delay I am a partial time researcher :(
    PS2: Thanks again for your time
    PS3: I tried run it directly from the shell and doesn't works too.
    41 chmod 777 ST_IAT_Facebook_2_English_explicit_rev.osexp
    42 ./ST_IAT_Facebook_2_English_explicit_rev.osexp
    43 vi ST_IAT_Facebook_2_English_explicit_rev.osexp
    44 ./ST_IAT_Facebook_2_English_explicit_rev.osexp
    45 ./ST_IAT_Facebook_2_English_explicit_rev2.osexp
    Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
    Traceback (most recent call last):
    File "/home/hermesh2/.local/lib/python2.7/site-packages/libqtopensesame/widgets/tree_overview.py", line 820, in paintEvent
    def paintEvent(self, e):
    KeyboardInterrupt
    Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

  • @fladd Thanks, that clears things up.

    @Hermesh2 How do you launch OpenSesame?

  • Hi @sebastiaan ,

    directly from the Ubuntu Desktop

  • I see. There's clearly a mix-up between the regular OpenSesame installation (from the ppa) and all the things that you've installed through pip install. So as a first I would remove all the libraries that you've installed through pip, which are installed to [home]/.local/lib/python2.7/site-packages.

    Then OpenSesame will at least run as it is intended, and you can see if the problem still persists. Some packages will still need to be (re)installed through pip, but then install only those through pip—don't indiscriminately pip install stuff that was already installed from a repository (which is generally preferable).

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