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.

Reading root file from binary content via cockpit

See original GitHub issue

I would like to ask for help. I would like to use https://cockpit-project.org/guide/latest/cockpit-file.html . Mainly watch function

file.watch((content, tag, [error]) => { })

So after this function is called i have content of the file already. How do i fill TFile object from it? In other words How do i do JSROOT.openFile without http request.

Thanks for help

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mvalacommented, Apr 12, 2021

We have one project, so you can have a look. https://ndmspc.gitlab.io/ndmvr In “THProjection” you can click on bin and it will show jsroot histograms.

1reaction
linevcommented, Apr 12, 2021

Grate!

I create this feature while debugging some other problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cockpit.js: File Access
The cockpit.file API lets you read, write, and watch regular files in their entirety. It cannot efficiently do random access in a big...
Read more >
Binary data reading with root on vista - ROOT Forum
Hello all! I've encountered the problem of binary data file reading. I use the root interpreter installed on Vista (all current updates ...
Read more >
ROOT files
Reading an object from a ROOT filePermalink ... In C++, use the Get<T>() method to retrieve the objects from a ROOT file. In...
Read more >
SAP BTP Connectivity
Allows subaccount-specific configuration of application connections via destinations. • Provides a Java API that application developers can ...
Read more >
0xdf hacks stuff | CTF solutions, malware analysis, home lab ...
With that abililty, I'll read root's private SSH key. ... an SQL injection that allows bypassing the authentication, and reading files from the...
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