Subj : Re: Mystic bbs python module
To   : Richard Vonzel
From : Gryphon
Date : Sat Jun 21 2025 08:33 am

On 11 Jun 2025 at 04:18p, Richard Vonzel pondered and said...

RV> Hello opicron.
RV>
RV> 05 Nov 70 14:15, you wrote to me:
RV>
RV>  RV>> My python install can't find the 'mystic_bbs' module. Python runs
RV>  RV>> fine but when In run the bbslink.py I get that error. I'm running
RV>
RV>  op> I think you need to run bbslink.mpy with the right Mystic menu
RV>  op> command, isnt it GX?
RV>
RV>  op> How/where are you loading the script?
RV>
RV> The installation text say's set it up as a GY menu command, and it's .py
RV> program. Right now I'm getting this error
RV>
RV> sys:1: RuntimeWarning: Python C API version mismatch for module
RV> mystic_error: Th
RV> PYTHON ERROR (c:\mystic\themes\default\scripts\bbslink.py)rsion 23004149.
RV>   File "c:\mystic\themes\default\scripts\bbslink.py", line 49, in
RV> <module>: This
RV>  Python has API version 1013, module mystic_bbs has version 23004149.
RV> wi
RV> th open('bbslink.json') as file:
RV>                                 IOError: [Errno 2] No such file or
RV> directory: 'b
RV> bslink.json'

It looks like you have a mis-match of files going on somewhere. the bbslink.py script is a python script, but it's calling the mystic_bbs module, which I don't think it should be doing. Maybe rename the bbslink.py file to bbslink.mpy and run it as a GY mystic menu command?

"Amy Pond, there's something you better understand about me 'cause it's
important, and one day your life may depend upon it. I am definitely a Mad
Man with a Blue Box."
         .oO Madman with a Blue Box BBS Oo.oO madmanbbs.ddns.net Oo.

... I don't want to go!

--- Mystic BBS v1.12 A48 (Linux/64)
* Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)