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
----
NOTE: Some Linux distributions come with a pre-installed Python 2.7 or a package-based install of Python 2.7 that is not compiled in a way that works properly with embedded Python applications.
When Python is compiled wrong, it will have issues loading some modules resulting in an error when you execute the Mystic Python script. One of the most popular operating systems (Ubuntu) unfortunately seems to suffer from
this problem, and the only way to solve it is to recompile Python 2.7
properly. The enable-shared option is required for embedded applications, and also the unicode size may need to be either ucs2 or ucs4.
The following steps can be used to reinstall Python 2.7 tested on a fresh Ubuntu 18.04 LTS:
INSTALL PREREQUISITES:
sudo apt-get update
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
COMPILE PYTHON:
cd /usr/src
sudo wget
https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz
sudo tar xzf Python-2.7.15.tgz
cd /usr/src/Python-2.7.15
sudo ./configure -enable-optimizations -enable-unicode=ucs4 -enable-shared
sudo make install
--- Mystic BBS v1.12 A44 2020/02/01 (Linux/64)
* Origin: Sector 7 (21:1/108)