Nп/п : 49 из 100
 От   : Digital Man                         1:103/705         22 окт 25 21:47:02
 К    : Hm Derdoc                                             22 окт 25 07:53:01
 Тема : Shared avatar issues - corrupted JSON data in SYNCDATA sub?            
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 55084.sync@1:103/705 2d5fc072
@REPLY: 55082.sync@1:103/705 2d5fbc87
@TZUTC: -0700
 @PID: Synchronet 3.21a-Linux master/88b423313 Sep 29
2025 GCC 12.2.0
 @TID: SBBSecho 3.30-Linux master/88b423313 Sep 29
2025 GCC 12.2.0
@COLS: 80
@BBSID: VERT
@CHRS: CP437 2
@FORMAT: flowed
@NOTE: FSEditor.js v1.105
  Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
  By: Digital Man to Hm Derdoc on Wed Oct 22 2025 09:30 pm
 >   Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
 >   By: Digital Man to Hm Derdoc on Wed Oct 22 2025 09:22 pm
 >
 >  > I don`t recall avatars.js being designed to run via jsexec. Although it
 >  > might, that`s not really the intention - you run it as a timed event. If
 >  > you want to force the timed event to run on demand or modify the
 >  > command-line that runs as an event, you can do that too.
 >
 > I see from the wiki that indeed avatars.js was designed to run some commands
 > via jsexec. I`ll see if I can reproduce the errors you`re reporting.
 So I downloaded all the syncdat messages on VERT in QWK packet and
imported into a new install of SBBS and then run `jsexec avatars import`:
...
Importing msg #5112 from Karloch: parsed 8 avatarssuccess
Importing msg #5113 from Jason: parsed 4 avatarssuccess
Importing msg #5114 from StingRay: parsed 16 avatarssuccess
Importing msg #5115 from Luis Silva: parsed 3 avatarssuccess
new import_ptr = 5115
Imported 3384 messages
/sbbs/exec/avatars.js executed in 13.70 seconds
This imported custom user avatars:
ll ~/sbbs/data/qnet/
total 800
-rw-r--r-- 1 rswindell rswindell   957 Oct 22 21:38 AEFINITY.avatars.ini
-rw-r--r-- 1 rswindell rswindell   498 Oct 22 21:39 ALCABBS.avatars.ini
-rw-r--r-- 1 rswindell rswindell   584 Oct 22 21:38 ALCATRAZ.avatars.ini
-rw-r--r-- 1 rswindell rswindell   584 Oct 22 21:38 ALT119.avatars.ini
-rw-r--r-- 1 rswindell rswindell   516 Oct 22 21:38 ALTERANT.avatars.ini
... and shared avatar collections:
sbbs3$ ll ../../text/avatars/
total 60
-rw-r--r-- 1 rswindell rswindell 6758 Feb  2  2023 corporate.bin
-rw-r--r-- 1 rswindell rswindell 3729 Feb  2  2023 danger.bin
-rw-r--r-- 1 rswindell rswindell 2526 Feb  2  2023 DIGDIST.startrek.bin
-rw-r--r-- 1 rswindell rswindell 1422 Feb  2  2023 ECBBS.animals.bin
-rw-r--r-- 1 rswindell rswindell 2526 Feb  2  2023 ECBBS.emoji.bin
-rw-r--r-- 1 rswindell rswindell 2158 Feb  2  2023 ECBBS.gaming.bin
-rw-r--r-- 1 rswindell rswindell 2289 Feb  2  2023 GUARDIAN.profile.bin
-rw-r--r-- 1 rswindell rswindell 3446 Feb  2  2023 musical.bin
-rw-r--r-- 1 rswindell rswindell 2755 Feb  2  2023 README.TXT
-rw-r--r-- 1 rswindell rswindell 1569 Feb  2  2023 silhouettes.bin
-rw-r--r-- 1 rswindell rswindell 4550 Feb  2  2023 starwars.bin
-rw-r--r-- 1 rswindell rswindell 2769 Oct 22 21:38 VERT.misc.bin
-rw-r--r-- 1 rswindell rswindell 1974 Oct 22 21:38 VERT.zeus_ii.bin
 With no errors. Seemed to work as expected (other than the rather
unfortunate console/log output).
 Maybe take a look at the messages in your SYNCDATA echo and see
what`s up with them? In sure you downloaded them (in QWK packets) using a
QWKnet account (not a normal user account) as well.
-- 
                                            digital man (rob)
Sling Blade quote #18:
Karl Childers: Some folks call it Hell, I call it Hades.
Norco, CA WX: 59.7°F, 77.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.30-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
 SEEN-BY: 50/109 103/705 154/10 218/700 221/1
240/1120 280/464 301/1 113
 SEEN-BY: 341/66 463/68 712/848 5000/111 5001/100
5020/101 715 848 1042 4441
 SEEN-BY: 5020/12000 5030/49 1081 5060/900 5061/133
5075/128 5083/444
@PATH: 103/705 301/1 5020/1042 4441