• Mystic Python

    From bcw142@21:1/145 to All on Wed Mar 17 20:17:37 2021

    Python hasn't worked for a while on my systems. The one I was just working
    on is Mystic Linux/64. It's Ubuntu 20.04.2 LTS with v1.12 A47 Linux/64 Compiled 2021/02/12 18:33:53. I've noticed g00r00 tried to make # do the
    python path for a theme, I believe the current theme. That doesn't seem
    to work, but maybe I don't understand how to use it. I've found the only
    thing that really works is the full path. Doing:
    ldconfig -p | grep libpython
    Yields:
    libpython3.8.so.1.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpython3.8.so.1.0 libpython2.7.so.1.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpython2.7.so.1.0 whereis python yields:
    python: /usr/bin/python2.7 /usr/bin/python /usr/bin/python3.8 /usr/lib/python2.7 /usr/lib/python3.9 /usr/lib/python3.8 /etc/python2.7 /etc/python3.8 /usr/local/lib/python2.7 /usr/local/lib/python3.8 /usr/include/python3.8 /usr/share/python
    I have the two python test scripts in /mystic/themes/default/scripts and
    they are using that full path. Both being the original one and the newer one. Running either yeilds:
    Cannot initialize Python, press a key

    Things look pretty standard placement wise so why don't they work? They both did on the earilier system before Windows10 crashed and I replaced it with Ubuntu 20.04.2 LTS so it's likely that. I think things last worked under
    16.04 LTS, not sure about 18.04 LTS (which I had to compile 2.7).

    --- Mystic BBS v1.12 A47 2021/02/12 (Raspberry Pi/32)
    * Origin: Mystic Pi BBS bcw142.zapto.org:23 (21:1/145)
  • From Ulysses@21:1/128 to bcw142 on Wed Mar 17 21:05:23 2021
    I finally gave up and installed .47 which allowed me to explicitly document the path to the lib in Mystic

    --- Mystic BBS v1.12 A47 2021/02/12 (Raspberry Pi/32)
    * Origin: Odyssey BBS (21:1/128)
  • From bcw142@21:1/145 to Ulysses on Thu Mar 18 02:11:40 2021
    On 17 Mar 2021, Ulysses said the following...

    I finally gave up and installed .47 which allowed me to explicitly document the path to the lib in Mystic
    --- Mystic BBS v1.12 A47 2021/02/12 (Raspberry Pi/32)

    By .47 you really mean A47 2021/02/12 for the Pi/32 as noted in your tag line? Not sure how that helps, but will read over the whatsnew.txt again about python. Still I know the path and library are right which is why I put them
    in the original message:
    /lib/x86_64-linux-gnu/libpython2.7.so.1.0

    --- Mystic BBS v1.12 A47 2021/02/12 (Raspberry Pi/32)
    * Origin: Mystic Pi BBS bcw142.zapto.org:23 (21:1/145)
  • From bcw142@21:1/145 to Ulysses on Thu Mar 18 11:29:57 2021
    On 17 Mar 2021, Ulysses said the following...

    I finally gave up and installed .47 which allowed me to explicitly document the
    path to the lib in Mystic
    --- Mystic BBS v1.12 A47 2021/02/12 (Raspberry Pi/32)

    I see what you mean, checked A47 General Settings and it's there now: bcw@leno:/mystic$ cat J.ans
    pi@dmz:/mystic $ ldconfig -p | grep libpython
    libpython3.4m.so.1.0 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf
    libpython3.4m.so.1.0
    libpython3.4m.so (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libp
    ython3.4m.so
    libpython2.7.so.1.0 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/l
    ibpython2.7.so.1.0
    pi@dmz:/mystic $ ./mystic -cfg ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ Configuration Networking Servers Editors Other Exit █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

    █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ General Settings ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
    █ █
    █ BBS Name │ Mystic Pi BBS Local Codepage │ UTF8 █
    ▄▄ █ Sysop Name │ bcw142 Chat Logging │ No █▓gj!
    ▐█▄█ Sysop Password │ ****** Hours Start │ 16 ██▄▄
    ░███ System Password │ Hours End │ 22 ███▒■ ▀ ▓██ Sysop ACS │ s255 Chat Feedback │ Yes ███▌▐ ▓ ▒▓█ Feedback To │ bcw142 Screen Cols │ 80 █▓░ ▓ ▀ █░█ Start Menu │ prelogin Screen Size │ 24 ██░ ▓ ░░▓██ QWK Net Menu │ qwknetwork Inactivity │ 999 █ ▄▄█ ▄▄■ █ Default Theme │ default █ ▌░░
    █ Config Theme │ 3D ANSI █ ▀▄
    █ Python2 Library │ /usr/lib/arm-linux-gnueabihf/libpython2.7.so.1.0 █
    █ Python3 Library │ /usr/lib/arm-linux-gnueabihf/libpython3.4m.so.1. █
    █ █
    ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█


    +++────────────────────────────────────────────────────────────── ─── ── ─ ─ ·

    --- Mystic BBS v1.12 A47 2021/02/12 (Raspberry Pi/32)
    * Origin: Mystic Pi BBS bcw142.zapto.org:23 (21:1/145)
  • From Ulysses@21:1/128 to bcw142 on Fri Mar 19 21:50:40 2021
    BCW

    Yep - I smiled when I saw it! Realized it was exactly what I needed - I now can ron Python2.7 and 3 stacked - no issues. So yes .47 2/12 and on a Pi4 8GB box.

    Glad you found it and it worked out for you..

    --- Mystic BBS v1.12 A47 2021/02/12 (Raspberry Pi/32)
    * Origin: Odyssey BBS (21:1/128)
  • From mobbyg@21:1/101 to bcw142 on Tue Mar 23 06:55:54 2021
    I was running into issues with Python as well with A46, but I updated to A47 and haven't had any issues since then.

    |04---- |15Rich Lawrence, KB2MOB
    |14//// |15SysOp of Radio Freqs & Geeks BBS
    |01--v|10/// |07-Ham/Shortwav Radio, Tabletop Gaming and General Geekery- |11\\|02xx/ |08mobbyg@gmail.com

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)