com.ubuntuone.Authentication by ubuntuone-client-applet

Bug #485824 reported by Harald Sitter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Medium
dobey
ubuntuone-client (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ubuntuone-client

As discussed on IRC, com.ubuntuone.Authentication should be provided by the oauthdesktop dbus service, rather than ubuntuone-client-applet.

Relevant parts of discussion:
<verterok> apachelogger: it's provided by the oauthdesktop dbus service
<verterok> apachelogger: if oauthdesktop dbus service starts the applet, that's *BUG* :)
<apachelogger> verterok: [D-BUS Service]
<apachelogger> Name=com.ubuntuone.Authentication
<apachelogger> Exec=/usr/bin/ubuntuone-client-applet
<apachelogger> that is what my /usr/share/dbus-1/services/com.ubuntuone.Authentication.service says
<verterok> apachelogger: ok, please could you file a bug about this? :D

Some background information:
I am working on implementing a KDE UI in C++, but since the auth magic is implemented in python, I'd need a way to invoke the authentification without further UI interaction (i.e. dbus call). Currently however the applet itself takes care of the autentification making it a whole lot more difficult for me to implement the port without either using the Python C api or providing a python helper that takes care of the authentification process.

In addition the current behaviour also prevents running the daemon without UI, which could be interesting for low performance systems.

Tags: desktop+

Related branches

Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Hi,

Thanks for reporting this!

The oauthdesktop service is implemented, but the .service file should point to a launcher script, e.g:

#!/usr/bin/env python
from ubuntuone.oauthdesktop import main

if __name__ == '__main__':
    main.main()

Changed in ubuntuone-client:
status: New → Triaged
tags: added: desktop+
Changed in ubuntuone-client:
assignee: nobody → John Lenton (chipaca)
Changed in ubuntuone-client (Ubuntu):
status: New → Triaged
dobey (dobey)
Changed in ubuntuone-client:
assignee: John Lenton (chipaca) → Rodney Dawes (dobey)
dobey (dobey)
Changed in ubuntuone-client:
importance: Undecided → Medium
Changed in ubuntuone-client (Ubuntu):
status: Triaged → Invalid
dobey (dobey)
Changed in ubuntuone-client:
status: Triaged → In Progress
dobey (dobey)
Changed in ubuntuone-client:
status: In Progress → Fix Committed
dobey (dobey)
Changed in ubuntuone-client:
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.