ReliaQualAssociates / ramstk

Reliability, Availability, Maintainability, Safety (RAMS) analysis program.
https://www.reliaqual.com/rtk/
BSD 3-Clause "New" or "Revised" License
44 stars 15 forks source link

New RAMSTK Program Database Not Opening; Must Restart RAMSTK #139

Closed weibullguy closed 6 years ago

weibullguy commented 6 years ago

Expected Behavior

As an analyst, I want a newly created RAMSTK Program database to open as soon as it is created so that I don't have to close and restart RAMSTK.

Actual Behavior (NOT required for Enhancement type issues.)

When creating a new RAMSTK database, the following error is received:

Traceback (most recent call last):
  File "/home/arowland/.local/lib/python2.7/site-packages/rtk/gui/gtk/assistants/CreateProject.py", line 49, in __init__
    self._request_create_sqlite3_project()
  File "/home/arowland/.local/lib/python2.7/site-packages/rtk/gui/gtk/assistants/CreateProject.py", line 96, in _request_create_sqlite3_project
    self._mdcRAMSTK.request_do_create_program()
  File "/home/arowland/.local/lib/python2.7/site-packages/rtk/RAMSTK.py", line 702, in request_do_create_program
    self.request_open_program()
AttributeError: 'RAMSTK' object has no attribute 'request_open_program'

The database is properly created and can be loaded after the RAMSTK application is closed and re-opened.

Steps to Reproduce the Problem (NOT required for Enhancement type issues.)

  1. Open RAMSTK
  2. Create a new RAMSTK Program database

Operating Environment (NOT required for QA type issues.)

weibullguy commented 6 years ago

Fixed in commit 983e9dadf8af52f000eb36f75cecbd09a1adda56