Opened 5 years ago

Closed 5 years 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 by neteler, 5 years ago

Milestone: 7.8.07.8.1

Ticket retargeted after milestone closed

comment:2 by AnikaBettge, 5 years ago

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

comment:3 by neteler, 5 years ago

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