I am trying to make a new script in MPY, using the MSGREAD example, but when i try to run it, i always get this error:
2020.02.02 12:10:43 MYSTIC 001 An error has occured: Corrupted memory (216)
It might be related to this from the Wiki: http://wiki.mysticbbs.com/doku.php?id=python_install
It might be related to this from the Wiki: http://wiki.mysticbbs.com/doku.php?id=python_install
i have done this. also in other scripts (mpy) i can use all sorts of python libs with no problem... either way i will do it again, just in
case :) perhaps during an update on my system something went off. i also tried the script to my main board, so it has to be something with my setup.
I just tested the "msgread.mpy" that comes with Mystic and its working here with the latest builds. The error you're seeing is exactly the
error I see when I don't recompile, but other than that I haven't seen
the error before.
What Linux distro are you using?
I just tested the "msgread.mpy" that comes with Mystic and its working here with the latest builds. The error you're seeing is exactly the
error I see when I don't recompile, but other than that I haven't seen
the error before.
I recompiled python2.7 but no luck... :( i am testing the example script in my main board and it works... i am testing it in my other pc, with
A43 and A44... and it doesn't :( both are fresh installs with just a few messages in the two bases that come with the installation.
Did you adjust the "ucs2/4" setting? Try running this and see if it matches what you're compiling with:
python -c "import sys; print('ucs2' if sys.maxunicode == 65535 else 'ucs4')"
Also could it be possible you have multiple Python versions installed?
I'm sorry if you already answered this but is this on a Pi?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 410 |
Nodes: | 16 (2 / 14) |
Uptime: | 75:30:30 |
Calls: | 8,578 |
Calls today: | 2 |
Files: | 13,225 |
Messages: | 5,931,872 |