Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-4931

UGENE crashes on starting if no data directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.20
    • Component/s: None
    • Labels:
    • Environment:

      Mac OS X 10.10.0, Mac OS X 10.10.5

    • Story Points:
      5
    • Sprint:
      DEV-02/12/2015
    • Affect Type:
      Userdefined

      Description

      In some places in UGENE the following code to search for the data path is used: "QString dataDir = QDir::searchPaths( PATH_PREFIX_DATA ).first() + "/prefix";". This may lead to crashes on UGENE starting if no data directory.

      It is necessary to rewrite the code in the following locations:
      AnnotatorPlugin.cpp - line 59
      AnnotatorTests.cpp - line 243
      BaseTranslation.cpp - line 526
      EnzymesIO.cpp - line 283
      FindEnzymesDialog.cpp - line 116
      PWMJASPARDialogController.cpp - lines 38, 99
      QDWorker.cpp - line 161
      QueryDesignerPlugin.cpp - lines 70, 166
      SiteconPlugin.cpp - line 70
      SubstMatrixRegistry.cpp - line 98
      TestRunnerTask.cpp - line 137
      WeightMatrixPlugin.cpp - line 78
      WorkflowDesignerPlugin.cpp - line 332
      WorkflowSettings.cpp - lines 124, 131
      WorkflowViewController.cpp - line 2157

      Crash reports:
      http://ugene.net/ugenecrashes?id=6920
      http://ugene.net/ugenecrashes?id=6919
      http://ugene.net/ugenecrashes?id=6917
      http://ugene.net/ugenecrashes?id=6885
      http://ugene.net/ugenecrashes?id=6883

        Attachments

          Activity

            People

            Assignee:
            atiunov Aleksey Tiunov [X] (Inactive)
            Reporter:
            artyom_s Artyom Savchenko
            Assigned Tester:
            Kirill Rasputin
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: