Riverscapes / QRAVEPlugin

QGIS Plugin for viewing Riverscapes projects
0 stars 0 forks source link

Error loading project #113

Closed MattReimer closed 3 months ago

MattReimer commented 3 months ago

@KellyMWhitehead it seems like something you fixed may have broken QRave

I get the following error when trying to load a project:

{
  "ExceptionDetails": {
    "Type": "AttributeError",
    "Message": "'NoneType' object has no attribute 'text'"
  },
  "Environment": {
    "Qgis Version": "3.34.4-Prizren",
    "Operating System": "osx",
    "Locale": "en"
  },
  "Trace": [
    {
      "Name": "projectBrowserDlg",
      "Filename": "qrave_toolbar.py",
      "LineNo": 358,
      "Variables": {
        "self": "<qrave_toolbar_dev.src.qrave_toolbar.QRAVE object at 0x16df4f640>",
        "last_browse_path": "/Users/matt/Downloads/Riverscapes_Context-Riverscapes_Context_for_HUC_1604020108/project.rs.xml",
        "last_dir": "/Users/matt/Downloads/Riverscapes_Context-Riverscapes_Context_for_HUC_1604020108",
        "dialog_return": "('/Users/matt/Downloads/Riverscapes_Context-Riverscapes_Context_for_HUC_1604020108/project.rs.xml', 'Riverscapes Project files (project.rs.xml)')"
      }
    },
    {
      "Name": "add_project",
      "Filename": "dock_widget.py",
      "LineNo": 249,
      "Variables": {
        "self": "<qrave_toolbar_dev.src.dock_widget.QRAVEDockWidget object at 0x16ca5b670>",
        "xml_path": "/Users/matt/Downloads/Riverscapes_Context-Riverscapes_Context_for_HUC_1604020108/project.rs.xml",
        "qrave_projects": "[]",
        "test_project": "<qrave_toolbar_dev.src.classes.project.Project object at 0x14478aa00>",
        "__pydevd_ret_val_dict": "{'Project.load': None}"
      }
    }
  ]
}
MattReimer commented 3 months ago

Oh, I think I see the problem. This should be fixed now.

MattReimer commented 2 months ago

This is part of a family of bugs (related but not duplicates) that will all be closed together