Any help would be appreciated. Ive been working this for a bit now and fig its time to ask for a little help. Thanks for anything you can assist with
Hello All,
Having a heck of a time getting Python 2.7 to run anything off of
Mystic. Has nothing to do with Mystic BBS, Its ME! Everytime I try to
run any .mpy mod I dont even get pass the Import Mystic BBS. "Import Error. No Module Name Mystic BBS' on any .MPY I try to run. Even if I
run it from the Command prompt without going thru mystic BBS.
I am using Windows 10 Pro 64 Bit, Mystic BBS 64 Bit, Python 2.7 64 bit.
I have gone into Windows 10 Variables and set these 3 lines in path.
c:\python27\
c:\python27\Lib\
%PYTHONHOME%;%PATH%
Any help would be appreciated. Ive been working this for a bit now and figured its time to ask for a little help. Thanks for anything you can assist with!
for the python27.dll in the appropriate menu, in mystic configuration.
You won't be able to import mystic_bbs at the command line, this will
only be importable when run through GX Mystic Python2 script from mystic menu items.
Make sure to follow instructions here. Recheck everything. Most of the time this solves the problems. Also make sure to insert the full path
for the python27.dll in the appropriate menu, in mystic configuration.
.
yup, thats what it was. I was just putting the directory it was in but
did not include the python27.dll, thank you very much!! I owe ya one!
Irish_Monk
Awesome that your got it all worked out. I think the reason it has your put the file name is because Python version changes are in the name it self. i.e Python3.8 vs Python3.10
yup, thats what it was. I was just putting the directory it was in but did include the python27.dll, thank you very much!! I owe ya one!
Why are Python 2.7 modules giving me a hard time, while Python 3 modules seems to run fine for the most part? I am running latest Mystic on
Ubuntu 22.04. I've had the 2.7 stuff working as well, but not anymore
and I am not sure what changed? Any protips?
I've only had success using a single Python implementation in Mystic for linux - either pick 2.7 or 3.x and stick with it.
Once you have a python2.7 script run in a Mystic session, any python3 scripts will fail (and in my experience drop carrier). And the inverse
of this is true - if you use a 3.x script, say during the logon process
or something, any 2.7 script will then fail afterward.
IC, yeah seems I have to put the effort into converting the 2.7 scripts
to 3.x instead.
Thanks for making it clear how this works. I could not figure it out, almost seemed random to me when 2.7 vs. 3.x would work. Thanks!
Thanks for making it clear how this works. I could not figure it out, almost seemed random to me when 2.7 vs. 3.x would work. Thanks!
Yeah, g00r00 is aware of it, it's just a really weird problem to solve.
This may seem like a bit of backwards advice but for now I'd probably convert everything to 2.7 if you can. There are encoding issues with 3.x which sometimes can make certain things more difficult, and there's no real stated benefit to 3.x as far as I can tell other than the fact that it's, well, not officially dead. hehe
This may seem like a bit of backwards advice but for now I'd probably convert everything to 2.7 if you can. There are encoding issues with which sometimes can make certain things more difficult, and there's n real stated benefit to 3.x as far as I can tell other than the fact t it's, well, not officially dead. hehe
The only issue I have with continuing to stick w/ 2.7 is that its disappearing in more and more places every day. I suppose that our hobby uses a lot of other techs that are much older, but I wanna run these things forever - the more and more I think about it I want to press on
w/ Py 3.
I am going to go for Python 3 as well. I am kind of learning Python by doing mods, so it does not make sense to me to learn an "old" language. It's not that big a deal if a mod is 2.7 and won't work; I'll just have
to make my own 3.x version if I want that functionality on my board.
Good learning experience.
* Origin: Phrenetic BBS (21:1/233)
Nothing wrong with that... some of us 'rely' on older code thats floating around - it seems we only update things when they finally break after
some chance in Mystic. :P
* Origin: Phrenetic BBS (21:1/233)Can we dial in? If not, do update us if you ever go public. Cheers.
Sure, it's still a bit early. But the BBS is starting to look
presentable now.
Yeah, I've wasted quite a lot of time figuring out that 2.7 vs 3.x
issue. But unless g00r00 figures it out. I will go 3.x and make what
else I need.
Yeah, I've wasted quite a lot of time figuring out that 2.7 vs 3.x issue. But unless g00r00 figures it out. I will go 3.x and make what else I need.
I'm down to collaborate on moving old 2.7 mpy into the 3.x realm but
would love to find more experienced Python 3.x folks ask I'm kind of a nubmskull :P Are there a list of mods for us to start ... well,
modifying? lol
Well, there is that IRC script. I'd love to have that, but I don't want
to start there :) I'll come up with some options. What are the most popular 2.7 mods out there?
IBBS One-Liners
IBBS Last Callers
All the RCS mods from 2o21
Phenom mods galore
This day in history
The popular BBS list mod - I forget the name
Threat-Sentry
Shit - I run so many p2.7 code on my board... I'd have to dig.
;D Thanks! Nice list. That gives us something to work on/with. I already have a functioning day in history, although I am using a different
source for the data, and the "looks" are yet to implement. So, I may
start there? I'll surely have look at these, and probably start with
what I consider easiest.
;D Thanks! Nice list. That gives us something to work on/with. I already have a functioning day in history, although I am using a different
source for the data, and the "looks" are yet to implement. So, I may
start there? I'll surely have look at these, and probably start with
what I consider easiest.
To be honest, too - one thing to check is Smooth just released a new
This Day In History. It is not the historical one, it looks all pimpin.
It was a Phenom release and I know Smooth likes to release py3 stuff... lemme check that package real quick.
Sounds like a great place to start. Honestly the encoding things will be the most tricky of all, so trying to get things to look appropriate will be tough.
I've only had success using a single Python implementation in Mystic for linux - either pick 2.7 or 3.x and stick with it.
Once you have a python2.7 script run in a Mystic session, any python3 scripts will fail (and in my experience drop carrier). And the inverse
of this is true - if you use a 3.x script, say during the logon process
or something, any 2.7 script will then fail afterward.
Hello, I have a big problem with python and Mystic...
I've only had success using a single Python implementation in Mystic f
linux - either pick 2.7 or 3.x and stick with it.
Once you have a python2.7 script run in a Mystic session, any python3 scripts will fail (and in my experience drop carrier). And the inverse
of this is true - if you use a 3.x script, say during the logon proces
or something, any 2.7 script will then fail afterward.
I don't have any python 2.7 script active during my sessions but if I start a python3 script the connection drops; precisely only scripts that import an external module (not from the standard python library).
I am not way to run a pyhton3 script on my board...
On error log i can see EAaccess violation, I am going crazy, can you
tell my something that I can try to solve?
Thanks
-------------------------------------------------
Violence is the last refuge of the incompetent!
--- Mystic BBS v1.12 A48 (Linux/64)
* Origin: REtrogaming ACTivities (REACT) BBS (21:4/183)
I don't have any python 2.7 script active during my sessions but if I start a python3 script the connection drops; precisely only scripts that import an external module (not from the standard python library).
I gave up trying 3.x with Mystic on Ubuntu and went to only 2.7 and
Win11. Unfortunately, even as I hope someone figures it out, I have
given up.
I'm open to suggestions.I gave up trying 3.x with Mystic on Ubuntu and went to only 2.7 and Win11. Unfortunately, even as I hope someone figures it out, I have given up.
my god this is absurd :-(
-------------------------------------------------
I'm open to suggestions.
I'm open to suggestions.
I don't know any other attempts to make, it just doesn't work, i think that dev is the only one that can help... :-(
I use this useful script to run mis as a service trought systemd: https://vswitchzero.com/mystic-systemd/
Can you please paste your mis.service file? Alternatively can you just throw it up on pastebin and share a link?
Sure:
https://pastebin.com/dCAwmEpe
Sorry if this is not that helpful, I don't really know what else to suggest.
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 91 |
Nodes: | 16 (0 / 16) |
Uptime: | 18:35:45 |
Calls: | 5,074 |
Calls today: | 6 |
Files: | 8,491 |
Messages: | 352,939 |
Posted today: | 1 |