Fermitools-conda icon indicating copy to clipboard operation
Fermitools-conda copied to clipboard

GtBurst not responding.

Open nyctophile-aayu opened this issue 1 year ago • 2 comments

GtBurst is not opening with fermi environment, generating error: (fermi) lonewolf@lonewolf-HP-Z2-Tower-G9-Workstation-Desktop-PC:~/Ayush$ gtburst

Loading pyBurstAnalysisGUI v. 03-00-00p5 Traceback (most recent call last): File "/home/lonewolf/miniforge3/envs/fermi/bin/gtburst", line 7, in from fermitools.gtburst import main File "/home/lonewolf/miniforge3/envs/fermi/lib/python3.9/site-packages/fermitools/gtburst.py", line 20, in import matplotlib File "/home/lonewolf/miniforge3/envs/fermi/lib/python3.9/site-packages/matplotlib/init.py", line 131, in from . import _api, _version, cbook, _docstring, rcsetup File "/home/lonewolf/miniforge3/envs/fermi/lib/python3.9/site-packages/matplotlib/rcsetup.py", line 27, in from matplotlib.colors import Colormap, is_color_like File "/home/lonewolf/miniforge3/envs/fermi/lib/python3.9/site-packages/matplotlib/colors.py", line 51, in from PIL import Image File "/home/lonewolf/miniforge3/envs/fermi/lib/python3.9/site-packages/PIL/Image.py", line 68, in from ._typing import StrOrBytesPath, TypeGuard File "/home/lonewolf/miniforge3/envs/fermi/lib/python3.9/site-packages/PIL/_typing.py", line 10, in NumpyArray = npt.NDArray[Any] AttributeError: module 'numpy.typing' has no attribute 'NDArray'

When I am using fermipy then it is opening the GtBurst interface but after selecting the GRB source, it hung and do not process any further. I have attached the log file and screenshot of GtBurst. I am using python 3.9.* for Linux 22.0. gtburst.log Screenshot from 2024-09-30 14-34-54

nyctophile-aayu avatar Sep 30 '24 09:09 nyctophile-aayu

Are you launching within python?. Gtburst is a GUI and should be launched from a terminal after activating the Fermitools

nmirabal avatar Oct 01 '24 12:10 nmirabal

@nyctophile-aayu Can you please try this again with the latest version of the Fermitools? Hopefully the updates we've made should take care of this issue.

jasercion avatar May 02 '25 14:05 jasercion

Assumed fixed/superceded. Reopen and tag me if issue unresolved.

jasercion avatar May 09 '25 18:05 jasercion