Skip to content

[Bug] opening attribute table in empty mapset freezes GUI #3078

@cmbarton

Description

@cmbarton

Describe the bug
This is a weird bug but it could be a confusing problem for many. If you try to open the attribute table manager from an empty mapset, it freezes the GUI with a 'loading attribute table' message.

To Reproduce

  1. Switch to the sc_spm_08_grass7 demo location
  2. Create a new mapset ("new") in the data manager
  3. Switch to the mapset "new"
  4. Make sure that "new" has access to PERMANENT (g.mapsets)
  5. Add the firestations vector map from PERMANENT to the layer manager
  6. Try to open the attribute table manager window

Expected behavior
Instead of the table manager window, there is a 'loading attribute table' message displayed that never goes away.

System description (please complete the following information):

  • Operating System: MacOS 13.4.1 (ARM)
  • GRASS GIS version: 8.3.0

**Work Around
Copy a vector map to the empty mapset. Then everything works fine and the table manager opens. For some reason, not having the support folders/files for vectors in the current mapset is probably what is causing the freezing. But it shouldn't freeze like that.

If you then delete the vector you've copied into the empty mapset and try to open the attribute table from another mapset, it works fine. So it definitely has something to do with setting up the support for vectors. Either this needs to happen when mapsets are created or the table manager needs to ignore the lack of vector support when opening a table of a vector in a different mapset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIwxGUI relatedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions