Unable to import environment, get error bug: expected node not geometry

Issue #758 resolved
Aaron J. Olson created an issue

Hello, I have been trying to import this model https://www.daz3d.com/jungle-water-temple and I open up the preload scene, it looks good there, I save it as a scene, run the export to blender script for the dbz file. All of that seems fine. No errors. When I try to import into blender however, I get this

Any ideas what the issue might be?

Thank you!

-Aaron

Comments (8)

  1. Thomas Larsson repo owner

    The crash when writing the error message should be gone now. However, the underlying problem that triggered the error is still there. Depending on your verbosity setting, the importer does one of the following

    Verbosity 1: Ignore the problem and try to load the rest of the scene.

    Verbosity 2: Write the error message in the terminal window.

    Verbosity 3: Abort and dump information to the file daz_importer_errors.txt. That can give us a clue what the original problem was.

  2. Aaron J. Olson reporter

    I am allowed to set the verbosity all the way up to 5, so (1 - 5), and I just tried the import with verbosity at 3, then 4, then 5, and nothing was written. Though I do still see the above error. The error text file is just supposed to write to my documents dir so I know I am looking the in the correct place.

  3. Thomas Larsson repo owner

    Strange. I try the same file and the plugin dumps the error log when verbosity = 3.

    The underlying error is that both a node (temple_front_vines) and its geometry (temple_front_vines-1) refer to the same url (which ends with templefrontstairs-1 and points to a geometry). This is wrong. The node should refer to the node templefrontstairs, without -1 at the end.

            {
                "id" : "templefront_vines",
                "url" : "/data/TheAntFarm/TemplePool/Temple%20Front%20With%20Vines/templefrontstairs.dsf#templefrontstairs-1",
                "name" : "templefront_vines",
                "label" : "Temple Front With Vines",
                "parent" : "#Temple%20Front%20-1",
                "geometries" : [
                    {
                        "id" : "templefront_vines-1",
                        "url" : "/data/TheAntFarm/TemplePool/Temple%20Front%20With%20Vines/templefrontstairs.dsf#templefrontstairs-1",
                        "name" : "templefront_vines_82248",
                        "label" : "templefront_vines",
                        "type" : "polygon_mesh",
    

    I will try to make the code resilient to this type of errors. It seems that DS is.

  4. Log in to comment