=== Urda_ is now known as Urda
alecujamesh, ping10:26
jameshalecu: hi.  I've replied to your email now.  Had it open earlier but hadn't finished it off.10:51
alecuhi jamesh, thanks!11:06
duanedesignhello rtgz11:33
rtgzduanedesign, hi!11:34
duanedesignhope you had a good weekend11:34
rtgzduanedesign, pretty nice, + 2 bugs :)11:34
rtgzerm, +1 bug, another one is duplicate. Nope, not that great :)11:35
rtgzduanedesign, and I got the following nice dialog from ubuntuone ppa: http://picasaweb.google.com/lh/photo/aN3amTKoEd7OfPiYWFO0kw?feat=directlink11:42
rtgzand I believe I know why appled dies and apport fires when applet is clicked11:42
rtgzit is ... tada! metadata loading that takes a lot of time for a big number of files11:44
duanedesignrtgz: isnt there a bug open for loading the meta data more effeiciently11:46
rtgzduanedesign, there is11:46
duanedesigni have never seen that dialog box, lol11:46
duanedesignrtgz: this weekend i worked on a bug graphing tool.11:47
rtgzduanedesign, i have never seen it either and i could not find the actual reason behind it and its intended purpose... Some text there would be good11:47
rtgzduanedesign, from lp bugs?11:47
duanedesignrtgz: yes, my first try was using data from the API11:47
rtgzPPA is broken11:48
* rtgz is installing pastebinit in vm to show how much it is broken11:49
rtgzduanedesign, btw, have you found a way to get bug id from searchTasks call?11:50
rtgzand syncdaemon stops syncing.11:52
rtgzbut if there are no shares, then it is probably working fine, until clicked on applet icon while metadata is loading for a very long time. Dbus exception is not handled and it BOOM, apports :)11:53
* rtgz needs to change irc nick once again :-/12:08
=== teknico is now known as teknico_away
=== teknico_away is now known as teknico
* rtgz needs pokable developers13:33
verterokrtgz: http://paste.ubuntu.com/371618/ it's fixed in trunk13:34
rtgzverterok, good, 'cause it is broken for everyone running ppa13:34
verterokrtgz: yeap :(13:35
rtgzverterok, i believe ppa needs to be rebuilt, since it does not sync all files if shared folders are present13:35
verterokrtgz: hmm, probably, but we can't do that until we get a new version of the server rolledout13:35
rtgzverterok, still, it has to be rebuilt because of broken dependency on ubuntuone-storage-protocol, and everyone upgrading to ppa will have syncdaemon broken13:36
verterokrtgz: ooh13:36
rtgzverterok, ah, protocol changed?13:36
rtgzverterok, it is easy to fix, but it should be mentioned somewhere13:36
verterokrtgz: good point :)13:36
verterokrtgz: yeap, actually not protocol but a new capability13:37
rtgzbug 51859813:37
ubottuLaunchpad bug 518598 in ubuntuone-client "PPA r321 SD dies on startup - must depend on proper python-ubuntuone-storageprotocol version" [Undecided,New] https://launchpad.net/bugs/51859813:37
rtgznot ubuntuone-storage-protocol, python-ubuntuone-storage-protocol13:38
rtgzverterok, http://picasaweb.google.com/lh/photo/aN3amTKoEd7OfPiYWFO0kw?feat=directlink13:38
rtgzverterok, any ideas? :)13:39
* verterok looks13:39
verterokrtgz: oh, crazy applet13:39
verterokrtgz: any errors in the logs?13:39
rtgzverterok, hm... I've got an idea on how to reproduce it13:41
duanedesignput some bug stats on one html page to make it a little easier to view.  http://people.ubuntu.com/~duanedesign/index.ubuntuone-client.html14:00
rtgzduanedesign, wow14:01
=== rtgz is now known as rye
CardinalFangaquarius, thisfred, https://code.edge.launchpad.net/~cmiller/desktopcouch/get-port-without-fd-race/+merge/1884014:40
thisfredCardinalFang: awesome!14:40
aquariusCardinalFang, nice one. I saw your email. Great catch!14:40
CardinalFangI'm glad kenvandine codes late at night in bars, or else I wouldn't have looked there.14:42
aquariuskenvandine codes everywhere. It is a most useful talent :)14:43
kenvandineCardinalFang, awesome... so that should fix this bug for real right?14:43
CardinalFangkenvandine, Yes.  This and my previous patch a week ago, I'm sure will be the last for this problem.14:44
kenvandineCardinalFang, you rock14:45
chervacan I use ubuntu one with root ? there is no Ubuntu one dir in /root14:45
statikCardinalFang, so the desktopcouch SRU for karmic should probably be reworked to include both patches then? congrats on the fix14:47
=== alecu is now known as alecu-sprint
CardinalFangstatik, yes, backporting to 0.5 line now.14:53
urbanapemorning, all14:56
mhall119|workso, I saw the new MeMenu screenshots14:58
mhall119|workis UbuntuOne going to be integrated with the new social network features?14:58
mhall119|workit would be cool to right-click a file or photo, and says "Share with friends", and have it uploaded to UbuntuOne, made public, and a link to it sent to Twitter/Identi.ca/Facebook15:00
teknicourbanape, hi15:03
urbanapeheya, teknico15:03
CardinalFangmhall119|work, it wouldn't me in Me menu, but I think it's likely.  Announcing it would be an optional check-box at share time, I suspect.  I hope we have time for that.15:04
aquariuswelcome back urbanape15:06
aquariusurbanape, we looked at getting bindwood packaged last week during the distro sprint, but it didn't seem to work for me or CardinalFang, so we decided to wait until you got back15:07
CardinalFangI tagged trunk 1.0.0 before we decided there was more to do.  Please don't whip me, urbanape.15:09
urbanapeaquarius, thanks, I just managed to get a little wifi time in the jungle, so I saw the approval messages.15:09
urbanapeCardinalFang, no whipping, you guys went above and beyond, so thanks.15:09
ryemhall119|work, MeMenu screenshots? I can find only UI design drawings15:09
xtephani have a question, anybody can help me?15:11
CardinalFangxtephan, just ask.  Interested or knowledgeable people will try.15:13
xtephanI see a warning who says "The app "desktopcouch service" want to acces the password for "ubuntu One token for https://ubuntuone.com" in the predeterminated keyring15:14
xtephani transalate the text of the warning because my computer is in spanish15:14
CardinalFangxtephan, okay.  What is your concern?  That looks normal to me.15:15
xtephanwill i allow it always?15:15
CardinalFangIf you like.  I think you should.15:16
xtephanwhat is the "desktopcouch service" application?15:16
dobeyoh good, i didn't miss the me stuff yet15:16
rodrigo_xtephan, yes, you should allow always, unless you want to have that dialog every time15:16
xtephanbut, what is the "desktopcouch service" application?15:17
CardinalFangdesktopcouch is a component of ubuntu one.  It is a distributed database, for data you care about.  Contacts, bookmarks, et c.  These could be synchronized to other computers you own.15:17
dobeymhall119|work: no there won't be any any integration with the gwibber stuff for sharing files. we don't have time to do it15:18
xtephan@CardinalFrang thanks15:18
dobeymhall119|work: maybe in +1 it could do that, feel free to file a feature request bug15:18
mhall119|workdobey: I'll think it through15:23
mhall119|workwill the new public option in UbuntuOne be something that can be configured from the client-side?15:23
ryeCardinalFang, question - karmic updated, on session login desktopcouch service is running. When i stop desktopcouch and start it again keyring daemon asks the question about desktopcouch access. How does it start then on session login?15:24
dobeyi don't think there will be any configuration. it will just be "Publish on Ubuntu One" or something15:24
CardinalFangrye, it starts only when it is needed by some app.15:24
mhall119|workdobey: I ask because if it's something that can be done all client-side, I may just try hacking at it15:25
CardinalFangrye, oh, I see what you're asking.  Hrm.15:25
CardinalFangrye,  I don't know.15:25
dobeymhall119|work: I'm not sure of the specifics of how it will work in the client15:26
mhall119|workI guess I have to get a Lucid alpha in vbox15:26
mhall119|workis Xubuntu using U1?  I didn't see it15:27
dobeyCardinalFang: is that the bug we fixed in PDX?15:27
dobeymhall119|work: we don't have integration with Thunar. we only have a Nautilus extension at the moment15:27
CardinalFangdobey, I don't think so.  Which fix do you think?15:30
dobeyCardinalFang: I just remember on Tues or Wed, you were getting the password pop-up, or was that for a different password in futon vs. keyring?15:31
urbanapedid we change how/when we do standups?15:31
* urbanape is still catching up on mail15:31
dobeyurbanape: you don't get to post one since it is just "DONE: Belize, TODO: Un-tan"15:32
urbanapebah. I wore SPF 70. Didn't even turn a little pink15:32
CardinalFangdobey, yes, I fixed a password bug, but that was for the bookmark file, not seahorse.15:32
ryeCardinalFang, i believe syncdaemon needs couchdb for account info, so it should invoke desktopcouch... and desktopcouch invoking results in keyring access, which is not happening on session login15:33
dobeyCardinalFang: ok, right.15:34
aquariusrye, not quite. the applet uses desktopcouch -- it doesn't need the data, but when the applet signs in, it sets up a pairing between local desktopcouch and Ubuntu One couch, so that your couchdb data is replicated as well as your files.15:34
ryeaquarius, yes, it just checks for desktopcouch db, i believe, but this is enough for dc to trigger keyring access, i believe15:35
dobeyno, it tells dc to pair with u1, which involves getting the u1 token from keyring15:35
aquariusrye, it checks for the management DB to exist, and if it doesn't, creates it, and then adds a record to it. This should prompt keyring access, yes15:35
aquariusbecause the applet gets the U1 token from the keyring15:36
aquariusin order to add the pairing record, which needs to contain the keyring token15:36
CardinalFangaquarius, so, why not ask first, and then ask later?  I have no idea.15:36
ryeaquarius, erm... is desktopcouch running as a parent process to couchdb?15:36
aquariusrye, possibly. And possibly not. :)15:37
aquariusCardinalFang, don't understand15:37
ryeaquarius, i mean someone triggers replication, right? it is not done internally by couchdb so there's an externally running couchdb15:37
rye^W desktopcouch15:37
aquariusrye, yes. d-bus starts desktopcouch-service; desktopcouch-service (a) runs couchdb, and (b) triggers replication15:38
CardinalFangaquarius, he is asking why an app starts desktopcouch daemon (seemingly), and does not need keyring access.  Then, later, on second run it does need access.15:38
aquariusCardinalFang, yeah, but I don't understand why that would happen :)15:38
dobeyrye: what specifically is listed as needing access, in the keyring dialog that pops up? it should show the application name there15:38
ryeCardinalFang, aquarius my couchdb runs w/o desktopcouch companion after login...15:39
ryeso, obviously, it does not replicate stuff...15:39
CardinalFangrye, er, as which user does it run?15:40
ryeCardinalFang, rtg15:40
ryeCardinalFang, i.e. me15:40
* CardinalFang boggles.15:40
ryeand neither my contacts nor notes are replicated15:40
ryebut couchdb.html file IS created15:40
CardinalFangSometimes I envy Windows developers who can distract people by saying "you need to reboot 4 times."15:41
ryeand the only things to update are: evolution-couchdb libcouchdb-glib-1.0-1 python-pyinotify15:41
ryeCardinalFang, vm was rebooted 8 times so far to test this :)15:42
ryeCardinalFang, dc installed is 0.5-0ubuntu115:43
ryewhat if...15:43
ryethere is no seahorse daemon running when couchdb is started... no, it's weird15:43
ryeneed to trace the execution path or otherwise this is useless15:43
rodrigo_statik, have you done the packaging for the new couchdb-glib/evo-couchdb?15:46
ryebeta ppa is enabled15:46
statikrodrigo_, i have not finished it, no. am planning to work on it again today15:46
rodrigo_statik, ah, ok, let me know if you need any help15:47
mandelhello, does anyone know if there is anyone to tell the CouchGrid to update according to changes in the db, I filed a bug due to my ignorance :(15:49
dobeyrodrigo_: is there an accompanying libubuntuone branch for your move of contacts picker?15:53
rodrigo_dobey, not until it's merged15:54
aquariusmandel, I don't know -- rickspencer3 is the chap you want to talk to about that15:55
dobeyrodrigo_: ok15:55
mandelaquarius, ok, is he at quickly irc(if any) or other irc?15:55
aquariusmandel, he will be, but he's not online atm -- he's in the US15:55
ryeokay, trying here. is there any debug info given by desktopcouch on startup? I have a perfect setup - a vm which can reproduce the bug with broken replication with 100% reliability. Just need a hint on whether it is built in or i need to stuff something into it...15:56
mandelaquarius, ok, so it would be around 9 pm here, right?15:56
aquariusmandel, I'd expect him in the next hour or so, if he's working today15:57
ryeok, will be back in an hour or 1h30m15:58
mandelaquarius, superb, another question, what happened with the python-keyring idea?15:58
dobeykeyrings are hard, mmkay15:59
aquariusmandel, the big problem with it is how couchdb-glib and other non-python things know where to get the data from. We could provide a desktopcouch API to get that data (which would then use python-keyring), but you can't do d-bus APIs on Windows...16:01
mandeldobey, I know.. I'm just asking 'casuse is one of the few things that block me from porting destopcouch to windows.. I already have the IPC, a c# library to talk with contacts and I'm close to do outlook integration.16:01
rodrigo_aquarius, a d-bus call would work for couchdb-glib16:02
dobeymandel: we can't really use it on ubuntu though, because it doesn't make sense in the end16:02
mandelaquarius, that is not a problem at all on windows, I can take care of that16:02
dobeyrodrigo_: i don't want us wasting time writing an abstraction for an abstraction, so we can lose useful API because pykeyring is a lowest-common denominator16:03
mandeldobey, what do you mean, porting to windows or using python keyring?? Windows I understand (although trust me I'm sure a lot people will love the idea) but python keyring...16:03
rodrigo_dobey, writing a dbus method is a 10 min "waste of time", if that eases the port to windows, I'm all for losing those 10 mins16:04
dobeymandel: the benefits to python-keyring on GNOME/KDE are minimal and diminishing16:04
aquariusdobey, yes, especially since the secret-storage stuff is coming, but they're much larger benefits in the context of a Windows port.16:05
dobeyrodrigo_: i'd rather just have those 10 minutes spent doing if WINDOWS: import keyring; else: import gnomekeyring;16:05
mandeldobey, for windows that would do the trick, but I got people complaining in FOSDEM for not using KWallet...16:06
dobeyaquarius: i'm fine with using python-keyring ONLY on windows/osx, but I would rather avoid the headaches on ubuntu16:06
dobeymandel: kwallet is going away16:06
aquariusmandel, I need to hear how your fosdem talk went, btw! Was it videoed?16:06
mandeldobey, I know, but people complain, what can I do hehe16:06
dobeymandel: in lucid+1 we should hopefully finally be able to use the unified keyring16:06
dobeymandel: yes, we know they complain. we hear it enough at UDS :)16:07
aquariusdobey, as per http://www.freedesktop.org/wiki/Specifications/secret-storage-spec you mean?16:07
dobeyaquarius: yes16:07
mandelaquarius, no video AFAIK, it went well but not enough time and got some people very interested but couchgrid failed me in the middle of it hehe16:07
dobeyaquarius: the nice thing is that the API is almost exactly the same as gnome-keyring16:07
mandeldobey, I don't mind using keyring just for MacOS and windows, but I dont like lots of if statements in the code for that, looks ugly...16:08
mandelaquarius, that is why I want to patch couchgrid and add for functionality for reporting changes etc..16:09
dobeymandel: the problem is that any abstraction is going to mean we can't use useful API from gnome-keyring16:09
dobeyand python-keyring is only python16:10
mandeldobey, I know... that is the pain of being multi-platform.. well if it is a problem I can think a way to go around it, implement something similar on windows that uses the same calls but that uses something more native to the platform16:11
mandelI meant same signatures as the gnome-keyring16:11
mandeldobey, I can follow the gnome-kerying signature and use DPAPI instead, that would do the trick and will not make the code to dirty16:15
dobeymandel: well you're going to have to do some tricks, because gnome-keyring does more stuff afaik16:16
dobeylike ACLs16:16
mandeldobye, if that is truly used I might just use WIF which should provide all the work, it will be extra code but I'll be able to provide everything that is needed16:17
mandelups, misstyped dobey^16:18
dobeyi don't know if desktopcouch uses the ACLs and other stuff16:19
rodrigo_it doesn't right now afaik16:21
mandelwell, right now I'm doing some work on linux later I'll give it a go to see what happens16:22
dobeyu1-client definitely uses ACls though16:27
dobeyanyway, need to get some lunch and all that16:28
mandelaquarius, I need to go to get food, if you see rickspencer3 let him know I'm try to get him :)16:35
ryewho can start couchdb but not via dbus ?18:06
verterokrye: /usr/lib/desktopcouch/desktopcouch-service ?18:07
ryeverterok, it looks like something is broken but I can't say what18:08
ryei disabled dbus startup and couchdb is started... after applet startup18:08
ryewhich means that it is starting it directly18:09
ryeso DBus does not play here18:09
verterokrye: how do you disabled dbus startup?18:10
ryeverterok, /bin/true as Exec handler :)18:10
ryei mean i disabled desktopcouch startup via dbus18:10
ryeverterok, ^18:10
verterokrye: and you killed it properly before? :)18:11
ryeverterok, reboot. Kills everything (tm)18:12
verterokrye: ps aux | grep desktop-couch ?18:13
verterokrye: maybe it's the system wide couchdb?18:14
ryeps aux | grep desktop-couch18:14
ryeyes, right...18:14
ryeverterok, http://paste.ubuntu.com/371914/18:14
verterokrye: nice! :/18:15
verterokrye: I don't see any code in the applet that could start desktopcouch :(18:15
ryeit may not be applet... there is ubuntuone-login as well (r321, ppa)18:16
verterokrye: that's the oauthdesktop "service"18:16
ryeverterok, and Oauthdesktop needs couchdb...18:17
verterokrye: no, it shouldn't need couchdb18:17
ryeverterok, ah. grr. keyring only... but who will then establish couchdb pairing?18:17
verterokrye: sorry, I'm a bit lost there...I think that's desktopcouch itself18:18
dobeyrye: uhm18:18
dobeyrye: it's evolution-data-server loading the couchdb plug-in18:18
ryeverterok, but it will need to find info about oauth first18:19
dobeyrye: which talks to couchdb directly18:19
ryedobey, hm...18:19
verterokdobey: isn't using dbus?18:19
ryedobey, but how can does it start desktopcouch dbus or plain /usr/lib/desktop-couch/*-service ?..18:20
dobeyverterok: it's not using desktopcouch, and couchdb doesn't provide a dbus api, so i presume it just starts it if it isn't running18:20
dobeyrodrigo_: ^^ is that true with couchdb-glib?18:20
verterokdobey: ok, thanks18:20
dobeyrodrigo_: or does it call the desktopcouch dbus api?18:20
ryedobey, no, evolution-data-server is not running here :-/18:20
ryeor it died18:21
dobeyi would suspect the latter18:21
dobeythe clock applet on the panel uses e-d-s :)18:21
rye/usr/lib/evolution/2.28/evolution-alarm-notify is running, though...18:21
ryedobey, and i have seen such behavior in 3 or 4 cases so far here.18:24
* rye is disabling ubuntuone18:24
dobeyi don't guess e-d-s needs to be running all the time for the alarm notifier to work18:25
ryenope, couchdb process is not started when ubuntuone-applet is not in startup notification thing18:27
ryestarted ubuntuone-client-applet and got couchdb processes WITHOUT desktopcouch18:29
ryeon my host machine: 2010-02-05 00:29:44,704 ERROR    replication of services aborted18:29
ryethis is the last time replication tried to be performed18:30
ryeand now i don't have desktop-couch wrapper running too18:30
ryeverterok, dobey, anybody, with running replication, could you please paste the output of  ps aux | grep couch  to pastebin?18:30
verterokrye: I don't have replication configured :/18:31
ryeverterok, not syncing evolution contacts?18:31
=== teknico is now known as teknico_away
verterokrye: not in the laptop (I'm not in my desktop ATM)18:32
ryei have additional pc18:33
dobeyi don't have anything in couch being synced18:34
ryedobey, but do you have additional python service for desktopcouch ?18:34
dobeyrye: i don't think so. i tend to run stuff from the source tree18:35
ryenetbook - replication last time occured on 2010-01-1118:37
* CardinalFang tries to land 5 branches of desktopcouch at once.18:45
ryeno desktopcouch on jaunty, so no use to test :-/18:45
ryethis is definitely applet19:30
ryebecause i started ubuntuone-login, then ubuntuone-syncdaemon and couchdb service appeared only after ubuntuone-client-applet.19:31
ryedbus could not have started it, because the handler is replaced by /bin/true19:31
ryeand applet has started w/o any output (e.g. starting..., e.g. here's your couchdb .html)19:32
manseltonHi, Nice to meet. I'm new to ubuntuone and I've got u1conflicts. What does this mean, please?19:47
dobeyhi. it generally means that the file was modified in two different places before it could be synced to your computer.19:49
dobeyit was modified on your computer and another location, and the other location got synced to the web, and the sync to your current computer generated the conflict19:49
dobeyit may be that you're also hitting a bug19:50
manseltonThanks. Can I try to do anything myself? Single files upload OK but can I just rename the .u1conflict files?19:51
dobeyyes, just look at the original and the .u1conflict, and either replace the original or remove the u1conflict, depending on which is supposed to be there. or manually merge any differences if necessary19:54
manseltonOK thanks, I'll give it a go.19:55
ryewhen backup isp is present the bottleneck is in the router...20:10
CardinalFangIt's taking forever to update to Lucid on my main machine.  Aigh!20:27
ryeicon.main() and couchdb is created20:33
ryeG r R Rr r20:33
dobeyguess i should upgrade my workstation to lucid too20:33
dobeyrye: yeah, it pokes desktopcouch whenever NewCredentials signal is called20:37
dobeyrye: so desktopcouch should be running... if it's not, it sounds like there's something weird in desktopcouch causing it to exit, or one of the desktopcouch.records methods is perhaps causing it to start20:38
dobeyrye: what is the exact program trying to access the keyring?20:38
ryedobey, desktopcouch-service20:39
ryedobey, when I start it manually20:39
ryedobey, "desktopcouch service" (/usr/bin/python2.6) to be precise20:39
dobeyrye: i mean in the instance for the problem you're trying to debug20:41
ryedobey, applet startup does not trigger any message20:41
ryedobey, but couchdb processes are created20:41
ryedobey, it looks like it is half-started20:41
dobeyrye: trace the code from setup_desktopcouch_pairing() then :)20:43
ryedobey, do you mind if I ask how does applet relate to couchdb?  I could not find anything couchdb related in ubuntuone-client-applet (r321)20:45
dobeyrye: it doesn't. it calls desktopcouch stuff only, to create the pairing to the u1 cloud couchdb20:46
ryedobey, but... grep couch /usr/bin/ubuntuone-client-applet is silent...20:47
dobeyrye: see /usr/lib/ubuntuone-client/ubuntuone-login then20:47
* rye slaps his face20:48
ryeI was assuming that if ubuntuone-login is started and no couchdb is brought up then it is not ubuntuone-login. I forgot that procedures tend to be called at a later time :-/20:48
ryedebug finished20:52
ryedobey, CardinalFang, verterok, aquarius , this is a bug in desktopcouch implementation20:53
ryewhen CouchDatabase object is created in /usr/lib/ubuntuone/ubuntuone-login then couchdb is started, right20:54
ryeneither replication nor dbus service to advertise the port is started20:54
ryethis leads to broken replication20:55
ryethe replication and dbus service to advertise the port is created in /usr/lib/desktopcouch/desktopcouch-service, which is NOT called via d-bus20:55
ryeIt appears that couchdb startup is performed directly. Not yet found how but I am on my way20:57
ryeWhat is the worst part?20:57
ryeThis can last unnoticed until the user starts to use couchdb for his contacts. There will not be any.20:58
ryeI think this is a major flaw20:58
dobeyor bookmarks, or gwibber, or etc...20:59
aquariusrye, you are correct. I think desktopcouch.records.CouchDatabase should call D-Bus to get the port, and it doesn't.21:00
ryedobey, or life (if the user actually backups his life via UbuntuOne as marketing copy says :) )21:00
aquariusit does it the old-fashioned way of calling desktopcouch directly.21:00
aquariusCardinalFang, would you agree?21:00
CardinalFangThat's a good idea, probably.  Let's think.21:01
ryeCardinalFang, i would agree, otherwise replication never works21:02
CardinalFangSynchronous call, so no need for event loop and thread-safe.21:02
ryeaquarius, i would agree, otherwise replication never works and it is bad for users21:02
CardinalFangRequires dbus, though.  Support is good, right?  And speed?21:03
ryeok, if you don't mind I'll go file a bug21:03
CardinalFangrye, that's perfect.  Please do.21:03
aquariusCardinalFang, you have to require d-bus, though; d-bus is how you're meant to find the port21:03
aquariusCardinalFang, desktopcouch.records sneakily avoids doing that by knowing how to call DC directly, but it isn't supposed to.21:04
aquariusAlso, this may explain why some people don't have replication happen. :)21:04
ryeaquarius, those who have don't have applet set to automatic login21:05
ryeaquarius, the replication is started via e.g. evolution calling dbus method to find the port, etc.21:05
* rye hopes that evolution does this via d-bus21:05
ryeaquarius, bug #48996321:07
ubottuLaunchpad bug 489963 in desktopcouch "desktop pairing only works when starting desktopcouch-service manually" [Medium,Confirmed] https://launchpad.net/bugs/48996321:07
CardinalFangaquarius, so, change find_port to be dbus client, and make a new, private function to be the dbus server function?21:07
aquariusCardinalFang, I think so, yes.21:08
dobeyisn't there already some dbus thing to do that?21:08
CardinalFangOkay.  branch coming up in ~10.21:08
aquariusCardinalFang, hang on21:09
ryeaquarius, no, it is something different, probably related but in my case it does not work completely21:09
aquariusCardinalFang, what do you mean by "to be the d-bus server function"?21:09
CardinalFangYou'll see.  A few minutes....21:09
aquariusCardinalFang, what we need is just to replace the find_pid/find_port calls with a call to teh d-bus API to get the port, and that's it21:10
aquariusunless I'm missing something?21:10
CardinalFangEr, this is harder than I thought.  One can't bind execution contexts to any number of DBUS functions.  Tests break.21:14
ryeyes, evolution does getPort via dbus21:15
CardinalFangaquarius, what do you think -- org.desktopcouch.CouchDB{,2,3,4,5,6,7...} ?21:16
CardinalFangOkay, that's more than a ten-minute patch.21:17
dobeyCardinalFang: what is the problem? i think you're making it harder than it needs to be?21:18
ryeCardinalFang, aquarius: bug #51902821:19
ubottuLaunchpad bug 519028 in desktopcouch "desktopcouch replication and org.desktopcouch.CouchDB.service are NOT started on desktopcouch.records call" [High,Confirmed] https://launchpad.net/bugs/51902821:20
CardinalFangdobey, short answer:  dbus function names are session-specific, but tests are independent of session.21:22
dobeyno. if calling a dbus method was session specific, it would never work. how would any external app know what to call?21:23
CardinalFangNot calling the function.  Hosting the function.21:23
CardinalFangThe server end.21:23
CardinalFangRunning tests should fire up a new server, not pollute your personal db.21:24
dobeythe tests need fixed to not hit the real keyring, also21:26
CardinalFangHrm, that's a good idea.21:26
dobeyand for the dbus stuff, it might be better to just replace the dbus stuff and mock some more necessary bits21:27
aquariuseasy way to do it: mock the d-bus method and have the mock look up the port with desktopcouch.find_port.21:27
aquariushard way to do it: run your own d-bus bus, which is what the ubuntuone-client tests do.21:27
dobeydo the tests actually need to stick anything in a couchdb though?21:33
aquariusdobey, the tests do need to test that we can successfully talk to couch; one of the things they protect against is regressions in either couch itself or python-couch21:38
ryei believe this will need to go into SRU, since it gradually decreases u1 functionality for evolution21:47
aquariuswe're creating an SRU atm for desktopcouch, with a couple of other fixes, so it should be able to go into that.21:47
ryeaquarius, thanks21:47
ryegood night, everyone!21:56
rodrigo_dobey, couchdb-glib calls desktopcouch's getPort method, so that starts it if it's not running22:26
mesulaWhen will symlinking support come?23:03
mesulaI'd love to symlink my ~/Documents and ~/Pictures to sync online and be an automatic file backup service.23:03
=== jamalta is now known as jamalta-afk
statikmesula, in 10.04 you will be able to right-click on ~/Documents and select "sync with ubuntu one"23:15
mesulastatik: Great. :D23:15
mesulastatik: That'd sure beat the hell out of my current solution of placing the folders in the 'Ubuntu One' folder and symlinking from my home directory.23:16
duanedesignput some ubuntuone-client bug graphs on an html page.  http://people.ubuntu.com/~duanedesign/index.ubuntuone-client.html23:22

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