# Rootbrowse stuck

**URL:** <https://root-forum.cern.ch/t/rootbrowse-stuck/40527>\
**Category:** ROOT\
**Created:** [July 20, 2020, 2:39pm UTC](https://root-forum.cern.ch/t/rootbrowse-stuck/40527 "2020-07-20T14:39:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cxwx1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/cxwx1/32/22433_2.png) [@cxwx1](https://root-forum.cern.ch/u/cxwx1)\
**Post date:** [July 20, 2020, 2:39pm UTC](https://root-forum.cern.ch/t/rootbrowse-stuck/40527/1 "2020-07-20T14:39:35Z")

</div>

* * *

\_ROOT Version: 6.22 homebrew version  
\_Platform:OS X 10.15.6

* * *

I could not using `rootbrowse` after upgrade python to 3.8.4 and root to 6.22  
it stuck at beginning, and I could not using the mouse any more

however  
I could use the python prompt with rootbrowse

```auto
>>> import cmdLineUtils
>>> cmdLineUtils.rootBrowse(args.FILE)

```

How could I debug with it.  
Is there anyone has the same problem with me?

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [July 20, 2020, 5:15pm UTC](https://root-forum.cern.ch/t/rootbrowse-stuck/40527/2 "2020-07-20T17:15:24Z")

</div>

Hi @cxwx1,  
I think you encountered [https://sft.its.cern.ch/jira/browse/ROOT-10787](https://sft.its.cern.ch/jira/browse/ROOT-10787), sorry about that.

@etejedor or @swunsch should be able to comment on what the outlook on that one is and what the known workarounds are.

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![swunsch](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@swunsch](https://root-forum.cern.ch/u/swunsch)\
**Post date:** [July 21, 2020, 7:56am UTC](https://root-forum.cern.ch/t/rootbrowse-stuck/40527/3 "2020-07-21T07:56:08Z")

</div>

Hi!

Unfortunately, the issue is known, the executable `rootbrowse` does not work on MacOS. We are sorry!

The long technical explanation: The operating system itself prevents us to spawn an additional thread, which updates the GUI and therefore you see it as frozen. Butwe enabled the GUI in the Python prompt (as you found out!) and in Jupyter notebooks, because there we can attach the “event loop” of the GUI to already existing mechanisms. For example, the Python prompt has the `PyOS_InputHook` mechanism, which you can use to attach callbacks such as the update of a GUI. At the end, it’s a technical limitation we could not get around (yet?) on MacOS. Suggestions are very welcome!

Here’s the Jira ticket, which tracks the issue: [https://sft.its.cern.ch/jira/browse/ROOT-10787](https://sft.its.cern.ch/jira/browse/ROOT-10787)

Best  
Stefan

---

<div class="post-metadata">

**Author:** ![swunsch](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@swunsch](https://root-forum.cern.ch/u/swunsch)\
**Post date:** [July 21, 2020, 9:26am UTC](https://root-forum.cern.ch/t/rootbrowse-stuck/40527/4 "2020-07-21T09:26:00Z")

</div>

Hi again,

We are looking into a dedicated fix for `rootbrowse`, you can follow the discussion in the respective PR [here](https://github.com/root-project/root/pull/6057).

Best  
Stefan

---

<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:** [August 4, 2020, 9:26am UTC](https://root-forum.cern.ch/t/rootbrowse-stuck/40527/5 "2020-08-04T09:26:01Z")

</div>

Closed on August 4, 2020, 9:26am UTC

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