<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>202797</bug_id>
          
          <creation_ts>2007-12-19 15:58 0000</creation_ts>
          <short_desc>rox-base/rox-session: a minor issue</short_desc>
          <delta_ts>2008-02-21 13:52:27 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>galtgendo@o2.pl</reporter>
          <assigned_to>rox@gentoo.org</assigned_to>
          <cc>znmeb@cesmail.net</cc>

      

      
          <long_desc isprivate="0">
            <who>galtgendo@o2.pl</who>
            <bug_when>2007-12-19 15:58:46 0000</bug_when>
            <thetext>I don&apos;t know, if it&apos;s a bug. If it is, I don&apos;t know if it&apos;s in rox-session, rox-lib or dev-lang/python&apos; logging.py.
For quite awhile (over a year) I&apos;ve been getting traceback at rox-session start.
It did not prevent rox-session from running, was annoying nevertheless.
Lately I&apos;ve decided to ask a question about it on rox-devel.
I did not received a full answer, but something came up.
I was advised to change in logging.py
msg = msg % self.args
to 
msg = repr([msg] + self.args)
That was giving a traceback too, but when I change it to
msg = repr ([msg].extend(self.args))
traceback was gone and the message printed was
WARNING:root:None
So does anybody have an idea if it&apos;s a bug, and if so, which package gives it ?

As a sidenote, does anybody know a way to view all sourceforge lists online, cause the problem I had with rox-devel happens on other lists too, and not all are on gmane (at least, I don&apos;t think they are) ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>znmeb@cesmail.net</who>
            <bug_when>2008-01-04 04:39:07 0000</bug_when>
            <thetext>I&apos;m just starting to test ROX -- you seem to have gotten further than I have. I can&apos;t even get the window manager to come up. See bug 204239</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lack@gentoo.org</who>
            <bug_when>2008-01-04 21:44:45 0000</bug_when>
            <thetext>&gt; Lately I&apos;ve decided to ask a question about it on rox-devel.
&gt; I did not received a full answer, but something came up.

Yes, I saw this there - Very curious, especially your latest result incorporating Thomas&apos;s latest suggestion.

What does the following command return when on your system:

$ grep &apos;failed:&apos; /usr/lib/rox/ROX-Session/*.py

I hope your answer *should* rule out any bug in the way Gentoo installed ROX-Session.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>galtgendo@o2.pl</who>
            <bug_when>2008-01-04 22:57:23 0000</bug_when>
            <thetext>Well, it returns:
/usr/lib/rox/ROX-Session/xsettings.py:			warn(&apos;%s failed: %s&apos;, (cmd[0], exc))
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>galtgendo@o2.pl</who>
            <bug_when>2008-01-04 23:01:30 0000</bug_when>
            <thetext>And (I failed to mention it in upstream post) same warning as for xset is printed for xgamma (I got it after I removed logging.pyo, so that&apos;s why it&apos;s missing there).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lack@gentoo.org</who>
            <bug_when>2008-01-18 13:43:41 0000</bug_when>
            <thetext>Here&apos;s a useful fix:  I&apos;ll just make rox-session include xset and xgamma.  I know this isn&apos;t *really* a fix of the logging issue, which should be resolved by upstream.  But it should get rid of the errors if xset and xgamma are available for rox-session to run.

Once the changes hit the rsync mirrors, reinstall rox-session-0.30-r3 (Check first to ensure that this reinstall will install xset and xgamma).  Or alternatively, you can just run this:

  emerge xset xgamma

Hopefully that will make things better on your system.

I&apos;m not sure what I can do about the other logging issue, but I&apos;ll keep this bug open until it is solved.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>galtgendo@o2.pl</who>
            <bug_when>2008-01-18 14:42:29 0000</bug_when>
            <thetext>Well, the catch is, though xgamma is not on my system, xset is.
More details:
at this time (while xgamma is not emerged) warning for xgamma is:
WARNING:root:xgamma failed
(so OK)
for xset it&apos;s the one with `interrupted system call` and it&apos;s printed twice, so this may be some race condition. So I don&apos;t think emerging xgamma will fix this.
So this are two bugs: one for logging.py and one for this &apos;possible race condition or something&apos;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>galtgendo@o2.pl</who>
            <bug_when>2008-02-14 13:40:21 0000</bug_when>
            <thetext>If, for some reason, somebody is still following this bug, you should know that the traceback part has been solved on sourceforge list (too minor for a new release). It was a simple typo in one of rox-session files.
The &apos;errno 4&apos; part is still there, my uneducated guess is it&apos;s some kind of race condition, but that doesn&apos;t bug me as much as the traceback did.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lack@gentoo.org</who>
            <bug_when>2008-02-21 13:52:27 0000</bug_when>
            <thetext>Okay, I have incorporated upstream&apos;s logging patch into rox-base/rox-session-0.30-r4

Enjoy!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>