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

failed in world_io_test #14

Open
mingmou123 opened this issue Jun 3, 2021 · 0 comments
Open

failed in world_io_test #14

mingmou123 opened this issue Jun 3, 2021 · 0 comments

Comments

@mingmou123
Copy link

I follow the instruction, but an error occured, what should I do?
=================================== FAILURES ===================================
__________________________ WorldIOTest.testSaveWorld ___________________________

self = <tests.integration.world_io_test.WorldIOTest testMethod=testSaveWorld>

def testSaveWorld(self):
    GraspitCommander.importRobot("Barrett")
    GraspitCommander.importGraspableBody("ashtray")
  GraspitCommander.saveWorld("test_world")

tests/integration/world_io_test.py:59:


fileName = 'test_world'

@staticmethod
def saveWorld(fileName):
    _wait_for_service(GraspitCommander.GRASPIT_NODE_NAME + 'saveWorld')

    serviceProxy = rospy.ServiceProxy(GraspitCommander.GRASPIT_NODE_NAME + 'saveWorld', SaveWorld)
    result = serviceProxy(fileName)

    if result.result is SaveWorld._response_class.RESULT_SUCCESS:
        return
    elif result.result is SaveWorld._response_class.RESULT_FAILURE:
      raise SaveWorldException()

E SaveWorldException: Could not save world.

src/graspit_commander/graspit_commander.py:497: SaveWorldException
------------------------------ Captured log call -------------------------------
tcpros_base.py 640 DEBUG [/graspit/clearWorld]: writing header
tcpros_base.py 640 DEBUG [/graspit/importRobot]: writing header
tcpros_base.py 640 DEBUG [/graspit/importGraspableBody]: writing header
tcpros_base.py 640 DEBUG [/graspit/saveWorld]: writing header
=============== 1 failed, 12 passed, 2 skipped in 26.54 seconds ================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant