Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: MPY question

18 views
Skip to first unread message

g00r00

unread,
Jan 4, 2022, 11:20:34 AM1/4/22
to
TY> g0> Can you give a small example that I can run to see this happening?
TY>
TY> I was going to, and then on a lark decided to check the error.log. It's
TY> coming up as:
TY>
TY> MYSTIC001 An error has occured: EAccessViolation Access Violation
TY>
TY> No idea what that means, but I bet you do! =) This has only been
TY> happening since I upgraded to a47 a few weeks ago. I deleted the false
TY> paths for the two different Python versions in the config after
TY> upgrading (left blank after) and thought maybe that was it, then added
TY> the paths, was still hanging up on me.

If you can it would help if you can give me an MPY script that causes the
error?

... User Error: Replace user and hit any key to continue...

Todd Yatzook

unread,
Jan 4, 2022, 6:20:35 PM1/4/22
to
On 04 Jan 2022, g00r00 said the following...

g0> TY> I was going to, and then on a lark decided to check the error.log. It
g0> TY> coming up as:
g0> TY>
g0> TY> MYSTIC001 An error has occured: EAccessViolation Access Violation
g0>
g0> If you can it would help if you can give me an MPY script that causes the
g0> error?

I can, but the only one that I can see doing it now is the DoorParty
application script. I *think* figured out what's causing it, but I'm not 100%.
It might be a call to an empty variable? Or not, could be anything.

I can give you the script, but it's at 2,400+ lines, and my first real attempt
at a decent Python script. I notated where I figured I should, it's not
spaghetti, but it's probably not that great, either. Just a fair warning! It
also makes calls to a MySQL db that you won't have access to, and some modules
you probably won't have either.

I'll send it to the gooroo email addy. Thanks, man!

g00r00

unread,
Jan 5, 2022, 12:20:33 PM1/5/22
to
TY> I can give you the script, but it's at 2,400+ lines, and my first real
TY> attempt at a decent Python script. I notated where I figured I should,
TY> it's not spaghetti, but it's probably not that great, either. Just a

You can create a program that demos it if you want to, cut out all the other
stuff and just create a script that fails. Either way I will try to take a
look at it and get it fixed up!

... I don't have the time for a hobby. I have a computer.

Todd Yatzook

unread,
Jan 6, 2022, 2:20:42 AM1/6/22
to
On 05 Jan 2022, g00r00 said the following...

g0> TY> I can give you the script, but it's at 2,400+ lines, and my first rea
g0> TY> attempt at a decent Python script. I notated where I figured I should
g0> TY> it's not spaghetti, but it's probably not that great, either. Just a
g0>
g0> You can create a program that demos it if you want to, cut out all the
g0> other stuff and just create a script that fails. Either way I will try
g0> to take a look at it and get it fixed up!

I appreciate the hell out of you, man, thank you. I actually tried making a
version of the script that would run outside of Mystic for testing purposes at
one point when I was stumped on why it was failing when I first created it, and
I got super aggravated trying to cobble together something that didn't rely on
Mystic variables and whatnot to get it going for testing, or even what to use.
I'm still a newb programmer, but I do okay otherwise. =)

0 new messages