Bug 1105840 - gedit-3.0.6-1.fc15: 'Save' option in 'External tools' plugin does not work
Summary: gedit-3.0.6-1.fc15: 'Save' option in 'External tools' plugin does not work
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gedit
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-08 04:45 UTC by alfredo.correa
Modified: 2015-07-01 01:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of: 727131
Environment:
Last Closed: 2015-06-29 21:00:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description alfredo.correa 2014-06-08 04:45:17 UTC
+++ This bug was initially created as a clone of Bug #727131 +++

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

An external tool will not executed if its 'Save' option is activated in the 'Manage External Tools...' dialog. Does not matter if current document or all documents is selected in the option field.

Reproducible: Always

Steps to Reproduce:
1. open gedit
2. go to 'Manage External Tools...'
3. choose the predefind 'Remove trailing spaces'
4. choose current document in the 'Save' option field and close
5. try this tool with a test file
Actual Results:  
The tool does not run.


Traceback (most recent call last):
  File "/usr/lib64/gedit/plugins/externaltools/functions.py", line 246, in capture_menu_action
    MultipleDocumentsSaver(window, panel, [window.get_active_document()], node)
  File "/usr/lib64/gedit/plugins/externaltools/functions.py", line 225, in __init__
    Gedit.commands.save_document(window, doc)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 270, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 101, in __getattr__
    self.__name__, name))
AttributeError: 'gi.repository.Gedit' object has no attribute 'commands'

--- Additional comment from Andrew Prokhorenkov on 2011-09-19 13:08:10 EDT ---

I confirm this bug on gedit.i686-3.0.6-1.fc15.

--- Additional comment from LaKing on 2011-10-22 20:20:42 EDT ---

You have to edit /usr/lib/gedit/plugins/externaltools/functions.py", line 225 and replace

Gedit.commands.save_document(window, doc)
to
Gedit.commands_save_document(window, doc)

From: Gábor Librecz <kuglee>

--- Additional comment from Fedora End Of Life on 2012-08-07 14:29:31 EDT ---

This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 1 Fedora End Of Life 2015-05-29 12:03:19 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2015-06-29 21:00:21 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 alfredo.correa 2015-07-01 01:47:28 UTC
This has been fixed in Fedora 22 or gedit 3.16.2 .


Note You need to log in before you can comment on or make changes to this bug.