Hello,
I have the same problem over here, using pymel 1.0 beta2 on Maya 2009
64 bit (no SP) on two different Linux computers (OpenSuse 10.2 x64,
Centos 5.1 x64) - Maya crashes (Segfault) when executing "from
pymel.core import *. In mayapy it works. Also in Maya 2010.

Executing the diagnostic script from below gives:
pymelDir: /home/felix/dev/pymel-1.0.0b2/pymel
contents: ['api', 'internal', 'cache', 'all.py', 'mayautils.py',
'pymel.conf', 'util', 'tools', 'versions.py', 'mayautils.pyc',
'__init__.py', 'core', 'versions.pyc', '__init__.pyc']
cache dir present: True
cache contents: ['mayaApi2010.zip', 'mayaApi2008.zip',
'mayaCmdsExamples2009.zip', 'mayaCmdsList2008.zip',
'mayaCmdsDocs2010.zip', 'mayaApiMelBridge.zip',
'mayaCmdsDocs2009.zip', 'mayaCmdsDocs2008.zip', 'mayaApi2009.zip',
'mayaCmdsList2010.zip', 'mayaCmdsExamples2008.zip',
'mayaCmdsExamples2010.zip', 'mayaCmdsList2009.zip']

Thanks
Felix

On 23 Dez. 2009, 07:02, Paul Molodowitch <elron...@gmail.com> wrote:
> Hmm... odd. It's trying to regenerate the api cache files, which it
> shouldn't have to do.
>
> Could you copy and paste this into the python script editor in maya, and let
> me know what it prints out?
>
> import imp
> import os
> pymelDir = imp.find_module('pymel')[1]
> print "pymelDir:", pymelDir
> pymelContents = os.listdir(pymelDir)
> print "contents:", pymelContents
> cacheDir = os.path.join(pymelDir, 'cache')
> foundCache = os.path.isdir(cacheDir)
> print "cache dir present:", foundCache
> if foundCache:
>     cacheContents = os.listdir(cacheDir)
>     print "cache contents:", cacheContents
>
> - Paul
>
> On Tue, Dec 22, 2009 at 9:19 PM, martinmrom...@gmail.com <
>
> martinmrom...@gmail.com> wrote:
> > I tried it again and it keeps crashing, not sure what's going on.
>
> > Martin
>
> > On Dec 22, 9:17 pm, Martin La Land Romero <martinmrom...@gmail.com>
> > wrote:
> > > Hello Paul and everyone,
>
> > > The installation went pretty well I guess however once in Maya 2009
> > 64bit.
> > > When I typed
>
> > > from pymel.core import *
>
> > > It starts importing a lot of stuff and after 20 seconds it crashes.
-- 
http://groups.google.com/group/python_inside_maya

Reply via email to