Open GoogleCodeExporter opened 8 years ago
The problem here is that Maya fails to use the compiled C++ library libawd
which is the only implementation that actually works at this point. The
Python-only implementation is far from finished. The question is why it fails
to use the compiled library.
Can you try to modify the pyawd/core.py code and add the following line right
after line 86:
86. except:
87. raise # ADD THIS LINE
88. print("Using pure python for writing. Build PyAWD with
--use-libawd=true")
Then when you try to export a file Python will throw an exception, hopefully
explaining why libawd couldn't be loaded. Can you paste that exception
(including full call stack) as a comment to this bug report?
Thanks!
Original comment by bengtric...@gmail.com
on 27 Jul 2012 at 8:25
================================================
export |pCylinder1
================================================
looking in cache for ""
Creating mesh data pCylinderShape1
getting mesh data for |pCylinder1|pCylinderShape1
type: kMesh
- Raw (expanded) data list created
Duration: 0.084311s
- Creating condensed list
Duration: 0.001681s
- DONE! Flipping windings
Duration: 0.000036s
- Creating sub-mesh
- Adding sub-mesh
created material
adding material lambert1
// Error: line 0: ImportError: file
/Users/Shared/Autodesk/maya/plug-ins/pyawd/core.py line 85:
dlopen(/Users/Shared/Autodesk/maya/plug-ins/pyawd/cpyawd.so, 2): Library not
loaded: /usr/local/lib/libawd.dylib
Referenced from: /Users/Shared/Autodesk/maya/plug-ins/pyawd/cpyawd.so
Reason: image not found //
// Result: /Users/username/Desktop/cylinder.awd //
Original comment by EnriqueP...@gmail.com
on 27 Jul 2012 at 3:20
Ah, of course. I am an idiot, releasing a version with a dynamically linked
library. I will try to update this ASAP. In the meantime, what you can do is
compile the libawd library yourself. It should be fairly easy, by following the
instructions for "Building and installing libawd" at this URL:
https://code.google.com/p/awd/wiki/SDKBuildInstructions
Original comment by bengtric...@gmail.com
on 27 Jul 2012 at 3:30
any idea when a fixed version of this plugin will be available? i am totally
dumb in programming but would like to export something from maya
Original comment by miltongi...@gmail.com
on 9 Aug 2012 at 5:05
Hello,
I think I got a similar issue on Windows7:
================================================
export |pCylinder1
================================================
looking in cache for ""
Creating mesh data pCylinderShape1
getting mesh data for |pCylinder1|pCylinderShape1
type: kMesh
- Raw (expanded) data list created
Duration: 0.046000s
- Creating condensed list
Duration: 0.002000s
- DONE! Flipping windings
Duration: 0.000000s
- Creating sub-mesh
- Adding sub-mesh
created material
adding material lambert1
// Error: line 0: ImportError: file
D:/USERS/timo/MayaSCRIPTS/plugins2013/awd/plug-ins\pyawd\core.py line 85:
cannot import name cpyawd //
// E:/.../Away3D/EXPORT/cyTEST.awd //
I can't find any the cpyawd. If I can provide you with some more information
let me know.
Cheers
Timo
Original comment by tschn...@gmail.com
on 18 Sep 2012 at 11:02
Original issue reported on code.google.com by
EnriqueP...@gmail.com
on 26 Jul 2012 at 4:15Attachments: