I first noticed something was wrong when I tried hitting "N" for new scan, and there was nothing new to read. But when I looked at some subs, I saw that they indeed had messages that had been posted that same day.
So I began going thru subs one at a time reading. This worked fine on some subs, but others would error out with this message:
!JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 7213: Error: can't convert pMsgNum to an integer
I recently updated to SBBS 3.17, so that may be the culprit. I also recently updated your message reader to the newest version.
!JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 7213: Error:
can't convert pMsgNum to an integer
That must be from an older version, because my DDMsgReader.js doesn't have a pMsgNum on that line.
I've seen Synchronet updates cause weird behavior similar to what you've shown above. I'm still running the official 3.16c release, and I haven't seen that issue with my reader. Digital Man recently said that he doesn't recommend updating to 3.17 right now because he & Deuce have made some changes since the 3.16c release that have made some things somewhat unstable.
I've seen Synchronet updates cause weird behavior similar to what you've shown above. I'm still running the official 3.16c release, and I haven't seen that issue with my reader. Digital Man recently said that he doesn't recommend updating to 3.17 right now because he & Deuce have made some changes since the 3.16c release that have made some things somewhat unstable.
Digital Man, is this true? Should I somehow try to downgrade? I haven't noticed any other issues beyond my message pointers being messed up.
If you're already running the current development code and not experiencing any
issues, I would not recommend downgrading to v3.16c (the most recent release).
If you're already running the current development code and not experiencing any
issues, I would not recommend downgrading to v3.16c (the most recent release).
Well, I *am* experiencing an issue this week, described a few messages back.
My message pointers went out of whack, and for a few days when I would hit "N", no messages would show as new. But when I manually read through a sub, I saw messages dated from the same day which SHOULD HAVE been in the new message scan.
Then Nightfox's message reader began giving me an "Error: can't convert pMsgNum to an integer" on certain subs. I think this is related to the message pointer as well.
In truth, either one of us would need more debugging details to get to the bottom of the issue. If the issue can be reproduced withOUT using Nightfox's message reader, then it's most definitely a Synchronet issue. If Nightfox can't reproduce it himself, then he made need more insight into your system state or configuration to determine the root-cause.
xtrn/DDMsgReader DDMsgReader.js 1.24 1.25 Read Me.txt 1.14 1.15 Revisionhistory.txt 1.2 1.3
Update of /cvsroot/sbbs/xtrn/DDMsgReadernumber & updated the release dat,e and updated the documentation)
In directory cvs:/tmp/cvs-serv11163
Modified Files:
DDMsgReader.js Read Me.txt Revision history.txt
Log Message:
Version 1.05 official release update (removed the "beta" from the version
---telnet://vert.synchro.net
� Synchronet � Vertrauen � Home of Synchronet �
bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");
In this example I tried the full path. I tried it without the path
and a couple to ways too.
There is something, if practical, that I would like to see changed.
When used to scan/read only one sub.. after the reader views the last message in that sub DDMsgRreader asks if they'd like to move to the next sub. This behavior is not needed and is undesirable in this case. If
Another issue is that DDMsgReader is ignoring the command-line switch to use an alternative config file. I am using this format:
bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");
Hello Rastus,
On 10 Dec 15 18:51, Rastus wrote to nightfox:
Ra> bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js
Ra> -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");
Ra> In this example I tried the full path. I tried it without the path
Ra> and a couple to ways too.
I don't remember any ":'s" in the command line switches. Have you tried something like this?
bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -configFilename /sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");
Basically just replacing the ":" with a space?
Regards,
Nick
--- GoldED+/LNX 1.1.5-b20151129
* Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/701)
Yes, I tried with and without a colon, with and without a space but it changed nothing. The docs are a little confusing stating that sometimes you use = and sometime you don't.. there are some examples.. but using
an alternative configuration file isn't one of the examples.
However, using an = sign for config does cause an error:
!JavaScript /sbbs/xtrn/DDMsgReader/DDMsgReader.js line 837: ReferenceError: scriptArgVals is not defined
Also on further investigation I've found that many of the switches are not working. They might on windows box but not here...
Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
By: Rastus to nightfox on Thu Dec 10 2015 18:51:44
Ra> There is something, if practical, that I would like to see changed.
Ra> When used to scan/read only one sub.. after the reader views the last
Ra> message in that sub DDMsgRreader asks if they'd like to move to the next
Ra> sub. This behavior is not needed and is undesirable in this case. If
I can understand that. I'd probably be able to make that change.
Ra> Another issue is that DDMsgReader is ignoring the command-line switch to
Ra> use an alternative config file. I am using this format:
Ra> bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js
Ra> -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");
You need to use a =, not a :, after configFilename. For example: -configFilename=/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com
Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
By: Rastus to nightfox on Thu Dec 10 2015 18:51:44
Ra> There is something, if practical, that I would like to see changed.
Ra> When used to scan/read only one sub.. after the reader views the last
Ra> message in that sub DDMsgRreader asks if they'd like to move to the next
Ra> sub. This behavior is not needed and is undesirable in this case. If
I can understand that. I'd probably be able to make that change.
Ra> Another issue is that DDMsgReader is ignoring the command-line switch to
Ra> use an alternative config file. I am using this format:
Ra> bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js
Ra> -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");
You need to use a =, not a :, after configFilename. For example: -configFilename=/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com
Something I have wanted to do for a while now is force the user to read (or at least be displayed) any unread messages I post in the SysOp Notices. SBBS can do this, but only if the user hasn't turned off new message scanning..(and the game players on my board do!)
I tried the following command line, but the user is still prompted to select a group,sub, etc:
bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -search=new_msg_scan -suppressSearchTypeText -subBoard=notices");
Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
By: Rastus to Nightfox on Fri Dec 11 2015 03:54:04
Ra> Something I have wanted to do for a while now is force the user to read
Ra> (or at least be displayed) any unread messages I post in the SysOp
Ra> Notices. SBBS can do this, but only if the user hasn't turned off new
Ra> message scanning..(and the game players on my board do!)
Ra> I tried the following command line, but the user is still prompted to
Ra> select a group,sub, etc:
Ra> bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -search=new_msg_scan
Ra> -suppressSearchTypeText -subBoard=notices");
I have committed a change to DDMsgReader.js in xtrn/DDMsgReader to enable that
usage. Please update your copy and give it a try, and let me know if you see any issues with that.
I also noticed & fixed an issue where it wasn't always displaying the correct @-code information in the header for the sub-board being scanned (for the current sub-board, group, and all) - If you can, it would be good to also try out the group and 'all' newscan and see if you notice any issues there regarding the information displayed in the header above the message, and whether it's scanning the correct sub-board, etc. It looks good on my system,
but I want to be sure it looks good for others too.
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com
Also, I have been looking at your code trying to find where I might disable the pause at the end of the scan if there are no new messages in the sub. Even if I comment out the pause after the 'Message Scan Complete' message, it is replaced by another pause that I can not find. Can you point me to that function so I can disable it. (I am using a
copy separate from that the messages bases for these test scans.) If there are no messages to display, and since the User didn't prompt for a scan, I can see no need to tell them the scan was complete.. So as not
to confuse the User I changed the prompt to read "There are No New SysOp Messages at this time".
I have added a configuration option (for the config file) which I hope will accomplish this for you - The configuration option is pauseAfterNewMsgScan, and you can set it to false to have it not pause at that point. For example: pauseAfterNewMsgScan=false
I have added a configuration option (for the config file) which I
hope will accomplish this for you - The configuration option is
pauseAfterNewMsgScan, and you can set it to false to have it not
pause at that point. For example: pauseAfterNewMsgScan=false
Outstanding! Thank You!! Yes this did the trick..
Yet another if....
I hate to keep asking for stuff.. but the only remaining thing I'd like to point out is that after reading any new messages in the selected sub, DDMsgReader still prompts the User if they wish to move onto the next sub.. if the user Selects Yes DDMsgReader exits... if they select No it does nothing.. Of course Quit exits at any time as expected. It's not critical but it could be confusing.
I really like your coding.. I can follow your js code easier than most.. I've learned a lot reviewing your code.
xtrn/DDMsgReader DDMsgReader.js 1.53 1.54 Read Me.txt 1.30 1.31 Revision history.txt 1.18 1.19
Update of /cvsroot/sbbs/xtrn/DDMsgReader
In directory cvs:/tmp/cvs-serv30781
Modified Files:
DDMsgReader.js Read Me.txt Revision history.txt
Log Message:
Version 1.16: Added a new feature that allows users to forward a message to an email address or to another user on the BBS (using the O key). This can be useful, for instance, if the user wants to send a message in a public sub-board to their personal email for future reference or send a message from a public sub-board to another user to discuss the topic privately.
Version 1.16: Added a new feature that allows users to forward a
message to an email address or to another user on the BBS (using the O
key). This can be useful, for instance, if the user wants to send a
message in a public sub-board to their personal email for future
reference or send a message from a public sub-board to another user to
discuss the topic privately.
Awesome idea! Thanks Nightfox!
Version 1.16: Added a new feature that allows users to forward a
message to an email address or to another user on the BBS (using the
O key). This can be useful, for instance, if the user wants to send
a message in a public sub-board to their personal email for future
reference or send a message from a public sub-board to another user
to discuss the topic privately.
Awesome idea! Thanks Nightfox!
You're welcome. I wasn't sure how many people (besides myself) might find that feature useful.
Version 1.16: Added a new feature that allows users to forward a
message to an email address or to another user on the BBS (using the
O key). This can be useful, for instance, if the user wants to send
a message in a public sub-board to their personal email for future
reference or send a message from a public sub-board to another user
to discuss the topic privately.
Awesome idea! Thanks Nightfox!
You're welcome. I wasn't sure how many people (besides myself) might
find that feature useful.
I just upgraded so I could test it out. It works like a charm. There are times I find a very useful post and I pull it up in the Web interface so I can save the whole HTML page. This is a much better solution, especially if I were to save multiple messages from a particular thread.
Version 1.16: Added a new feature that allows users to forward a
message to an email address or to another user on the BBS (using the
O key). This can be useful, for instance, if the user wants to send
a message in a public sub-board to their personal email for future
reference or send a message from a public sub-board to another user
to discuss the topic privately.
Awesome idea! Thanks Nightfox!
You're welcome. I wasn't sure how many people (besides myself) might
find that feature useful.
I just upgraded so I could test it out. It works like a charm. There are times I find a very useful post and I pull it up in the Web interface so I can save the whole HTML page. This is a much better solution, especially if I were to save multiple messages from a particular thread.
If you're reading messages from your BBS, then you (as the sysop) can also save a message directly to your BBS machine, if you'd prefer, using the Ctrl-S key combo. It will prompt you for the full path & filename where you want to save the message, and it will be saved in plain text. That only works for sysops; other users won't be able to do that.
Sysop: | Ragnarok |
---|---|
Location: | Dock Sud, Bs As, Argentina |
Users: | 136 |
Nodes: | 10 (0 / 10) |
Uptime: | 06:27:46 |
Calls: | 15,171 |
Calls today: | 4 |
Files: | 19,857 |
D/L today: |
7 files (164K bytes) |
Messages: | 1,691,377 |