# Root file cant open with TBrowser without any error message

**URL:** <https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174>\
**Category:** ROOT\
**Created:** [March 26, 2021, 1:06pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174 "2021-03-26T13:06:18Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![benmessaoud2021](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@benmessaoud2021](https://root-forum.cern.ch/u/benmessaoud2021)\
**Post date:** [March 26, 2021, 1:06pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/1 "2021-03-26T13:06:18Z")

</div>

* * *

_Please read [tips for efficient and successful posting](https://root-forum.cern.ch/t/tips-for-efficient-and-successful-posting/28292) and [posting code](https://root-forum.cern.ch/t/posting-code-read-this-first/28293)_

_ROOT Version:_ ROOT 6.16/00  
_Platform:_ Installed with Geant4v 4.10.04 and Gatev8.1

* * *

Hi, every body, i RUN simulation in a cluster with output root. when i get the output file.root . and try to open it in my computer by Tbrowser double click , it doesn’t open, and no error message. i cant understand what is the problem.Please help me here im beginner… the file.root contain 5 histograms of energyspectrum actor in Gate

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 26, 2021, 2:36pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/2 "2021-03-26T14:36:28Z")

</div>

If your root file is `out.root` can you try:

```auto
% root -l out.root
root [0] TBrowser b

```

The browser should open and you should see your file in it. It it the case ?

---

<div class="post-metadata">

**Author:** ![benmessaoud2021](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@benmessaoud2021](https://root-forum.cern.ch/u/benmessaoud2021)\
**Post date:** [March 26, 2021, 2:49pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/3 "2021-03-26T14:49:57Z")

</div>

Thank you for your reply, I execute the commandes as you suggest but no thing changed… myfile.root is available and shown in Tbrowser but when i try to open it by 2 click doesn’t open or show any graphs.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 26, 2021, 3:38pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/4 "2021-03-26T15:38:04Z")

</div>

Are you sure you have something in that root file ? can you try:

```auto
% rootls out.root

```

---

<div class="post-metadata">

**Author:** ![benmessaoud2021](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@benmessaoud2021](https://root-forum.cern.ch/u/benmessaoud2021)\
**Post date:** [March 26, 2021, 8:57pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/5 "2021-03-26T20:57:10Z")

</div>

hi Couet, yes myfile.root has a taille of 527 octets. rootls commande doasent work also, thank you for your efforts

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 28, 2021, 1:10pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/6 "2021-03-28T13:10:41Z")

</div>

> [@benmessaoud2021](#):
>
> rootls commande doasent work also, thank you for your efforts

what is the output ?

---

<div class="post-metadata">

**Author:** ![benmessaoud2021](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@benmessaoud2021](https://root-forum.cern.ch/u/benmessaoud2021)\
**Post date:** [March 28, 2021, 2:15pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/7 "2021-03-28T14:15:24Z")

</div>

Hi Mr couet, the output when i exucte commande is as follows.  
/usr/bin/env: «python»: Aucun fichier ou dossier de ce type

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 29, 2021, 6:21am UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/8 "2021-03-29T06:21:26Z")

</div>

So rootls is not correctly installed it seems.  
Can you post the .root file here, so we can inspect it ?

---

<div class="post-metadata">

**Author:** ![benmessaoud2021](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@benmessaoud2021](https://root-forum.cern.ch/u/benmessaoud2021)\
**Post date:** [March 29, 2021, 9:35am UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/9 "2021-03-29T09:35:00Z")

</div>

[output.root](https://root-forum.cern.ch/uploads/short-url/dTf5qFBjI55HwwcfJWMx9Ty98s8.root) (523 Bytes)

Yes of course, the attached file is file.root. and Thank you a lot Mr COUET

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 29, 2021, 9:42am UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/10 "2021-03-29T09:42:37Z")

</div>

Your “output” file is completely empty.

If you do not have “`rootls`”, you can use the “[`root-ls`](https://root-forum.cern.ch/search?q=root-ls%20order%3Alatest)”, described e.g. in:

> [@Converting root file to csv using root2csv](https://root-forum.cern.ch/t/converting-root-file-to-csv-using-root2csv/42583/5):
>
> ok. so, first a few clarifying things. root-ls, root2csv, … all the commands from [go-hep.org/x/hep](https://go-hep.org/x/hep) are written in [Go](https://golang.org). Go is a compiled programming language, so one needs a compiler (e.g. one that can be installed from [golang.org](https://golang.org)) to compile Go source code into an executable for a given operating system + architecture (e.g.: linux + 64bits machine). go get go-hep.org/x/hep/cmd/root2csv will fetch the Go code for root2csv, compile it and install the resulting binary under some directory (by…

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 29, 2021, 9:51am UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/11 "2021-03-29T09:51:21Z")

</div>

I confirm. Empty file:

```auto
% rootls output.root
% 

```

and also:

```auto
% root output.root 
   ------------------------------------------------------------------
  | Welcome to ROOT 6.25/01 https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for macosx64 on Mar 09 2021, 09:09:23 |
  | From heads/master@v6-25-01-72-gb4566d45f8 |
  | With Apple clang version 12.0.0 (clang-1200.0.32.29) |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
   ------------------------------------------------------------------

root [0] 
Attaching file output.root as _file0...
(TFile *) 0x7fb93612a920
root [1] _file0->ls()
TFile** output.root	
 TFile* output.root	
root [2] 

```

---

<div class="post-metadata">

**Author:** ![benmessaoud2021](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@benmessaoud2021](https://root-forum.cern.ch/u/benmessaoud2021)\
**Post date:** [March 29, 2021, 5:36pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/12 "2021-03-29T17:36:40Z")

</div>

Ok, i think it is not running in the cluster…Thank you for your help, I appreciate your reply and interaction. Respect

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [April 12, 2021, 5:37pm UTC](https://root-forum.cern.ch/t/root-file-cant-open-with-tbrowser-without-any-error-message/44174/13 "2021-04-12T17:37:30Z")

</div>

Closed on April 12, 2021, 5:37pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
