Howdy, Stranger!

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

Supported by

[solved] inline script / python error

edited March 2014 in OpenSesame

Hi everyone!
I am really newbie with this program. I want to create very similar experiment like this: http://forum.cogsci.nl/index.php?p=/discussion/277/open-using-opensesame-for-m-o-t-task/p1

My problem is, that i get error when i try to run experiment. This is the error and i really don't know, what does it mean. I was googling, but nothing found. No matter if i use Open Sesame 2.8 or 0.27...

Thanks for any attempt to solve this my problem. And sorry for my english =)

openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 512
openexp.sampler._legacy.init_sound(): mixer already initialized, closing
experiment.init_log(): using 'D:/Škola/DIPLOMOVÁ PRÁCA/Experiment/subject-0.csv' as logfile (utf-8)
experiment.run(): experiment started at Thu Mar 06 21:00:07 2014
Traceback (most recent call last):
  File "dist\libopensesame\inline_script.py", line 125, in prepare
  File "<string>", line 4
    w, h = 1024, 768 # This should match the resolution specified in the experiment!
   ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "dist\libqtopensesame\qtopensesame.py", line 1393, in run_experiment
  File "dist\libopensesame\experiment.py", line 287, in run
  File "dist\libopensesame\sequence.py", line 55, in run
  File "dist\libopensesame\loop.py", line 147, in run
  File "dist\libopensesame\sequence.py", line 55, in run
  File "dist\libopensesame\loop.py", line 146, in run
  File "dist\libopensesame\sequence.py", line 107, in prepare
  File "dist\libopensesame\inline_script.py", line 127, in prepare
inline_error: Error: Inline script error
In: inline_script (run phase)
   ^

Python traceback:
IndentationError: unexpected indent

Full traceback in debug window

Comments

  • edited 9:45AM

    Hi,

    Welcome to the forum.

    As the above message already tells you, you can find the full error message in the debug window. You can open the debug window by pressing the ladybug item.

    image

    Could you perhaps provide us with the full error message, and the Python inline code that you are using?

    Cheers,

    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited 9:45AM

    That error is from debug window, but I think, it is working now.... the problem was wrong copying the code - I copy it from this forum and don't click on "Download Raw", so there was problem with spaces and tabs. After I paste the code from "Download Raw", everything is working now. Sorry for that stupid mistake, next time I will pay more attention on this things =)
    Thank you for your time and maybe, I will post more serious (or real) problem. Have a nice day =)

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