• dPR 2-Factor Auth Error: SOLVED

    From Analog@21:2/123 to All on Sun Sep 20 05:21:34 2020
    Sysops,

    It's come to my attention that the dPR 2-FA mod is having issues when installing. This is caused by one of the Python modules no longer supporting Python 2.7. If you get some sort of error related to 'pyotp' package, do the following:

    pip uninstall pyotp

    Then reinstall with the proper version:

    pip install pyotp==2.3.0

    I will push out a new version with this in the instructions soon.

    Cheers,

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From Warpslide@21:3/110 to Analog on Sun Sep 20 09:14:52 2020
    On 20 Sep 2020, Analog said the following...

    pip install pyotp==2.3.0

    Awesome, thanks Analog. When I switched over to a Raspberry Pi this was
    one of the only things I couldn't get working & this solved it.


    When I run the 2FA mod, I'm still getting this error but then the mod
    continue to run fine. Have you ever come across this?

    sys:1: RuntimeWarning: Python C API version mismatch for module __mysticerror__: This Python has API version 1013, module __mysticerror__ has version -1092942859.

    sys:1: RuntimeWarning: Python C API version mismatch for module mystic_bbs: This Python has API version 1013, module mystic_bbs has version -1092942859.


    Thanks!

    Jay

    ... What job did the frog have at the hotel? Bellhop.

    --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
    * Origin: Northern Realms (21:3/110)
  • From HSM@21:2/162 to Analog on Sun Sep 20 10:26:32 2020
    On 20 Sep 2020, Analog said the following...

    Sysops,

    It's come to my attention that the dPR 2-FA mod is having issues when installing. This is caused by one of the Python modules no longer supporting Python 2.7. If you get some sort of error related to 'pyotp' package, do the following:

    I'm having a similar problem with dprMENU on the file browser mod. I've
    done the pip install dprMENU and it's installed but the mod keeps saying it's not found.

    -=- Gary aka HSM -=-
    -=Mystic.BBSGameTime.com=-

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: BBS GameTime - mystic.BBSGameTime.com:23 (21:2/162)
  • From Analog@21:2/123 to Warpslide on Sun Sep 20 20:20:59 2020
    sys:1: RuntimeWarning: Python C API version mismatch for module

    Never seen this one. Let me read up. Did you compile python from source? What version of Python are you using? What version of Mystic are you using?

    Thanks in advance.

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From Analog@21:2/123 to HSM on Sun Sep 20 20:23:33 2020
    I'm having a similar problem with dprMENU on the file browser mod. I've done the pip install dprMENU and it's installed but the mod keeps saying

    This is usually due to where pip and python path are looking for packages.

    If you are savvy can you try giving me the output of "pip list" from the terminal and from within Mystic. Run "pip list" as an "External Program" and copy the output.

    This will tell us if they are looking in the same place from the terminal's PythonPath and from within Mystic.

    Cheers,

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From HSM@21:2/162 to Analog on Mon Sep 21 07:40:23 2020
    On 20 Sep 2020, Analog said the following...

    I'm having a similar problem with dprMENU on the file browser mod. I done the pip install dprMENU and it's installed but the mod keeps say

    This is usually due to where pip and python path are looking for
    packages.

    If you are savvy can you try giving me the output of "pip list" from the terminal and from within Mystic. Run "pip list" as an "External Program" and copy the output.

    From mystic it's "/bin/sh: 1: pip: not found"

    From a terminal, besides the 2.7 end of life warning, the only output is:

    Package Version
    ---------- -------
    dprMenus 1.9.3
    pip 20.2.3
    setuptools 44.1.1
    wheel 0.35.1

    Thanks!

    -=- Gary aka HSM -=-
    -=Mystic.BBSGameTime.com=-

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: BBS GameTime - mystic.BBSGameTime.com:23 (21:2/162)
  • From Warpslide@21:3/110 to Analog on Mon Sep 21 17:27:56 2020
    On 20 Sep 2020, Analog said the following...

    Never seen this one. Let me read up. Did you compile python from source? What version of Python are you using? What version of Mystic are you using?

    Hi Analog,

    I installed python on my Raspberry Pi from the repo:

    sudo apt install python2.7

    $ python -V
    Python 2.7.16

    $ pip list
    Package Version
    ------------- -------
    asn1crypto 0.24.0
    configparser 3.5.0b2
    cryptography 2.6.1
    entrypoints 0.3
    enum34 1.1.6
    ipaddress 1.0.17
    keyring 17.1.1
    keyrings.alt 3.1.1
    Pillow 6.2.2
    pip 18.1
    pycrypto 2.6.1
    PyGObject 3.30.4
    pyotp 2.3.0
    pyxdg 0.25
    qrcode 6.1
    SecretStorage 2.3.1
    setuptools 40.8.0
    six 1.12.0
    wheel 0.32.3

    I'm running a headless Raspberry Pi 4 with Raspberry Pi OS (32-bit) Lite
    based on Debian Buster:

    $ cat /etc/debian_version
    10.4

    I'm running the latest release of Mystic A46:

    Mystic BBS v1.12 A46 compiled 2020/08/26 18:56:43

    There doesn't seem to be an A47 prealpha for the Pi as of yet.


    Thanks for looking into this!

    Jay

    ... To solve claustrophobia you have to think outside the box.

    --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
    * Origin: Northern Realms (21:3/110)
  • From Analog@21:2/123 to HSM on Mon Sep 21 19:59:17 2020
    From mystic it's "/bin/sh: 1: pip: not found"


    This concerns me the most. Might export PYTHONPATH as something like this before you run "MIS"
    ***
    export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/:/usr/lib/python2.7/dist-packages/:/u sr/local/lib/python2.7/dist-packages/
    ***
    On a single line

    Yours may vary differently based on the location of your packages.

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From Analog@21:2/123 to Warpslide on Mon Sep 21 20:01:51 2020
    sudo apt install python2.7

    This is most likely the culprit. Without compiling from source, you don't enable shared libraries which can lead to numerous strange errors or Python packages not working. Follow the build guide on the wiki:

    http://wiki.mysticbbs.com/doku.php?id=python_install

    I built a Python 2.7.18 Docker image that I use for my Mystic BBS base image.

    Analog

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From Warpslide@21:3/110 to Analog on Tue Sep 22 21:10:43 2020
    On 21 Sep 2020, Analog said the following...

    This is most likely the culprit. Without compiling from source, you don't enable shared libraries which can lead to numerous strange errors or Python packages not working. Follow the build guide on the wiki:

    Hmm, so I uninstalled Python with sudo apt remove python2.7 and then sudo apt autoremove. I then installed Python according to the instruction on the Wiki you pointed to (updating the linked 2.7.15 to 2.7.18). I'm still receiving
    the mismatch message, though the numbers are now different than before:


    sys:1: RuntimeWarning: Python C API version mismatch for module __mysticerror__: This Python has API version 1013, module __mysticerror__ has version 1115125.

    sys:1: RuntimeWarning: Python C API version mismatch for module mystic_bbs: This Python has API version 1013, module mystic_bbs has version 1115125.


    It's not a _super_ huge deal, only I'll see it and I added the clear screen pipe code before the "Please enter OTP:" prompt anyway.


    Jay

    ... What did the duck say when she purchased new lipstick? Put it on my bill!

    --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
    * Origin: Northern Realms (21:3/110)
  • From paulie420@21:2/150 to Warpslide on Tue Sep 22 21:12:11 2020
    This is most likely the culprit. Without compiling from source, you d enable shared libraries which can lead to numerous strange errors or Python packages not working. Follow the build guide on the wiki:

    Hmm, so I uninstalled Python with sudo apt remove python2.7 and then
    sudo apt autoremove. I then installed Python according to the
    instruction on the Wiki you pointed to (updating the linked 2.7.15 to 2.7.18). I'm still receiving the mismatch message, though the numbers
    are now different than before:


    sys:1: RuntimeWarning: Python C API version mismatch for module __mysticerror__: This Python has API version 1013, module
    __mysticerror__ has version 1115125.

    sys:1: RuntimeWarning: Python C API version mismatch for module mystic_bbs: This Python has API version 1013, module mystic_bbs has version 1115125.


    I have a very similair thing going on; it shows that before certain python things that run on my bbs... I'm following here, and will post any updates I find that fix it. It doesn't really cause any issue, except my users get to
    see that crap before my IBOL one-liners run. :/

    I've also [attempted to] install the way g00r00 says on the wiki.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A45 2020/02/18 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Analog@21:2/123 to paulie420 on Wed Sep 23 19:50:56 2020
    I have a very similair thing going on; it shows that before certain
    python things that run on my bbs... I'm following here, and will post

    Can you guys post your Mystic version and your Python version? I am perplexed as I'm running Mystic 1.12A46 and Python 2.7.18 without any issues. The error seems to be an issue with the embedded Python API version within Mystic.

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From paulie420@21:2/150 to Analog on Wed Sep 23 19:47:04 2020
    I have a very similair thing going on; it shows that before certain python things that run on my bbs... I'm following here, and will post

    Can you guys post your Mystic version and your Python version? I am perplexed as I'm running Mystic 1.12A46 and Python 2.7.18 without any issues. The error seems to be an issue with the embedded Python API version within Mystic.

    Python 2.7.16

    Mystic 1.12A45

    Also, I *thought* I had Python installed correctly for Mystic; but I could be completely wrong.

    I also have some issues with other Beatz mods, but think thats because they
    are for older versions of Mystic?? Is Profile one of yours? No issue... I
    send you an email before.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A45 2020/02/18 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Analog@21:2/123 to paulie420 on Thu Sep 24 16:51:45 2020
    I also have some issues with other Beatz mods, but think thats because they are for older versions of Mystic?? Is Profile one of yours? No

    What's a Beatz mod? You mean dPR mods? There's only a few from dPR. 2-FA, Fileviewer, dPRTick Crypto Ticker.

    The rest aren't released yet - Mazes, Distributed P2P chat, Blackjack but they're available on Deadbeatz for testing.

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)