/srv/irclogs.ubuntu.com/2010/08/25/#ubuntuone.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
duffydackhmm http://aeric.poon.my/?p=496   might mean something to someone.00:32
=== dendrobates is now known as dendro-afk
dnielsenajmitch, I apologize for the delay https://bugzilla.gnome.org/show_bug.cgi?id=62696201:14
ubot4Gnome bug 626962 in Community Extensions "Ubuntu One Music Store extension fails to build" [Normal,Resolved: notgnome]01:14
=== dendro-afk is now known as dendrobates
=== JUMPA is now known as jumpa
=== jumpa is now known as JUMPA
=== teknico is now known as teknico_away
=== dendrobates is now known as dendro-afk
Chipacaapachelogger: nessita: rodrigo_: ping14:20
apacheloggerChipaca: ahoy14:21
nessitaChipaca: pong14:22
Chipacanessita: rodrigo_:14:23
Chipaca<apachelogger> nessita, verterok: any objections against uploading my gsoc KDE stuff to universe for maverick?14:23
Chipaca (that is if it gets a FFe)14:23
ChipacaI wanted to check apachelogger was working with all the latest bugfixes14:23
verterokChipaca: +114:23
nessitaChipaca: I'm not aware of what apachelogger has been working on14:24
rodrigo_apachelogger, what does that include?14:24
nessitabesides "KDE" :-)14:24
Chipacanessita: quite. So, talk with him :)14:24
verterokChipaca: we need to be sure about the sso dbus signals :)14:24
apacheloggerhttp://apachelog.wordpress.com/2010/08/21/ubuntu-one-technical-aspects/14:24
rodrigo_apachelogger, remember the kwallet patch you submitted is going to be removed in the next upload (today), so you might want to make sure you add that to ubuntu-sso-client14:24
apacheloggerdo I have something to patch against?14:25
apacheloggerseeing as my patch was rejected due to sso being in a constant state of flux14:25
Chipacaapachelogger: also note we can't merge your patch upstream until you sign the canonical contributor agreement (if you want to do that)14:25
rodrigo_apachelogger, ubuntu-sso-client, should be stable now for you to patch it14:25
rodrigo_apachelogger, about the UI, we even added DBus interfaces to u-sso-client to allow other UIs to be implemented14:27
apacheloggerChipaca: last I saw the agreement I got advised not to sign it... so...14:28
Chipacaapachelogger: by whom?14:28
apacheloggera lawyer friend of mine14:28
Chipacaapachelogger: okie then :)14:29
nessitaChipaca: I'm not sure what you want me to look :-)14:30
nessitaChipaca: do we have a merge proposal to review?14:30
rodrigo_nessita, http://apachelog.wordpress.com/2010/08/21/ubuntu-one-technical-aspects/14:30
apacheloggersupposedly we could just use ubuntu-sso-client as is in KDE too?14:31
apacheloggeri.e. only deploy the UI components (based on syncdaemon's dbus interface) in maverick14:32
rodrigo_apachelogger, there is a low-level DBus interface in u-sso-client that you could use to provide a QT ui14:32
nessitaapachelogger: we provide a DBus interface and you could build a KDE GUI on top of that14:33
rodrigo_apachelogger, we added that in fact based on your needs to have a QT UI14:33
Chipacanessita: so... I'm not sure what apachelogger's current work entails, but I thought the easiest way to get him an answer as to whether it should/could go in universe.14:33
nessitaapachelogger: let me give you a pointer14:33
Chipacanessita: or rather, I'm pretty sure it shouldn't, for the reasons I think you're explaining (that I already explained), but you could get into more detail than i can14:33
nessitaalecu: do you have the wiki pointer for ussoc?14:33
apacheloggernessita: do we need to create a Qt UI on top of it?14:34
alecunessita, yes... just a sec.14:35
* apachelogger finds it unlikely to roll out a somewhat stable UI in time to accumulate testing for maverick14:35
Chipacaapachelogger: what we could do is split ubuntu-sso-client into ubuntu-sso-client and ubuntu-sso-client-gtk, and you patch the former and replace the latter with -qt14:35
nessitaChipaca: the latter you meant?14:36
Chipacanessita: patch the former to also use kwallet14:36
nessitaah14:36
nessita:-)14:36
alecuhttps://wiki.ubuntu.com/SingleSignOn/UbuntuSsoClient14:36
alecunessita, but that's the doc for programs that need credentials14:37
nessitaapachelogger: ok, the link that alecu pasted shows the high level DBUS interface. I forgot we haven't documented yet the "low-level" interface that the GUI's use14:37
alecunessita, yup, we still need to write the docs for someone wanting to login/register14:38
alecu* to make a login/register ui14:38
nessitaapachelogger: so, basically, SSO provides a DBUS service with 2 main interfaces: the Credentials which is what we call "high level" (apps like syncdaemon use them)14:39
nessitaapachelogger: and the UserManagement, which is a lower level interface, that is used by the GTK GUI14:39
nessitaapachelogger: and that any other interface (let's say, KDE), can use to provide the same functionality14:40
ryenessita, hi, i wanted to ask what is the correct way for up-to-date maverick system to authorize the machine. In my case a browser window is opened when I run ubuntuone-preferences, should it be this way or I should get a GUI for that?14:57
apacheloggernessita: sso-client package misses recommends on gnome-keyring14:58
nessitarye: we're landing the latests versions for everything, do you have trunk for all?14:58
nessitaapachelogger: why should it recommend it?14:58
apacheloggernessita: because you only support gnome-keyring14:59
=== zyga is now known as zyga-us-visa-stu
nessitaapachelogger: we have the requirement of python-keyring, which requires gnome-keyring15:00
nessitaapachelogger: so I don't understand why we need to "recommed" gnome-keyring being that we need it to work (at least the current version)15:00
apacheloggerme@osiris:~$ apt-cache show python-gnomekeyring|grep gnome-keyring15:00
apacheloggerDepends: libc6 (>= 2.4), libglib2.0-0 (>= 2.12.0), libgnome-keyring0 (>= 2.20.3), python (<< 2.7), python (>= 2.6), python-support (>= 0.90.0), python-gtk215:00
apacheloggerSuggests: gnome-keyring15:00
apacheloggerI beg to differ15:00
nessitaChipaca: what was the command you taught me to see package dependencies?15:01
Chipacanessita: apt-get rdepends?15:01
nessitalet's see15:01
Chipacanessita: or apt-cache putty :)15:02
Chipacanot putty, dotty15:02
Chipacaoff-by-18015:02
apacheloggerrdepends has a misleading name, it lists reverse relations rather than depends in particular BTW15:02
nessitaChipaca: E: Invalid operation (for rdepends) :-)15:03
apacheloggernessita: apt-cache, not get :P15:03
nessitaapachelogger: "libgnome-keyring0" -> "gnome-keyring";15:03
nessitaapachelogger: so, "python-gnomekeyring" -> "libgnome-keyring0"; and "libgnome-keyring0" -> "gnome-keyring";15:03
nessitaapachelogger: we do depend on gnome-keyring :-)15:04
apacheloggerme@osiris:~$ apt-cache show libgnome-keyring0 | grep gnome-keyring | grep -v libgnome15:04
apacheloggerSuggests: gnome-keyring15:04
apacheloggerBreaks: gnome-keyring (<< 2.30)15:04
apacheloggerI again beg to differ15:04
nessitaapachelogger: what I showed you is the output of apt-cache dotty python-gnomekeyring15:05
apacheloggerdotty also tracks relations and not dependencies in particular15:05
nessitaapachelogger: I'm new at packaging, so I probably made a mistake (or ten), but honestly I'm not convinced of this15:06
nessitaapachelogger: how come python-gnomekeyring does not depend of gnome-keyring? that sounds weird15:06
apacheloggerbecause it only depends on the library and the library only suggest gnome-keyring15:07
apacheloggerI am sure there is a reason for that15:07
apacheloggerbut why exactly you will have to ask someone who has to do with those packages15:07
apacheloggernot exactly my area of work either :P15:07
nessitaheh15:09
nessitarye: hey, you never answered15:26
ryenessita, i am running bleading-edge maverick , not the version from trunk15:28
=== JanC_ is now known as JanC
rodrigo_anyone knows about glibc brokenness on latest maverick packages? I seem to be having weird memory corruption bugs, and after 1 hour looking at my code, it doesn't seem to be my fault15:52
ryerodrigo_, are you talking about nautilus plugin?16:06
rodrigo_rye, I am talking about a nautilus plugin branch I'm working on, yes16:07
rodrigo_it's segfaulting on a g_free call16:08
ryerodrigo_, related to _CBData ?16:11
rodrigo_rye, no16:12
rodrigo_rye, it's crashing here:16:12
rodrigo_if (finfo->priv->path != NULL)16:12
rodrigo_g_free (finfo->priv->path);16:12
ryerodrigo_, is finfo->priv != NULL ?16:13
rodrigo_rye, it should, yes16:13
rodrigo_it's crashing on the g_free16:14
=== zyga-us-visa-stu is now known as zyga
rodrigo_aha, I found it!!16:23
rodrigo_stupid copy&paste16:24
=== dendro-afk is now known as dendrobates
rodrigo_alecu, nessita, Chipaca: https://code.edge.launchpad.net/~rodrigo-moya/ubuntuone-client/check-published-files/+merge/3366016:52
=== rye changed the topic of #ubuntuone to: Ubuntu One services will be unavailable for 30 min starting at 17:00 UTC | Need assistance? Review the Status and the FAQ first: https://wiki.ubuntu.com/UbuntuOne/Status and https://wiki.ubuntu.com/UbuntuOne/FAQ
=== dendrobates is now known as dendro-afk
alecurodrigo_, reviewing your branch17:13
=== beuno is now known as beuno-lunch
=== nessita is now known as nessitalunch
apacheloggernessitalunch: I am getting a segfault with ubuntu-sso-client17:26
trichardhey, is there any way to see which file ubuntuone is syncing at the moment?17:32
=== dendro-afk is now known as dendrobates
=== beuno-lunch is now known as beuno
=== dendrobates is now known as dendro-afk
=== nessitalunch is now known as nessita
nessitaapachelogger: can you please be more specific? :-)18:39
apacheloggernessita: trying to login -> backend goes down with segfault18:45
nessitaapachelogger: how are you trying to login?18:45
apacheloggerlast log entry: 2010-08-25 18:26:15,602:602.580070496 ubuntu_sso.main keyring_store_credentials: app_name dbus.String(u'Ubuntu').18:45
apacheloggernessita: using the GTK UI18:45
nessitaapachelogger: how are you running the GTK UI?18:45
apacheloggerfrom terminal without args18:46
nessitaapachelogger: you're having a mismatch between the version of the UI and the version of the daemon18:46
nessitabe sure you're running both from the same branch18:47
apacheloggerI am running from the packages18:47
nessitaapachelogger: you shouldn't be running the GUI other than from a dbus call18:47
nessitaapachelogger: can you paste how are you running the GUI?18:47
nessitathe exact command18:47
apacheloggerme@osiris:~$ ubuntu-sso-login-gui18:48
apacheloggerand in another tab18:48
apacheloggerme@osiris:~$ /usr/lib/ubuntu-sso-client/ubuntu-sso-login18:48
nessitaapachelogger: where are you getting the  ubuntu-sso-login-gui from? is not shipped in the package18:49
nessitaapachelogger: that script is not supported (just FYI)18:49
nessitaapachelogger: we will be removing it soon18:49
apacheloggerme@osiris:~$ dpkg -L ubuntu-sso-client | grep login-gui18:50
apachelogger/usr/bin/ubuntu-sso-login-gui18:50
apacheloggerit is shipped in the package18:50
nessitaapachelogger: it shouldn't be, I'll file a bug. Thanks for pointing this out!18:51
apacheloggernessita: how should one be starting the gui?18:51
nessitaapachelogger: anyways, you should raise the GUI using Dbus18:51
nessitaapachelogger: use d-feet or something similar to call the dbus method18:51
nessitaapachelogger: the methods you want are in the Credentials interface. Either "login_or_register_to_get_credentials" or "login_to..."18:52
apacheloggerk18:52
apacheloggernessita: http://paste.ubuntu.com/483561/19:00
nessitaapachelogger: you don't have the gnome keyring available19:00
nessitaapachelogger: I'm a bit lost what your question is19:01
apacheloggerwhat part is supposed to create it though?19:01
nessitaapachelogger: the keyring is a dbus service19:01
* apachelogger has a default keyring, it just seems that it falls over not having a login keyring19:01
nessitaalecu: look ^19:01
apacheloggerme@osiris:~$ qdbus org.gnome.keyring19:01
apachelogger/19:02
apacheloggergnome keyring is there19:02
nessitaapachelogger: ah yes, sorry19:02
apacheloggeralso in seahorse I can access it properly19:02
=== teknico is now known as teknico_away
nessitaapachelogger: I'm just passing this to al19:02
nessitaalecu*19:02
apacheloggeraye19:02
nessitaapachelogger: we have a bug reported for that19:02
alecuI'm about to start working on this issue, yes19:02
apacheloggersimply creating a login keyring should suffice to work around it?19:03
alecuit's #62403319:03
* apachelogger finds "login" a bit of a generic name TBH19:03
nessitaapachelogger: not sure, let the master answer19:03
apacheloggernessita: segfault again19:04
apacheloggerlast line of log: 2010-08-25 20:04:16,309:309.218883514 ubuntu_sso.main keyring_store_credentials: app_name dbus.String(u'ubuntuone-syncdaemon').19:04
nessitaapachelogger: may be related to not having the keyring available?19:05
apacheloggerI created one :P19:05
nessitahum19:05
apacheloggerthat is after I obtained a token19:05
nessitaapachelogger: just FYI, app_name should be "Ubuntu One", which is a constant defined in ubuntuone.clientdefs19:05
nessitaapachelogger: so the token actually works with syncdaemon19:05
apacheloggerk19:06
apacheloggerwell, since it crashes anyway... ;)19:06
alecuapachelogger, "login" is the keyring that's automatically unlocked by some pam module using your login in password when you have just logged in with gdm.19:07
apacheloggeralecu: I c19:07
apacheloggerthat is bound to fail on KDE systems19:07
apacheloggeror you are missing a dep for that19:07
alecuapachelogger, which dep do you think might solve this?19:08
apacheloggerdunno19:08
apacheloggerI never heared of such a pam module before19:08
alecuapachelogger, also it's failing on some gnome systems that have a keyring named "default" but no "login" keyring.19:09
alecuapachelogger, it's lib-pam-gnomekeyring19:09
apacheloggerinstalled19:10
apacheloggerhttp://live.gnome.org/GnomeKeyring/Pam19:10
apacheloggerlogin gets created if not present19:10
apacheloggerbut it seems KDM will not include the PAM module19:10
apachelogger(which IIRC was also the problem that early on lucid was not able to start gnome-keyring in KDE - in GNOME it did get autostarted frome the module but in KDE not)19:11
rodrigo_apachelogger, I think that's your pam setup, nothing to do with kdm19:11
rodrigo_but yeah, you'd need gnome-keyring autostarted19:11
=== dendro-afk is now known as dendrobates
apacheloggerme@osiris:/etc/pam.d$ grep -ri gnome_key .19:16
apachelogger./common-password:password      optional        pam_gnome_keyring.so19:16
apacheloggerno autostart -> no login keyring19:16
apacheloggeralecu: I would check for existance of the keyring and if not manually create it19:17
=== rye changed the topic of #ubuntuone to: Need assistance? Review the Status and the FAQ first: https://wiki.ubuntu.com/UbuntuOne/Status and https://wiki.ubuntu.com/UbuntuOne/FAQ | http://bit.ly/caHbOf for help on adding your computer | Then say "honk" for more help. Please be patient :) | https://one.ubuntu.com/
=== yofel_ is now known as yofel
kklimondarye: any chance I'll get access to my contacts before I get old and wrinkled? ;)19:46
ajmitchrodrigo_: so you've managed to track down how to fix up the mono bindings?20:09
* ajmitch was looking for a fix yesterday for it20:10
apacheloggernessita: want me to get a backtrace?20:13
rodrigo_ajmitch, not yet, busy with other stuff, but will look at it soon20:14
nessitaapachelogger: for the segfaulting? yes please20:19
nessitaapachelogger: also, you're running kde, right? (just to know)20:20
ajmitchrodrigo_: ok, you'll probably end up cursing gapi2-codegen's lack of useful output as I did :)20:21
apacheloggernessita: yes, I am running KDE20:23
rodrigo_ajmitch, yeah :(20:24
rodrigo_ajmitch, only output I get is something about not knowing what GtkVBoxClass is20:25
rodrigo_ajmitch, do you get the same?20:25
ajmitchyep20:25
ajmitchadding in the syncdaemon header header into ubuntuone.source generated C# files for at least that part, but still no useful u1ms code20:25
ajmitch& it of course failed to compile, not unsurprising20:25
ajmitchapparantly the gapi stuff hasn't seen a lot of love recently20:27
rodrigo_ajmitch, it used to work ok, and there have been no changes, so not sure what's up20:31
ajmitchthe only code changes to the u1ms widget recently have been adding in the syncdaemon support, but I'm not sure how that should affect it20:32
apacheloggernessita: http://paste.ubuntu.com/483608/20:32
ajmitchdiving into the gapi code to get some useful answers takes a little while20:33
rodrigo_ajmitch, in fact, it started happening when I removed the previous files that were talking to syncdaemon, to replace them with libsyncdaemon20:33
rodrigo_ajmitch, so not sure what doesn't make gapi happy20:33
ajmitchthe previous code didn't link to an external library (libsyncdaemon)?20:33
ajmitchit would seem rather strange if you did need to have any information about libsyncdaemon in the code for gapi to look at20:34
rodrigo_hmm20:35
rodrigo_but it's just internal usage, not in the headers it is supposed to be parsing20:35
rodrigo_or does gapi look at the .c files?20:35
ajmitchthe headers afaik20:36
rodrigo_yeah, that's what I thought20:36
ajmitchwithout useful output from the tool this is just speculation really20:37
ajmitch& frustrating at that :)20:38
rodrigo_Field ParentClass has unknown Type GtkVBoxClass in Struct UbuntuOne.U1MusicStoreClass20:38
rodrigo_yeah, that's the only thing I get20:38
ajmitchthat's boilerplate widget code you've got there too20:39
rodrigo_but I guess he should know UbuntuOne.U1MusicStoreClass is a GTK class struct20:39
nessitaapachelogger: I have no idea what's going on there, seems like a dbus issue20:39
nessitaapachelogger: maybe you have a too old/ too new dbus?20:39
nessitaapachelogger: maybe gnomekeyring depends on a different dbus than the one that kde provides?20:39
apacheloggerthere is only one dbus20:40
apacheloggerso either what is currently in maverick is broken or it is something else20:40
nessitaapachelogger: what's currently in maverick is working on gnome desktops20:40
nessitaapachelogger: do you have a gnome VM? maybe you can try there and see if it fails for you20:40
apacheloggerdont have one around20:42
rodrigo_ajmitch, well, that's the usual boilerplate for GTK widgets, so I'd assume gapi knows about it20:42
* ajmitch shall have to get back to it later20:48
rodrigo_ajmitch, in /usr/share/gapi-2.0/gtk-api.xml, there is no Gtk*Class at all, so not sure why it tries to parse the music store one :(20:51
ajmitchor more, why did it work up until now/20:52
* ajmitch will be back later20:53
* apachelogger pokes his dbus with a long pointy stick of fluff20:57
rodrigo_apachelogger, I just removed your kwallet patch from the u1-client package, since it didn't apply anymore21:53
rodrigo_ajmitch, for when you get back, I've succeeded in not having the GtkVBoxClass warning, but still doesn't create any .cs files21:54
* ajmitch is around now21:54
ajmitchso that warning may have been somewhat spurious?21:54
ajmitchfwiw, I can get a U1MusicStoreClass.cs created by commenting out the line that refers to parent_class in the .xml file21:55
rodrigo_ajmitch, unfortunately, seems so21:55
ajmitchI haven't checked to see if the assembly that is created is at all useful though21:55
rodrigo_ajmitch, hmm, maybe we can mark it to be removed on the ubuntuone-api.metadata file21:56
rodrigo_let me try...21:56
ajmitchthat would probably remove it, but I don't know if it should be21:56
ajmitchworth a try21:56
rodrigo_no, no luck :(21:58
apacheloggerrodrigo_: cruel world21:58
rodrigo_apachelogger, patch ubuntu-sso-client, as you talked with nessita21:59
apacheloggerhttp://simplest-image-hosting.net/jpg-0-plasma-desktoplm344622:08
rodrigo_ajmitch, so, you get something in ubuntuone-api.xml?22:09
rodrigo_ajmitch, right now, I get it empty22:09
ajmitchrodrigo_: empty after changing what?22:10
ajmitchat the moment I'm rebuilding the previous libubuntuone in a chroot to have a look at it22:10
rodrigo_ajmitch, empty when it gets generated22:10
rodrigo_ajmitch, ok22:10
ajmitchassuming that pbuilder will cooperate & let me into the chroot after it built22:15
ajmitchbut I can at least see that the gapi2-codegen output is different in the build log22:15
* ajmitch just needs to look at the xml file22:15
rodrigo_ajmitch, I'm looking at the gtk-sharp package, to see if anything changed there22:19
ajmitchnothing has changed there22:19
rodrigo_ah, you checked already?22:20
ajmitchit hasn't changed for quite awhile (last upload 14 weeks ago)22:20
ajmitchyeah, I've been complaining about the gapi stuff in the debian mono channel as well :)22:21
rodrigo_ok22:21
* ajmitch is wanting to get this as working as possible before uploading to debian experimental22:25
* ajmitch wonders why the ubuntuone-api.xml file is so very different between the 2 releases22:40
ajmitchin 0.3.2, it has object name="U1MusicStore", and in 0.3.3 it only gets the struct name="U1MusicStoreClass"22:40
apacheloggernessita: the gui uses gobject signals?22:41
ajmitchyet more evidence that gapi is just crap :)22:41
dobeyeh, let's just rewrite it all in vala, and not provide any bindings to anything ;)22:45
ajmitchdobey: can you get it done by next week? :)22:45
nessita apachelogger: yes22:46
dobeysure, but i don't measure time in earth days, so one week is actually 3 years in earth time, for me ;)22:48
ajmitchdobey: we were just discussing how it'd be nice to use gobject introspection for mono bindings, if you have a free evening to work on it :)22:56
dobeyme and mono don't mix well22:59
ajmitchit was worth a try23:02
ajmitchdon't worry, the gapi code that parses C at the moment is written in perl, which is such an improvement23:03
apacheloggernessita: why not dbus?23:07
dobeyeh, i like perl23:07
nessitaapachelogger: the GUI part is not a dbus service, is just a plain GTK interface, so it signals thru gobject23:08
apacheloggernessita: but the backend is a dbus service so the gui could just call a method of the backend's dbus api23:09
nessitaapachelogger: yeah, propably. We didn't design it that way, we should be able to re-think that for the next cycle23:13
=== dendrobates is now known as dendro-afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!