• Python2 errors help

    From ogg@21:2/147 to All on Friday, September 09, 2022 18:17:32
    I've been trying to install an .mpy mod on my bbs. I'm running across a python error that I haven't been able to fix. I'm hoping someone here might be able to lead me in the right direction.

    Background:
    Mystic: v1.12 A48 2022/07/15
    Ubuntu: 22.04.1
    Python: 2.7.15

    After installing the mod per the instructions, I used the GY command to run it from the Main Menu. When I do run it, I get the following error:

    PYTHON ERROR (/home/pi/mystic/themes/default/scripts/********.mpy)
    File "/home/pi/mystic/themes/default/scripts/********.mpy", line 10, in <module> from bs4 import BeautifulSoup
    ImportError: No module named bs4

    I've verified that all of the modules are installed as the pip2 install -r requirements.txt command used verifies this. The Python Demo's included with Mystic all run with out a problem.

    Here's what I've tried:
    1. From the Mystic wiki, it talks about issues with stock python versions (especially Ubuntu) having issues with Mystic python. I did try to recompile python per the wiki, but ran into an issue with the libreadline-gplv2-dev library apparently being deprecated and unavailable. I haven't been able to find any old packages that will install.
    2. I verified that the required python modules are installed. Could it be
    that python can't find them?

    I'm hoping someone here can provide some direction or suggestions!

    Thanks for taking the time to read this epistle!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... A book in the hand is worth two on the shelf!

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From paulie420@21:2/150 to ogg on Friday, September 09, 2022 20:05:44
    I've been trying to install an .mpy mod on my bbs. I'm running across a python error that I haven't been able to fix. I'm hoping someone here might be able to lead me in the right direction.

    I hate that my reply won't be that helpful; there is some issue, that g00r00 knows is happening, where you can't run BOTH Python 2 and Python 3 scripts in the same user session.

    What happens is when your .mpy loads external libraries, if you've already run a Py2 script and then try to run a Py3 script, Mystic kicks some errors - usually EAccessViolation errors - and the user is disconnected.

    At my bbS, I've had to revert to only using Python 2 at the moment - g00 doesn't seem to KNOW what the issue is, and... not that he's dancing around it, but it seems like we don't have a current 'fix'.

    Its intermittent - but I can recreate it on both Linux Raspberry Pi Mystic systems and Linux x86 Mystic systems. It simply seems like you have to pick which version to run and only run that... I can get both py2 and py3 scripts to run fine - so long as I don't use both.

    Hopefully this will get ironed out; but as such, these are the woes we live with when running the alpha versions of Mystic. If you want the best functioning software, stick to a47 until the FINAL a48 release - I know that doesn't help you, but... theres no fix ATM.



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to paulie420 on Saturday, September 10, 2022 12:29:35
    Its intermittent - but I can recreate it on both Linux Raspberry Pi
    Mystic systems and Linux x86 Mystic systems. It simply seems like you
    have to pick which version to run and only run that... I can get both
    py2 and py3 scripts to run fine - so long as I don't use both.

    Hopefully this will get ironed out; but as such, these are the woes we live with when running the alpha versions of Mystic. If you want the best functioning software, stick to a47 until the FINAL a48 release - I know that doesn't help you, but... theres no fix ATM.

    Thanks for the reply. I've convinced myself that it was something stupid I did. Sounds as if it may not be. I can quit hitting my head against the wall! Just another lesson in running alpha versions.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... If you choose not to decide, you still have made a choice

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From esc@21:4/173 to paulie420 on Sunday, September 11, 2022 01:48:12
    At my bbS, I've had to revert to only using Python 2 at the moment - g00 doesn't seem to KNOW what the issue is, and... not that he's dancing around it, but it seems like we don't have a current 'fix'.

    I'v edone the same. Honestly I don't know how worhtwhile it would be to really figure out and fix the problem here vs just upgrading all scripts to python 3, but I could be wrong :)

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From paulie420@21:2/150 to ogg on Sunday, September 11, 2022 12:51:39
    Thanks for the reply. I've convinced myself that it was something
    stupid I did. Sounds as if it may not be. I can quit hitting my head against the wall! Just another lesson in running alpha versions.

    Lucky that you didn't uninstall ALL python/python3 packages, remove all pip/pip3 packages, compile from source the 2.7 version from the Mystic wiki, have to reinstall all those pip packages and lost 2 weeks - ask me how I know. :P



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to esc on Sunday, September 11, 2022 12:52:28
    I'v edone the same. Honestly I don't know how worhtwhile it would be to really figure out and fix the problem here vs just upgrading all scripts to python 3, but I could be wrong :)

    Yep ; I think thats our salvation, so long as g00 keeps moving to py3..



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to paulie420 on Sunday, September 11, 2022 16:35:55
    On 11 Sep 2022, paulie420 said the following...

    Thanks for the reply. I've convinced myself that it was something stupid I did. Sounds as if it may not be. I can quit hitting my head
    against the wall! Just another lesson in running alpha versions.

    Lucky that you didn't uninstall ALL python/python3 packages, remove all pip/pip3 packages, compile from source the 2.7 version from the Mystic wiki, have to reinstall all those pip packages and lost 2 weeks - ask me how I know. :P

    Been there. Done that on other things! No fun!
    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Everyone has a photographic memory. Some don't have film.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From ogg@21:2/147 to paulie420 on Sunday, September 11, 2022 16:38:25
    On 11 Sep 2022, paulie420 said the following...

    I'v edone the same. Honestly I don't know how worhtwhile it would be t
    really figure out and fix the problem here vs just upgrading all scrip
    to python 3, but I could be wrong :)

    Yep ; I think thats our salvation, so long as g00 keeps moving to py3..

    I just looked into upgrading the script and said sc...it. I'll do with out this one.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Hard work never killed anyone but why take a risk?

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From paulie420@21:2/150 to ogg on Sunday, September 11, 2022 20:21:02
    I just looked into upgrading the script and said sc...it. I'll do with out this one.

    What script is it? I'm sure the community could help here - in fact, maybe theres some good in creating a site, msg base or other thing where we w0rk together to convert py2 scripts to py3.

    I'd be willing to help with that both on the code side and putting together what mods/scripts ppl want converted most.



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to paulie420 on Sunday, September 11, 2022 23:20:11
    What script is it? I'm sure the community could help here - in fact,
    maybe theres some good in creating a site, msg base or other thing where we w0rk together to convert py2 scripts to py3.

    I'd be willing to help with that both on the code side and putting together what mods/scripts ppl want converted most.

    I'm a little reluctant to publicly announce the name just yet. I reached out to the author a little while ago and haven't heard anything yet. If it gets to another week, I'll take you up on the offer however.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Top secret! Burn before reading!

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From claw@21:1/210 to ogg on Monday, September 12, 2022 07:38:04
    On 09 Sep 2022, ogg said the following...

    I've been trying to install an .mpy mod on my bbs. I'm running across a python error that I haven't been able to fix. I'm hoping someone here might be able to lead me in the right direction.

    Background:
    Mystic: v1.12 A48 2022/07/15
    Ubuntu: 22.04.1
    Python: 2.7.15

    After installing the mod per the instructions, I used the GY command to run it from the Main Menu. When I do run it, I get the following error:

    PYTHON ERROR (/home/pi/mystic/themes/default/scripts/********.mpy)
    File "/home/pi/mystic/themes/default/scripts/********.mpy", line 10, in <module> from bs4 import BeautifulSoup
    ImportError: No module named bs4

    I've verified that all of the modules are installed as the pip2 install
    -r requirements.txt command used verifies this. The Python Demo's
    included with Mystic all run with out a problem.

    Here's what I've tried:
    1. From the Mystic wiki, it talks about issues with stock python versions (especially Ubuntu) having issues with Mystic python. I did try to recompile python per the wiki, but ran into an issue with the libreadline-gplv2-dev library apparently being deprecated and
    unavailable. I haven't been able to find any old packages that will install. 2. I verified that the required python modules are installed. Could it be that python can't find them?

    I'm hoping someone here can provide some direction or suggestions!

    Thanks for taking the time to read this epistle!

    ogg

    What seems to have worked for me and even a few people I have helped with this is to copy the compiled libs in to your /mystic directory. Don't forget to change this in the mystic -cfg. Then it starts working. I made sure to compile both of them and have each one. I used the newest ones at the time and have zero issues with them.

    I also run on Ubuntu so if you would a copy of the already compiled bins let me know

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |04(|14Noverdu.com|04)
    |10Standard Ports for SSH/Telnet Web/HTTP://|14Noverdu.com:808
    |20|15fsxNet/MRC Chat/Registered Doors!/50Nodes/No Time Use! Stay On!|16|07

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From ogg@21:2/147 to claw on Monday, September 12, 2022 08:13:51
    What seems to have worked for me and even a few people I have helped
    with this is to copy the compiled libs in to your /mystic directory. Don't forget to change this in the mystic -cfg. Then it starts working.
    I made sure to compile both of them and have each one. I used the
    newest ones at the time and have zero issues with them.

    I also run on Ubuntu so if you would a copy of the already compiled bins let me know

    DrClaw

    Thanks for the offer! Let me try copying the files into /mystic and see what happens. If that doesn't work, I'll get back to you about getting the compiled versions from you.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Help! I can't find the "ANY" key.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From paulie420@21:2/150 to ogg on Monday, September 12, 2022 18:15:08
    PYTHON ERROR (/home/pi/mystic/themes/default/scripts/********.mpy)
    File "/home/pi/mystic/themes/default/scripts/********.mpy", line 10 <module> from bs4 import BeautifulSoup
    ImportError: No module named bs4

    Hey Ogg, I didn't notice this before - in your instance, it seems like you don't have beatiful soup installed.

    You can do this by typing;

    pip install BeautifulSoup
    pip3 install BeautifulSoup

    (or if I'm wrong...;)

    pip install bs4
    pip3 install bs4

    After that, that script might get along further than before - but as I stated you might have issues still if yer running py2 and py3 scripts in the same user call.

    Python scripts need their pre-requisite modules installed (thru pip/pip3) - and yer missing Beautiful Soup.



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to paulie420 on Monday, September 12, 2022 21:42:14
    Hey Ogg, I didn't notice this before - in your instance, it seems like
    you don't have beatiful soup installed.

    You can do this by typing;

    pip install BeautifulSoup
    pip3 install BeautifulSoup

    (or if I'm wrong...;)

    pip install bs4
    pip3 install bs4
    That's part of my frustration. When I run those commands, I'm told it's already installed. It's almost if they're installed in some place python can't find them. But thanks for trying! Keep them coming! :)

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... "No comment" is a comment.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From ogg@21:2/147 to ogg on Monday, September 12, 2022 21:48:58
    You can do this by typing;

    pip install BeautifulSoup
    pip3 install BeautifulSoup

    (or if I'm wrong...;)

    pip install bs4
    pip3 install bs4
    That's part of my frustration. When I run those commands, I'm told it's already installed. It's almost if they're installed in some place python can't find them. But thanks for trying! Keep them coming! :)
    Another fact. As part of the install, there's a pip2 install -r requirements.txt step that has all of those dependencies in the requirements.txt file. I'll just keep searching for what I'm doing wrong!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Honk if you love peace and quiet!

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From paulie420@21:2/150 to ogg on Tuesday, September 13, 2022 16:51:26
    pip install BeautifulSoup
    pip3 install BeautifulSoup

    That's part of my frustration. When I run those commands, I'm told it's already installed. It's almost if they're installed in some place python can't find them. But thanks for trying! Keep them coming! :)

    Ok, yer prolly right; I forget how Python and pip are linked, but you prolly just have to add the path where they live to a variable or... somewhere. A couple quick things, Mystic wiki has a nice entry all about python:

    http://wiki.mysticbbs.com/doku.php?id=python_install&s[]=python

    https://bbs.archlinux.org/viewtopic.php?id=260141 https://linuxhint.com/install_pip_archlinux/

    This one is from the search 'python cant find pip installs': https://stackoverflow.com/questions/46575249/python-cant-find-packages-install ed-with-pip

    Maybe some info is in one of these. With Linux issues, and other OS/software issues, most are already answered if you use Google enough... :P



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to paulie420 on Tuesday, September 13, 2022 21:52:04
    On 13 Sep 2022, paulie420 said the following...

    pip install BeautifulSoup
    pip3 install BeautifulSoup

    That's part of my frustration. When I run those commands, I'm told it'
    already installed. It's almost if they're installed in some place pyth
    can't find them. But thanks for trying! Keep them coming! :)

    Ok, yer prolly right; I forget how Python and pip are linked, but you prolly just have to add the path where they live to a variable or... somewhere. A couple quick things, Mystic wiki has a nice entry all about python:

    http://wiki.mysticbbs.com/doku.php?id=python_install&s[]=python
    Under the Unix section, it talks about the issue with Ubuntu. I did try to reinstall python per the directions in it. Everything went fine until installing the "libreadline-gplv2-dev" dependency. No where could I find a package that would install. That's when I gave up on that idea.


    https://bbs.archlinux.org/viewtopic.php?id=260141 https://linuxhint.com/install_pip_archlinux/

    This one is from the search 'python cant find pip installs': https://stackoverflow.com/questions/46575249/python-cant-find-packages-inst
    ed-with-pip

    Maybe some info is in one of these. With Linux issues, and other OS/software issues, most are already answered if you use Google
    enough... :P

    These look interesting. I'll spend some time looking them over. Thanks!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... What does it mean to pre-board? Do you get on before you get on?

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From Irish_Monk@21:4/184 to ogg on Wednesday, September 14, 2022 01:02:38
    I've been trying to install an .mpy mod on my bbs. I'm running across a python error that I haven't been able to fix. I'm hoping someone here might be able to lead me in the right direction.

    Background:
    Mystic: v1.12 A48 2022/07/15
    Ubuntu: 22.04.1
    Python: 2.7.15

    Not sure if this helps at all, But I just had this problem recently. Unforturnately I use Windows 10 so might not be same problem. Everything was installed properly and I did all the steps it sounds like your doing. But I had to setup my *Enviroment Variables* in Windows 10 so Python could find bs4, etc..

    The instructions are in the Python File in the Docs Directory in your Mystic Install.

    |10I|02rish_|10M|02onk

    ... There is an exception to every rule, except this one.

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/64)
    * Origin: WarpeD SocieTy (21:4/184)
  • From ogg@21:2/147 to Irish_Monk on Wednesday, September 14, 2022 16:36:21
    Not sure if this helps at all, But I just had this problem recently. Unforturnately I use Windows 10 so might not be same problem. Everything was installed properly and I did all the steps it sounds like your
    doing. But I had to setup my *Enviroment Variables* in Windows 10 so Python could find bs4, etc..

    I saw that note in the wiki and based on you comment, will try it next!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Old computers make great boat anchors

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From paulie420@21:2/150 to ogg on Wednesday, September 14, 2022 14:43:40
    http://wiki.mysticbbs.com/doku.php?id=python_install&s[]=python

    Under the Unix section, it talks about the issue with Ubuntu. I did try to reinstall python per the directions in it. Everything went fine until installing the "libreadline-gplv2-dev" dependency. No where could I
    find a package that would install. That's when I gave up on that idea.

    Hmmmm - I build that Python 2.7 version, from the Mystic wiki, on Ubuntu 20.04 and Ubuntu 22.10(the newest one... I might be wrong on the .point) - I don't remember if I had that issue. Search for 'Ubuntu libreadline-gplv2-dev replacement package' or similar, maybe.

    Sorry I don't have the answer - but do always remember that the internet usually has answers out there already. Trust me, we all go thru it. Sorry we don't have an easy gotcha answer concerning this one.

    I do think that if you get pip to install BeautifulSoup, that yer script will run. :P



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to paulie420 on Wednesday, September 14, 2022 16:53:26
    Hmmmm - I build that Python 2.7 version, from the Mystic wiki, on Ubuntu 20.04 and Ubuntu 22.10(the newest one... I might be wrong on the .point)
    - I don't remember if I had that issue. Search for 'Ubuntu libreadline-gplv2-dev replacement package' or similar, maybe.
    I'll give that a shot.

    Sorry I don't have the answer - but do always remember that the internet usually has answers out there already. Trust me, we all go thru it.
    Sorry we don't have an easy gotcha answer concerning this one.
    We wouldn't be doing this stuff if we didn't like puzzles!

    I do think that if you get pip to install BeautifulSoup, that yer script will run. :P
    That sounds hopefull!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... My reality check just bounced

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From ogg@21:2/147 to ogg on Wednesday, September 14, 2022 17:07:22
    I do think that if you get pip to install BeautifulSoup, that yer scri
    will run. :P
    That sounds hopefull!
    Here's the output of pip2 install beautifulsoup4:

    Requirement already satisfied: beautifulsoup4 in /home/pi/.local/lib/python2.7/site-packages (4.9.3)Requirement already satisfied: soupsieve<2.0,>1.2; python_version < "3.0" in /home/pi/.local/lib/python2.7/site-packages (from beautifulsoup4) (1.9.6)Requirement already satisfied: backports.functools-lru-cache; python_version < "3" in /home/pi/.local/lib/python2.7/site-packages (from soupsieve<2.0,>1.2; python_version < "3.0"->beautifulsoup4) (1.6.4)

    This is the error I keep getting when I try to install the modules. They are already installed.

    I'm going to try and set the environment varibles for python per Mystic's wiki and see if that does it.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Honk if you love peace and quiet!

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From ogg@21:2/147 to ogg on Wednesday, September 14, 2022 17:34:38
    On 14 Sep 2022, ogg said the following...

    I do think that if you get pip to install BeautifulSoup, that yer
    scri
    will run. :P
    That sounds hopefull!
    Here's the output of pip2 install beautifulsoup4:

    Requirement already satisfied: beautifulsoup4 in /home/pi/.local/lib/python2.7/site-packages (4.9.3)Requirement already satisfied: soupsieve<2.0,>1.2; python_version < "3.0" in /home/pi/.local/lib/python2.7/site-packages (from beautifulsoup4) (1.9.6)Requirement already satisfied: backports.functools-lru-cache; python_version < "3" in /home/pi/.local/lib/python2.7/site-packages (from soupsieve<2.0,>1.2; python_version < "3.0"->beautifulsoup4) (1.6.4)

    This is the error I keep getting when I try to install the modules.
    They are already installed.

    I'm going to try and set the environment varibles for python per
    Mystic's wiki and see if that does it.

    Tried setting the environment variables per the wiki and after rebooting, had the same issue. I don't think that was it. :(

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Don't sweat the petty things and don't pet the sweaty things

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From paulie420@21:2/150 to ogg on Wednesday, September 14, 2022 15:44:11
    I'm going to try and set the environment varibles for python per
    Mystic's wiki and see if that does it.

    https://www.activestate.com/products/python/pip-tools/pip-install-environment/



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to paulie420 on Wednesday, September 14, 2022 19:36:58
    https://www.activestate.com/products/python/pip-tools/pip-install-environme

    This looks interesting! I'm looking at the page as I type this. I'll give it a go! Thanks.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... How is it possible to have a civil war?

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From esc@21:4/173 to ogg on Wednesday, September 14, 2022 17:45:35
    Tried setting the environment variables per the wiki and after
    rebooting, had the same issue. I don't think that was it. :(

    How are you launching 'mis' ? As root or as a regular user?

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From ogg@21:2/147 to esc on Wednesday, September 14, 2022 20:36:04
    On 14 Sep 2022, esc said the following...

    Tried setting the environment variables per the wiki and after rebooting, had the same issue. I don't think that was it. :(

    How are you launching 'mis' ? As root or as a regular user?

    Through sudo on startup of pc.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... That's not a bug, it's an undocumented feature

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From esc@21:4/173 to ogg on Wednesday, September 14, 2022 22:54:53
    Through sudo on startup of pc.

    I think this is your problem. Use setcap cap_net_bind or whatever it is to give the 'mis' binary access to lower ports, and then use your regular user to launch 'mis' /without/ using sudo.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From claw@21:1/210 to ogg on Thursday, September 15, 2022 07:49:43
    On 14 Sep 2022, ogg said the following...
    On 14 Sep 2022, esc said the following...

    Tried setting the environment variables per the wiki and after rebooting, had the same issue. I don't think that was it. :(

    How are you launching 'mis' ? As root or as a regular user?

    Through sudo on startup of pc.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX

    Everything tends to work better if you don't run it as root user. This will take some setup since you have been running it as a root user and will need some permission adjustments as well. If you need assistance with it let me know. If you have a new enough computer you can run teamspeak on I'm on most days. Week days 5:30 PM - 9:45 PM CST weekends is when every I can get one. :D that one depends on what the honey do list is.

    My server doesn't require a password. Voice.clawfest.com

    :D

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |04(|14Noverdu.com|04)
    |10Standard Ports for SSH/Telnet Web/HTTP://|14Noverdu.com:808
    |20|15fsxNet/MRC Chat/Registered Doors!/50Nodes/No Time Use! Stay On!|16|07

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From claw@21:1/210 to esc on Thursday, September 15, 2022 07:50:37
    On 14 Sep 2022, esc said the following...

    Through sudo on startup of pc.

    I think this is your problem. Use setcap cap_net_bind or whatever it is
    to give the 'mis' binary access to lower ports, and then use your
    regular user to launch 'mis' /without/ using sudo.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)

    Yup thats part of it.

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |04(|14Noverdu.com|04)
    |10Standard Ports for SSH/Telnet Web/HTTP://|14Noverdu.com:808
    |20|15fsxNet/MRC Chat/Registered Doors!/50Nodes/No Time Use! Stay On!|16|07

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From MeaTLoTioN@21:1/158 to paulie420 on Saturday, September 17, 2022 20:57:51
    On 13 Sep 2022, paulie420 said the following...

    pip install BeautifulSoup
    pip3 install BeautifulSoup

    Try;

    pip install beautifulsoup4

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07ÄÄ |08[|10eml|08] |15ml@erb.pw |07ÄÄ |08[|10web|08] |15www.erb.pw |07ÄÄÄ¿ |07ÄÄ |08[|09fsx|08] |1521:1/158 |07ÄÄ |08[|11tqw|08] |151337:1/101 |07ÂÄÄÙ |07ÄÄ |08[|12rtn|08] |1580:774/81 |07ÄÂ |08[|14fdn|08] |152:250/5 |07ÄÄÄÙ
    |07ÄÄ |08[|10ark|08] |1510:104/2 |07ÄÙ

    --- Mystic BBS v1.12 A47 2021/12/13 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (21:1/158)
  • From ogg@21:2/147 to MeaTLoTioN on Saturday, September 17, 2022 15:41:51
    Try;

    pip install beautifulsoup4

    ---
    Best regards,
    Christian aka MeaTLoTioN

    Originally tried that. What finally fixed the problem I was writing about was not to start 'mis' as root in systemd. I changed the owner in mis.systemd to my user name and rebooted. Then I did not have the problem any more.

    Thanks for the comment!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From MeaTLoTioN@21:1/158.6 to ogg on Saturday, September 17, 2022 21:09:37
    On 17 Sep 2022, ogg said the following...

    Originally tried that. What finally fixed the problem I was writing
    about wasnot to start 'mis' as root in systemd. I changed the owner in mis.systemd tomy user name and rebooted. Then I did not have the
    problem any more.

    Ah ok, I missed that you had already fixed it, d'oh =)

    Thanks for the comment!

    No problems!

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07ÄÄ |08[|10eml|08] |15ml@erb.pw |07ÄÄ |08[|10web|08] |15www.erb.pw |07ÄÄÄ¿ |07ÄÄ |08[|09fsx|08] |1521:1/158 |07ÄÄ |08[|11tqw|08] |151337:1/101 |07ÂÄÄÙ |07ÄÄ |08[|12rtn|08] |1580:774/81 |07ÄÂ |08[|14fdn|08] |152:250/5 |07ÄÄÄÙ
    |07ÄÄ |08[|10ark|08] |1510:104/2 |07ÄÙ

    --- Mystic BBS v1.12 A47 2020/11/22 (OnePlus6T/arm32)
    * Origin: phOnE In mY pOckEt BBS (21:1/158.6)
  • From Irish_Monk@21:4/184 to ogg on Saturday, September 17, 2022 18:22:12
    Originally tried that. What finally fixed the problem I was writing
    about was not to start 'mis' as root in systemd. I changed the owner in mis.systemd to my user name and rebooted. Then I did not have the
    problem any more.

    Thanks for the comment!

    Awesome, glad you were able to figure that out. !!

    |10I|02rish_|10M|02onk

    ... Multitasking: Reading in the bathroom

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/64)
    * Origin: WarpeD SocieTy (21:4/184)
  • From paulie420@21:2/150 to MeaTLoTioN on Monday, September 19, 2022 18:52:09
    pip install BeautifulSoup
    pip3 install BeautifulSoup

    Try;
    pip install beautifulsoup4

    Thanks - it was for another user, but I think his issue was actually the pip path not being in his environment variable/PATH.

    Anyway, thanks for the response mL!!



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to claw on Monday, September 19, 2022 21:09:09
    Everything tends to work better if you don't run it as root user. This will take some setup since you have been running it as a root user and will need some permission adjustments as well. If you need assistance

    Thanks for the tip! I actually went into the mis.service file and replaced "root" with my account name. I rebooted and the particular error went away. It was a permissions problem.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... What was the best thing before sliced bread?

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/64)
    * Origin: Altair IV BBS (21:2/147)