[gedit-plugins] Remove commander plugin (broken)



commit e8c6586885ec01a550d86471587181a428946ade
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date:   Mon Jul 18 07:07:53 2022 +0200

    Remove commander plugin (broken)
    
    The plugin is not able to load:
    
    ```
    ** (gedit:22113): WARNING **: 06:52:01.641: Error importing plugin 'commander':
    Traceback (most recent call last):
      File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "[...]/gedit/plugins/commander/__init__.py", line 34, in <module>
        from appactivatable import CommanderAppActivatable
      File "[...]/gedit/plugins/commander/appactivatable.py", line 24, in <module>
        import commander.commands as commands
      File "[...]/gedit/plugins/commander/commands/__init__.py", line 26, in <module>
        from . import module, method, result, exceptions, metamodule, completion
      File "[...]/gedit/plugins/commander/commands/module.py", line 25, in <module>
        import commands.exceptions as exceptions
      File "[...]/gedit/plugins/commander/commands/__init__.py", line 26, in <module>
        from . import module, method, result, exceptions, metamodule, completion
      File "[...]/gedit/plugins/commander/commands/completion.py", line 22, in <module>
        import commander.commands as commands
    AttributeError: module 'commander' has no attribute 'commands'
    
    (gedit:22113): libpeas-WARNING **: 06:52:01.642: Error loading plugin 'commander'
    ```
    
    It's maybe easy to fix, I really don't know.
    
    But nobody reported the bug. The plugin is aimed at advanced users,
    while gedit primarily targets beginners.
    
    If somebody is interested to revive this plugin, it can be put in its
    own repo.

 help/C/commander.page                              |  94 ---
 help/meson.build                                   |   1 -
 plugins/commander/commander.plugin.desktop.in.in   |  10 -
 plugins/commander/commander/__init__.py            |  37 -
 plugins/commander/commander/appactivatable.py      |  68 --
 plugins/commander/commander/commands/__init__.py   | 461 ------------
 .../commander/commander/commands/accel_group.py    | 127 ----
 plugins/commander/commander/commands/completion.py | 221 ------
 plugins/commander/commander/commands/exceptions.py |  29 -
 plugins/commander/commander/commands/metamodule.py |  53 --
 plugins/commander/commander/commands/method.py     | 127 ----
 plugins/commander/commander/commands/module.py     | 153 ----
 plugins/commander/commander/commands/result.py     |  70 --
 .../commander/commands/rollbackimporter.py         |  59 --
 plugins/commander/commander/entry.py               | 786 ---------------------
 plugins/commander/commander/history.py             | 101 ---
 plugins/commander/commander/info.py                | 285 --------
 plugins/commander/commander/modules.py             |   3 -
 plugins/commander/commander/utils.py               |  66 --
 plugins/commander/commander/windowactivatable.py   |  86 ---
 plugins/commander/gedit-commander.metainfo.xml.in  |  13 -
 plugins/commander/meson.build                      |  57 --
 plugins/commander/modules/align.py                 | 283 --------
 plugins/commander/modules/bookmark.py              |  89 ---
 plugins/commander/modules/doc.py                   | 239 -------
 plugins/commander/modules/edit.py                  | 241 -------
 plugins/commander/modules/find/__init__.py         |  99 ---
 plugins/commander/modules/find/finder.py           | 328 ---------
 plugins/commander/modules/find/regex.py            | 258 -------
 plugins/commander/modules/format.py                | 133 ----
 plugins/commander/modules/goto.py                  |  63 --
 plugins/commander/modules/grep.py                  | 192 -----
 plugins/commander/modules/help.py                  |  76 --
 plugins/commander/modules/move.py                  | 116 ---
 plugins/commander/modules/reload.py                |  52 --
 plugins/commander/modules/set.py                   | 158 -----
 plugins/commander/modules/shell.py                 | 199 ------
 po/POTFILES.in                                     |   3 -
 po/POTFILES.skip                                   |   1 -
 39 files changed, 5437 deletions(-)
---
diff --git a/help/meson.build b/help/meson.build
index 1c923a7..30fec0e 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -4,7 +4,6 @@ gedit_help_sources = [
   'character-map.page',
   'code-comment.page',
   'color-picker.page',
-  'commander.page',
   'draw-spaces.page',
   'git.page',
   'join-split-lines.page',
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 83f988f..c90279e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -19,9 +19,6 @@ plugins/colorschemer/gedit-colorschemer.metainfo.xml.in
 plugins/colorschemer/schemer/__init__.py
 plugins/colorschemer/schemer/schemer.py
 plugins/colorschemer/schemer.ui
-plugins/commander/commander/appactivatable.py
-plugins/commander/commander.plugin.desktop.in.in
-plugins/commander/gedit-commander.metainfo.xml.in
 plugins/drawspaces/drawspaces.plugin.desktop.in.in
 plugins/drawspaces/gedit-drawspaces-app-activatable.c
 plugins/drawspaces/gedit-drawspaces.metainfo.xml.in
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 56a2639..38d0633 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -6,7 +6,6 @@ plugins/charmap/charmap.plugin.desktop.in
 plugins/codecomment/codecomment.plugin.desktop.in
 plugins/colorpicker/colorpicker.plugin.desktop.in
 plugins/colorschemer/colorschemer.plugin.desktop.in
-plugins/commander/commander.plugin.desktop.in
 plugins/drawspaces/drawspaces.plugin.desktop.in
 plugins/git/git.plugin.desktop.in
 plugins/joinlines/joinlines.plugin.desktop.in


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]