question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error on initalizing webviz

See original GitHub issue

I tried to build webviz using npm run build and npm run docs but I get

Error initializing player
Error: Expected 1 top level type definition for 'Header' but found 0
    at findTypeByName (https://webviz.io/dist/WorkerDataProvider.worker.js?0441abdf8c8d84b2f526:122:2477)
    at https://webviz.io/dist/WorkerDataProvider.worker.js?0441abdf8c8d84b2f526:122:3089
    at Array.forEach (<anonymous>)
    at https://webviz.io/dist/WorkerDataProvider.worker.js?0441abdf8c8d84b2f526:122:3027
    at Array.forEach (<anonymous>)
    at parseMessageDefinition (https://webviz.io/dist/WorkerDataProvider.worker.js?0441abdf8c8d84b2f526:122:2977)
    at https://webviz.io/dist/WorkerDataProvider.worker.js?0441abdf8c8d84b2f526:527:333
    at Array.forEach (<anonymous>)
    at exports.bagConnectionsToDatatypes (https://webviz.io/dist/WorkerDataProvider.worker.js?0441abdf8c8d84b2f526:527:278)
    at exports.default.initialize (https://webviz.io/dist/WorkerDataProvider.worker.js?0441abdf8c8d84b2f526:407:3325)

when I drag and drop a bag into the UI

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
cjdscommented, Jan 2, 2020

I think that may be it…

We use the rosbag C++ API directly.

https://github.com/ros/ros_comm/tree/melodic-devel/tools/rosbag

Specifically https://github.com/ros/ros_comm/blob/melodic-devel/tools/rosbag_storage/include/rosbag/bag.h#L165 that line is what it comes down to.

I think I’ll check the changes that fix is doing and either make an upstream change to rosbag or change our downstream use of it. Thanks for the help.

1reaction
cjdscommented, Dec 26, 2019

I’ll check but it might have been through a simulator. I will sanitize the bag of private information and attach it

Read more comments on GitHub >

github_iconTop Results From Across the Web

e5202ab0019f83499143dbc8f46...
"Invalid Host Header" Errors After Configuring Proxy; Configuring the ... Getting Started with Storybook; Getting Started with Styleguidist.
Read more >
webviz
Visualizing robotics data in the browser.
Read more >
Vector Resources - Vector Documentation - Randall Maas
Why does Vector show an error? Troubleshooting charging issues; Why is there no sound? Service Guide¶. Collected notes on repairing or modifying Vector....
Read more >
Perception
Setup Gitlab repository and install gitlab-runner. Prepare or get the .gitlab-ci.yml to test. Execute a runner on the desired job. Docker.
Read more >
How to use the rosbag.open function in rosbag
To help you get started, we've selected a few rosbag.open examples, ... cruise-automation / webviz / packages / webviz-core / src / dataProviders ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found