PyHammer icon indicating copy to clipboard operation
PyHammer copied to clipboard

PyHammer Crash/Does not Run when running example PyHammer script

Open thaynecurrie opened this issue 3 years ago • 2 comments

I have installed PyHammer and have verified that I have sufficiently updated versions of packages.

Unfortunately, PyHammer crashes and I cannot run it, even when attempting to run the example script provided in the wiki

  1. (from command line) python pyhammer.py -f -l -i test_case/exampleInputFile.txt

  2. the GUI pops up. I click on "Start PyHammer"

  3. after two warnings about creating "an ndarray from ragged nested sequence(s)", I get the following crash:

Traceback (most recent call last): File "pyhammer.py", line 864, in goToMain main(self.options) File "pyhammer.py", line 232, in main Eyecheck(spec, options) File "/Users/thaynecurrie/Research/Data/stellar/PyHammer/eyecheck.py", line 24, in init self.updatePlot() # Update the plot showing the template and spectrum File "/Users/thaynecurrie/Research/Data/stellar/PyHammer/eyecheck.py", line 659, in updatePlot if self.toolbar._active != 'ZOOM': AttributeError: 'NavigationToolbar2QT' object has no attribute '_active' Abort

The crash occurs regardless of whether I run in command line mode (-c), GUI (-g), or full (-f)

thaynecurrie avatar Jun 11 '21 21:06 thaynecurrie