← Back to team overview

ubuntu-bugcontrol team mailing list archive

Re: [Bug 832745] Re: TypeError: glib.markup_escape_text() takes at most 1 argument (2 given)

 

Thank's Robert,

It seem to work.

Regards,

Ing. Enrique Merida
Webmaster, Xemantika
(664) 972-9102


On 09/22/2011 01:20 PM, Robert Roth wrote:
> Running "sudo apt-get update&&  sudo apt-get dist-upgrade" without the
> quotes from the terminal should be enough to solve this, as it has been
> solved in some updates. You have to use the command line for this, as
> update-manager crashes because of this bug right now.
>
> Regards,
> Robert
>
> On Thu, Sep 22, 2011 at 9:43 PM, Philippe Van Goethem<
> 832745@xxxxxxxxxxxxxxxxxx>  wrote:
>
>> Hi, please can you tell me how I can solve this bug! THANKS ALL READY;
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/832745
>>
>> Title:
>>   TypeError: glib.markup_escape_text() takes at most 1 argument (2
>>   given)
>>
>> Status in “update-manager” package in Ubuntu:
>>   Fix Released
>>
>> Bug description:
>>   update-manager crashes after clicking "partial upgrade" (Python
>>   error).
>>
>>   ** (update-manager:3427): WARNING **: expected enumeration type
>> PangoUnderline, but got Underline instead
>>   ERROR:root:not handled expection:
>>   Traceback (most recent call last):
>>
>>     File "/usr/bin/update-manager", line 106, in<module>
>>       controler.doPartialUpgrade()
>>
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeController.py",
>> line 1672, in doPartialUpgrade
>>       if not self.askDistUpgrade():
>>
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeController.py",
>> line 903, in askDistUpgrade
>>       self.cache.requiredDownload)
>>
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line
>> 648, in confirmChanges
>>       len(pkg.summary)))])
>>
>>   TypeError: glib.markup_escape_text() takes at most 1 argument (2
>>   given)
>>
>>   Traceback (most recent call last):
>>     File "/usr/bin/update-manager", line 106, in<module>
>>       controler.doPartialUpgrade()
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeController.py",
>> line 1672, in doPartialUpgrade
>>       if not self.askDistUpgrade():
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeController.py",
>> line 903, in askDistUpgrade
>>       self.cache.requiredDownload)
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line
>> 648, in confirmChanges
>>       len(pkg.summary)))])
>>   TypeError: glib.markup_escape_text() takes at most 1 argument (2 given)
>>   Error in sys.excepthook:
>>   Traceback (most recent call last):
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line
>> 467, in _handleException
>>       apport_crash(type, value, tb)
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeApport.py", line
>> 29, in apport_crash
>>       report[f.replace(".","").replace("-","")] = (open(f), )
>>     File "/usr/lib/python2.7/dist-packages/problem_report.py", line 504, in
>> __setitem__
>>       assert k.replace('.', '').replace('-', '').replace('_', '').isalnum()
>>   AssertionError
>>
>>   Original exception was:
>>   Traceback (most recent call last):
>>     File "/usr/bin/update-manager", line 106, in<module>
>>       controler.doPartialUpgrade()
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeController.py",
>> line 1672, in doPartialUpgrade
>>       if not self.askDistUpgrade():
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeController.py",
>> line 903, in askDistUpgrade
>>       self.cache.requiredDownload)
>>     File
>> "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line
>> 648, in confirmChanges
>>       len(pkg.summary)))])
>>   TypeError: glib.markup_escape_text() takes at most 1 argument (2 given)
>>
>>   ProblemType: Bug
>>   DistroRelease: Ubuntu 11.10
>>   Package: update-manager 1:0.152.15
>>   ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
>>   Uname: Linux 3.0.0-9-generic x86_64
>>   NonfreeKernelModules: nvidia
>>   Architecture: amd64
>>   Date: Wed Aug 24 15:08:17 2011
>>   InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64
>> (20101007)
>>   PackageArchitecture: all
>>   ProcEnviron:
>>    PATH=(custom, no user)
>>    LANG=pl_PL.UTF-8
>>    SHELL=/usr/bin/zsh
>>   SourcePackage: update-manager
>>   UpgradeStatus: Upgraded to oneiric on 2011-08-24 (0 days ago)
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/832745/+subscriptions
>>

-- 
You received this bug notification because you are a member of Ubuntu
Bug Control, which is subscribed to a duplicate bug report (849022).
https://bugs.launchpad.net/bugs/832745

Title:
  TypeError: glib.markup_escape_text() takes at most 1 argument (2
  given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/832745/+subscriptions


References