# Strange bug when download files from lxplus to local machine

**URL:** <https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464>\
**Category:** Newbie\
**Created:** [December 8, 2023, 4:48pm UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464 "2023-12-08T16:48:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![LongHoa](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/longhoa/32/25905_2.png) [@LongHoa](https://root-forum.cern.ch/u/LongHoa)\
**Post date:** [December 8, 2023, 4:48pm UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/1 "2023-12-08T16:48:11Z")

</div>

Hello,

I encountered a strange bug when I download root files containing only histograms (TH1D) from lxplus to my local machine.  
The files can be read normally on lxplus, but after they are downloaded to my local machine, I received the following error.

```auto
Error in <TList::Clear>: A list is accessing an object (0x322b2e0) already deleted (list name = TList)

```

I try to compare the check-sums of the original files and the downloaded files by `cksum` command. They match.  
What is the cause of this bug and how can I fix it? thank you very much.

Hoa.

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [December 8, 2023, 8:59pm UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/2 "2023-12-08T20:59:57Z")

</div>

What are the ROOT version on your local machine and on lxplus?

---

<div class="post-metadata">

**Author:** ![LongHoa](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/longhoa/32/25905_2.png) [@LongHoa](https://root-forum.cern.ch/u/LongHoa)\
**Post date:** [December 9, 2023, 5:41am UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/3 "2023-12-09T05:41:53Z")

</div>

Edit: sorry, the version of ROOT on my local machine is 6.24, while the one on lxplus seems to recently change to 6.30.

I tried to setup 6.24 on lxplus by using:

```auto
source /cvmfs/sft.cern.ch/lcg/views/LCG_100/x86_64-centos7-gcc10-opt/setup.sh

```

but it gave me the following error:

```auto
-bash: python: command not found
-bash: python: command not found
dirname: missing operand
Try 'dirname --help' for more information.
dirname: missing operand
Try 'dirname --help' for more information.
Error in find.package("RInside") : there is no package called ‘RInside’
Calls: cat -> find.package
Execution halted
Error in find.package("Rcpp") : there is no package called ‘Rcpp’
Calls: cat -> find.package
Execution halted
Error in find.package("readr") : there is no package called ‘readr’
Calls: cat -> find.package
Execution halted
dirname: missing operand
Try 'dirname --help' for more information.
dirname: missing operand
Try 'dirname --help' for more information.
dirname: missing operand
Try 'dirname --help' for more information.
dirname: missing operand
Try 'dirname --help' for more information.

```

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [December 21, 2023, 11:59pm UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/4 "2023-12-21T23:59:12Z")

</div>

> the version of ROOT on my local machine is 6.24

You need to update your local machine to use the newer 6.30/02

---

<div class="post-metadata">

**Author:** ![LongHoa](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/longhoa/32/25905_2.png) [@LongHoa](https://root-forum.cern.ch/u/LongHoa)\
**Post date:** [December 22, 2023, 7:03am UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/5 "2023-12-22T07:03:31Z")

</div>

> [@pcanal](#):
>
> You need to update your local machine to use the newer 6.30/02

I tried the pre-compile version of 6.30/02 on my laptop (Ubuntu 18.04). It seem to miss the FFT package.  
ROOT showed me this error message when I use RooFFTConvPdf

```auto
[#0] FATAL:Eval -- RooFFTConvPdf::fillCacheSlice(sig-modelCannot get a handle to fftw. Maybe ROOT was built without it?

```

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [December 22, 2023, 4:32pm UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/6 "2023-12-22T16:32:48Z")

</div>

> [@LongHoa](#):
>
> ```auto
> nvPdf::fillCacheSlice(sig-modelCannot get a handle to fftw. Maybe ROOT was built without it?
> 
> ```

You probably need to do:

```auto
sudo apt-get install libfftw3-dev

```

and reconfigure and rebuild ROOT.  
see [Dependencies - ROOT](https://root.cern/install/dependencies/#ubuntu-and-other-debian-based-distributions)

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [December 23, 2023, 4:56pm UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/7 "2023-12-23T16:56:32Z")

</div>

Dear @LongHoa ,

Maybe you can also try with [Installing ROOT - ROOT](https://root.cern/install/#conda) which provides you with a fully working environment with ROOT without the need to recompile. Let me know if that helps.

Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![LongHoa](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/longhoa/32/25905_2.png) [@LongHoa](https://root-forum.cern.ch/u/LongHoa)\
**Post date:** [December 25, 2023, 9:15am UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/8 "2023-12-25T09:15:38Z")

</div>

Thank you for your replies but unfortunately I cannot install anything on the local machine as I don’t have root permission.  
I can only use the pre-compiled package.

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [December 27, 2023, 6:05pm UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/9 "2023-12-27T18:05:10Z")

</div>

Dear @LongHoa ,

You don’t need root permissions to run conda on your machine. You can use it fully in your user environment.

Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![LongHoa](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/longhoa/32/25905_2.png) [@LongHoa](https://root-forum.cern.ch/u/LongHoa)\
**Post date:** [December 31, 2023, 5:45pm UTC](https://root-forum.cern.ch/t/strange-bug-when-download-files-from-lxplus-to-local-machine/57464/10 "2023-12-31T17:45:09Z")

</div>

Thank you. It seem to work now!
