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/L76GNSS.py", line 56, in coordinates
MemoryError: memory allocation failed, allocating 4064 bytesUnfortunately, 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 https://github.com/pycom/pycom-libraries/issues/35 . 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... ]
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login