#1
by
fletcherian
Hi Everyone! I am currently writing a new program based on a similar game I coded. The old game ran perfectly. I have collected and analyzed the data. As of last Friday, the old game was working and running. In this new game, I went to download a test my program, and I kept getting errors similar to this: TypeError: player.delta_disp is None. Accessing a null field is generally considered an error. Or, if this is intentional, use field_maybe_none() I wanted to make sure it was just this new game and not an artifact of something I had copied over incorrectly, so I downloaded a new version of the base game and ran into the same issue, which means the game that worked last week no longer works either. To make doubly sure I didn't accidentally change something in crossing everything over, I downloaded a game that was almost 2 years old and hadn't been touched since, and it ran into the same issue of the null fields. I then asked some fellow grad students with whom I work closely to download some of their old code and see if it was an issue on my machine, but the same errors occurred on their machines as well. I then opened a locally saved version of the base game and the old code, and both ran perfectly, which makes me think there is an issue with the oTreehub download process. Curious if anyone has any solutions or if this is happening to anyone else.
#2
by
collindep
Wanted to signal boost this, I've had the same problem. Tried running old projects and they worked fine until they hit a portion that used a custom function, and then I got the same kind of error: TypeError: player.last_guess_correct is None. Accessing a null field is generally considered an error. Or, if this is intentional, use field_maybe_none() Followed the same procedures as above, nothing has resolved the issue and old downloads from before today are still working. If anyone has any solutions I'd love to hear them.
#3
by
Chris_oTree
Hi, it should be fixed now. (Over the weekend I deployed a major new update which is the new oTree AI Builder... had to rearrange a lot of things on the back-end.)
#4
by
fletcherian
Sweet, thanks, Chris! I am now running into a separate error (I'm sure you're aware of it but putting it here just in case) where it's not letting me download the otreezip file. I keep getting the attached error.
#5
by
Chris_oTree
Hi, I just saw this post. The issue should be resolved as of about 20 hours ago, please let me know if it reoccurs. Sorry for the issues.