• No way to import pycurl

    From Nicola Mettimano@2:335/601 to All on Sat Feb 11 17:22:26 2023
    Hello, like the subject, i tried all; I put a file with only import pycurl statemente and when i execute in Mystic with GZ it give me an error.
    I also tried to run python from the cli adn after to digit import pycurl and.... no errors so i think that is in some way a Mystic problem... ?
    Any idea?
    Thanks

    -------------------------------------------------------
    The violence is the last refuge of the incompetent...

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From Nicola Mettimano@2:335/601 to All on Sun Feb 12 03:01:04 2023
    Hello, I am investigating more and i discovered that now Mystic don't import any modules... it always gives me the python execution exception error but only with python3.
    Yesterday everything was working...
    I am going crazy, I don't understand what happened, maybe I broke something but I don't understand what :-(
    Please help.

    -------------------------------------------------
    La violenza Š l'ultimo rifugio degli incapaci!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From Nicola Mettimano@2:335/601 to g00r00 on Sun Feb 12 13:15:25 2023
    Ok, the problem is that Mystic don't remove/delete completely python2 field whe I leave it blank then python2 is not "deactivated" so when i call a pyhton3 script mystic give me the execution exception error as a reported on Mystic wiki using both version of python.
    To tempoaly solve this issue i can give a wrong python2 lib path (like "." or something like that) although a warning appear (Cannot initialize Python, press a key) before execute pyhton3 script; but this way at least python3 works.
    Please, I waiting for your feedback.
    Thanks a lot.

    -------------------------------------------------
    La violenza Š l'ultimo rifugio degli incapaci!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From g00r00@1:129/215 to Nicola Mettimano on Tue Feb 14 12:59:56 2023
    Ok, the problem is that Mystic don't remove/delete completely python2 field whe I leave it blank then python2 is not "deactivated" so when i call a pyhton3 script mystic give me the execution exception error as a reported on Mystic wiki using both version of python.

    To tempoaly solve this issue i can give a wrong python2 lib path (like
    "." or something like that) although a warning appear (Cannot initialize Python, press a key) before execute pyhton3 script; but this way at

    Nothing is ever deactivated in Python when a field is blank. When its blank its looking in all known installation locations for all known versions of Python. This is discussed on the Wiki here: http://wiki.mysticbbs.com/doku.php?id=python_install

    When you are setting the Python 2 library name to "." you are forcing Mystic to not detect Python 2. The fact that it finds something when blank means you probably have multiple installations of Python, which as noted on the Wiki is going to end in an Access Violation. Even if you trick Mystic into not finding the base Python 2 library itself, the symbols of the modules and system libraries will still be found later, and it will cause conflict which results in an Access Violation.

    So how do we fix it? Well I may not know but I'll try.

    I think first lets see what is on your system. Please try to run one or both of these commands to locate where you have libpython and let me know:

    ldconfig -p | grep libpython
    sudo find / -name 'libpython*'

    ... A Skydiver is taken by the gravity of his situation.

    --- Mystic BBS v1.12 A49 2023/01/31 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Nicola Mettimano@2:335/601 to g00r00 on Tue Feb 14 22:56:17 2023
    ldconfig -p | grep libpython

    https://pastebin.com/ELW0eYSv

    sudo find / -name 'libpython*'

    ttps://pastebin.com/pi9wuw92

    Many thanks James ;-)

    -------------------------------------------------
    Violence is the last refuge of the incompetent!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From Nicola Mettimano@2:335/601 to g00r00 on Sat Feb 18 15:27:05 2023
    Hello g00r00, a doubt...:
    Removing completely python2 from my OS can help/resolve this issue?

    -------------------------------------------------
    Violence is the last refuge of the incompetent!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From Marco R@2:280/2030 to Nicola Mettimano on Wed Mar 1 13:44:10 2023
    Hello g00r00, a doubt...:
    Removing completely python2 from my OS can help/resolve this issue?

    If you want to destroy your Linux installation .....

    ... When all else fails, read the instructions

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Westland BBS (2:280/2030)
  • From Nicola Mettimano@2:335/601 to Marco R on Thu Mar 2 12:15:40 2023
    Why? My distro (Ubuntu 22.04 server) come withouth python2, I installed it ex post...

    -------------------------------------------------
    Violence is the last refuge of the incompetent!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From Al@1:153/757 to Nicola Mettimano on Thu Mar 2 03:22:48 2023
    Why? My distro (Ubuntu 22.04 server) come withouth python2, I installed it ex post...

    My distro also doesn't come with python2 installed any more. It can be installed seapately but of course it is depricated now so there won't be anymore updates.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Marco R@2:280/2030 to Al on Thu Mar 2 18:11:32 2023
    Why? My distro (Ubuntu 22.04 server) come withouth python2, I installed post...
    My distro also doesn't come with python2 installed any more. It can be installed seapately but of course it is depricated now so there won't be anymore updates.

    Yes you might be right. I was confused by something I did a few months ago on my system ..... Sorry for causing confusion.

    ... I have a really good memory, except it's short.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Westland BBS (2:280/2030)
  • From Chad Adams@1:19/40 to Al on Sun Mar 5 20:14:00 2023
    MSGID: 1:19/40 274BD60C
    PID: CyberBBS v1.0.10
    On 02 Mar 23 03:22:48, Al wrote:
    Why? My distro (Ubuntu 22.04 server) come withouth python2 I installed it ex
    post...

    My distro also doesnt come with python2 installed any more. It can be installed seapately but of course it is depricated now so there wont be anymore updates.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton BC Canada (1:153/757)


    I think most distros have moved to Python3. You can probably still find Python2.7 from repos, though.

    -Nugax (cbbs)


    --- CyberBBS v1.0.10 2023/03/05 [Debian Linux/x64]
    * Origin: CyberBBS WHQ BBS | http://www.cyberbbs.co (1:19/40)
  • From Al@1:153/757 to Chad Adams on Sun Mar 5 21:23:28 2023
    My distro also doesnt come with python2 installed any more. It can be
    installed seapately but of course it is depricated now so there wont be
    anymore updates.

    I think most distros have moved to Python3. You can probably still find Python2.7 from repos, though.

    Yes, you can still install it but it is dead. It was depricated in 2020.

    I'm not sure why the divide between Python2 and 3 but Python3 is is where it continues to be developed and updated.

    I haven't installed Python2 at this point, I might but I'd rather not just because it is depricated and there will be no more updates.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Chad Adams@1:19/40 to Al on Wed Mar 8 20:53:33 2023
    Thats exactly why I don't understand why 2.7 was chosen for Mystic Python
    lang.

    -Nugax (cbbs)


    --- CyberBBS v1.0.10 2023/03/08 [Debian Linux/x64]
    * Origin: CyberBBS WHQ BBS | http://www.cyberbbs.co (1:19/40)
  • From Al@1:153/757 to Chad Adams on Wed Mar 8 21:10:56 2023
    Thats exactly why I don't understand why 2.7 was chosen for Mystic Python lang.

    Python has worked well for years. Phython2 is something of a zombie now though.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Chad Adams@1:19/40 to Al on Thu Mar 9 08:33:44 2023
    On 08 Mar 23 21:10:56, Al wrote:
    Thats exactly why I dont understand why 2.7 was chosen for Mystic Python A>> lang.

    Python has worked well for years. Phython2 is something of a zombie now though.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton BC Canada (1:153/757)


    I think Mystic supports Python 3 now. I like writing stuff in Python,
    tbh.

    -Nugax (cbbs)


    --- CyberBBS v1.0.10 2023/03/08 [Debian Linux/x64]
    * Origin: CyberBBS WHQ BBS | http://www.cyberbbs.co (1:19/40)
  • From g00r00@1:129/215 to Chad Adams on Mon Mar 20 18:22:06 2023
    Thats exactly why I don't understand why 2.7 was chosen for Mystic Python lang.

    2.7 was chosen long before the end of life when it was still the default version use in every major Linux and OSX release. You had to go out of your way to install Python3 at the time.

    But also because of technical reasons. Python 2 has compatible codepage and string handling with Mystic, and Python 3 does not. You'll have to have a strong understanding of encoding to effeectively use Python 3 with Mystic and many people get a little lost with that stuff.

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

    --- Mystic BBS v1.12 A49 2023/03/14 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Chad Adams@1:19/40 to g00r00 on Thu Mar 23 06:32:18 2023
    On 20 Mar 23 18:22:06, g00r00 wrote:
    Thats exactly why I dont understand why 2.7 was chosen for Mystic Python lang.

    2.7 was chosen long before the end of life when it was still the default version use in every major Linux and OSX release. You had to go out of your way to install Python3 at the time.

    But also because of technical reasons. Python 2 has compatible codepage and string handling with Mystic and Python 3 does not. Youll have to have a strong understanding of encoding to effeectively use Python 3 with Mystic and many people get a little lost with that stuff.

    ... Everyone has a photographic memory. Some dont have film.

    --- Mystic BBS v1.12 A49 2023/03/14 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)


    Ah. makes sense!
    -Nugax (cbbs)


    --- CyberBBS v1.0.11 2023/03/12 [Debian Linux/x64]
    * Origin: CyberBBS WHQ BBS | http://www.cyberbbs.co (1:19/40)