On Mar 7, 2021, at 6:06 PM, Jiaqing Liu <jiaqin...@gmail.com> wrote:
Hi Chris,
I'm trying to use a timeout on a page and tried the code on the documentation here: https://otree.readthedocs.io/en/latest/timeouts.html#timeout-seconds
<Capture.PNG>
When I run this I get the following error: TypeError: before_next_page() missing 2 required positional arguments: 'player' and 'timeout_happened'
The traceback shows: self.before_next_page()
How do you call before_next_page and pass the two missing arguements?
Thanks in advance,
Jia
--
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/3b85986b-dee8-45d1-8858-45fed130bcf9n%40googlegroups.com.
<Capture.PNG>