I’m on a team here at CMU that is currently trying to improve and fix the maya2egg tool, and we may have our first candidate for a bugfix…
Has anyone else had maya2egg2010 crash on them using Panda 1.7.0 and spit out a “Fatal Error” when they try to egg out a scene with a file texture applied?
We’ve recreated this error on two 64bit OS (win7 and Vista). I was wondering if anyone has used maya2egg2010 on a different OS and been able to egg out a file. We have also been able to use a maya2egg compiled for Panda 1.6.2 and it worked fine on Win 7. SO if you feel like helping us and everyone in the community out a bit, please test the egger with a scene with file textures in it. (Our simple test was a sphere with a .jpg applied in maya’s color channel).
Thanks in advance, and if you hit any bugs or errors, please post them so we can get them fixed ASAP. If this truly is a legit bug I’m going to post it on launchpad so the community can track our progress in fixing it.
Thanks again.
~Andrew
EDIT: This is actually a problem with Panda vs Maya’s Python libraries. You have to essentially catch the exception thrown in executionEnviroment if anyone’s interested
Hello, sorry for my English (google_translate helps me ), I have this trouble.
On Mac OSX 10.5.8 with Maya 2010, Panda 1.7.0(be precise BuildBot “Panda3D-2010.02.23-65.dmg”) and installed Python 2.6.4 from dmg.
Initializing Maya.
Fatal Error. Attempting to save in /var/folders/Bh/BhINxOO4EuytgGoScV7P+k+++TI/-Tmp-/user.20100224.0244.ma
user-macbook-pro:~ user$
I had pre installed Python 2.5.1 (from Apple) before install Python 2.6.4 and the terminal gave me an error with the python libraries, requested version 2.6
And besides without texture my *.mb model has exported well
Well, the only real way I know of to get the “fix” (and I use that term loosely, just like it’s author). Is to actually compile the current version of Panda from the CVS sourcecode repository. Not sure if you did that or not. If you did, then perhaps there is a real bug in the egger, but usually when it errors out like that it’s a maya issue. The current one has to do with how maya’s python libs interact with the ones for panda and a standalone python install as well.
EDIT: I have to mention here that there is a good deal of effort going into getting Autodesk to address this problem with calling it’s Python libs.
Good to hear. Let me know if anything else comes up. We don’t have any Mac’s lying around to test on, and I don’t even want to try VMware or something ridiculous like that.
Cheers
~Andrew
I looked through those functions, and I see from the comments that someone doesn’t have a high opinion of set_shader_legacy(). If I make it use set_shader_modern() instead, will that help - and where do you change that flag?
I’d love to test out maya2egg2010 (or 2011), but I can’t find them anywhere in the 1.7.0 release or 1.7.1 snapshot builds (for windows). As far as I can tell, the egging programs only go up through Maya 2009.
I’m actually in need of the Maya 2010 egg plug-in, so I’d like to see it included soon. Hopefully you can get it fixed.
to clarify, I didn’t get the exporter from one of the releases; we compiled panda from the current CVS, which builds versions of maya2egg to match whichever version of Maya you have installed.
In this case we also copied the built maya2egg2011 to another machine also running osx 10.6 and maya 2011, but with the rest of panda already installed from the current buildbot snapshot. It works, but has this problem with the file textures…
it’s not that bad - the maya2egg2011 we built on win 7 64 has no problems we’ve found yet, the crash was only on mac snow leopard. i suspect it’s something to do with the build environment, but haven’t figured out quite what’s going on yet.
BUT - you said you need 2010 - are you sure that isn’t in the 1.7 or buildbot releases? I think it should be included - it’s definitely included in the Mac ones, so I’d expect the windows builds would have it too.
I haven’t seen it in either location. I can only find the maya egg tools up through 2009. Dragging the MayaPandaTool GUI into the Maya interface is unsuccessful as well, since it can’t find the maya2egg2010 tool.