AttributeError: 'Player' object has no attribute 'player'

1,493 views
Skip to first unread message

Hyundam Je

unread,
Feb 27, 2021, 3:29:01 AM2/27/21
to oTree help & discussion
Hi, I am just following the online lecture. I typed exactly the same codes as he did, but there is an error message; AttributeError: 'Player' object has no attribute 'player'.

I think there is a problem with "player", but I don't know what it exactly is. Sorry for the beginner's question.

1.png2.png

Chris @ oTree

unread,
Feb 27, 2021, 5:36:45 AM2/27/21
to Hyundam Je, oTree help & discussion
As discussed before, your code uses a different format from that tutorial. I recommend not following that tutorial because it will be confusing. Maybe you can follow the official tutorial in the oTree docs. 

Sent from my phone

On Feb 27, 2021, at 4:29 PM, Hyundam Je <jeh...@gmail.com> wrote:

Hi, I am just following the online lecture. I typed exactly the same codes as he did, but there is an error message; AttributeError: 'Player' object has no attribute 'player'.

I think there is a problem with "player", but I don't know what it exactly is. Sorry for the beginner's question.

<1.png>
<2.png>

--
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/5788099f-915e-45b9-b609-b0580c5d70dan%40googlegroups.com.
<2.png>
<1.png>

Hyundam Je

unread,
Feb 27, 2021, 8:50:24 PM2/27/21
to oTree help & discussion
I got it. I really appreciate your help.
Reply all
Reply to author
Forward
0 new messages