nautilus plugins log status messages into ~/.xsession-errors

Bug #335867 reported by Hernando Torque
0
Affects Status Importance Assigned to Milestone
nautilus-image-converter (Ubuntu)
New
Undecided
Unassigned
nautilus-open-terminal (Ubuntu)
New
Undecided
Unassigned
nautilus-share (Ubuntu)
Fix Released
Undecided
Chow Loong Jin

Bug Description

Binary package hint: nautilus-share

Nautilus-share logs those two messages [coming from src/nautilus-share.c] to ~/.xsession-errors:

Initializing nautilus-share extension
Shutting down nautilus-share extension

I don't expect to see non-warning or non-error messages in ~/.xsession-errors.

nautilus-share:
  Installed: 0.7.2-0ubuntu7
  Candidate: 0.7.2-0ubuntu7
  Version table:
 *** 0.7.2-0ubuntu7 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Chow Loong Jin (hyperair) wrote :

I see this too. But with it I also see a whole set of other plugins doing this, such as nautilus-open-terminal among others.

Changed in nautilus-share:
assignee: nobody → hyperair
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Hernando Torque (htorque) wrote :

Problem is that GDM redirects all output to .xsession-errors so this is not a nautilus bug and I have no idea if this will get fixed. Maybe they should rename .xsession-errors to .xsession-debug.

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 335867] Re: Nautilus-share logs status messages to ~/.xsession-errors

On Fri, 2009-03-20 at 19:20 +0000, Hernando Torque wrote:
> Problem is that GDM redirects all output to .xsession-errors so this is
> not a nautilus bug and I have no idea if this will get fixed. Maybe they
> should rename .xsession-errors to .xsession-debug.
>
> ** Changed in: gdm (Ubuntu)
> Sourcepackagename: nautilus-share => gdm
>
Well I've included a patch that removes the verbose logging in a package
I've submitted to Debian, and is awaiting sponsors. I'm not very sure
whether I should though.
--
Chow Loong Jin

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: Nautilus-share logs status messages to ~/.xsession-errors

the gdm behaviour is correct, nautilus-share should not print non useful things

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 335867] Re: Nautilus-share logs status messages to ~/.xsession-errors

On Sat, 2009-03-21 at 10:48 +0000, Sebastien Bacher wrote:
> the gdm behaviour is correct, nautilus-share should not print non useful
> things
>
> ** Changed in: nautilus-share (Ubuntu)
> Sourcepackagename: gdm => nautilus-share
>
Well then this also affects some other nautilus plugins.

  summary "nautilus plugins log status messages into ~/.xsession-errors"
  affects ubuntu/nautilus-open-terminal
  status new
  affects ubuntu/nautilus-image-converter
  status new

These are all that I know of for now. If there are any more, it would be
good to add them.
--
Chow Loong Jin

Revision history for this message
Hernando Torque (htorque) wrote :

Im-switch - see: https://bugs.launchpad.net/ubuntu/+source/im-switch/+bug/335849
gnome-keyring - see: https://bugs.launchpad.net/gnome-keyring/+bug/335864 and http://bugzilla.gnome.org/show_bug.cgi?id=573691

I still don't understand how this is the package's fault if GDM or whoever redirects stdout to be printed to ~/.xsession-errors.

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 335867] Re: nautilus plugins log status messages into ~/.xsession-errors

On Sat, 2009-03-21 at 18:44 +0000, Hernando Torque wrote:
> Im-switch - see: https://bugs.launchpad.net/ubuntu/+source/im-switch/+bug/335849
> gnome-keyring - see: https://bugs.launchpad.net/gnome-keyring/+bug/335864 and http://bugzilla.gnome.org/show_bug.cgi?id=573691
>
> I still don't understand how this is the package's fault if GDM or
> whoever redirects stdout to be printed to ~/.xsession-errors.
>
I don't think it's stdout. It's stderr isn't it?
--
Chow Loong Jin

Revision history for this message
Chow Loong Jin (hyperair) wrote :

No wait I was mistaken. It does seem to be stdout after all. Only
nautilus-seahorse dumps it into stderr.
--
Chow Loong Jin

Revision history for this message
Chow Loong Jin (hyperair) wrote : Fixed in 0.7.2-4ubuntu1

  affects ubuntu/nautilus-share
  status fixreleased
--
Kind Regards
Chow Loong Jin

Changed in nautilus-share (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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