• Nick Porcino

    Nick Porcino - 2005-04-23

    Ok, worked through all the examples. Installed Aqsis. Now trying the example. My Python debugger reports a lot of exception of the form below, until I suppress exception breaking from that raise in the debugger. Works properly. Nice :-)

    I've heard that dealing with non-existant attributes by raising an exception is in some wise Pythonic, but I'm wondering if a look-before-you-leap in this case might be a good idea? I like it when scripts run without a lot of noise. Just a personal preference i guess.

    AttributeError: Object "Box" has no attribute "__conform__"

    Traceback (innermost last):

    File "C:\Python23\Scripts\", line 1, in ?
    File "C:\Python23\Scripts\", line 157, in ?
    File "C:\Python23\Lib\site-packages\cgkit\", line 184, in run
    File "C:\Python23\Scripts\", line 96, in action
      output_framebuffer = (self.time_end==None)
    File "C:\Python23\Lib\site-packages\cgkit\", line 631, in save
      exp.exportFile(os.path.basename(filename), **options)
    File "C:\Python23\Lib\site-packages\cgkit\", line 147, in exportFile
      explgt = protocols.adapt(obj, ILightSource)
    File "C:\Python23\Lib\site-packages\cgkit\", line 137, in __getattr__
      raise AttributeError, 'Object "%s" has no attribute "%s"'%(, name)

    • Matthias Baas

      Matthias Baas - 2005-04-24

      This shouldn't happen. Can you tell me exactly what you did so that I can reproduce the error (where and how did you invoke the render tool)? Can you also provide the versions of Python, cgkit and PyProtocols you were using?

      - Matthias -


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks