- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've had a crash occurring for a few weeks now with a module I'm working on but I've struggled to even get any pointers towards what's causing it. My best guess was something Qt related, but it's looking like that was wrong.
Tonight I was working on a much simpler script with no UI and had what felt like exactly the same crash, after just this:
import pymel.core as pm
I then repro'd it around five times, each one inside a couple of minutes. There's no error message and I can't find anything in any logs - just a freeze for a few seconds and *POP*, it's gone. Usually there's an autosave, but not always.
I've attached the crash dump in case it's any use - my temp folder tells me I've had 67 of these crashes in the past week, and that's whilst avoiding doing any scripting out of pure frustration 🙂 Oh, and a long weekend.
I have a VM installed with vanilla Maya for testing, so I tried the same over there and so far it hasn't crashed. With nothing else to go off, I've compared the logs after importing pymel on both machines and there are some differences.
My main PC:
# Warning: pymel : found new MPx classes: MPxTransformPreRotation. Run pymel.api.plugins._suggestNewMPxValues() #
# pymel.core : Updating pymel with pre-loaded plugins: mayaHIK, invertShape, curveWarp, hairPhysicalShader, ATFPlugin, ikSpringSolver, retargeterNodes, sweep, lookdevKit, Type, Boss, bifrostGraph, meshReorder, modelingToolkit, MayaMuscle, MayaScanner, dx11Shader, matrixNodes, deformerEvaluator, shaderFXPlugin, bullet, objExport, ufeSupport, GPUBuiltInDeformer, mayaVnnPlugin, stereoCamera, svgFileTranslator, GamePipeline, tiffFloatReader, MASH, poseInterpolator, cacheEvaluator, ik2Bsolver, xgenToolkit, AbcExport, gameFbxExporter, VectorRender, OpenEXRLoader, Unfold3D, mayaCharacterization, mtoa, rotateHelper, AbcImport, autoLoader, sceneAssembly, gpuCache, PolyTools, gameVertexCount, mayaUsdPlugin, OneClick, MayaScannerCB, renderSetup, ArubaTessellator, quatNodes, fbxmaya #
Vanilla Maya on the VM is missing these from its list - so I'm wondering if one of them is the culprit or if it's something else entirely:
Boss, MayaScanner, bullet, mayaVnnPlugin, stereoCamera, VectorRender, PolyTools, gameVertexCount, MayaScannerCB
There is a pymel.log on my machine and I can see the file modified date is being updated when I run Maya, but it's 0 bytes (why is this?!). I don't have an ADN subscription, so I don't have symbols.
I'm going to try disabling everything I'm able to on my main PC, but beyond that I'm out of ideas. I could do a clean reinstall but I'm still pretty new to Maya scripting and really don't want to have to set everything up again (even if I had the time and could remember it all!).
If anyone has any suggestions then I'd be eternally grateful, 'cos I'm fully out of ideas!
Solved! Go to Solution.