• Re: MSGREAD.MPY - Corrupted Mem. Error

    From xqtr@21:1/111 to g00r00 on Monday, February 03, 2020 12:29:54
    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.

    thanx for the help. :D

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From g00r00@21:1/108 to xqtr on Monday, February 03, 2020 09:52:40
    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?

    --- Mystic BBS v1.12 A44 2020/02/02 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From xqtr@21:1/101 to g00r00 on Tuesday, February 04, 2020 04:06:26
    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?

    Lubuntu 18.10


    :: Another Droid BBS
    :: Telnet : andr01d.zapto.org:9999
    :: Contact : xqtr@gmx.com

    --- Mystic BBS v1.12 A44 2020/02/02 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From xqtr@21:1/111 to g00r00 on Monday, February 03, 2020 15:29:22
    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.

    At least i know, that it's on my side :)

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From g00r00@21:1/108 to xqtr on Tuesday, February 04, 2020 11:58:34
    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?

    --- Mystic BBS v1.12 A44 2020/02/02 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From xqtr@21:1/111 to g00r00 on Wednesday, February 05, 2020 16:19:10
    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')"

    Python2 is compiled with UCS4, as written in the mystic wiki and also checked my version and it uses UCS4.

    Also could it be possible you have multiple Python versions installed?

    Perhaps... i currently have 2.7.15 and also 3.6 and 3.7 installed.

    I'm sorry if you already answered this but is this on a Pi?

    No, not on the Pi... actually on the Pi, the example script works fine. The problem is on my main computer, that runs Lubuntu 18.10.

    Thank you for your help. I'll figure it out. As long it's not a Mystic bug (which is not), i will find the way to make it work :)

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)