Re: RPi & Python 3

Daniel Stephens <[email protected]>
Newsgroups alt.bbs.mystic
Message-ID <[email protected]>
Hello and thank you for creating this wonderful BBS!

I'm in the process of building a front end to a Node.js API for keeping track of all of my ICs and other active electronics. I want to be able to access it from my Amiga 1000, and so I've decided that Mystic BBS is the best option for this. I already use Mystic for moving text files back and forth from WP 4.1 on my Amiga to NeoOffice on my Mac and it works great.

Anyway, I am using the Python3 module 'requests' for handling HTTP requests to the Node.js API on an Ubuntu machine on the interwebs.

However, simply importing this module into a Mystic Python3 script causes an error to show up in the error.log:
EAccessViolation Access violation

I am running Mystic version 1.12 A48
It's running on a Raspi 4 with the latest Raspbian
It's running Python 3.9.2

The python script is simply:
import mystic_bbs as bbs
import requests
bbs.writeln("Hello from Python 3")
bbs.writeln("We have imported requests module")
bbs.writeln("|PA")

The script runs fine until it ends at which point it abruptly ends the connection. It even properly executes the |PA pause; but as soon as a key is pressed the connection terminates.

If I comment out the "import requests" line, the script runs without terminating the connection and there is no error in the log file.

Any help would be most appreciated.

ps: I did do a fresh install of everything and tried with Python 2.7. The same script did not cause the connection to terminate, however it did give me a RunTimeWarning of an API version mismatch for module mystic_bbs.

Thank you!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.