Howdy, Stranger!

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

Supported by

[solved] File Pool & Resolution on Linux

edited March 2012 in OpenSesame

I just wonder about one thing: I have imported all my bmp files and saved the whole experiment including filepool. While the resulting tar file size is 9,6 MB, all my bmp files before import take more than 80MB. So what is OpenSesame doing with those files? And how?

Thanks! ;-)

Comments

  • edited 9:12PM

    Hi Jakub,

    Ow that's simply compression. .tar.gz files are compressed archives, kind of like a zip file (you can open them with 7-zip). The (almost) 10:1 compression ratio is a lot though! The images are probably easy to compress for some reason.

    Cheers!
    Sebastiaan

    Buy Me A Coffee

  • edited 9:12PM

    Ok, they contain a lot of black background, so that's probably why. There is however one thing I don't understand - when I try to run the same experiment on Oneiric, I get this:

    Error: Runtime error
    Description: 'nom8.BMP' could not be found in sketchpad 'nombre'. Make sure that the file is present in the file pool (or specify the full location of the image in the script editor).

    All bmp files ARE present in the filepool (not to mention than on Win 7 it works just fine.) I thought it would be something with storing the files but now that I understand everything really IS inside the filepool (although compressed), I'm somewhat puzzled. The debug output doesn't say much:

    Python 2.7.2
    Type "help()", "copyright()", "credits()" or "license()" for more information.
    Type "modules()" for details about installed modules and version information.
    Use the "print [msg]" statement in inline_script items to print to this debug window.
    openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 512
    openexp._canvas.legacy.init_display(): enabling hardware surface
    openexp._canvas.legacy.init_display(): enabling double buffering
    openexp._canvas.legacy.init_display(): video mode ok
    experiment.init_log(): using '/home/jakub/Projects/2012 MS STUDY/3 presentation/Experiment builds/subject-0.csv' as logfile
    experiment.run(): experiment started at Tue Mar 27 21:47:25 2012

    In both systems I use legacy back-end.

  • edited 9:12PM

    Could it be a capitalization issue? I believe that Windows is case-insensitive, whereas Linux is (with most filesystems) case sensitive. So if the bitmap is named, say, nom8.bmp but you refer to it as nom8.BMP this would explain why it only works on Windows.

    Buy Me A Coffee

  • edited March 2012

    Yes, you are right. After typing the file suffix in lower case it started to work.

    Yet something odd happens: While on Windows the sketchpad gets displayed as intended (meaning, one of the 12 bmp 1000x750 images on black background), on Oneiric the image gets stretched (it seems that the width dimension gets stretched all along the 1200 pixels of my lap's monitor width). Would this be the same issue as we discussed in the other thread, that is, graphics card drivers on linux or is it something else?

  • edited 9:12PM

    Hi Jakub,

    If the resolution of the experiment doesn't match the host resolution (as is probably the case here), there are two things that can happen: a) the display resolution is temporarily changed, or b) the display is "padded" to match the host resolution.

    And, as you suspect, which of these happens depends on the operating system and the backend. One way to make sure that you get consistent behaviour is simply by making sure that the resolution of the experiment matches the host resolution.

    Note that in 0.25 there is a bug with changing the resolution using the GUI, so you'll have to edit the 'general script' in the main tab of the experiment. Or you can use the latest 0.26 snapshot, which should be officially released one of these days.

    Cheers!
    Sebastiaan

    Buy Me A Coffee

  • edited 9:12PM

    Ahh, ok! I was tweaking the resolution inside the GUI to no avail. Now I know why.

    Thanks!

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