Can not load data which installed custom Mylibrary path anymore

Issue #375 resolved
engetudouiti created an issue

Untill recent versions, (Thomas seems change how load assets data from directory), I could import all assets which located in my custom my library path. but with recent version I could not load them any more, then it cause erroer.

The concept to change library path is to divide product which sold by DAZ or other vendor or my customade one. So If it not work any-more, I may need to copy and paste all assets to the Daz default one. (or I suppose the directory which I first set in gloval setting.

I suppose it seems only effect for files in each library/data files , add on can not find path any more.

RROR:
Broken path: 'I:/myfile/dazstudio4/Mylibrary/data/3feetwolf/New Genitalia For Victoria 7/new_gens_V7_4948.dsf'
Folder: 'I:/myfile\dazstudio4\Mylibrary\data'
File: '3feetwolf'

The error log show, broken path. but it is not path which I had installed. but I installed the 3feetwolf asset in

I:/myfile/dazstudio4/rendlibrary/data/…

I can not check if add on can find path for non data dsf, but add on simply stop and shut down blender with this error log.

I could import the duf with dbz, without problem before. So I suppse it cause blender shut-down.

Comments (5)

  1. engetudouiti reporter

    This commit seems related with my issue

    https://bitbucket.org/Diffeomorphic/import_daz/commits/71cd9bfad2340792eff4a0b2f6f88e081dd85241

    And just to confrim, I actually set the library path which I imported for 3feetwolf like this

    DAZ ROOT PATHS:
    0: "I:/myfile/dazstudio4/Mylibrary"
    1: "I:/myfile/dazstudio4/Rendlibrary"
    2: "I:/myfile/dazstudio4/TKlibrary"
    3: "I:/myfile/dazstudio4/WIFproduct"
    4: "I:/myfile/dazstudio4/ShareCG"
    5: "I:/myfile/dazstudio4/Rend2library"
    6: "C:/Program Files/DAZ 3D/DAZStudio4"
    7: "C:/Program Files/DAZ 3D/DAZStudio4 Public Build/shaders/iray"
    8: "I:/myfile/dazstudio4/iraymdltest"

    So I assume current version only try to serch the 0 directory, or daz default one (I do not know). then cause this error

    ========

    And it is really strange but,, if I change verbosity from 5 to 3, now it worked. some error handling seems not correct to set verbosity I feel. it is not error. (only use non default library directory but set it already)

    yes I could confirm, when I return verbosity (error check level) as 5. blender freeze and shut down again.

    then only verbosity = 5 seems cause this issuse, with out-put error log. if I test with 4 or 3. add on not generate error . then import correctly.

  2. engetudouiti reporter

    It only happen with global setting verbosity = 5, so priority is minor. but use custom library path, should not be check as error I think. (and I do not know why it cause blender crush too, too many error log cause it?)

  3. Thomas Larsson repo owner

    The error message should be gone now, at least if you are using Windows and haven’t enabled the case-sensitive paths option. The error arises when the plugin tries to find an asset on a case-sensitive file system and fails. There might be errors in that code, but since I don’t have access to Linux anymore I cannot fix it.

    It is correct that the error only arises when verbosity = 5. The highest verbosity level is not really for public use, but for my own debugging.

  4. engetudouiti reporter

    I see, I set it as 5 to check morph error etc, a few days ago, and forgot it. basically I set it as 3. And I only use windows with case sensitive options. (so with 5, it cause blender freeze and crash)

    Only thing I take care was, blender crash. (freeze and shut down) with this case. if I set it as 3 and 4, it never happend.

  5. Log in to comment