• xq-ilc.mpy

    From Avon@21:1/101 to All on Monday, August 30, 2021 14:52:29
    Just trying to get this one running on my new Linux system and when I try to run it the script drops me out of the BBS and the Mystic logs show

    An error has occurred: Corrupted memory (216)

    Has anyone encountered this one?

    I have python 2.7.16 installed. Not sure if the environmental labels are set though / needed?

    I did run the testpython.mpy and that worked fine.

    Hmm

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to All on Monday, August 30, 2021 15:56:06
    On 30 Aug 2021 at 02:52p, Avon pondered and said...

    I have python 2.7.16 installed. Not sure if the environmental labels are set though / needed?

    I did some reading and set

    PYTHONPATH=/usr/local/lib/python2.7
    PYTHONHOME=/usr/local/lib/python2.7

    and they now display when I type env as a command

    Annoyingly the script still crashes. I have also checked my Python is 64 bit not 32 bit.

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Ratz@21:2/114 to paulie420 on Wednesday, February 02, 2022 13:03:13
    -----
    PYTHON ERROR (/home/pi/mystic/themes/default/scripts/xq-ilc.mpy)
    File "/home/pi/mystic/themes/default/scripts/xq-ilc.mpy", line 479, in <module

    processbase()
    File "/home/pi/mystic/themes/default/scripts/xq-ilc.mpy", line 279, in process
    base
    luser = rot47(msgtext[i+1])
    IndexError: list index out of range


    Heya paulie, I just installed and get this exact error. Did you ever hear
    back from xqtr or figure it out?

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: Freeside BBS - freeside.bbs.io (21:2/114)
  • From paulie420@21:2/150 to Ratz on Wednesday, February 02, 2022 18:24:15
    [PYTHON ERROR]
    File "/home/pi/mystic/themes/default/scripts/xq-ilc.mpy", line 479,
    File "/home/pi/mystic/themes/default/scripts/xq-ilc.mpy", line 279,

    Heya paulie, I just installed and get this exact error. Did you ever hear back from xqtr or figure it out?

    Hey brotha - so yea, we have the exact same issue happening... I *can* run the 'ilc login' command, that LOGS user logins to the inter-bbs LC list - just FYI, you can probably use that part.

    Yes, xqtr did email me back - but he mentioned to make sure that all xq-ilc files were correct and not messed up, which mine are. He also stated that maybe the message base data file is corrupt, but I haven't pressed more and tried to erase or... repair? that file.

    Hmmm - lets try to figure this out. If I delete my interbbs data file tho... hmmm.

    I wondered back then if it was any data files that xq-ilc WROTE. Maybe I can sniff around and see if there are any, and delete those. However, can we make sure to post any fixes either of us found?

    More info, I have upgraded from a47 to the current a48 - and still xq-ilc is borked... its not that.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Ratz@21:2/114 to paulie420 on Friday, February 04, 2022 08:41:58
    Yes, xqtr did email me back - but he mentioned to make sure that all xq-ilc files were correct and not messed up, which mine are. He also stated that maybe the message base data file is corrupt, but I haven't pressed more and tried to erase or... repair? that file.

    Didn't think of this, I did recently move from a win32 box to a ras pi and I moved all my msg bases so as not to lose all the old stuff. I can wipe/move fsx_dat and see if that makes a difference.

    I wondered back then if it was any data files that xq-ilc WROTE. Maybe I can sniff around and see if there are any, and delete those. However,
    can we make sure to post any fixes either of us found?

    I will definitely keep you updated. =)

    More info, I have upgraded from a47 to the current a48 - and still
    xq-ilc is borked... its not that.

    I was gonna try this to see if it helped, Will put it on the back burner for now, thks.

    off to test.

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: Freeside BBS - freeside.bbs.io (21:2/114)
  • From Ratz@21:2/114 to paulie420 on Friday, February 04, 2022 11:53:24
    stated that maybe the message base data file is corrupt, but I haven' pressed more and tried to erase or... repair? that file.


    This seemed to be the issue, I zipped and then deleted the fsx_dat.??? files
    in /mystic/msgs and that seems to fix it. I did have to wait for new messages to wander in but it only took a few minutes.

    give it a try hopefully, that will do the trick for you as well.

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: Freeside BBS - freeside.bbs.io (21:2/114)
  • From paulie420@21:2/150 to Ratz on Friday, February 04, 2022 18:54:08
    Didn't think of this, I did recently move from a win32 box to a ras pi
    and I moved all my msg bases so as not to lose all the old stuff. I can wipe/move fsx_dat and see if that makes a difference.

    Ahhh - theres a hint; I'm also on a Raspberry Pi 4. MAYBE thats a clue. Mine was working on a Pi in the beginning, but I'm wondering if some of the Python changes to Mystic or something messed the Python ilx up.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to Ratz on Friday, February 04, 2022 19:02:24
    This seemed to be the issue, I zipped and then deleted the fsx_dat.??? files in /mystic/msgs and that seems to fix it. I did have to wait for
    new messages to wander in but it only took a few minutes.


    Ok - I'll make a backup and try it out. Thanks Ratz.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to Ratz on Friday, February 04, 2022 19:08:13
    give it a try hopefully, that will do the trick for you as well.

    And yes... moving fsx_dat.* to a /backup folder has also fixed the xq-ilc issue for me, too. Maybe its about how large the files have become, or some corruption - but the message base wasn't corrupted at all....

    I'll write to xqtr and tell him what 'fixed' it. I think erasing those files also reboots my interbbs oneliners and other interbbs mods - but alas, thanks for helping... my xq-ilc has been messed up for a while.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Ratz@21:2/114 to paulie420 on Saturday, February 05, 2022 08:25:28
    And yes... moving fsx_dat.* to a /backup folder has also fixed the
    xq-ilc issue for me, too. Maybe its about how large the files have

    Sweet, glad that worked for you as well. I don't feel like my msg bases were corrupted either, but maybe the switch from windows to linux buggered something.

    alas, thanks for helping... my xq-ilc has been messed up for a while.


    anytime bro! glad I could be of service to you for a change. =)

    --- Mystic BBS v1.12 A48 2022/02/03 (Raspberry Pi/32)
    * Origin: Freeside BBS - freeside.bbs.io (21:2/114)
  • From xqtr@21:1/111 to Ratz on Sunday, February 06, 2022 09:12:52
    luser = rot47(msgtext[i+1])
    IndexError: list index out of range
    Heya paulie, I just installed and get this exact error. Did you ever hear back from xqtr or figure it out?

    This happens because the script expects a string inside the rot47 function, but for some reason (explain later) the string is empty.

    This can happen because of a corrupted message base, in some sort. The script expects to read a "data packet" of a specific kind. If something went wrong when this "data packet" was saved in the msg.base or transfered wrong via echomail, the script will "complain" :)

    I could add some code in there to bypass such things, but then you wouldn't know that you have a corrupted message base :)

    .
    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)