Howdy, Stranger!

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

Supported by

Error with Pyhton encoding the user path with accent ?

Hello everyone,

I would like to share my recent experience:

  • I run an experiment on last friday: no problem.
  • I run it yesterday (on monday) : an error appeared right after I choose the file or saving the name of the opensesame .csv file. I couldn't even run my task.
 'ascii' codec can't encode character u'\xe9' in position 37: ordinal not in range(128)
  • After trying with severals tasks, the same error message keeps appearing all over again with all my tasks. The exact same error message.
  • I created another User session on my laptop running with windows 10 as my current user session is written with an accent, I've created the new one with no accen, just .. you know to see ...
  • Well, no error anymore. BUT WHY ? and HOW did this happen in just a couple of days without changing anything to my laptop ? It means I have to use my other session to run all my experiments now. This is quite confusing ...


FIY: Using windows 10, even if you change the user name directly in the settings options or on your microsoft account, it does not change it into the USER PATH. One provided solution by W10 helpers forum, is to modify it directly into you hardrive user file by creating another adminstrator session 'but it can crash'. Well, yes, I've just tried with a random new session and it's literraly erasing all files by creating an alternative temporary session ...

I am wondering why .. suddently ... ?

Have a good day,

Comments

  • Hi Coline,

    In the debug window, you should find a more elaborate error message (traceback) that might helps us to pinpoint where this error comes from. Could you post the traceback here?

    Cheers!

    Sebastiaan

    Buy Me A Coffee

  • Hello, here is the infirmation I got, that's all

    Thanks Coline

  • Hi Coline,

    If you press Ctrl+D, you will show the debug window. Could you post everything that's shown in there from the moment that the experiment starts until the moment that you see this crash?

    Cheers!

    Sebastiaan

    Buy Me A Coffee

  • Hei again,


    Here is what I got:


    Python 2.7.13
    
    * Type "help()", "copyright()", "credits()" or "license()" for more information.
    * Use the "print([msg])" function in inline_script items to print to this debug window.
    * Inspect inline_script variables when an experiment is finished.
    
    
    'ascii' codec can't encode character u'\xe9' in position 37: ordinal not in range(128)
    
    item-stack: 
    time: Mon Apr 15 13:58:07 2019
    


  • Hmmm, that's not very informative. If you look under Menu → Tools → Preferences, which runner is selected?

    Buy Me A Coffee

  • Hello.

    I guess it is the external runner:


  • edited April 2019

    Hi Coline,

    Ok, that clarifies things a bit. It's seems to be a bug, but probably specific to the external runner, which is rarely used. So we'll fix that. And for now you can workaround the issue by selecting the multiprocess runner.

    Cheers!

    Sebastiaan

    Buy Me A Coffee

  • Indeed, it is working well now. Thanks a lot for your help.


    Still, I am curious... do you have any idea on how did the bug appear ?

  • Good! And no, for now I don't know what caused the bug. But it's on the to-do list for the next maintenance release (3.2.8)!

    Buy Me A Coffee

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