PyTrack GPS - MemoryError

  • I'm trying to test the Pytrack GPS by using the sample code provided by Pycom. The problem is that the code keeps crashing after several reads (sometimes even after a single one!), with "memory allocation failed":

    RTC Set from NTP to UTC: (1970, 1, 1, 0, 3, 19, 594962, None)
    Adjusted from UTC to EST timezone (1970, 1, 1, 2, 3, 19, 3, 1)

    (None, None) - (1970, 1, 1, 0, 3, 49, 703270, None) - 37728
    Traceback (most recent call last):
    File "<stdin>", line 36, in <module>
    File "/flash/lib/", line 56, in coordinates
    MemoryError: memory allocation failed, allocating 4064 bytes

    Unfortunately, I have no idea what to do in order to solve this issue. Can anyone help point me in the right direction?

    As far as I can tell, I'm not the only one experiencing the issue - see . But that issue has been open for more than a month, and Pycom seems to be ignoring it...

    [ Edit: Looks like I should have searched better before posting - I just found a very similar post in the SiPy topic.

    I will try the fix recommended there, and see what happens... ]

Pycom on Twitter