Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.bbs.mystic    |    Mystic Sysops are mystical nerds...    |    11,847 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 11,375 of 11,847    |
|    Daniel Stephens to All    |
|    Re: RPi & Python 3    |
|    07 Feb 23 20:34:01    |
   
   From: dgstephens@gmail.com   
      
   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!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca