- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there.
I got a new computer, totally fresh Windows 10 Home and completely fresh install of either Maya2019 and Maya2020. Both are behaving exactly the same way. For the most part they work, but when using scripts that work on my old computer or work for everyone else I know, I get an instant Maya crash without error. Just Poof maya disappears. And when I check EventViewer I see this.
Faulting application name: maya.exe, version: 20.0.0.235, time stamp: 0x5dcd69e3
Faulting module name: _ssl.pyd, version: 0.0.0.0, time stamp: 0x57763335
Exception code: 0xc0000005
Fault offset: 0x00000000000073e3
Faulting process id: 0x26f4
Faulting application start time: 0x01d78f3e60d4e00b
Faulting application path: C:\Program Files\Autodesk\Maya2020\bin\maya.exe
Faulting module path: C:\Program Files\Autodesk\Maya2020\Python\DLLs\_ssl.pyd
Report Id: bd4465fd-513b-4830-896a-06c0ce32acdd
Faulting package full name:
Faulting package-relative application ID:
So this is just one of the faulting module errors I see. I get several very similar crashes depending on which script I'm trying to use. Above one was when trying to load StudioLibrary
When trying to load AnimBot, I get same thing but pointing to this one
Faulting module path: C:\Program Files\Autodesk\Maya2020\Python\DLLs\_hashlib.pyd
While running another script, it fails on highlighted line. This script works for everyone else.
## Download Icon
appPath = os.environ['MAYA_APP_DIR']
path = os.path.join(appPath, version, "prefs/icons", imageName)
urllib.urlretrieve(url, path) # <-- Maya Crash happens here
with following faulting module in event viewer.
Faulting application path: C:\Program Files\Autodesk\Maya2020\bin\maya.exe
Faulting module path: C:\Program Files\Autodesk\Maya2020\Python\DLLs\_ssl.pyd
--Weird thing---
If I grab the offending .pyd files Maya/Python/DLLs folder and replace them with .pyd files from local installation of Python2.7 (just the ones that show up in the error) then the problem goes away... well almost. Some other parts still fail but at least no crash. (AnimBot and StudioLibrary actually work) but I don't want to keep chasing problems with scripts that work everywhere else.
Soo.... I'm at a complete loss now. I tried deleting everything Autodesk related, reinstalling fresh and always with the same result.
Side note. Everything works great in Maya2022, no errors there. But 2019 and 2020 behave exactly the same way. And I kind of need to stick with 2020 for now.
HELP!!!!
I'm not sure if it's related, but on my old computer this command never gave me an Error Permission denied. Could that have something to do with the problems above?
C:\Program Files\Autodesk\Maya2020\bin>mayapy.exe -m ensurepip --upgrade
Ignoring indexes: https://pypi.python.org/simple
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Exception:
Traceback (most recent call last):
File "c:\users\peter\appdata\local\temp\tmpyvmxuw\pip-7.1.2-py2.py3-none-any.whl\pip\basecommand.py", line 211, in main
status = self.run(options, args)
File "c:\users\peter\appdata\local\temp\tmpyvmxuw\pip-7.1.2-py2.py3-none-any.whl\pip\commands\install.py", line 311, in run
root=options.root_path,
File "c:\users\peter\appdata\local\temp\tmpyvmxuw\pip-7.1.2-py2.py3-none-any.whl\pip\req\req_set.py", line 646, in install
**kwargs
File "c:\users\peter\appdata\local\temp\tmpyvmxuw\pip-7.1.2-py2.py3-none-any.whl\pip\req\req_install.py", line 803, in install
self.move_wheel_files(self.source_dir, root=root)
File "c:\users\peter\appdata\local\temp\tmpyvmxuw\pip-7.1.2-py2.py3-none-any.whl\pip\req\req_install.py", line 998, in move_wheel_files
isolated=self.isolated,
File "c:\users\peter\appdata\local\temp\tmpyvmxuw\pip-7.1.2-py2.py3-none-any.whl\pip\wheel.py", line 339, in move_wheel_files
clobber(source, lib_dir, True)
File "c:\users\peter\appdata\local\temp\tmpyvmxuw\pip-7.1.2-py2.py3-none-any.whl\pip\wheel.py", line 317, in clobber
shutil.copyfile(srcfile, destfile)
File "C:\Program Files\Autodesk\Maya2020\bin\python27.zip\shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: 'C:\\Program Files\\Autodesk\\Maya2020\\Python\\Lib\\site-packages\\easy_install.py'
Solved! Go to Solution.