oTree Forum >

Variable is changed for no reason between a local run (devserver) and real run (Heroku)

#1 by Eden_Heilprin

Hi, 
I'm experiencing this weird problem:
When I run my code locally (using otree devserver) - everything is perfect. 
And when I zip the exact same code (with otree zip), and upload it via otree hub (using Heroku), then, 
once I create a new session - a variable that in the local session appears in the data section as "x" (which is expected) - appears as "y" in the online session. 
Of course, this causes many errors and makes it impossible to run (not locally).  

I'll appreciate very (very) much any kind of help.

Best regards,
Eden

Write a reply

Set forum username