• Mystic Python on Linux

    From Adept@21:2/108 to All on Tue Jun 9 06:52:20 2020
    I was talking previously with someone about difficulties getting Python to
    work on my BBS, and wanted to mention that I managed to get it to work, and share some of the details.

    Background details:
    OS: Ubuntu Linux 20.04LTS
    Mystic: 64-bit

    So I had previously installed Python 2.7.18, and things seemed to be setup appropriately, following http://wiki.mysticbbs.com/doku.php?id=python_install
    . But when scripts should be running, instead of giving me a no-Python error (as it did before I installed Python 2.7), it just did nothing.

    So the next step was to follow the instructions on that page for compiling Python correctly (though I did 2.7.18 rather than 2.7.15), as my system _is_ running Ubuntu, so perhaps that was the problem.

    Did that, no change.

    So I looked at the scripts, trying to see if I needed to do something more
    with them. Eventually I arrived at the idea that the scripts might just be in the wrong spot, after various upgrades.

    So, moved the scripts from /mystic/scripts to /mystic/themes/default/scripts, and suddenly scripts were working. Or at least some of them were, and the issues were unrelated.

    My personal guess for my actual issue was having the scripts in the wrong
    spot, but I can't rule out having a wonky install of Python, given what it
    said on the mysticbbs.com wiki.

    Anyway, I'm happy for it to be working again, my lightning bolt interstitial working again, and having my BBS functionality that little bit closer to what it was before I switched the OS.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: Storm BBS (21:2/108)
  • From The Godfather@21:1/165 to Adept on Mon Jun 29 18:22:16 2020
    My personal guess for my actual issue was having the scripts in the wrong spot, but I can't rule out having a wonky install of Python, given what
    it said on the mysticbbs.com wiki.

    Anyway, I'm happy for it to be working again, my lightning bolt interstitial working again, and having my BBS functionality that little bit closer to what it was before I switched the OS.


    I have yet to get mine working 100% on Windows 10, using version 2.7.18 .. It runs basic scripts such as rss feed scripts .. however any of the cool
    scripts: weather, threat sentry, interBBS last caller, Twitter, etc... I get
    a weak_ref error. I've found a lot of modules not installed, have installed them, still no go. So I'm about to uninstall and reinstall 2.7 .. however .. my concern is getting a clean "uninstall" so that the reinstallation goes
    well. Python 3 works fine on my machine though few BBS scripts support it.
    If you run into any additional info, keep us posted. I'd love to have it working smoothly.

    tG

    --- Mystic BBS v1.12 A45 2020/02/18 (Windows/32)
    * Origin: The Underground [@] theunderground.us:10023 <-port (21:1/165)
  • From Warpslide@21:3/110 to The Godfather on Mon Jun 29 19:16:42 2020
    On 29 Jun 2020, The Godfather said the following...

    I have yet to get mine working 100% on Windows 10, using version 2.7.18

    Are you running Windows 10 32bit or 64bit? I'm running 32bit and Python 2.7.18 works for me. I found I had to check the "add Python to path" box when installing to get things running for me.

    Jay

    --- Mystic BBS v1.12 A46 2020/06/11 (Windows/32)
    * Origin: Northern Realms BBS | bbs.nrbbs.net | Binbrook, ON (21:3/110)
  • From The Godfather@21:1/165 to Warpslide on Mon Jun 29 22:00:10 2020
    Are you running Windows 10 32bit or 64bit? I'm running 32bit and Python 2.7.18 works for me. I found I had to check the "add Python to path"
    box when installing to get things running for me.

    Jay

    Jay,

    I'm running 32bit 2.7.18 and Mystic 32bit to be sure they work well together. The first time I installed 2.7.18, I was unaware of the "add Python to path" box, so uninstalled and reinstalled it. I think it was a crappy uninstall
    that left traces of the prior install somewhere within windows, that
    prevented a bunch of modules to install, as all path settings work just fine. I'd ask, but haven't done the research myself yet, how to do a fully clean uninstall of python (registery, etc..) prior to reinstallation. I HAVE read that it does solve a lot of issues. Stizzed had a few issues initially, but with time and attention to detail, managed to get a bunch of modules
    installed on his 32bit machine and all works fine now. So, it may also just
    be the scripts themselves where provided instructions are leaving out unknown needed modules that are required for it to work. However the weak_ref error
    is one frequently mentioned on Stackoverflow.com that I never seem to see a resolution to and/or if I do they are for linux, not windows, and from all
    I've read, not applicable. Turbo C++ used to be "fun" to get up and running back in the day ... but this one so far has been more complicated; then
    again, I quit committing time to it due to other priorities. Stizzed was
    kind enough to send me his list of installed modules and versions to compare when I have the time to sit down and see if thats the issue. I do now it's
    not environment variables. My instructors for Java, who also teach Python, checked those out for me and all were installed correctly.

    -tG

    --- Mystic BBS v1.12 A45 2020/02/18 (Windows/32)
    * Origin: The Underground [@] theunderground.us:10023 <-port (21:1/165)
  • From Adept@21:2/108 to The Godfather on Tue Jun 30 03:23:46 2020
    I have yet to get mine working 100% on Windows 10, using version 2.7.18
    .. It runs basic scripts such as rss feed scripts .. however any of the cool scripts: weather, threat sentry, interBBS last caller, Twitter,

    I suppose I ran into the same issues on Win10, but didn't think about it too much -- Weather didn't work, but I never had a clear idea on why.

    But my system is in the cloud on Linux, now, so the bugs are different. And things seem to be working just fine on my BBS at this point, for Python2.

    But I haven't stressed it all that much -- I haven't tried getting my barely-working Go program to work, and all that'd take is installing GoMill.

    "uninstall" so that the reinstallation goes well. Python 3 works fine
    on my machine though few BBS scripts support it. If you run into any additional info, keep us posted. I'd love to have it working smoothly.

    Will do, and fingers crossed that g00r00 will decide that adding Python 3 support is worth the time and effort.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: Storm BBS (21:2/108)