• IMAPS error

    From Keyop Troy@1:103/705 to GitLab issue in main/sbbs on Sat Apr 16 19:01:47 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/397

    Sun Apr 17 02:43:16 2022 master/632e51d8esrvc 0079 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a function
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Sat May 14 16:42:46 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2580

    Still getting this error - any chance of a fix?Sat May 14 21:35:35 2022 master/6de0ebc0dsrvc 0575 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:35 2022 master/6de0ebc0dsrvc 0614 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:35 2022 master/6de0ebc0dsrvc 0590 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:35 2022 master/6de0ebc0dsrvc 0604 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:36 2022 master/6de0ebc0dsrvc 0615 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:36 2022 master/6de0ebc0dsrvc 0610 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:36 2022 master/6de0ebc0dsrvc 0592 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:36 2022 master/6de0ebc0dsrvc 0584 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:36 2022 master/6de0ebc0dsrvc 0578 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:36 2022 master/6de0ebc0dsrvc 0590 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:36 2022 master/6de0ebc0dsrvc 0594 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a functionSat May 14 21:35:38 2022 master/6de0ebc0dsrvc 0575 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase i

    s not a functionSat May 14 21:42:15 2022 master/6de0ebc0dsrvc 0617 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1861: TypeError: args.shift().toUpperCase is not a function
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Mon May 16 10:16:09 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2582

    As per nelgin's suggestion - after adding this line at 1861:log(LOG_INFO, "args.shift() is " + args.shift());I get:May 16 17:58:58 lr08 synchronet[2362]: srvc 4048 IMAPS args.shift() is NOTMay 16 17:58:58 lr08 synchronet[2362]: srvc 4048 IMAPS args.shift() is DELETEDMay 16 17:58:58 lr08 synchronet[2362]: srvc 4048 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1862: TypeError: args.shift() is undefinedMay 16 17:59:01 lr08 synchronet[2362]: srvc 4048 IMAPS args.shift() is UNSEENMay 16 17:59:01 lr08 synchronet[2362]: srvc 4048 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1862: TypeError: args.shift() is undefinedMay 16 17:59:01 lr08 synchronet[2362]: srvc 4051 IMAPS args.shift() is UNSEENMay 16 17:59:01 lr08 synchronet[2362]: srvc 4051 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1862: TypeError: args.shift() is undefined
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Mon May 16 10:41:00 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2583

    May 16 17:59:01 lr08 synchronet[2362]: srvc 4048 IMAPS Logging in KeyopMay 16 17:59:01 lr08 synchronet[2362]: srvc 4048 IMAPS args.shift() is UNSEENMay 16 17:59:01 lr08 synchronet[2362]: srvc 4051 IMAPS Logging in KeyopMay 16 17:59:01 lr08 synchronet[2362]: srvc 4048 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1862: TypeError: args.shift() is undefinedMay 16 17:59:01 lr08 synchronet[2362]: srvc 4051 IMAPS args.shift() is UNSEENMay 16 17:59:01 lr08 synchronet[2362]: srvc 4051 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1862: TypeError: args.shift() is undefinedMay 16 17:59:02 lr08 synchronet[2362]: srvc 4048 IMAPS Logging out KeyopMay 16 17:59:02 lr08 synchronet[2362]: srvc 4048 IMAPS service thread terminated (3 clients remain, 2 total, 5143 served)May 16 17:59:02 lr08 synchronet[2362]: srvc 4051 IMAPS Logging out KeyopMay 16 17:59:02 lr08 synchronet[2362]: srvc 4051 IMAPS service thread terminated (2 clients remain, 1 total, 5143 served)
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deon George@1:103/705 to GitLab note in main/sbbs on Mon May 16 18:32:39 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2584

    Using `log(LOG_INFO, "args.shift() is " + args.shift());` is not a good idea, because it will *remove* the next item from `args` (and thus a subsequent call to it could yield an empty result).I suggest you use `log(LOG_INFO, "args is " + JSON.stringify(args));` instead - that way you can see what the contents of args is (and then manually determine what args.shift() may yield).
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Mon May 16 19:23:22 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2585

    We had a debate about this on the irc #synchronet channel, and the code we've gone with (as suggested by Deuce) is: log(LOG_INFO, "args type: " + typeof(args)); log(LOG_INFO, "args toSource: " + args.toSource());Hopefully this will help track down the issue.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Sat May 28 18:24:57 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2598

    Ok we have a trigger on the 28th with the logging code added:Extra Code:log(LOG_INFO, "args type: " + typeof(args));log(LOG_INFO, "args toSource: " + args.toSource());syslog:May 28 20:26:38 lr08 synchronet[1198426]: srvc 0125 IMAPS args type: objectMay 28 20:26:38 lr08 synchronet[1198426]: srvc 0125 IMAPS args toSource: [["OR", "TO", "Premier inn", ["OR", "CC", "Premier inn", ["OR", "FROM", "Premier inn", ["OR", "SUBJECT", "Premier inn", [["OR", "FROM", "Premier", ["OR", "SUBJECT", "Premier", ["OR", "TO", "Premier", "CC", "Premier"]]], ["OR", "FROM", "inn",May 28 20:26:38 lr08 synchronet[1198426]: srvc 0125 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1864: TypeError: args.shift().toUpperCase is not a functionMay 28 20:26:38 lr08 synchronet[1198426]: srvc 0138 IMAPS args type: objectMay 28 20:26:38 lr08 synchronet[1198426]: srvc 0138 IMAPS args toSource: ["DELETED"]May 28 20:26:38 lr08 synchronet[1198426]: srvc 0128 IMAPS Logging out KeyopDoes this help?
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre Robitaille@1:103/705 to GitLab note in main/sbbs on Sun May 29 05:59:43 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2599

    What specifically did you do to trigger that search for a bunch of variations of premier inn? Are you able to recreate it, and if so you should describe the steps to recreate it.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Sun May 29 14:21:55 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2600

    Hi Andre, yes just worked out the trigger event.Searching for any string within the iOS mail client.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Keyop Troy on Mon May 30 02:26:28 2022
    On Sun, 29 May 2022 14:21:55 -0700
    "Keyop Troy" <keyop.troy@VERT> wrote:

    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2600

    Hi Andre, yes just worked out the trigger event.

    Searching for any string within the iOS mail client.

    Ok well. If you don't do that, your error will go away :)

    Solved.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop@1:103/705 to Nelgin on Wed Jun 1 00:05:58 2022
    Re: Re: IMAPS error
    By: Nelgin to Keyop Troy on Mon May 30 2022 02:26:28

    Ok well. If you don't do that, your error will go away :)

    Solved.

    Oh Nelgin my dear fellow - you make me laugh and cry at the same time :)

    ---
    þ Synchronet þ >>> Magnum BBS <<< - bbs.magnum.uk.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Mon Oct 3 12:42:58 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_2764

    Aha! Yeah, it looks like the parenthesis support is only half-baked. I'll dig into this when I have more time, thanks for tracking this down!
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Tue Sep 12 15:13:12 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_3950

    Hi Deuce - any further thoughts on this one, as my error.log fills up when I search for text on my iPhone?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Tue Sep 12 15:30:59 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_3951

    Latest error.log related to this issue:Tue Sep 12 23:23:56 2023 master/c9e643727srvc 0159 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1859: TypeError: args.shift().toUpperCase is not a functionTue Sep 12 23:24:37 2023 master/c9e643727srvc 0153 IMAPS <Keyop> !JavaScript /sbbs/exec/imapservice.js line 1859: TypeError: args.shift().toUpperCase is not a function
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Thu Feb 29 17:18:05 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/397#note_5019

    This issue has been resolved.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab issue in main/sbbs on Thu Feb 29 17:18:05 2024
    close https://gitlab.synchro.net/main/sbbs/-/issues/397
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)