Should not exit on "--browser" use for compatibility reason

Bug #890071 reported by Bill Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
nautilus (Ubuntu)
Fix Released
Low
Unassigned
Precise
Fix Released
Low
Unassigned

Bug Description

As of Ubuntu 11.10, none of the folders will open if I choose them from the Places menu or from the Cairo dock. I can still open folders on my desktop and open the shortcuts from there. I upgraded from 11.04 and everything worked fine before that.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nautilus 1:3.2.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Nov 13 23:12:42 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
SourcePackage: nautilus
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (29 days ago)

Revision history for this message
Bill Baker (euphgeek) wrote :
Revision history for this message
Bill Baker (euphgeek) wrote :

Nautilus also works if I open it from the command line, but it does give the following error message:

Gtk-Message: Failed to load module "canberra-gtk-module"

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Bill Baker (euphgeek) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

there is no stacktrace there

does nautilus work fine for other users? do you have a .local/share/applications/mimeapps.list? does moving it away workaround the issue?

Revision history for this message
Bill Baker (euphgeek) wrote :

There is no stacktrace because nautilus does not crash. It just doesn't start when opening it from the Places menu or the Cairo dock.

Nautilus seems to work fine for other users. Moving ~/.local/share/applications/mimeapps.list away does nothing to fix the issue.

Revision history for this message
Sebastien Bacher (seb128) wrote :

there is backtrace because that log seems to indicate nautilus is running, could you use "nautilus --quit" then try again to get a stacktrace?

Revision history for this message
Bill Baker (euphgeek) wrote :

I can try, but as I said before, nautilus works fine if I open it from the command line. The only time it doesn't work is when I try opening it from the Places menu or the Cairo dock. If you still want me to do this, I'll do it tonight and post the results.

Revision history for this message
Bill Baker (euphgeek) wrote :
Revision history for this message
Bill Baker (euphgeek) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

ok, thanks for trying but those are still not useful, could you then run it from your dock and use the section for running program of https://wiki.ubuntu.com/Backtrace to get a gdb backtrace (stacktrace != strace, it's done using gdb)

Revision history for this message
Bill Baker (euphgeek) wrote :
Revision history for this message
Bill Baker (euphgeek) wrote :

I think this has to do with the following line:

Could not parse arguments: Unknown option --browser

I tried running "nautilus --browser" from the command line and got that same message. But the nautilus man page still lists it as a valid option.

Revision history for this message
Bill Baker (euphgeek) wrote :

I figured it out. I went through and edited all the nautilus*.desktop files and removed "--browser" from them. Now nautilus launches just fine from both the Places menu and Cairo dock. But that isn't an ideal solution for your average user. If the --browser option isn't going to be used anymore, maybe nautilus could just ignore it, rather than refusing to start.

Revision history for this message
Sebastien Bacher (seb128) wrote :

right, that does seem something we should support for compatibility for custom launchers

Changed in nautilus (Ubuntu):
status: Incomplete → New
summary: - Nautilus won't open from "Places" menu
+ Should not exit on "--browser" use for compatibility reason
Changed in nautilus (Ubuntu Precise):
status: New → Confirmed
Changed in nautilus (Ubuntu Precise):
status: Confirmed → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in nautilus (Ubuntu Precise):
status: Triaged → Fix Committed
Changed in nautilus:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:3.2.1-2ubuntu3

---------------
nautilus (1:3.2.1-2ubuntu3) precise; urgency=low

  * debian/patches/git_next_row.patch:
    - let navigate to the next row by pressing right at the end of the line
      (lp: #855862)
  * debian/patches/git_dont_document_browser_option.patch:
    - don't document the deprecated --browser option (lp: #890071)
  * debian/patches/git_browser_compat.patch:
    - don't exit with a "incorrect argument" error when --browser is used,
      keep it as a dummy compatibility option, some user config use it
      (lp: #890071)
 -- Sebastien Bacher <email address hidden> Thu, 08 Dec 2011 18:37:01 +0100

Changed in nautilus (Ubuntu Precise):
status: Fix Committed → 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.