[Bug 417824] Re: Gnome-panel loads very late after session start

2011-07-13 Thread Martijn van Brummelen
*** This bug is a duplicate of bug 271258 ***
https://bugs.launchpad.net/bugs/271258

Problem still excists on LTS2

 gnome-power-manager --verbose --no-daemon 21 | tee gpm.debug.log.txt

(gnome-power-manager:2280): GLib-GObject-WARNING **:
/build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2273: signal `proxy-
status' is invalid for instance `0x896b330'

** (gnome-power-manager:2280): WARNING **: Either HAL or DBUS are not
working!

** (gnome-power-manager:2280): WARNING **: proxy failed

** (gnome-power-manager:2280): WARNING **: failed to get Computer root
object

** (gnome-power-manager:2280): WARNING **: proxy NULL!!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417824

Title:
  Gnome-panel loads very late after session start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devicekit-power/+bug/417824/+subscriptions

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


[Bug 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread Martin Pitt
I cannot reproduce this behavior and I don't get the d-bus timeouts on
gnome-power-manager either. Can you please do these three commands in a
Terminal and check if any of them time out?

dbus-send --system --print-reply --dest=org.freedesktop.DeviceKit.Power
/org/freedesktop/DeviceKit/Power org.freedesktop.DBus.Properties.GetAll
string:''

dbus-send --system --print-reply --dest=org.freedesktop.DeviceKit.Power
/org/freedesktop/DeviceKit/Power/Policy
org.freedesktop.DBus.Properties.GetAll string:''

dbus-send --system --print-reply --dest=org.freedesktop.DeviceKit.Power
/org/freedesktop/DeviceKit/Power/Wakeups
org.freedesktop.DBus.Properties.GetAll string:''

** Changed in: devicekit-power (Ubuntu)
   Status: New = Incomplete

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread mac_v
Those commands dont time out , as per Martin Pitt's suggestion to run 
dbus-monitor --system, i'm attaching the log.
I'v done the following steps:
$ killall gnome-power-manager
$ dbus-monitor --system 21 | tee dbus-monitor.log.txt
$ gnome-power-manager --verbose --no-daemon 21 | tee gpm.debug.log.txt

the gpm debug keeps repeating these 2 lines :

(gnome-power-manager:31208): devkit-power-gobject-WARNING **: Couldn't
enumerate devices: Did not receive a reply. Possible causes include: the
remote application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network connection
was broken.

(gnome-power-manager:31208): devkit-power-gobject-WARNING **: Error
invoking GetAll() to get properties: Did not receive a reply. Possible
causes include: the remote application did not send a reply, the message
bus security policy blocked the reply, the reply timeout expired, or the
network connection was broken.


Attaching the dbus-monitor output.

** Attachment added: dbus-monitor.log.txt
   http://launchpadlibrarian.net/31309002/dbus-monitor.log.txt

** Changed in: devicekit-power (Ubuntu)
   Status: Incomplete = New

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread mac_v
While running the dbus-monitor also tried to open update-manager and
power manager prefs.

So something about those might be there in the log too.

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread Martin Pitt
I don't think it's a D-Bus ACL problem, the default policy is alright. I
suspect that doing that call might crash devkit-power-daemon. If that
dbus-send call reproduces the bug, please do

  sudo killall devkit-power-daemon
  sudo /usr/lib/devicekit-power/devkit-power-daemon -v 21 | tee /tmp/dkp.log

switch to another terminal, do above dbus call, and then check whether
this crashes the devkit-power-daemon process. Please attach /tmp/dkp.log
if it does.

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread Martin Pitt
OK, I checked the code in dkp_client_enumerate_devices_private() which
throws that timeout, and it tries this D-Bus call:

$ dbus-send --system --print-reply --dest=org.freedesktop.DeviceKit.Power 
/org/freedesktop/DeviceKit/Power 
org.freedesktop.DeviceKit.Power.EnumerateDevices
method return sender=:1.24 - dest=:1.86 reply_serial=2
   array [
  object path /org/freedesktop/DeviceKit/Power/devices/line_power_AC
   ]

What does it print for you? Does it time out?

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread Martin Pitt
I don't think this is a panel bug, closing for now.

** Changed in: gnome-panel (Ubuntu)
   Status: New = Invalid

** Changed in: devicekit-power (Ubuntu)
   Status: New = Incomplete

** Changed in: devicekit-power (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread mac_v
I first ran the dbus command , it *did* give a reply ,somewhat similar
to what you have posted above in comment #10

so then i did:
$sudo killall devkit-power-daemon
$sudo /usr/lib/devicekit-power/devkit-power-daemon -v 21 | tee /tmp/dkp.log

$ dbus-send --system --print-reply --dest=org.freedesktop.DeviceKit.Power 
/org/freedesktop/DeviceKit/Power 
org.freedesktop.DeviceKit.Power.EnumerateDevices
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible 
causes include: the remote application did not send a reply, the message bus 
security policy blocked the reply, the reply timeout expired, or the network 
connection was broken.

now it failed. 
attaching the /tmp/dkp.log

** Attachment added: dkp.log
   http://launchpadlibrarian.net/31309636/dkp.log

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread Martin Pitt
*** This bug is a duplicate of bug 271258 ***
https://bugs.launchpad.net/bugs/271258

Thanks for the ssh access. I confirmed that dk-p doesn't crash, but just
suffers from a lot of delays from system calls due to problems with the
webcam:

[92197.690399] vc032x: I2c Bus Busy Wait 2c
[92197.690406] vc032x: Unknown sensor...
[92197.690439] vc032x: probe of 1-8:1.0 failed with error -22
[92197.690563] usb 1-8: USB disconnect, address 26
[92197.929053] usb 1-8: new high speed USB device using ehci_hcd and address 27
[92198.088360] usb 1-8: configuration #1 chosen from 1 choice
[92198.089233] gspca: probing 046d:0892
[92198.089633] vc032x: check sensor header 2c
[92198.115266] vc032x: I2c Bus Busy Wait 2c

(repeated over and over)

When gspca_vc032x gets blacklisted, everything works normally.

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-09-04 Thread Martin Pitt
*** This bug is a duplicate of bug 271258 ***
https://bugs.launchpad.net/bugs/271258

** This bug has been marked a duplicate of bug 271258
   Acer Orbicam gspca's module fails

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-08-25 Thread Pedro Villavicencio
** Changed in: gnome-panel (Ubuntu)
   Importance: Undecided = Low

** Changed in: devicekit-power (Ubuntu)
   Importance: Undecided = Low

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-08-23 Thread mac_v

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/30701331/Dependencies.txt

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-08-23 Thread mac_v
Another issue , is the system shutdown icon is missing from the panel , since 
the FUSA is still being reworked , the user-switch-applet doesnt have a 
shutdown option. 
At present shutdown/reboot only from the terminal is possible.

** Description changed:

  Binary package hint: gnome-panel
  
  In Karmic , gnome-panel starts very late after every session login.
  
  I have tried this with different user profiles and new user profiles and 
always gnome-panel has a delay of nearly 1 min
  - to properly display the panel 
  - to respond to user interaction[clicking on the panel doesnt respond]
  - load icons and populate the notification area.[wireless and battery status]
  
  This is new behavior i notice only in Karmic and is a regression from
  Jaunty where panel worked fine without such lags
+ 
+ when running gnome-panel from terminal :
+ ~$ gnome-panel
+ 
+ (gnome-panel:4946): Gdk-WARNING **:
+ /build/buildd/gtk+2.0-2.17.7/gdk/x11/gdkdrawable-x11.c:952 drawable is
+ not a pixmap or window
+ 
+ ** (gnome-panel:4946): WARNING **: Could not ask session manager if shut
+ down is available: Did not receive a reply. Possible causes include: the
+ remote application did not send a reply, the message bus security policy
+ blocked the reply, the reply timeout expired, or the network connection
+ was broken
  
  ProblemType: Bug
  Architecture: i386
  Date: Mon Aug 24 00:54:32 2009
  DistroRelease: Ubuntu 9.10
  Package: gnome-panel 1:2.27.4-0ubuntu6
  ProcEnviron:
   LANGUAGE=en_US.UTF-8
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-6.26-generic
  SourcePackage: gnome-panel
  Uname: Linux 2.6.31-6-generic i686

** Tags added: regression-potential

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-08-23 Thread Chris Coulson
Thank you for your bug report. I can't reproduce this though. The error
messages there suggest that the session manager cannot be contacted
(which explains the panel delay and lack of shutdown options).

How are you starting your session? You're just using a standard
configuration (with GDM) right?

** Changed in: gnome-panel (Ubuntu)
   Status: New = Incomplete

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-08-23 Thread mac_v
I do a regular session start with auto login.

Luckily i caught Chris on irc :)
other info
~$ env | grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-O5fzOQAWbm,guid=c89acb85b14c09506690a54a4a91b08d

~$ ck-list-sessions
Session1:
unix-user = '1000'
realname = 'Vishnoo'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2009-08-23T21:11:39.592045Z'
login-session-id = ''

~$  dbus-send --session --dest='org.gnome.SessionManager' --print-reply 
--type=method_call /org/gnome/SessionManager 
org.gnome.SessionManager.CanShutdown
method return sender=:1.3 - dest=:1.88 reply_serial=2
   boolean true

Attaching the gnome-session log from a failsafe xterm session
 ~$ gnome-session --debug 21 | tee gnome-session-debug.log


** Attachment added: gnome-session-debug.log
   http://launchpadlibrarian.net/30704202/gnome-session-debug.log

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-08-23 Thread mac_v
And the .xsession-errors file

** Attachment added: .xsession-errors
   http://launchpadlibrarian.net/30704333/.xsession-errors

** Changed in: gnome-panel (Ubuntu)
   Status: Incomplete = New

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-08-23 Thread mac_v
** Also affects: devicekit-power (Ubuntu)
   Importance: Undecided
   Status: New

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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 417824] Re: Gnome-panel loads very late after session start

2009-08-23 Thread mac_v
Running $ gnome-power-manager --verbose
(gnome-power-manager:26070): devkit-power-gobject-WARNING **: Couldn't 
enumerate devices: Did not receive a reply. Possible causes include: the remote 
application did not send a reply, the message bus security policy blocked the 
reply, the reply timeout expired, or the network connection was broken.

(gnome-power-manager:26070): devkit-power-gobject-WARNING **: Error
invoking GetAll() to get properties: Did not receive a reply. Possible
causes include: the remote application did not send a reply, the message
bus security policy blocked the reply, the reply timeout expired, or the
network connection was broken.

These two errors keep repeating

I also notice a delay when I select from the panel , 
- update manager 
- logout or any option from the user-switch-applet
- power management preferences

I guess all these call upon the power status and keep waiting.

-- 
Gnome-panel loads very late after session start
https://bugs.launchpad.net/bugs/417824
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