Menu

Nonetype object has no attribute 'get_p...

Help
2011-04-05
2013-03-08
  • Jelle At Protospace

    Hi there,
    after trying on windows, I fail too on Ubuntu:

    An unexpected exception occoured: please send the text below to the developers of PyCAM. Thanks a lot!
    Traceback (most recent call last):
      File "/home/protospacelaptop2/pycam-0.5/src/pycam/Gui/Project.py", line 3951, in generate_toolpath
        self.model, toolpath_settings, callback=draw_callback)
      File "/home/protospacelaptop2/pycam-0.5/src/pycam/Toolpath/Generator.py", line 62, in generate_toolpath_from_settings
        backend, callback)
      File "/home/protospacelaptop2/pycam-0.5/src/pycam/Toolpath/Generator.py", line 363, in generate_toolpath
        callback)
      File "/home/protospacelaptop2/pycam-0.5/src/pycam/PathGenerators/EngraveCutter.py", line 92, in GenerateToolPath
        line_groups = inner_sorter.get_polygons() + outer_sorter.get_polygons()
      File "/home/protospacelaptop2/pycam-0.5/src/pycam/Geometry/Polygon.py", line 207, in get_polygons
        return
    AttributeError: 'NoneType' object has no attribute 'get_polygons'

    This seems like some object has not been assigned/defined yet?
    Any more info needed to troubleshoot this?

     
  • Lars

    Lars - 2011-04-09

    Hi jelleatproto,

    thanks for reporting this issue!

    The same problem was reported by skinnybottom one day later, as well. Please take a look at my comment there:
    http://sourceforge.net/projects/pycam/forums/forum/860184/topic/4470692/index/page/1

    In case this does not help: please send me your model via my sourceforge mail address for further investigation. Thanks!

    cheers,
    Lars

     

Log in to post a comment.