I/O error when loading in Maya 2020
When launching/loading zDsonImport, from File> zDsonImport> Update library, the following error is found in the Script Editor:
# Error: IOError: file C:\Users\<user name>\Downloads\zDsonImport-master\zDsonImport-master\scripts\dsonimport\dson\content.py line 242: 2 #
The line in the file that is referring to, is the following:
open(self.cache_file, 'w').write(data)
When I manually copied the following files into their respective directories - plug-ins/scripts - followed by using the plug-in manager to load & auto-load the newly relocated files, along with the zMayaTools: C:\Users<user name>\Documents\maya\plug-ins - zDsonImport.py C:\Users<user name>\Documents\maya\scripts - dsonimport directory
However, there is still an error pointing to the python file in the downloads directory:
# Error: IOError: file C:\Users\<user name>\Downloads\zDsonImport-master\zDsonImport-master\scripts\dsonimport\dson\content.py line 242: 2 #
When I try a simple File> zDsonImport> Import DUF, then it looks like it is loading, but nothing shows up.
There are a series of references to the files in the download directory, ending with the following:
# dsonimport.dson.DSON.PathNotFound: Couldn't find file: /data/DAZ 3D/Genesis 8/Male/Morphs/DogZ&Zev0/200 Plus/Nose Wing Width Assist.dsf
How can I have it point to only the files that were moved manually ?
Instead of copying files around, run install.bat at the top of each directory (zMayaTools and zDsonImport). It'll create a module file that tells Maya where the files are. It's just one file each inside Docs\maya\modules, and you can just delete the file to "uninstall".
I think it's not automatically creating its cache directory. Try creating the directory "Documents\maya\dsonimport". It looks like that's preventing the rest of the load from happening.
(It's been a long time since I've done anything with this, I don't know if Daz's file formats have changed much or how compatibility will be.)
Hey Glenn,
Thanks for getting back to me and sorry that I am late in responding, but I did create that directory - see attached screenshot
[image: image.png]
Thanks in advance, Tarik (Tah-Rick)
On Sat, Oct 29, 2022 at 2:32 PM Glenn Maynard @.***> wrote:
Instead of copying files around, run install.bat at the top of each directory (zMayaTools and zDsonImport). It'll create a module file that tells Maya where the files are. It's just one file each inside Docs\maya\modules, and you can just delete the file to "uninstall".
I think it's not automatically creating its cache directory. Try creating the directory "Documents\maya\dsonimport". It looks like that's preventing the rest of the load from happening.
(It's been a long time since I've done anything with this, I don't know if Daz's file formats have changed much or how compatibility will be.)
— Reply to this email directly, view it on GitHub https://github.com/zewt/zDsonImport/issues/4#issuecomment-1295988701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALQLZYEL25WZLFVZ6E7I3TWFWJXJANCNFSM6AAAAAARR6RCX4 . You are receiving this because you authored the thread.Message ID: @.***>