Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardcoded instance names? #3

Open
tbuser opened this issue Jun 15, 2012 · 2 comments
Open

hardcoded instance names? #3

tbuser opened this issue Jun 15, 2012 · 2 comments
Assignees

Comments

@tbuser
Copy link

tbuser commented Jun 15, 2012

Given this manifest:

{"namespace":"http://spec.makerbot.com/ns/thing.0.1.1.1","objects":{"20mmbox.stl":{}},"constructions":{"Extruder 1":{}},"instances":{"Instance 1":{"object":"20mmbox.stl","scale":"mm","construction":"Extruder 1"}},"attribution":{"author":"Spacexula","license":"Attribution - Share Alike - Creative Commons"}}

I get this error:

Traceback (most recent call last):
File "/home/thingiv3rse/conveyor/src/main/python/conveyor/jsonrpc.py", line 392, in _invokemethod
result = func(_args, *_kwargs)
File "/home/thingiv3rse/conveyor/src/main/python/conveyor/server/init.py", line 101, in _slice
task = recipe.slice(gcode)
File "/home/thingiv3rse/conveyor/src/main/python/conveyor/recipe.py", line 221, in slice
instance = self._getinstance_a()
File "/home/thingiv3rse/conveyor/src/main/python/conveyor/recipe.py", line 162, in _getinstance_a
instance = self._getinstance('plastic A')
File "/home/thingiv3rse/conveyor/src/main/python/conveyor/recipe.py", line 159, in _getinstance
raise Exception
Exception
conveyor: ERROR: task failed: {u'message': u'uncaught exception', u'code': -32000, u'data': {u'message': u'', u'args': [], u'name': u'Exception'}}
conveyor: ERROR: conveyor terminating with status code 1

It looks like the instance names are hard coded?

@tbuser
Copy link
Author

tbuser commented Jun 15, 2012

Note: I got past this error by removing the construction lines from the manifest.

@msamsonoff
Copy link
Contributor

Right now we only support two construction names: Plastic A and Plastic B. This will be fixed when we add materials to the s3g driver.

@ghost ghost assigned msamsonoff Jun 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants