• No way to import any external module

    From Nicola Mettimano@2:335/601 to g00r00 on Sun Feb 12 23:30:08 2023
    Investigating more...
    I can't import any external module; I have seen the log of mis where i see: MYSTIC 001 An error has occured: EAccessViolation Access violation

    Searching with google I found another guy that which had the same problem: https://groups.google.com/g/alt.bbs.mystic/c/blrm_csdbqU

    modules are in $PATH; if I run pyhton3 from cli and import those modules it does it without errors; I don't use other modules in python2.

    I don't know what else to do... :-(

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

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From Ryan Fantus@1:218/820 to Nicola Mettimano on Sun Feb 12 16:39:05 2023
    I don't know what else to do... :-(

    Quick thought - how are you launching 'mis'? Are you using 'sudo' to launch it?

    I notice when I use sudo to launch mis it looks for the root user's environmental things. Like, it drops suid to the user it's supposed to be, but it will look in /root/.<path> for stuff. My way around this is to not use sudo.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1:218/820)
  • From Nicola Mettimano@2:335/601 to Ryan Fantus on Mon Feb 13 14:57:57 2023
    Quick thought - how are you launching 'mis'? Are you using 'sudo' to launch it?

    I use this useful script to run mis as a service trought systemd: https://vswitchzero.com/mystic-systemd/
    On this script i specified a User so Mystic run as a normal user (i can see this with htop).
    Anyway, if it could not find the python modules it would give the module not found error, instead the connection is closed silently.
    Another strange thing is that if I launch the command with ./mystic -uUser -pPassword -zSCRIPT.mpy it work.... so it seem something related telnet or server....?!?!?
    Finally, in the error log I see this: "MYSTIC 001 An error has occured: EAccessViolation Access violation" both if I use telnet and if I use the local command....
    I think that the only one can help us is g00r00 :-(

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

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)