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

Worlds in quick start on Harmonic contains ignition plugins and crashes with ambiguous errors #2488

Closed
martincerven opened this issue Jul 22, 2024 · 3 comments · Fixed by #2492
Assignees
Labels
bug Something isn't working

Comments

@martincerven
Copy link

Environment

  • OS Version:
    22.04
  • Source or binary build?
    binary 8.5.0

Description

  • Expected behavior: When I run worlds on quick start menu, I expect them to run.
  • Actual behavior: Exit with errors.

The worlds contains ignition:: plugins, hence why it probably crashes, but it isn't obvious from errors, it might be good idea to print some warning that the worlds contains ignition:: plugins, it's very confusing that first thing people try, results in not so obvious errors.

Steps to reproduce

  1. gz sim --verbose
  2. select worlds: Panda, Prius,...
  3. crash

Output

Warning [Utils.cc:132] [/sdf/world[@name="sonoma"]/model[@name="prius_hybrid"]/joint[@name="steering_joint"]/axis/use_parent_model_frame:/home/youtube/.gz/fuel/fuel.gazebosim.org/openrobotics/worlds/prius on sonoma raceway/1/sonoma.sdf:L647]: XML Element[use_parent_model_frame], child of element[axis], not defined in SDF. Copying[use_parent_model_frame] as children of [axis].

Part of sonoma world:

<?xml version="1.0" ?>
<sdf version='1.7'>
  <world name='sonoma'>
    <scene>
      <grid>false</grid>
    </scene>
    <plugin
      filename="ignition-gazebo-physics-system"
      name="ignition::gazebo::systems::Physics">
    </plugin>
    <plugin
      filename="ignition-gazebo-sensors-system"
      name="ignition::gazebo::systems::Sensors">
      <render_engine>ogre2</render_engine>
    </plugin>
    <plugin
      filename="ignition-gazebo-user-commands-system"
      name="ignition::gazebo::systems::UserCommands">
    </plugin>
    <plugin
      filename="ignition-gazebo-scene-broadcaster-system"
      name="ignition::gazebo::systems::SceneBroadcaster">
    </plugin>
@martincerven martincerven added the bug Something isn't working label Jul 22, 2024
@azeey
Copy link
Contributor

azeey commented Jul 22, 2024

I'm able to reproduce this. Here's the error I get

[Err] [Server.cc:203] Error Code 14: Msg: Parser configurations requested resolved uris, but uri [file://media/materials/scripts/gazebo.material] could not be resolved.
[Err] [Server.cc:203] Error Code 9: Msg: Failed to load a world.

I believe this is why it's failing and it's probably due to #2349 requiring all URIs to be resolved.

@martincerven
Copy link
Author

How long does it take to get binaries with these merged fixes? Or is it better to pull & build from source?

@azeey
Copy link
Contributor

azeey commented Jul 25, 2024

We plan to make a release today or tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants