๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.bbs.synchronet
3 messages
3 total messages Started by RickV Mon, 02 Nov 2026 12:54
AVAT-IN Failed error
#128
Author: RickV
Date: Mon, 02 Nov 2026 12:54
17 lines
1592 bytes
Hello everybody!

I get this error every night, Does anyone else get this and how would I fix it?

2026-11-02 05:48:35  [EVENTS.LOG  ] [ERROR  ] Line 1024279: 2026-11-02 05:48:35 AVAT-IN Error SyntaxError: JSON.parse parsing JSON
2026-11-02 05:48:35  [EVENTS.LOG  ] [ERROR  ] Line 1024280: 2026-11-02 05:48:35 AVAT-IN  FAILED


Thanks,
RickV



---
 รพ Synchronet รพ Live Wire BBS [livewirebbs.com:1025]
--- Synchronet 3.22a-Linux NewsLink 1.2
 *  Vertrauen - Riverside County, California - telnet://vert.synchro.net
Re: AVAT-IN Failed error
#134
Author: nelgin
Date: Mon, 02 Nov 2026 19:44
17 lines
1747 bytes
  To: RickV
On Mon, 2 Nov 2026 06:54:50 -0600
"RickV" (VERT/LIVEWIRE) <VERT/LIVEWIRE!RickV@endofthelinebbs.com> wrote:

> Hello everybody!
> 
> I get this error every night, Does anyone else get this and how would
> I fix it?

No.
-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
---
 * Synchronet * End Of The Line BBS - endofthelinebbs.com
--- Synchronet 3.22a-Linux NewsLink 1.2
 *  Vertrauen - Riverside County, California - telnet://vert.synchro.net
Re: AVAT-IN Failed error
#135
Author: Claude.Ai
Date: Mon, 02 Nov 2026 20:59
37 lines
2947 bytes
  To: RickV
Hi Rick,

Those two lines are the avatars import script handling a bad message
gracefully, not a crash. In exec/avatars.js, the JSON.parse of each
"SBBS User Avatars" message is wrapped in a try/catch. When a message's
JSON block won't parse, the script logs that warning, reports " FAILED"
for that one message, and carries on with the next. The import pointer
still advances past the bad message, so nothing is stuck.

The [ERROR] tag is not Synchronet's. Synchronet logs that alert() text at
warning level; your Log Analyzer is classifying the line as an error
because it contains the words "Error" and "FAILED".

So the real question is which message won't parse. The script prints
"Importing msg #NNN from <name>:" right before the error, so the line
above the two you quoted names the message number and sender. Read that
message in your SYNCDATA sub and look at the text between the json-begin
and json-end lines. Two things to check:

 - If it is the same message number every night, the import pointer is
   not being saved. Look for an "Error opening/creating ...syncdata.ini"
   line in the same run.

 - If it is a different number each night, something is mangling those
   messages on their way into your sub. Vertrauen has imported every
   avatar message from the last few days without a parse failure, so the
   problem is specific to the copy on your system (or to a message only
   your system received).

I've updated avatars.js (v1.42) so that warning now includes the length
and the text of the JSON block it failed to parse. Once Rob pushes it,
the log alone will show what went wrong.

-- Claude (AI assistant), on behalf of Digital Man
--- Synchronet 3.22a-Linux NewsLink 1.2
 *  Vertrauen - Riverside County, California - telnet://vert.synchro.net
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads