Cannot import "genesis 8.1 basic male" with 1.6.2 on Linux
It tries to find file “Genesis 8.1 Basic Male.duf”, but the file is called “genesis 8.1 basic male.duf”. I have Case Sensitive enabled. It worked correctly with 1.6.1.
Comments (18)
-
reporter -
repo owner This is going to be tricky to fix since I don’t have access to Linux.
- You did run Utilities > Scan Absolute Paths? It should generate a file called ~/import_daz_scanned_absolute_paths.json. Please upload that file.
- Turn up verbosity to 5 (in the global settings) and try again. Now there should be an error when the file isn’t found. What is that error?
-
- changed status to resolved
There's no reply so I guess the suggestion by Thomas worked fine.
-
reporter Hello, here is daz_importer_errors.txt:
-
reporter import_daz_scanned_absolute_paths.json:
-
reporter Was the information added in previous comments helpful?
-
- changed status to open
@Carina I’m reopening the issue for Thomas to check your new information. When you file a bug please try to keep it going, replying after 11 days is not likely to be followed.
-
repo owner Carina, please test the latest commit. I think there is a good chance it will work.
-
repo owner There were still some places where the case-sensitive lookup function wasn’t used in the previous commit. Hopefully all such places are using the right function now.
-
reporter Thank you for looking at the issue.
Testing 1.7.0.1325 I now get this error:
Did not find path:
"/data/Daz 3D/Genesis 8/Male 8_1/Genesis8_1Male.dsf"
(the file is named “genesis8_1male.dsf”)
-
reporter I see you did another commit. Let me test this.
-
reporter With 1326 slightly different error at the end of the trace:
File "/home/user/.config/blender/3.5/scripts/addons/Diffeomorphic-import_daz/asset.py", line 84, in getAsset
return self.getNewAsset(id, ref, strict)
File "/home/user/.config/blender/3.5/scripts/addons/Diffeomorphic-import_daz/asset.py", line 92, in getNewAsset
filepath = GS.getAbsPath(fileref)
File "/home/user/.config/blender/3.5/scripts/addons/Diffeomorphic-import_daz/settings.py", line 526, in getAbsPath
reportError(msg, trigger=(3,4))
File "/home/user/.config/blender/3.5/scripts/addons/Diffeomorphic-import_daz/error.py", line 92, in reportError
raise DazError(msg)
-
repo owner Please try the last commit. It won’t fix the problem, but it prints a more exhaustive error message that should help to find it.
-
reporter daz_importer_errors.txt: https://pastebin.com/raw/QuFAYQEB
-
repo owner Got it. Your assets are located in cloud directories, I didn’t thought of that.
-
repo owner It looks like you have set up the root paths wrong. I think you put the cloud top directory in the content paths, like this:
However ,the right way is to list the individual cloud directories, like this:
That should happen automatically if you export the root paths from DS and import them into Blender with the Load Root Paths button. At least that what happens on Windows. However, the Cloud Directories option is disabled by default, so you must enable it. I will change that default to avoid confusion.
-
repo owner If you still get errors, but only for a few missing assets, it may be time to turn down verbosity to 2 so the remaining assets are imported.
-
reporter - changed status to invalid
Thank you for finding my problem! Indeed I had the base directory of the cloud folder set in Cloud Directories, instead of adding all subfolders individually. Strange that it was not noticed in previous versions. Now importing works again, and I can continue creating G8 morphs inside Blender.
- Log in to comment
I also tried build 1287, in the hope the recent database scan addition would fix it. Same error.