Error opening file - json parser: syntax error

Hello!

Up until recently I have had no problem opening a .duf file of mine called After the Game.

Now I am getting an error message and I am unable to open the file.

I did some detective work on Google and have cleared the log file and attempted to open the After the Game file.

Attached below is the content of the log file. While my knowledge of computer programming is limited, the way I'm reading this is that something called the "Json parser" is looking for an apostraphe or comma that it is failing to find.

How do I read this, and what can I do to recover the file?

 

2023-02-14 10:33:23.250 [INFO] :: Error loading asset: C:/Users/third/Documents/DAZ 3D/Studio/My Library/Scenes/After the Game/After the Game.duf
2023-02-14 10:33:23.250 [INFO] ::     Operation failed
2023-02-14 10:33:23.633 [INFO] :: Unlocking viewport redraw...
2023-02-14 10:33:23.633 [INFO] :: Viewport redraw unlocked.
2023-02-14 10:35:09.753 [INFO] :: Prepare asset load (open): /Scenes/After the Game/After the Game.duf
2023-02-14 10:35:09.753 [INFO] :: Locking viewport redraw...
2023-02-14 10:35:09.753 [INFO] :: Viewport redraw locked.
2023-02-14 10:35:09.801 [INFO] :: Native format content directories: 3
2023-02-14 10:35:09.801 [INFO] :: Poser format content directories: 3
2023-02-14 10:35:09.801 [INFO] :: Other import format content directories: 0
2023-02-14 10:35:09.801 [INFO] :: Begin asset load (open): /Scenes/After the Game/After the Game.duf
2023-02-14 10:35:10.247 [INFO] ::     Json Parser (1178734,7): Syntax Error - expected ',' or ']'
2023-02-14 10:35:10.251 [INFO] :: Error loading asset: C:/Users/third/Documents/DAZ 3D/Studio/My Library/Scenes/After the Game/After the Game.duf

Comments

  • SofaCitizenSofaCitizen Posts: 1,896

    DUF files are JSON formatted and so it sounds like it's been truncated or corrupted somehow. You'll need to open it in a text editor (unzipping first if it is compressed) and look to see where the structure has broken down. Would require some knowledge of JSON formatting and/or a text editor with syntax suport for JSON files.

  • PerttiAPerttiA Posts: 10,024

    Have you run out of space on your C-drive when saving the scene the last time?

  • SofaCitizen said:

    DUF files are JSON formatted and so it sounds like it's been truncated or corrupted somehow. You'll need to open it in a text editor (unzipping first if it is compressed) and look to see where the structure has broken down. Would require some knowledge of JSON formatting and/or a text editor with syntax suport for JSON files.

    I had wondered this. The last time I saved the file I did so because I wanted to restart my computer and I suspect that I may have cut the power to it before the file was done saving. If so I would categorize this problem as "operator error". :D

  • PerttiA said:

    Have you run out of space on your C-drive when saving the scene the last time?

    Not as far as I know but I am interested in the line of thought because the storage capacity on my C: drive is becoming a problem.

    I discovered Daz in early January and I've downloaded tons of assets since. So much so that my C: drive has only 19.3GB of 446 available and I've had to uninstall a couple of unnecessary memory-intensive programs to compensate.

    I am interested in why you ask. I suspect that you are suggesting that I may be looking at spatial issues on my C: drive, which may be interfering with the ability for Daz to save files, which is a reason that makes sense to me.

    Plus it gives me something to blame other than "I shut off my computer before the file was done saving and corrupted it". :D

  • Seven193Seven193 Posts: 1,080
    edited February 2023

    There are online tools that can validate a JSON file.  Very helpful if you don't know what you're looking for.  Just Google for JSON validator.  Just remember you have to decompress the file to text, as Daz may compress them.

    Post edited by Seven193 on
Sign In or Register to comment.