Icon not in the right state

Bug #436723 reported by Elbarbudo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
Medium
Ubuntu One Client Engineering team

Bug Description

I opened "Ubuntu One" folder, put a file in it and hit the "connect" button.
My file appeared with a small cloud : OK

I then started the "Ubuntu one" application ; the icon was in the state "disconnected", but the menu showed the "disconnect" entry, and the "all files syncrcunized" as if I was connected. (which was the correct status)

Tags: desktop+
Revision history for this message
Elbarbudo (patricearnal) wrote :
Revision history for this message
Joshua Hoover (joshuahoover) wrote :

Hi PArnal,

You've been busy using Ubuntu One! I'm sorry things haven't been working as expected. Can you do the following to help us troubleshoot this issue better?

1) Run the following command from a terminal session: apport-collect -p ubuntuone-client 436723
2) Attach ~/.cache/ubuntuone/log/syncdaemon.log to this bug report

Note that attaching syncdaemon.log will show filenames you are attempting to sync with Ubuntu One. If you do not want this to be public, please mark the bug as private and this bug report will only be available to you and the Ubuntu One team.

Thank you,

Joshua

Changed in ubuntuone-client:
status: New → Incomplete
Revision history for this message
Elbarbudo (patricearnal) wrote :

Attached ~/.cache/ubuntuone/log/syncdaemon.log

and here is the result of apport-collect...
seems I misconfigured something...

patrice@grosbill:~$ apport-collect -p ubuntuone-client 436723
Logging into Launchpad...
Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 131, in <module>
    lp = login()
  File "/usr/bin/apport-collect", line 48, in login
    launchpad = Launchpad(credentials, launchpad_instance, cache_dir)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/launchpad.py", line 60, in __init__
    self._wadl = self._browser.get_wadl_application(self._root_uri)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/_browser.py", line 230, in get_wadl_application
    url, media_type='application/vd.sun.wadl+xml')
  File "/usr/lib/python2.6/dist-packages/launchpadlib/_browser.py", line 212, in _request
    raise HTTPError(response, content)
launchpadlib.errors.HTTPError: HTTP Error 401: Unauthorized
patrice@grosbill:~$

Revision history for this message
Joshua Hoover (joshuahoover) wrote :

Thank you PArnal for attaching the syncdaemon.log file. Normally, when you get an unauthorized error from running apport-collect it means the initial run of apport-collect did not get the correct permissions selected when prompted via a Launchpad web page. You can try this to fix the apport-collect issue:

1) rm ~/.cache/apport/launchpad.credentials
2) apport-collect -p ubuntuone-client 436723
3) When prompted in your web browser, click the "Change Anything" button (the last one in the list)
4) Go back to your terminal session and press "Enter"

Thank you,

Joshua

Revision history for this message
Elbarbudo (patricearnal) wrote : apport-collect data

.home.patrice..cache.ubuntuone.log.syncdaemon.exceptions.log:

Architecture: i386
CrashDB: ubuntuone
DistroRelease: Ubuntu 9.04
Package: ubuntuone-client 0.95.0+r213-0ubuntu1~ppa2~jaunty
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
ThirdParty: True
Uname: Linux 2.6.28-15-generic i686
UserGroups: adm admin audio cdrom dialout fuse lpadmin mail netdev plugdev sambashare video

Revision history for this message
Elbarbudo (patricearnal) wrote : Re: [Bug 436723] Re: Icon not in the right state

Joshua Hoover a écrit :
> Thank you PArnal for attaching the syncdaemon.log file. Normally, when
> you get an unauthorized error from running apport-collect it means the
> initial run of apport-collect did not get the correct permissions
> selected when prompted via a Launchpad web page. You can try this to fix
> the apport-collect issue:
>
> 1) rm ~/.cache/apport/launchpad.credentials
> 2) apport-collect -p ubuntuone-client 436723
> 3) When prompted in your web browser, click the "Change Anything" button (the last one in the list)
> 4) Go back to your terminal session and press "Enter"
>
> Thank you,
>
> Joshua
>

Done it, but it does not works :

from https://edge.launchpad.net/~patricearnal/+oauth-tokens :
> *
>
> Authorized applications
>
> 1. PArnal
> 2. Authorized applications
>
> These applications have been authorized to access Launchpad on your behalf. If you revoke an authorization, that application will not be allowed to do anything in Launchpad on your behalf.
> Claimed tokens:
>
> *
> Application name: apport-collect
>
> Authorized, 51 seconds ago, to change anything
>
>
> Unclaimed tokens:
> None

from my terminal :

> patrice@grosbill:~$ apport-collect -p ubuntuone-client 436723
> Logging into Launchpad...
> Downloading bug...
> Bug title: Icon not in the right state
> Collecting apport information for source package ubuntuone-client...
> Uploading additional information to Launchpad bug...
> short text data...
> attachment: .home.patrice..cache.ubuntuone.log.oauth.login.log.txt...
> Error connecting to Launchpad: HTTP Error 500: Internal Server Error
> You have to allow "Change anything" privileges.
> patrice@grosbill:~$

How long to propagate the right permissions everywhere???

Revision history for this message
John Lenton (chipaca) wrote :

Can you confirm whether this is still happening for you with the current client?
Thanks,

Changed in ubuntuone-client:
assignee: nobody → John Lenton (chipaca)
Revision history for this message
Elbarbudo (patricearnal) wrote :

John Lenton a écrit :
> Can you confirm whether this is still happening for you with the current client?
> Thanks,
>
> ** Changed in: ubuntuone-client
> Assignee: (unassigned) => John Lenton (chipaca)
>
Not reproduced with the latest version of U1.

But fiddling with the "connect button" in the Nautilus window, while U1
client is running may lead to the same result :
Icon "connected" / Nautilus "disconnected"

Seems that the Nautilus integration applet does not use the same check
than U1 client.

Revision history for this message
John Lenton (chipaca) wrote :

yes, the nautilus button seems to get confused very easily. If that isn't going away, we should fix it.

Changed in ubuntuone-client:
assignee: John Lenton (chipaca) → Rodney Dawes (dobey)
status: Incomplete → Triaged
tags: added: desktop+
dobey (dobey)
Changed in ubuntuone-client:
importance: Undecided → Medium
dobey (dobey)
Changed in ubuntuone-client:
assignee: Rodney Dawes (dobey) → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Revision history for this message
Elbarbudo (patricearnal) wrote :

As the icon disapeared in the latest versions, this bug disapeared too...

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.