Easy import UTF8 issue

Issue #459 resolved
Noname created an issue

Hello,

I encounter error when using Easy Import it differs depending on import options.

What I have is character with dbz (dbz exported with older version, week ago, dunno if that matters) and that character import fine when doing Import.

Error when doing easy import (one of them as this affect every option):

ERROR:
Unicode error while reading ascii file
"G:\DAZ 3D Scenes\G8F_Heidy_01.duf.png"
'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
For details see
'C:\Users\user\Documents\daz_importer_errors.txt'

TRACEBACK:
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\error.py", line 247, in execute
    self.run(context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\main.py", line 114, in run
    self.loadDazFile(filepath, context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\main.py", line 165, in loadDazFile
    struct = loadJson(filepath)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\load_json.py", line 70, in loadJson
    reportError(msg, trigger=trigger)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\error.py", line 130, in reportError
    raise DazError(msg)

Regards

Comments (2)

  1. Thomas Larsson repo owner

    Should work now. What happened was that you clicked on the icon file rather than the duf file itself in the file selector. The ordinary import button has handled this correctly for a long time, but easy import did not,

  2. Log in to comment