# Where are errors in my file?

**URL:** <https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473>\
**Category:** Newbie\
**Created:** [January 8, 2020, 9:14am UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473 "2020-01-08T09:14:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hammiu](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hammiu/32/20395_2.png) [@hammiu](https://root-forum.cern.ch/u/hammiu)\
**Post date:** [January 8, 2020, 9:14am UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473/1 "2020-01-08T09:14:55Z")

</div>

I can not run my file. I dont know where are errors in my file. Who can help me, please?  
[TGraphAsymmErrors.C](https://root-forum.cern.ch/uploads/short-url/4QNnpPfg7tM3MRR9J9AvmF4DvSI.C) (922 Bytes)  
This is a error notification.

 ![Screenshot_1](https://root-forum.cern.ch/uploads/default/original/3X/e/3/e324fac45a76a082315d11b37ff354fd40b6f853.jpeg)  
_ROOT Version:_ 5.34  
_Platform:_ Win 10  
_Compiler:_ Not Provided

* * *

---

<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:** [January 8, 2020, 9:21am UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473/2 "2020-01-08T09:21:59Z")

</div>

`TGraphAsymmErrors *gr = new TGraphAsymmErrors(...);`

BTW. Make sure that the very first character of your unnamed macro is a “{” (i.e. no comment lines before the initial “{”).

---

<div class="post-metadata">

**Author:** ![hammiu](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hammiu/32/20395_2.png) [@hammiu](https://root-forum.cern.ch/u/hammiu)\
**Post date:** [January 8, 2020, 9:53am UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473/3 "2020-01-08T09:53:19Z")

</div>

Thank you. Everything is fine. I still have a question.  
In User’s Guide writen and it can run correctly. Can you tell me why?

```auto
gr = new TGraphAsymmErrors(n,x,y,exl,exh,eyl,eyh);

```

---

<div class="post-metadata">

**Author:** ![OSchaile](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/o/e495f1/32.png) [@OSchaile](https://root-forum.cern.ch/u/OSchaile)\
**Post date:** [January 8, 2020, 11:34am UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473/4 "2020-01-08T11:34:11Z")

</div>

Hi,

```auto
gr = new TGraphAsymmErrors(n,x,y,exl,exh,eyl,eyh);

```

was working with the oldold root 5,  
root 5 used CINT which allowed many auto extensions of C++  
It does not work with CLING which needs pure C++

This should be fixed in the user guide

Otto

---

<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:** [January 8, 2020, 11:45am UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473/6 "2020-01-08T11:45:20Z")

</div>

> [@hammiu](#):
>
> In User’s Guide

Can you point the place in the User’s guide ?

---

<div class="post-metadata">

**Author:** ![OSchaile](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/o/e495f1/32.png) [@OSchaile](https://root-forum.cern.ch/u/OSchaile)\
**Post date:** [January 8, 2020, 11:54am UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473/7 "2020-01-08T11:54:00Z")

</div>

## 4.4 Graphs with Asymmetric Error Bars

---

<div class="post-metadata">

**Author:** ![hammiu](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hammiu/32/20395_2.png) [@hammiu](https://root-forum.cern.ch/u/hammiu)\
**Post date:** [January 8, 2020, 1:10pm UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473/8 "2020-01-08T13:10:02Z")

</div>

This is a link. [https://root.cern.ch/doc/master/classTGraphAsymmErrors.html](https://root.cern.ch/doc/master/classTGraphAsymmErrors.html)

---

<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:** [January 8, 2020, 2:49pm UTC](https://root-forum.cern.ch/t/where-are-errors-in-my-file/37473/9 "2020-01-08T14:49:19Z")

</div>

Now fixed. It will be visible online tomorrow.  
Thanks to have seen it.
