Howdy, Stranger!

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

Supported by

Problem with filename with accented characters in the pool and sub-folder in pool question

Hi all,
I am working with openSesame on french Phonetic problematic (for example phonetic differences between e and é and è)
I am getting problems with filenames with accented characters. (and also with ROI names, but I can handle this)
Of course I could allways try to map the accented characters with non accented characters (è --> ei for example) but this is not so nice.
Do you know any clue to avoid having this kind of problems (defining characterSet somewhere ) ?
And another question : is there anyway to work with subfolders (say e_ei) in pool ? I get the files in the sub-folders and work with these files correctly but when I try to save the project, OpenSesame raises the following error : Erreur: [Errno 13] Permission denied: u'c:\users\cleroux\appdata\local\temp\tmpmohfdz.opensesame_pool\e_ei'
Tanks again for your help !

Comments

  • By working a little more on that, this is much more link with (use of print for debugging and understanding)
    print items['pour_les_phonemes_du_son_choisi'].dm
    I tried to use something like encode('utf-8') .. somewhere but I do not find how to !!!
    Any clue ?

  • After some trials : my main problem is that the name of the files I want to use for Sampler contains accented characters (like è).
    No error ! But no sound is played (in fact, this is wrong .. something like a scratch is played !)
    Any clue ?

  • Hi,

    You're naming a lot of different things here, and it's not entirely clear to me what the actual problem is. Shall we give this a retry: What exactly are you trying to do? And in what sense doesn't this work as expected?

    Cheers,
    Sebastiaan

  • Ok. I agree with you that I was trying new things after better understanding ! So this is a little bit confusing !

    This is what I am trying to do:

    • help the student to distinguish with two closed phonetic sounds
    • help me knowing the students with problem with differencing these closed phonetic sound (correct responses and time needed)

    This is the content of the experiment

    • I have in the pool_folder, sub-folders for each "case" for my experiment. Say e_è, e_é, u_ou. In each folder, example of ogg files (say meurt.ogg, mère.ogg for folder e_è)
      The experiment goes like that :

    • 1st the student chooses the phonetic_case they want to work on (say e_è)

    • 2nd I create dynamicly the loop data with the content of the folder whose name is e_è
    • 3rd the 2 words are played (mère.ogg and meurt.ogg, for example)
    • 4th The student chooses the right answer (different sound or identical sound)

    here is the status
    going through subfolders to populate the loop data : OK
    play sound with file without accented character : OK
    play sound with file with accented character : not OK

    And there is a problem when trying to save the experiment
    --> Permission denied: u'c:\users\cleroux\appdata\local\temp\tmpmohfdz.opensesame_pool\e_è'
    --> this problem happens with sub-folder without accented character, too !

    Hoping it is more precise !

    Tnaks a lot

  • Hi,

    Ah ok, I see. The problem is probably that you're trying to have folders in the file pool, which is not supported. So you can either use a flat structure, without subfolders in the file pool. Or you can place the subfolders in the experiment folder, instead of in the file pool.

    Hope this helps!

    Cheers,
    Sebastiaan

  • This is what I did and it works fine ... just need some normalization with names. Thanks
    But what about playing sound for files with accented characters ? Any clue ?
    Thanks again

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