Mystic, Mac, and Python reddit / bbs ---------------------------------------------------------------------- markdhughes · 2019-02-14 13:59 Currently trying to get my BBS set back up after about 3 decades, so I'm starting with Mystic. I have a Mac mini to host it on, and everything's fine there. What's not fine is the Python integration, which just doesn't seem to work: % which python2.7 /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 % ./mystic -u… -p… -ytestpython Mystic BBS v1.12 A42 for macOS Node 1 Copyright (C) 1997-2019 By James Coyle Detecting terminal emulation: ANSI detected. % tail logs/errors.log 2019.14.02 05:41:51 MYSTIC 001 An error has occured (216) I've tried the obvious export PYTHONHOME=/System/Library/Frameworks/Python.framework/Versions/2.7 and it makes no difference. Any ideas? What's error 216, other than "No Python for you"? ---------------------------------------------------------------------- thesecretdave · 2019-02-14 20:33 If you don’t know it already, you could try installing the Homebrew version of Python from https://brew.sh. Brew is a community maintained package manager and contains many many well tested linux-style packages and will most likely include a slightly more compatible version of Python. MacOS may have become the best OS in the world, but their bundled software (in this case Python) errs on the side of caution and isn’t always as up-to-date as you may think. Also, you never know what internals the Apple engineers may have fiddled with to make the installed version of Python more ‘OSXy’. I highly recommend brew. With it, you basically end up with a pretty OS, but with the power of all the linux tools that are normally missing. It’s the first software I install when setting up any Mac. ---------------------------------------------------------------------- dperry324 · 2019-02-14 23:57 Are you trying to run a py script, or an mpy? Maybe give the full path to the script when calling it on the command line. ---------------------------------------------------------------------- markdhughes · 2019-02-15 06:49 mpy, but just tried the full path and sub-path and that's no different. ---------------------------------------------------------------------- dperry324 · 2019-02-16 04:52 Can you try the -u and -p without the -y and see if that works? Im thinking that there's something else wrong besides the mpy. ---------------------------------------------------------------------- mysticbbs · 2019-02-22 09:31 This can happen when you have a mix and match version of 32-bit and 64-bit Mystic / Python. Try downloading the other version of Mystic and running it (if you have 64-bit, try the 32-bit version of Mystic and see if Python works).