Opened 5 months ago

Closed 4 months ago

#3902 closed defect (fixed)

g.extension problem: multiple entries, slowing down GRASS startup

Reported by: neteler Owned by: grass-dev@…
Priority: critical Milestone: 7.8.1
Component: Python Version: git-releasebranch78
Keywords: g.extension Cc:
CPU: Unspecified Platform: Unspecified

Description

Apparently something went wrong in the latest updates to g.extension:

GRASS 7.8.dev (nc_spm_08):~ > g.extension -a | sort
List of installed extensions (modules):
i.pysptools.unmix
i.pysptools.unmix
i.pysptools.unmix
i.pysptools.unmix
i.pysptools.unmix
i.pysptools.unmix
i.pysptools.unmix
i.pysptools.unmix
i.pysptools.unmix
i.pysptools.unmix
i.sentinel
i.sentinel.download
i.sentinel.download
i.sentinel.download
i.sentinel.import
i.sentinel.import
i.sentinel.import
i.sentinel.mask
i.sentinel.mask
i.sentinel.mask
i.sentinel.preproc
i.sentinel.preproc
i.sentinel.preproc
...

Somehow, there is a undesired loop.

Since the list of local extensions is scanned at startup time, it is now REALLY slow when you have a number of extensions installed.

Change History (3)

comment:1 Changed 5 months ago by neteler

Milestone: 7.8.07.8.1

Ticket retargeted after milestone closed

comment:2 Changed 4 months ago by AnikaBettge

Do not write metadata if the addons already exists in the metadata file: https://github.com/OSGeo/grass/pull/138

comment:3 Changed 4 months ago by neteler

Resolution: fixed
Status: newclosed
Version: unspecifiedgit-releasebranch78
Note: See TracTickets for help on using tickets.