gedit does not launch from command line

Bug #907820 reported by Vibhav Pant
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

I use Ubuntu 12.04 Alpha 1 and just noticed that gedi does not launch from the command line , but launches flawlessly from the dash
How do I reproduce the problem :
1. vibhav@vibhav-VirtualBox:~$ gedit path/to/file
                                            #yeah its absolutely blank , no output is displayed
2. When I launch gedit using dash , it launches perfectly but I get some output on the terminal
"** CRITICAL **: _gedit_app_get_window_in_viewport: assertion `GEDIT_IS_WINDOW (window)' failed"

3. And when I close the gedit session (launched by the dash) , my terminal (from which I launched gedit which was unresponsive) exits to bash

apt-cache policy gedit returns

gedit:
  Installed: 3.2.5-0ubuntu1
  Candidate: 3.2.5-0ubuntu1
  Version table:
 *** 3.2.5-0ubuntu1 0
        500 http://in.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gedit 3.2.5-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-2.5-generic 3.2.0-rc3
Uname: Linux 3.2.0-2-generic i686
ApportVersion: 1.90-0ubuntu1
Architecture: i386
Date: Thu Dec 22 21:28:40 2011
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111129.1)
ProcEnviron:
 LANGUAGE=en_IN:en
 PATH=(custom, no user)
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

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

Thank you for your bug report, does it start if you run it twice on the command line? i.e gedit & gedit?

Changed in gedit (Ubuntu):
importance: Undecided → Low
Revision history for this message
Vibhav Pant (vibhavp) wrote :

Yes it does when it is runs twice

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

seems something is wrong with your dbus environment then, do you run the commands locally or over ssh or something?

Revision history for this message
Vibhav Pant (vibhavp) wrote :

I just run the commands locally (no ssh)

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

is that still an issue? what desktop environment do you use?

Changed in gedit (Ubuntu):
status: New → Incomplete
Revision history for this message
Vibhav Pant (vibhavp) wrote :

After an update, this bug seems to have been removed. (btw , I am using Unity)

Changed in gedit (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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