• OneLiners

    From DesotoFireflite@VERT/VALHALLA to Echicken on Sunday, October 05, 2014 15:58:23
    I keep getting this error code since I have set up onliners. any ideas.


    10/5 03:44:18p 1572 JSON Error: can't open c:\SBBS\exec\undefinedlib.js: No such file or directory

    Thanks




    - SENILE.COM found...Out of Memory...

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Monday, October 06, 2014 01:03:18
    Re: OneLiners
    By: DesotoFireflite to Echicken on Sun Oct 05 2014 15:58:23

    I keep getting this error code since I have set up onliners. any ideas.

    10/5 03:44:18p 1572 JSON Error: can't open c:\SBBS\exec\undefinedlib.js: No such file or directory

    My guess would be that you didn't set the "Start-up Directory" for the external program. (Should be the path to xtrn/oneliners on your system.)

    If that isn't it, let me know and I will dig further.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Monday, October 06, 2014 03:30:32
    Re: OneLiners
    By: echicken to DesotoFireflite on Mon Oct 06 2014 01:03 am

    My guess would be that you didn't set the "Start-up Directory" for the external program. (Should be the path to xtrn/oneliners on your system.)

    I got that set as that was one of the first things I checked, and the program is working fine, just can't get rid of the error code. This error code shows up in the services section on the SBBS main screen if that helps. I'm running windows 7. As always Thanks


    - Don't eat the yellow snow!

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Monday, October 06, 2014 10:22:54
    Re: OneLiners
    By: DesotoFireflite to echicken on Mon Oct 06 2014 03:30:32

    program is working fine, just can't get rid of the error code. This error code shows up in the services section on the SBBS main screen if that

    That's odd - nothing should be showing up in the services log unless you are hosting your own wall (and I see you've posted on the one that I host.)

    Were you planning on hosting your own oneliners database?

    What, if anything, did you add to your 'ctrl/json-service.ini' file when setting this up?

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Monday, October 06, 2014 18:04:07
    Re: OneLiners
    By: echicken to DesotoFireflite on Mon Oct 06 2014 10:22 am

    What, if anything, did you add to your 'ctrl/json-service.ini' file when setting this up?

    oneliners=../xtrn/1neLiners/

    I changed the directory name, as I already had a local oneliners program, but I reflected the change everywhere it was needed. BTW, I only get this error when starting services, not at any other time. I have not been running JSON services till installed this program, as it's the only thing I run that requires it. As far as your program is concerned, it works perfectly, I think the error is coming from JSON, but I am clueless about finding it. As always, Thanks for your help...


    - SENILE.COM found...Out of Memory...

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Monday, October 06, 2014 22:36:02
    Re: OneLiners
    By: DesotoFireflite to echicken on Mon Oct 06 2014 18:04:07

    but I reflected the change everywhere it was needed. BTW, I only get this error when starting services, not at any other time. I have not been

    That narrows it down somewhat. You probably need to update your exec/json-service.js, and possibly exec/load/json*.js files.

    When the oneliners JSON DB module is loaded, two scripts from the oneliners directory (commands.js and service.js) are also loaded. They expect to be passed the start-up directory of the module (as defined in json-service.ini) as the first command-line argument. The 'undefinedlib.js' message that you're seeing in the log means that json-service.js is not passing that as expected.

    Looks like there have been a few changes in the way that json-service.js passes that argument. Updating to the current version should solve this problem.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Tuesday, October 07, 2014 04:22:40
    Re: OneLiners
    By: echicken to DesotoFireflite on Mon Oct 06 2014 10:36 pm

    That narrows it down somewhat. You probably need to update your exec/json-service.js, and possibly exec/load/json*.js files.

    Ok, I'll give that a shot and let you know. Thanks


    - Save Water, Shower With A Friend

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From DesotoFireflite@VERT/VALHALLA to echicken on Sunday, October 12, 2014 11:52:28
    Re: OneLiners
    By: DesotoFireflite to echicken on Tue Oct 07 2014 04:22 am

    That narrows it down somewhat. You probably need to update your
    exec/json-service.js, and possibly exec/load/json*.js files.

    Ok, I'll give that a shot and let you know. Thanks

    That took care of it. I've been a little lax in updating files lately, guess I better get back to it:) Thanks My Friend....



    - SENILE.COM found...Out of Memory...

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net