[Bug 242978] Re: Commit fails for user other than the user owning X

2008-12-04 Thread Jelmer Vernooij
*** This bug is a duplicate of bug 279486 ***
https://bugs.launchpad.net/bugs/279486

** This bug has been marked a duplicate of bug 279486
   bzr pull: X11 initialization failed.

-- 
Commit fails for user other than the user owning X
https://bugs.launchpad.net/bugs/242978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 242978] Re: Commit fails for user other than the user owning X

2008-09-18 Thread Stefan Lesicnik
I also receive this.

I wanted to test the peer to peer model of bzr.

I su - to a new user and run

bzr branch sftp://[EMAIL PROTECTED]/home/stefan/src/zlm

and i receive
[EMAIL PROTECTED]'s password: 
bzr: ERROR: dbus.exceptions.DBusException: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch 
D-Bus session: Autolaunch error: X11 initialization failed.


Traceback (most recent call last):
  File /usr/lib/python2.5/site-packages/bzrlib/commands.py, line 857, in 
run_bzr_catch_errors
return run_bzr(argv)
  File /usr/lib/python2.5/site-packages/bzrlib/commands.py, line 797, in 
run_bzr
ret = run(*run_argv)
  File /usr/lib/python2.5/site-packages/bzrlib/commands.py, line 499, in 
run_argv_aliases
return self.run(**all_cmd_args)
  File /usr/lib/python2.5/site-packages/bzrlib/builtins.py, line 866, in run
hardlink=hardlink, stacked=stacked)
  File /usr/lib/python2.5/site-packages/bzrlib/bzrdir.py, line 1100, in sprout
result, revision_id=revision_id)
  File /usr/lib/python2.5/site-packages/bzrlib/decorators.py, line 138, in 
read_locked
result = unbound(self, *args, **kwargs)
  File /usr/lib/python2.5/site-packages/bzrlib/branch.py, line 719, in sprout
self.copy_content_into(result, revision_id=revision_id)
  File /usr/lib/python2.5/site-packages/bzrlib/decorators.py, line 138, in 
read_locked
result = unbound(self, *args, **kwargs)
  File /usr/lib/python2.5/site-packages/bzrlib/branch.py, line 754, in 
copy_content_into
self._synchronize_history(destination, revision_id)
  File /usr/lib/python2.5/site-packages/bzrlib/branch.py, line 2277, in 
_synchronize_history
destination.set_last_revision_info(revno, revision_id)
  File /usr/lib/python2.5/site-packages/bzrlib/decorators.py, line 192, in 
write_locked
result = unbound(self, *args, **kwargs)
  File /usr/lib/python2.5/site-packages/bzrlib/branch.py, line 2096, in 
set_last_revision_info
self._run_post_change_branch_tip_hooks(old_revno, old_revid)
  File /usr/lib/python2.5/site-packages/bzrlib/branch.py, line 1634, in 
_run_post_change_branch_tip_hooks
hook(params)
  File /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/hook.py, line 46, 
in on_post_change_branch_tip
activity.Activity().advertise_branch(params.branch)
  File /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/activity.py, line 
71, in __init__
self.bus = _get_bus(bus)
  File /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/activity.py, line 
49, in _get_bus
return dbus.SessionBus()
  File /var/lib/python-support/python2.5/dbus/_dbus.py, line 217, in __new__
mainloop=mainloop)
  File /var/lib/python-support/python2.5/dbus/_dbus.py, line 106, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File /var/lib/python-support/python2.5/dbus/bus.py, line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed 
to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.


bzr 1.6 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'sftp://[EMAIL 
PROTECTED]/home/stefan/src/zlm']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_ZA.UTF-8'
plugins:
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb 
[2.0.0]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools 
[1.6.0]
  dbus /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus 
[unknown]
  gtk  /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk 
[0.95.0]
  launchpad
/usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.

-- 
Commit fails for user other than the user owning X
https://bugs.launchpad.net/bugs/242978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 242978] Re: Commit fails for user other than the user owning X

2008-09-10 Thread Anthony Fok
I experienced the same problem when I used bzr on remote server (no X)
on Debian sid.

The same issue was brought up recently on
http://irclogs.ubuntu.com/2008/09/02/%23ubuntu-devel.txt .  The
participants there found that the regression is caused by a change in
dbus.

The workaround, as suggested in the IRC log, is to uninstall bzr-dbus
for the time being.

** Changed in: bzr-dbus
   Status: New = Confirmed

-- 
Commit fails for user other than the user owning X
https://bugs.launchpad.net/bugs/242978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 242978] Re: Commit fails for user other than the user owning X

2008-06-25 Thread Aaron Bentley
** Also affects: bzr-dbus
   Importance: Undecided
   Status: New

** Changed in: bzr (Ubuntu)
   Status: New = Invalid

-- 
Commit fails for user other than the user owning X
https://bugs.launchpad.net/bugs/242978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs