Json Parser (6052307,7): Syntax Error - expected '}' or '"'

Does anyone know how to fix this error? I am trying to load in a scene that was saved by a couple days ago by the same Daz application on the same computer.

2023-10-05 08:19:35.127 [INFO] :: Loading Layout: C:/Users/cat/AppData/Roaming/DAZ 3D/Studio4/layout.dsx
2023-10-05 08:19:35.491 [INFO] :: Updated metadata for 1 of 2 items.
2023-10-05 08:19:35.911 [WARNING] :: ..\..\..\..\..\src\sdksource\cloud\dzcloudtasknotifier.cpp(660): sync completed successfully, 2 items succeeded, 0 items failed.
2023-10-05 08:19:35.911 [INFO] :: Metadata update succeeded.
2023-10-05 08:20:03.143 [INFO] :: Prepare asset load (open): /Scenes/Platoon1_26_D4_Compressed.duf
2023-10-05 08:20:03.143 [INFO] :: Locking viewport redraw...
2023-10-05 08:20:03.143 [INFO] :: Viewport redraw locked.
2023-10-05 08:20:03.177 [INFO] :: Native format content directories: 2
2023-10-05 08:20:03.177 [INFO] :: Poser format content directories: 6
2023-10-05 08:20:03.177 [INFO] :: Other import format content directories: 0
2023-10-05 08:20:03.177 [INFO] :: Begin asset load (open): /Scenes/Platoon1_26_D4_Compressed.duf
2023-10-05 08:20:05.197 [INFO] :: JSON interpreter warning: Unexpected sub-array in array
2023-10-05 08:20:05.197 [INFO] :: JSON interpreter warning: Unexpected sub-array in array
2023-10-05 08:20:05.197 [INFO] :: JSON interpreter warning: Unexpected sub-array in array
2023-10-05 08:20:05.197 [INFO] :: JSON interpreter warning: Unexpected number in array: 46
2023-10-05 08:20:05.197 [INFO] :: JSON interpreter warning: Unexpected number in array: 0.00111391
2023-10-05 08:20:05.197 [INFO] ::     Json Parser (6052307,7): Syntax Error - expected '}' or '"'
2023-10-05 08:20:05.231 [INFO] :: Error loading asset: M:/Daz 3D Studio/My Library/Scenes/Platoon1_26_D4_Compressed.duf
2023-10-05 08:20:05.231 [INFO] ::     Operation failed
2023-10-05 08:20:05.263 [INFO] :: Unlocking viewport redraw...
2023-10-05 08:20:05.263 [INFO] :: Viewport redraw unlocked.
2023-10-05 08:20:14.682 [INFO] :: Prepare asset load (open): /Scenes/Platoon1_25_D4_Compressed.duf
2023-10-05 08:20:14.682 [INFO] :: Locking viewport redraw...
2023-10-05 08:20:14.682 [INFO] :: Viewport redraw locked.
2023-10-05 08:20:14.711 [INFO] :: Native format content directories: 2
2023-10-05 08:20:14.711 [INFO] :: Poser format content directories: 6
2023-10-05 08:20:14.711 [INFO] :: Other import format content directories: 0
2023-10-05 08:20:14.711 [INFO] :: Begin asset load (open): /Scenes/Platoon1_25_D4_Compressed.duf
2023-10-05 08:20:14.859 [INFO] :: JSON interpreter error: Too many values for vector.
2023-10-05 08:20:14.859 [INFO] ::     Json Parser (326784,10): Syntax Error - expected ',' or ']'
2023-10-05 08:20:14.860 [INFO] :: Error loading asset: M:/Daz 3D Studio/My Library/Scenes/Platoon1_25_D4_Compressed.duf
2023-10-05 08:20:14.860 [INFO] ::     Operation failed
2023-10-05 08:20:14.891 [INFO] :: Unlocking viewport redraw...
2023-10-05 08:20:14.891 [INFO] :: Viewport redraw unlocked.
2023-10-05 08:20:29.389 [INFO] :: *** Scene Cleared ***
2023-10-05 08:20:29.446 [INFO] :: Prepare asset load (open): /Scenes/Platoon1_25_D4_Compressed.duf
2023-10-05 08:20:29.446 [INFO] :: Locking viewport redraw...
2023-10-05 08:20:29.446 [INFO] :: Viewport redraw locked.
2023-10-05 08:20:29.490 [INFO] :: Native format content directories: 2
2023-10-05 08:20:29.490 [INFO] :: Poser format content directories: 6
2023-10-05 08:20:29.490 [INFO] :: Other import format content directories: 0
2023-10-05 08:20:29.490 [INFO] :: Begin asset load (open): /Scenes/Platoon1_25_D4_Compressed.duf
2023-10-05 08:20:29.608 [INFO] :: JSON interpreter error: Too many values for vector.
2023-10-05 08:20:29.608 [INFO] ::     Json Parser (326784,10): Syntax Error - expected ',' or ']'
2023-10-05 08:20:29.609 [INFO] :: Error loading asset: M:/Daz 3D Studio/My Library/Scenes/Platoon1_25_D4_Compressed.duf

Comments

  • PerttiAPerttiA Posts: 10,024

    Did you run out of storage space the last time you saved the scene?

    DS gives no warning (or hasn't given) if the scene was saved as a result of DS asking whether one wants to save the scene before closing.

  • CatinBagCatinBag Posts: 51
    edited October 2023

    PerttiA said:

    Did you run out of storage space the last time you saved the scene?

    DS gives no warning (or hasn't given) if the scene was saved as a result of DS asking whether one wants to save the scene before closing.

    I believe I have enough space. The M drive the scene is stored on is a NAS and has 1.05 TB free still. Its running raid 1 with SSDs. The scene file (.duf) is at 260.7 mb.

    This seems to only have started happening when my scenes went ~150mb+. I have had this issue before but I just started saving iterative backups so I could use a backup if a scene wouldnt load.

    Is it better to not have it save when closing then?

    Post edited by CatinBag on
  • crosswindcrosswind Posts: 6,926

    1) DS - Windows - Batch Converter, Uncompress this file -: Platoon1_26_D4_Compressed.duf
    2) Download  and install the freeware - Notepad++. Open the above file with Notepad++
    3) Go to Line 6052307, Column 7, check if there's a } or " missing. In most of the similar cases, a } might be missing. {} should be paired.
    4) Correct it, save and reload.

    Are those files made by you or from a certain product?  Usually such an error(s) mostly come from DSON files saved / modified by vendors (PAs)...

  • PerttiAPerttiA Posts: 10,024

    CatinBag said:

    Is it better to not have it save when closing then?

    Yes, save before closing.

    I learned it the hard way, when I had a 3+GB scene file corrupted when DS was saving while closing.

  • CatinBagCatinBag Posts: 51
    edited October 2023

    crosswind said:

    1) DS - Windows - Batch Converter, Uncompress this file -: Platoon1_26_D4_Compressed.duf
    2) Download  and install the freeware - Notepad++. Open the above file with Notepad++
    3) Go to Line 6052307, Column 7, check if there's a } or " missing. In most of the similar cases, a } might be missing. {} should be paired.
    4) Correct it, save and reload.

    Are those files made by you or from a certain product?  Usually such an error(s) mostly come from DSON files saved / modified by vendors (PAs)...

     Is there a setting I should use? I tried it with this and got an "Error during conversion, see the log for details." But the log didnt update.

    The files used in the scene are all from venders, mostly form Daz store. I do modify the assets, like morphs, geometry editor, mesh grabber, textures and etc.

     

    I normally save iterative backups. For example, save file as backup1.duf, do some work on the scene, save file as backup2.duf and etc.

    Then if backup2.duf doesnt load, I go back to backup1.duf. I loose some work but its better than loosing the entire scene. There doesnt seem to be a pattern to what triggers it to not load. Sometimes I just move something around in the scene.

    Post edited by CatinBag on
  • crosswindcrosswind Posts: 6,926

    CatinBag said:

    crosswind said:

    1) DS - Windows - Batch Converter, Uncompress this file -: Platoon1_26_D4_Compressed.duf
    2) Download  and install the freeware - Notepad++. Open the above file with Notepad++
    3) Go to Line 6052307, Column 7, check if there's a } or " missing. In most of the similar cases, a } might be missing. {} should be paired.
    4) Correct it, save and reload.

    Are those files made by you or from a certain product?  Usually such an error(s) mostly come from DSON files saved / modified by vendors (PAs)...

     Is there a setting I should use? I tried it with this and got an "Error during conversion, see the log for details." But the log didnt update.

    The files used in the scene are all from venders, mostly form Daz store. I do modify the assets, like morphs, geometry editor, mesh grabber, textures and etc.

     

    I normally save iterative backups. For example, save file as backup1.duf, do some work on the scene, save file as backup2.duf and etc.

    Then if backup2.duf doesnt load, I go back to backup1.duf. I loose some work but its better than loosing the entire scene. There doesnt seem to be a pattern to what triggers it to not load. Sometimes I just move something around in the scene.

    There's no specific settings... just Add Files... and click Accept. The files should not be corrupted otherwise you would not get that syntax error.... Could you open the duf file with Notepad++ ?

Sign In or Register to comment.