Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I/O error when loading in Maya 2020 #4

Open
kronus opened this issue Oct 29, 2022 · 2 comments
Open

I/O error when loading in Maya 2020 #4

kronus opened this issue Oct 29, 2022 · 2 comments

Comments

@kronus
Copy link

kronus commented Oct 29, 2022

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 ?

@zewt
Copy link
Owner

zewt commented Oct 29, 2022

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.)

@kronus
Copy link
Author

kronus commented Nov 2, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants