Skip to content

PyHammer Crash/Does not Run when running example PyHammer script #44

@thaynecurrie

Description

@thaynecurrie

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions