missing argument in gedit.language_manager_get_language_from_mime_type

Bug #150811 reported by Curtis Hovey
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Medium
gedit (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Gutsy
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

When using the Stop button to end a long process run though the External Tools plugin, The following error message appears:

Traceback (most recent call last):
  File "/usr/lib/gedit-2/plugins/externaltools/functions.py", line 179, in capture_end_execute_panel
    language = gedit.language_manager_get_language_from_mime_type(mtype)
TypeError: language_manager_get_language_from_mime_type() takes exactly 2 arguments (1 given)

I had to kill the run away proc from the terminal instead.

Revision history for this message
Curtis Hovey (sinzui) wrote :

The remote bug has a patch attached to it.

Changed in gedit:
status: New → Confirmed
Changed in gedit:
status: Unknown → In Progress
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report.

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in gedit:
status: In Progress → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug has been fixed upstream now

Changed in gedit:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

 gedit (2.20.2-0ubuntu1) gutsy-proposed; urgency=low
 .
   * New upstream version:
     New Features and Fixes
     - Fix tools loading in External Tools plugin
     - Fix crash when gtksourceview doesn't find any highlighting file
       (LP: #151000)
     - Misc bugfixes (LP: #150811)
     New and updated translations
   * debian/control.in:
     - Build-Depends on intltool
   * debian/patches/80_from_svn_load_tool_property_correctly.patch:
     - dropped, fixed with the new version

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

2.20.3 is in gutsy-updates, and hardy has 2.20.4

Changed in gedit:
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
Revision history for this message
j_patterson (j-patterson) wrote :

I am having issues with the same error with only one of two arguments being supplied to gedit.language_manager_get_language_from_mime_type() when I try to run perltidy in gedit. As far as I know I have the lastest versions of everything... any advice on how to fix it?

Revision history for this message
Curtis Hovey (sinzui) wrote : Re: [Bug 150811] Re: missing argument in gedit.language_manager_get_language_from_mime_type
  • unnamed Edit (189 bytes, application/pgp-signature; name=signature.asc)

On Mon, 2008-03-31 at 07:35 +0000, j_patterson wrote:
> I am having issues with the same error with only one of two arguments
> being supplied to gedit.language_manager_get_language_from_mime_type()
> when I try to run perltidy in gedit. As far as I know I have the
> lastest versions of everything... any advice on how to fix it?

This bug was filed against gedit 2.20 which shipped with Gutsy. The fix
was released to Gutsy in November if I recall correctly.

I've just upgraded to Hardy, and I hack with gedit all day. If I
discover a new problem I will submit a new patch to fix the problem.

--

__C U R T I S C. H O V E Y_______
Guilty of stealing everything I am.

Revision history for this message
j_patterson (j-patterson) wrote :

Ya, i upgraded from 7.10 to 8.04 Hardy and it works now. Thanks.

Changed in gedit:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.