otree studio [object Blob] error

34 views
Skip to first unread message

Xperia Tipo

unread,
Apr 16, 2021, 5:55:25 AM4/16/21
to oTree help & discussion
Dear Otree Experts, 

I have programmed only one experiment with otree (in old design) so far and I wanted to make less errors with the new no-self-design in my second project. So I liked to start it in Studio, export it and then continue to work on it in PyCharm. 
Unfortunately - although "No errors found" - I get the error [object Blob] when exporting. What am I doing wrong? 

Many thanks in advance!!!

Chris @ oTree

unread,
Apr 16, 2021, 6:14:39 AM4/16/21
to Xperia Tipo, oTree help & discussion
Hi, this error happens occasionally and it is usually due to incorrect indentation in the user’s python code. Make sure that your code indentation matches up, for example this is wrong:

# a comment
    x = 10

Because both the comment and code should be aligned. Anyway I will work on a better error message for this. 

Sent from my phone

On Apr 16, 2021, at 5:55 PM, Xperia Tipo <qas...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/102b942f-dddc-4cc5-8942-045ba3b28ffdn%40googlegroups.com.
Message has been deleted

Xperia Tipo

unread,
Apr 16, 2021, 6:20:41 AM4/16/21
to oTree help & discussion
Thank you, that was really the problem. 
Reply all
Reply to author
Forward
0 new messages