> The apydia script gives an attribute error on line 321 of
> descriptors.py: NoneType object has no attribute '__name__'. It is
> because getmodule(class_) return None.
> I am using latest from SVN - 0.0.2r37
>
> It works if you replace:
> self.module = ModuleDesc.load(getmodule(class_).__name__)
> with:
> if not getmodule(class_) == None:
> self.module = ModuleDesc.load(getmodule(class_).__name__)
> else:
> class em(object):
> pass
> self.module = em()
> self.module.pathname = ''
Thanks, I'll try that.
> I also ran into problems (apydia crashes) on a ctypes wrapper that
> complained about a missing DLL file. Is there not some way to trap all
> errors and then just ignore the files/class that gave the exception?
I have no idea, I didn't try that case. Is there a quick example you
could give (short explanation how to reproduce this)?
> I must say Apydia is pretty awesome when it works :-) and pretty too.
Thank you, Gerdus. There's a much more to come, especially concerning
the themes.
--
Daniel Haus
http://ematia.de