Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Thomas Leonard <talex5 <at> gmail.com>
Subject: Re: ROX-Session: minor annoyance
Newsgroups: gmane.comp.desktop.rox.devel
Date: Saturday 8th December 2007 12:21:38 UTC (over 9 years ago)
On 05/12/2007, Rafał Mużyło  wrote:
> I don't know whether the problem lays in ROX-Session or in ROX-Lib2.
> When startx runs ROX-Session, this message is printed to the console:
> /usr/lib/rox/ROX-Session/log.py:90: GtkDeprecationWarning: gtk.input_add
> is deprecated, use gobject.io_add_watch instead
>   input_tag = g.input_add(log_r, g.gdk.INPUT_READ, got_log_data)
[...]
>  File "/usr/lib/python2.5/logging/__init__.py", line 288, in getMessage
>         msg = msg % self.args
>  TypeError: not enough arguments for format string
>
> I can understand the deprecation warning, but what about the rest ?

The log message doesn't give enough information to know where it comes
from, but you could edit that file
("/usr/lib/python2.5/logging/__init__.py") to print the message, e.g.:

        if self.args:
            msg = repr([msg] + self.args)
        return msg


-- 
Dr Thomas Leonard		http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
 
CD: 3ms