You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had deleted and recreated the bounds in the UI a couple of times to get it to actually fit the model. When I try to generate a toolpath I get the following:
Failed to find item in collection (CollectionName.BOUNDS): None (expected: ['f13664e3f09b423cb0cdf3c452c971d9'])
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/init.py", line 178, in
result = lambda *args: self.core.emit_event(func, *params)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Utils/events.py", line 136, in emit_event
handler()
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/ToolpathGrid.py", line 69, in _update_widgets
x_dim, y_dim = self._get_toolpaths_dim(toolpaths)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/ToolpathGrid.py", line 56, in _get_toolpaths_dim
paths = [path for path in (tp.get_toolpath() for tp in toolpaths) if path]
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/ToolpathGrid.py", line 56, in
paths = [path for path in (tp.get_toolpath() for tp in toolpaths) if path]
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/ToolpathGrid.py", line 56, in
paths = [path for path in (tp.get_toolpath() for tp in toolpaths) if path]
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 292, in wrapped
return self.get_cached(inst, args, kwargs, calc_function)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 347, in get_cached
cache_item = CacheItem(time.time(), calc_function(inst, *args, **kwargs))
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 237, in inner_function
result = func(self, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 1465, in get_toolpath
toolpath = task.generate_toolpath()
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 292, in wrapped
return self.get_cached(inst, args, kwargs, calc_function)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 347, in get_cached
cache_item = CacheItem(time.time(), calc_function(inst, *args, **kwargs))
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 237, in inner_function
result = func(self, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 1330, in generate_toolpath
box = bounds.get_absolute_limits(tool_radius=tool.radius,
AttributeError: 'NoneType' object has no attribute 'get_absolute_limits'
An unexpected exception occurred: please send the text below to the developers of PyCAM. Thanks a lot!
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/Tasks.py", line 261, in generate_toolpath
if new_toolpath.get_toolpath() is None:
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 292, in wrapped
return self.get_cached(inst, args, kwargs, calc_function)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 347, in get_cached
cache_item = CacheItem(time.time(), calc_function(inst, *args, **kwargs))
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 237, in inner_function
result = func(self, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 1465, in get_toolpath
toolpath = task.generate_toolpath()
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 292, in wrapped
return self.get_cached(inst, args, kwargs, calc_function)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 347, in get_cached
cache_item = CacheItem(time.time(), calc_function(inst, *args, **kwargs))
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 237, in inner_function
result = func(self, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 1330, in generate_toolpath
box = bounds.get_absolute_limits(tool_radius=tool.radius,
AttributeError: 'NoneType' object has no attribute 'get_absolute_limits'
The text was updated successfully, but these errors were encountered:
charlieb
changed the title
Crash in toolpath generation: Failed to find item in collection (CollectionName.BOUNDS): None
Initial bounds entry stays selected in tasks tab components box even after it's deleted.
Oct 29, 2020
I had deleted and recreated the bounds in the UI a couple of times to get it to actually fit the model. When I try to generate a toolpath I get the following:
Failed to find item in collection (CollectionName.BOUNDS): None (expected: ['f13664e3f09b423cb0cdf3c452c971d9'])
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/init.py", line 178, in
result = lambda *args: self.core.emit_event(func, *params)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Utils/events.py", line 136, in emit_event
handler()
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/ToolpathGrid.py", line 69, in _update_widgets
x_dim, y_dim = self._get_toolpaths_dim(toolpaths)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/ToolpathGrid.py", line 56, in _get_toolpaths_dim
paths = [path for path in (tp.get_toolpath() for tp in toolpaths) if path]
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/ToolpathGrid.py", line 56, in
paths = [path for path in (tp.get_toolpath() for tp in toolpaths) if path]
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/ToolpathGrid.py", line 56, in
paths = [path for path in (tp.get_toolpath() for tp in toolpaths) if path]
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 292, in wrapped
return self.get_cached(inst, args, kwargs, calc_function)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 347, in get_cached
cache_item = CacheItem(time.time(), calc_function(inst, *args, **kwargs))
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 237, in inner_function
result = func(self, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 1465, in get_toolpath
toolpath = task.generate_toolpath()
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 292, in wrapped
return self.get_cached(inst, args, kwargs, calc_function)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 347, in get_cached
cache_item = CacheItem(time.time(), calc_function(inst, *args, **kwargs))
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 237, in inner_function
result = func(self, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 1330, in generate_toolpath
box = bounds.get_absolute_limits(tool_radius=tool.radius,
AttributeError: 'NoneType' object has no attribute 'get_absolute_limits'
An unexpected exception occurred: please send the text below to the developers of PyCAM. Thanks a lot!
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/Plugins/Tasks.py", line 261, in generate_toolpath
if new_toolpath.get_toolpath() is None:
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 292, in wrapped
return self.get_cached(inst, args, kwargs, calc_function)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 347, in get_cached
cache_item = CacheItem(time.time(), calc_function(inst, *args, **kwargs))
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 237, in inner_function
result = func(self, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 1465, in get_toolpath
toolpath = task.generate_toolpath()
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 292, in wrapped
return self.get_cached(inst, args, kwargs, calc_function)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 347, in get_cached
cache_item = CacheItem(time.time(), calc_function(inst, *args, **kwargs))
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 237, in inner_function
result = func(self, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/pycam-0.7.0_pre0.588.g4687f2f6-py3.8.egg/pycam/workspace/data_models.py", line 1330, in generate_toolpath
box = bounds.get_absolute_limits(tool_radius=tool.radius,
AttributeError: 'NoneType' object has no attribute 'get_absolute_limits'
The text was updated successfully, but these errors were encountered: