/srv/irclogs.ubuntu.com/2010/01/12/#ubuntuone.txt

=== mattgriffin changed the topic of #ubuntuone to: Have a question? Ask the Ubuntu One team. | https://one.ubuntu.com | https://launchpad.net/ubuntuone | Please honk if you want a music store
urbanapestatik: damnation. Looks that way. Don't know what happened. Must have gotten overlooked with the holiday and bindwood push.00:23
urbanapehmm, wonder what this means: bzr: ERROR: Public branch "bzr+ssh://bazaar.ubunet/~urbanape/ubuntuone-servers/new-folder-inline-edit" lacks revision "zachery.bir@canonical.com-20100111164746-gw9ghf16yzh3u4f9".00:38
urbanapeah, nm. Needed to push.00:39
urbanapestatik: submitted00:43
hamlinuxis there a tutorial available for sharing files.  Most notably version control when corroborating work02:20
rico49hi. i'm running UbuntuOne on Ubuntu 9.10 fully updated. I can see my directory structure under the ~/UbuntuOne "root" folder. None of the file sync. Any help on this would be welcome.05:28
rico49For example, are any particular file permissions required?05:29
rico49And does my UbuntuOne name have to match my login name at the Linux level?05:29
rico49Thanks!!!05:29
mattgriffinrico49: hi05:29
rico49mattgriffin: hi05:29
mattgriffinlogin names don't need to match05:29
rico49thanks05:29
mattgriffinrico49: have you completed the Add a Computer process for the system you are using?05:30
rico49As far as I know. My computer shows up in the list -- which has only this computer in it.05:30
rico49I may try deleting it and adding it again. I'm wondering if I reinstalled Ubuntu since my original signup and thus destroyed the certificate05:31
mattgriffinrico49: if so, you should have an Ubuntu One token under Applications >> Accessories >> Passwords and Encryption Keys05:32
mattgriffinrico49: are you using the regular Ubuntu One package or have you setup the beta PPA in your Software Sources?05:32
rico49I have not added beta PPA to my software sources.05:33
rico49I do see the token05:33
mattgriffinyou can go to one.ubuntu.com/account and remove all of the authenticated machines... this should force your computer to re-authenticate after restarting the ubuntu one sync client. it will also create a new token.05:34
rico49should i add the PPA to my software sources and upgrade?05:34
mattgriffinrico49: you shouldn't have to if you are running a pretty standard Ubuntu installation05:35
mattgriffinare you behind a firewall?05:35
mattgriffinrico49: sorry... i meant proxy server05:35
rico49well, i'm running on my home wireless system. i didn't setup a firewall but I didn't go look to see if it was filtering anything due to not running into issues before05:35
rico49i could check that too.05:36
rico49do you happen to know the ports and protocol that UbuntuOne uses?05:36
rico49yup... proxy....05:36
rico49no proxy server active05:36
rico49beyond the wireless router05:36
mattgriffinrico49: https://wiki.ubuntu.com/UbuntuOne/#u1storage05:37
mattgriffinrico49: ports05:37
rico49Thanks!!!05:37
rico49this page is very helpful....05:38
mattgriffinrico49: np. i'm not really a technical member of the team. i recommend reviewing that wiki page as well as these (https://wiki.ubuntu.com/UbuntuOne/Tutorials/ and https://wiki.ubuntu.com/UbuntuOne/Bugs) if you want to work on fixing it tonight. members of the development team will join the channel tomorrow morning so they can help with deeper diagnostics if needed.05:39
rico49mattgriffin: I appreciate your help and will follow the links you provide.  The information looks like its just what I need.05:40
rico49mattgriffin: After I deleted the machine from the list of active machines and then rebooted everything appears to be working.  Thank you very much!!!05:49
mattgriffinrico49: awesome! no problem. have fun!05:50
rico49:-)05:50
jussi01honk!11:41
jussi01:D11:41
drbobbhello, my "Ubuntu One" folder is a mess, with *.u1conflict files all over the place11:42
drbobbincluding a subfolder that i can't fix in any way11:42
drbobbthis service is simply not working correctly for me11:43
jussi01drbobb: perhaps its a good idea to start from the beginning, what you did, how you installed, your version of ubuntu etc11:43
drbobbubuntu karmic11:44
drbobbI have only 2 pc's hooked up to my ubuntuone account11:44
drbobbmy laptop and my office desktop11:44
aquariusjussi01, heh. I'm working on it :)11:45
* jussi01 hi5's aquarius11:45
drbobbsince I never use both at once, there is no reason for anu *.u1conflict files to appear in the first place11:45
jussi01drbobb: and how did you install it?11:45
drbobbjussi01: I don't recall whether I used apt-get, aptitude or synaptic, does it make much of a difference?11:46
jussi01(or is it installed by default on ubuntu?)11:46
jussi01drbobb: ok, just checking it was from the repos, not from some other download11:46
drbobbin any case it's official deb packages11:47
jussi01drbobb: so, when did thes files appear?11:47
jussi01drbobb: yes, but sometimes official packages can be old, beta, etc.11:47
drbobbjussi01: the ones I installed were from karmic/main11:48
jussi01right. so when di the files appear?11:48
drbobbuh let me see11:48
drbobbI'm getting them all the time, since late november or so11:49
jussi01ok, and could you tell your use case? ie. how you use the service?11:49
drbobbin one case I have a subfolder called L1, that gets renamed to L1.u1conflict whenever I sync11:49
drbobband doesn't appear in the web interface no matter what11:50
drbobbalthough it is present on both my client machines11:50
jussi01argh, I need to disappear for a time, back in a little while. meantime, I hope someone here can help11:50
jussi01(work... just lovely)11:50
drbobbgenerally I create or edit a file on either of the machines, and sync ie. connect when I'm done11:51
drbobbthen after a while I'm at the other machine, and I see that file is there except it has .u1conflict appended to its name11:52
jussi01drbobb: oh, and Ive still like 1 sec, but take a look here: https://answers.edge.launchpad.net/ubuntuone-client/+faq/67711:54
drbobbjussi01: I read that, but it doesn't seem to work for me11:55
drbobbfor instance, i rename the folder L1.u1conflict back to L1 manually11:55
drbobbas soon as I connect it gets renamed back11:56
drbobbnow I have L1.u1conflict on both client machines, even though their contents are the same11:57
drbobband no L1 on either11:57
rtgzdrbobb, hi. In case you put new file to the directory, does it get synced or it is immediately renamed to .u1conflict?11:58
rtgzdrbobb, I mean if you are connected to the server11:59
drbobbrtgz: I just did that yesterday, put a new file in on one client11:59
drbobbnow on the other client I see only a .u1conflict file11:59
drbobband none with the original's name12:00
rtgzdrbobb, ok, say, you put the file to computerA. Does it get synced?12:00
drbobbsupposedly yes, I get a notification that says 1 file updated12:00
rtgzdrbobb, okay, then computerB tries to sync, downloads something that is immediately renamed to conflict file, right?12:01
drbobbso it seems12:01
rtgzdrbobb, okay, do you have the access to both machines at this time?12:01
drbobbright now only one of them12:01
drbobbthe other is at home and switched off12:01
rtgzdrbobb, ok. Does computerA synces u1conflict files if you put them to computerB?12:02
drbobboh and one more thing12:02
drbobbI tried to fix the L1 folder by moving it out of Ubuntu One on both machines12:02
drbobband copying it to the server via the web interface12:03
drbobbbut that doesn't work12:03
drbobbI click on create new folder, provide a name and confirm12:03
drbobbbut nothing happens - no folder is created12:03
rtgzdrbobb, hm... Is there anything special with the file name (aka, could you provide it here for me to test the web ui and client) ?12:04
rtgzdrbobb, I mean the path name, etc.12:05
drbobbthe (sub)folder name is L112:05
rtgzdrbobb, anyway, here's how that can be diagnosed - first create a new folder, say 'testing' on ComputerA and create the directory structure mimicking the one that you already have. This will allow us to get info faster when browsing for relevant log entries.12:06
drbobbok, I guess I should come back when I'm able to contract both computers at once12:07
rtgzdrbobb, then it would be good to start ubuntuone-syncdaemon with debug enabled on the computerB ( https://wiki.ubuntu.com/UbuntuOne/Bugs#Temporary%20debug%20mode ).12:07
drbobbnow I gotta get working, c.u. again12:07
drbobbok, thx for that suggestion12:08
rtgzdrbobb, then try connecting via applet and check whether files in testing dir get u1conflict12:08
drbobbrtgz: some files do get u1conflict12:09
drbobbbut in the case at hand it's the folder itself12:09
rtgzafterwards post your computerB's ~/.cache/ubuntuone/log/syncdaemon.log to the ticket (or paste.ubuntu.com if you get to IRC from computerB as well)12:09
drbobbok will do12:09
rtgzdrbobb, thanks12:09
rtgzgrrr, we need better conflict notification, i.e. "This file is considered to be conflicting because there appears to be newer file in the web interface and local copy was changed"12:10
rtgzand the ability to chose whether to resolve conflicts manually (there appears some file conflicts in your U1 directory. How do you want to handle them? [Rename my to u1conflict], [Examine all files]... etc.12:12
rtgztomboy note web ui greates uuids w/o dashes. Is it ok?13:18
verterokdobey, Chipaca: ping13:23
verterokdobey, Chipaca: I know we already defined the UDFs DBus API, but was wondering if you guys needs something specific for the Shares/d bits13:24
rtgzverterok, is support to obtain info on directory planned? I.e whether all files / folder under it are synced or not. Maybe it is better described as qecursive query for a path info.13:35
rtgzi missed several days here being sick, breaking/fixing router and now I am back to ask weird questions and provide weird solutions to nonexistent issues :)13:36
verterokrtgz: not for the time frame of the UDFs feature, but it should be simple to add such method13:36
verterokrtgz: :)13:37
rtgzverterok, since nautilus cannot be told to gather dbus requests this may mean a lot of metadata querying. ATM the only thing I know about metadata is something somewhere is slow...13:39
rtgzverterok, I mean these requests will need to be sent for every folder and file. every folder request should trigger recursive internal checks.13:39
rtgzBtw, applet is going away for Lucid, what's going to replace it?13:40
verterokrtgz: I think the problem with doing a lot of dbus requests to get the metadtata of each file/dir is the cost of the dbus call itself13:40
verterokrtgz: querying the metadata should be fast in the order of ~100 objects (files/dirs)13:41
verteroks/100/1000/13:41
rtgzverterok, this is done in the nautilus extension at the moment, so we cannot speed up this part.13:41
verterokbut don't have any benchmark :)13:41
rtgzverterok, really need to see how that magical metadata looks like.13:41
rtgzBtw, one.ubuntu.com is not yet IPv6-ready :-P13:42
verterokrtgz: this is a very simple way to get all the metadtata of a tree: http://pastebin.ubuntu.com/355495/13:42
verterokrtgz: the metadata it's just a bunch of pickled python dicts13:43
verterokrtgz: ls -R ~/.local/share/ubuntuone/syncdaemon/fsm13:43
rtgzverterok, every file has its own corresponding medatada file?13:44
verterokpfibiger: do you know if there are any plans to make one.ubuntu.com IPV6-friendly? ^13:44
verterokrtgz: yes13:44
rtgzverterok, I am already prepared to test IPv6 connections :), that's why I am poking everyone everywhere and it seems that not much people out there are excited as much as I am with this :)13:45
pfibigerverterok: i wouldn't say there are specific plans, but we ought to. file a bug? :)13:50
verterokpfibiger: ok, thanks! :)13:50
verterokrtgz: ^13:51
rtgzverterok, he he... bug bug bug13:51
urbanapejamesh: ping13:58
urbanapeor jblount: ping13:58
urbanapejamesh, jblount: nm, found it14:00
joshuahoover1dobey: ping14:17
=== jblount changed the topic of #ubuntuone to: Have a question? Ask jblount ! | https://one.ubuntu.com | https://launchpad.net/ubuntuone | Please honk if you want a music store
dobeyhi joshuahoover114:25
dobeyverterok: i don't know that it needs any changes? and chipaca is on holiday this week14:26
joshuahoover1dobey: hi! do have any ideas on bug 395483?14:26
ubottuLaunchpad bug 395483 in ubuntuone-client "I had a problem with...Firefox 3.5 not opening the installation file. I had to install Firefox 3.01 in order to solve. Same problem with Dillo and Epiphany." [Undecided,Triaged] https://launchpad.net/bugs/39548314:26
verterokdobey: oh, ok.14:26
verterokdobey: just wondering if there are any plans to handle shares in the UI and you guys might need something extra from the API14:27
verterokdobey: we can't take a look to it next week14:27
verteroks/can't/can/ :p14:27
dobeyok14:27
adiroibanrodrigo__: hi, do we still need to provide the unnamed main couchdb and desktopcouch classes / headers?14:28
dobeyjoshuahoover1: commented + Incomplete :)14:32
joshuahoover1dobey: thanks!14:34
dobeyi guess i do have to do bug 'day' today, since i'm not in a meeting room somewhere :)14:35
rodrigo__adiroiban, no, we are breaking the API like crazies on the unstable branch (CouchDB->Couchdb), so no need to, I think14:48
rodrigo__adiroiban, well, maybe we could add a couchdb-compat.h file that #define's all the new stuff to match the old one14:48
rodrigo__adiroiban, but since only evolution-couchdb uses it that I know, I don't think we need it14:48
adiroibanrodrigo__: yes. same opinion here14:49
rodrigo__adiroiban, but if you want, write that file, if evolution-couchdb from gnome-2-28 branch in git compiles with it, then it's working14:49
adiroibanI think it should be better to fix evolution-couchdb14:49
rodrigo__adiroiban, unstable branch of evo-couchdb now compiles fine with unstable coucjdb-glib14:49
adiroibanjob done :)14:50
rodrigo__adiroiban, it fails to run on my system because I've by mistake installed e-d-s 2.30, which has some corba->dbus changes14:50
rodrigo__but I should be fixing it soon to work with both 2.28 and 2.3014:50
adiroibanok14:50
diverse_izzuehey all! is there (other than hanging out on irc) a way of knowing what's going on in the ubuntuone-world, such as a blog?14:50
rodrigo__diverse_izzue, there is a twitter and a blog yeah14:51
* rodrigo__ looks for the blog14:51
dobeythere is a blog, and twitter/identi.ca accounts, and a facebook page14:51
rodrigo__http://voices.canonical.com/ubuntuone/?feed=rss214:51
adiroibanI build the source package for the latest couchd-db. works fine for me https://edge.launchpad.net/~adiroiban/+archive/ppa/+packages14:51
rodrigo__ah, and facebook, yeah14:51
rodrigo__adiroiban, cool!14:52
rodrigo__adiroiban, works fine, as it installs fine, or the API really works fine?14:52
adiroibanboth14:52
rodrigo__woohoo!14:52
rodrigo__ok, so as soon as evo-couchdb is fixed for the 2.28/2.30 issue, I'll submit it for lucid14:53
rodrigo__adiroiban, well, or you can submit it yourself, if you want14:53
adiroibanyep. my packaging changes are here https://code.edge.launchpad.net/~adiroiban/couchdb-glib/ubuntu-0-5-9914:53
rodrigo__adiroiban, but I'll do a 0.6.0 release before that14:53
rodrigo__adiroiban, you haven't pushed the branch14:54
adiroibanrodrigo__: true, it looks like there were some error durring the push14:56
adiroibansolved14:57
adiroibanrodrigo__: what about the disable-debug merge proposal?14:58
adiroibanis it ok?14:58
adiroibanor you would like some other changes14:58
rodrigo__adiroiban, yeah, sorry, it's in my queue, just busy with some other stuff14:58
adiroibanah. np14:58
rodrigo__haven't looked at your last change, so don't worry for now, I'll add a comment as soon as I review it14:59
diverse_izzuerodrigo__ & co: thanks. what are you planning for lucid?14:59
rodrigo__adiroiban, the package branch looks great, so keep it around, and we'll submit that for lucid once we release 0.6.0 and evo-couchdb is fixed15:00
rodrigo__adiroiban, oh, working on vala bindings?? -> https://code.edge.launchpad.net/~adiroiban/couchdb-glib/vala-bindings15:01
rodrigo__adiroiban rocks :D15:01
adiroibanwell, I need to do that work for building my vala app15:01
adiroibanand I will plan to maintain them15:02
adiroibanso I pushed that branch in case someone else find them useful15:02
adiroibanif I have time, maybe I will write some vala tests for the vapi files15:02
rodrigo__adiroiban, a friend of mine started writing vala bindings a long time ago, maybe you can get in touch with him, not for his code, which is out of date now, but for his plans, which I think were to be part of the vala bindings project/package15:03
* rodrigo__ looks for his email15:03
jblountDesktop+ MEETING BEGINS15:05
jblountSay "me", document status, etc15:05
jblountme15:05
teknicome15:06
rodrigo__me, document status, etc :)15:06
CardinalFangme15:06
teknicooh right, sorry: "document status, etc"15:06
urbanapeme15:07
jblountDONE: Worked on layout issues tagged gd in launchpad15:08
jblountTODO: FACE15:08
jblountBLOCKED: Nope15:08
jblountteknico: tag!15:08
teknicoDONE: finished fighting for net access, situation stable now; more work on two branches for configuring funambol for sending sms messages (#418048); dealt with a dormant branch, waiting for desktopcouch's new version15:09
teknicoTODO: propose and land two branches for configuring funambol for sending sms messages (#418048); finish setting up a development environment in a virtual machine; start implementing the mobile sync REST API for client app (#504689)15:09
teknicoBLOCK: none15:09
tekniconext: CardinalFang15:09
teknicouff, gnome slows me down ;-P15:09
rodrigo__eh, I'm next!15:09
rodrigo__• DONE: Submitted latest stable couchdb-glib/evo-couchdb for Lucid. Changed DBus's create_share to accept more than one user/email. Looked at tomboy syncing problems. Some renaming of classes in couchdb-glib unstable. Almost got new XML<->HTML note converter15:10
rodrigo__• TODO: Conflict resolver tool in pair tool. Look at becoming a MOTU (https://wiki.ubuntu.com/UbuntuDevelopers). Make sandy's snowy test suite work with our server (http://git.gnome.org/cgit/snowy/tree/api/tests.py). Discuss with jdo and aquarius about oauth token per app, not per machine? Send Otto (otto.greenslade@canonical.com) a screencast of contacts picker. Retrieve OAuth tokens from keyring in music store widget. Ch15:10
rodrigo__eck with Ken status of music store packages15:10
rodrigo__next: CardinalFang15:10
teknicorodrigo__, oops, sorry15:11
teknicoI blame gnome once again ;-)15:11
rodrigo__teknico, yeah, sure, gnome's fault :D15:12
teknico:-D15:12
urbanapeCardinalFang?15:13
CardinalFangsorry -- got distracted.  urbanape, you first.15:13
urbanapeDONE: Bindwood's default operation is now complete. Local client understands and performs changes in location - moves happen! Submitted and landed new-folder-inline-edit branch.15:13
urbanapeStarted helping jblount with the public URLs branch for web UI.15:13
urbanapeTODO: On-call review today, finish up public URLs branch, get migration and subsequent client code paths done for Bindwood.15:14
urbanapeBLOCK: None.15:14
urbanapeeom?15:14
urbanapeoops, had that last one on the clipboard.15:14
urbanapeCardinalFang is next15:14
teknicoglipper, klipper, it's all a dripper15:15
CardinalFangDONE: slept off some of cold.  got sprint travel booked.  tomboy/snowy bug defense.15:17
CardinalFangTODO: reviews. triage. coffee. desktopcouch update into karmic.15:17
CardinalFangBLOCKED: None.15:17
CardinalFangSorry for delay.15:17
CardinalFangEOM.15:17
urbanapejblount: should we maybe put the "make public" stuff on the info overlay?15:17
jblounturbanape: Yep. It should already be there in that branch I sent you.15:21
dobeyoh i thought we didn't do the standup on tuesdays15:27
dobeybecause of the bug day thing15:27
urbanapeoh, hey look, it is.15:28
jblounturbanape: :)15:29
voytechHi people, what do You think about synchronizing akonadi in DesktopCouch/ UbuntuOne ? I'm trying to find a topic for my master thesis and I've found out that Aconadi is server for storing PIM data. In my opinion it could be nicely integrated with ubuntuOne. But as for now I don't have a knowledge how it works exactly. So I'm asking You If my idea id good15:29
dobeyvoytech: someone was working on an akonadi backend to store contacts in desktopcouch, but i don't know if that's gone anywhere or not yet15:30
dobeyrodrigo__: do you know anything about that?15:30
rodrigo__I know the kdeab people were working on it, not sure about the status though15:30
rodrigo__statik should know, I think15:31
voytechstatik: Do You know something about synchronizing akonadi in ubuntuone/desktopcouch ? If there is someone working on it ?16:00
jblountvoytech: statik 's laptop is not working atm, so he might take a long time getting back to you16:02
aquariusvoytech, there's already been some work done by Till Adam and the KDAB team to provide a CouchDB back end to Akonadi16:06
aquariusvoytech, that code's in the upstream akonadi codebase, as I understand it16:06
aquariusI don't know if anyone's still working on it and keeping it up to date with current desktopcouch, though16:06
aquariusvoytech, if you wanted to pick that code up and bring it up to date and provide really good Akonadi integration, that'd be great! We'd be happy to give advice about how to talk to desktopcouch16:07
tillI've not kept up with desktop couch, lateluy, no.16:08
tillThe resource still worked, though, last time I tried.16:08
aquariustill, that's what I thought, on both those points :)16:08
tillvoytech: we (KDAB and the Akonadi team) will be happy to help16:08
aquariusexcellent!16:08
tillvoytech: we just don't have the bandwidth to push it, atm16:08
till(and desktopcouch was a bit of amoving target)16:08
aquariusit's moving more slowly now than it was now that it's a stable API :)16:09
tillvoytech: please to meet you, btw, I'm Till, I coordinate the KDE and Maemo work at KDAB, and I wrote the akonadi/couch resource :).16:09
voytechI was disconnected for some time17:13
aquariusvoytech, http://irclogs.ubuntu.com/2010/01/12/%23ubuntuone.html#t16:06 might be useful then :)17:14
voytechBut I see my idea isn't bad :)17:14
aquariusjolly good idea, is what it is.17:18
=== thunderstruck is now known as gnomefreak
voytechtill: So you wrote the resource.. Where can I get some information about it ? I have to understand many thing fisrtly, becouse as I said before I'm new to ubuntuone/desktopcouch17:37
voytechtill: And I would like to know how your resource exactly works ? Maybe I could download it to become familiar with it ?17:51
gourgigourgi: hi jblount, hi all, for days now i'm seeing a "Something has gone wrong (500) Server Error" when trying to view my contacts from the webUI.  http://img709.imageshack.us/img709/4572/screenshotwv.jpg  . what i have to do now ?19:10
jblountgourgi: Hi! I think something is temporarily wrong with the contacts web ui. Let me ask around and see what the progress is on it.19:13
gourgithanks jblount19:14
jblountgourgi: So that error page should have had a number on it that would help us track down the problem. I'm going to get this fixed, but I don't have any good way to track down your error.19:18
jblountgourgi: How long have you been seeing this?19:18
gourgiabout 6-8 days now19:18
jblountgourgi: Wow, that's a long time. Thanks for letting us know.19:19
gourgiit is the 3rd day i'm coming here reporting this19:20
gourgi:)19:20
rtgzjblount, looks fine from here :-/19:21
jblountgourgi: Do you see the same problem here? https://edge.one.ubuntu.com/contacts/19:21
jblountrtgz: Yeah, it works for me, but I've only got a few contacts in.19:21
gourgijblount yes19:21
gourgisame problem on the edge too.. jblount do you need to see my ~/.cache logs ?19:24
rtgzshot in the dark: gourgi, do you have some non-latin1 characters in the first/last name of at least one of your contacts?19:25
jblountgourgi: While I can't fix this for you now, I can make that number I mentioned show up on edge in a few hours so we can track down the problem. Have you submitted a bug about this yet?19:26
gourgirtgz i have almost all my contacts in my native language (greek). jblount i haven't yet, but i will if needed.19:27
rtgzgourgi, good. will try with greek symbols19:27
jblountgourgi: It would be very helpful if you could submit a bug, that way we could track the progress of the fix.19:27
gourgiok , i 'm filling it now19:28
jblountgourgi: Thanks!19:28
* rtgz inserted an entry, waiting for replication...19:30
rtgzhm.. how does desktopcouch use Avahi?19:40
aquariusrtgz, for LAN sharing19:41
rtgzaquarius, and if there is no Avahi running?19:41
rtgzaquarius, 2010-01-12 21:41:16,446 - We seem to be running already, or can't publish our zeroconf advert.  org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files19:41
aquariusthen it'll throw an error saying that we can't publish our zeroconf advert19:42
aquariusas you have discovered :)19:42
rtgzaquarius, will this error prevent, say, replication ?19:42
gourgirtgz jblount thanks for looking into this!  bug filed  https://bugs.launchpad.net/ubuntuone-servers/+bug/50658419:42
ubottuLaunchpad bug 506584 in ubuntuone-servers "contacts page : Something has gone wrong (500)" [Undecided,New]19:42
aquariuswe only publish a zeroconf advert if LAN sharing has been set up, so it doesn't affect most people19:42
rtgzaquarius, hm.. I have LAN sharing set up? O_O19:42
aquariuserm. I'm not sure whether replication as a whole is killed by that happening. CardinalFang would know better.19:42
aquariusrtgz, there is a non-zero chance that I am lying about that. If I am lying, though, and we publish zeroconf regardless, then it's a bug. :)19:43
rtgzaquarius, my ISP started to use .local domain (yep, will fight with them... SOON). My Avahi does not like this and dies.19:43
aquariuswhat?19:43
aquariusthat's flat out wrong19:44
aquariuskill your ISP :)19:44
rtgzaquarius, cannot kill ISP. onIspKill="disconnect()"19:44
aquariusbut if you're not doing LAN sharing then DC *shouldn't* publish zeroconf. But...it might do.19:44
aquariuswish cardinalfang was around, he knows more about that sharing bit than I do. I'd have to grovel through the code and work it out19:44
dobeyso19:46
dobeypublish != search19:46
rtgzaquarius, desktopcouch-service does not seem to return me the terminal prompt...19:46
dobeyand searching for other shared things still requires working avahi19:46
dobeyeven if you aren't publishing anything over it19:46
rtgzthe problem that it looks like my replication is now broken due to this :-/19:47
aquariusdobey, yeah, the point is that we only use avahi to detect the current location of already-paired LAN desktopcouches (well, and to actually *do* pairing). We know whether we are paired with LAN desktopcouches or not by looking in the management database, so *if* we are not paired with anything, we shouldn't publish a zeroconf advert (because it'll never be used. also, security.)19:47
aquariusrtgz, run desktopcouch-pair19:48
aquariusrtgz, to see if you're already LAN paired.19:48
aquariusI think that you're not, though, which suggests that we're doing zeroconf advertising when we don't need to be, and if that fails we're crashing. Thus, epic fail19:48
rtgzaquarius, it used to work, yet the last time i got replication worked was on 2010-01-04. Since then - ERRORs related to avahi and nothing went to U1... Scaaary19:49
aquariusrtgz, yeah. I think (a) we're publishing zeroconf when we shouldn't, and (b) failing to publish zeroconf stops replication, which is two separate bugs. If you could file those bugs that'd be really nice19:49
* rtgz - yeah, right - tried to test 1 bug, got 2 separate issues... yeah, right...19:50
dobeyaquarius: if i buy a new laptop with ubuntu on it, and i bring it hope, and start up some ubuntu one thing (which in turn starts up desktopcouch), how does it know whether or not it should be paired with things on the LAN that are already shared?19:52
aquariusdobey, it is not paired. DC doesn't do LAN pairing unless you specifically ask it to, with the desktopcouch-pair tool19:52
dobeyaquarius: it doesn't check to see if something's already published, and try to connect to it if so?19:52
aquariusit doesn't magically set up a mesh network19:52
dobeyboo.19:52
dobeyso why are we using zeroconf? :)19:52
dobey(maybe we should call it oneconf)19:52
rtgzaquarius, http://paste.ubuntu.com/355670/19:53
aquariushow else do you propose that paired machines A and B find one another again?19:53
rtgzdobey, noconf in my case19:53
aquariushahaha. So desktopcouch-pair *and* desktopcouch itself both assume that avahi works. Oops.19:53
dobeyaquarius: connect()? :)19:54
aquariusdobey, connect to...where?19:55
jblountaquarius: Are you going to push your Boxee ui to lp?19:55
dobey"Host: [             ]"19:56
dobeyaquarius: my point is more that if we're going to use zeroconf, we might as well use it right :)19:56
aquariusjblount, it's on my svn server because setting up LP projects is a pain in the arse. I have, now, another task on my list: create a bzr lp-new-project command that creates a project.19:56
dobey(and make the user experience better)19:56
aquariusdobey, you don't know the host (DHCP changes IPs, foo.local names don't work on Windows), and you don't know the port (DC randomly generates it every time it starts).19:57
aquariuswe can't ship Ubuntu with a CouchDB exposed to the universe listening by default. pitti would have me boiled alive.19:57
dobeyhuh?19:57
dobeyi never said anything about having couchdb listening remotely by default19:58
aquariusso how do you get your magic mesh network started, then?19:58
aquariuswell, OK, our little daemon listening by default, not couch itself19:58
aquariusbut it's still listening by default, which is a no-no.19:58
rtgzaquarius, ubuntuone-client or desktopcouch - who is going to be the unfortunate owner of the bug?19:59
dobeythere's policy that apps can't find stuff shared by zeroconf from other machines, by default?19:59
jblountgourgi: That fix is on it's way to edge now, is it ok if I ping you in a few hours (if you are around) to try to get us a erorr number?19:59
aquariusrtgz, desktopcouch. assign it to cmiller, if you would, which he will give me a fishy look for but he's not here :)19:59
dobeyaquarius: i was saying we should let the user see "Oh, these are being shared on your network, pick one if it's yours, or ignore"19:59
dobeyand then let the user authenticate and pair if one of them is theirs20:00
aquariusyeah, but if we don't listen by default then there will never be any listening!20:00
dobeywhat are you talking about listening?20:00
gourgijblount thanks! yes, ping me please , i'll be around and i hope not in bed :)20:00
dobeyavahi is doing the listening, not us20:00
dobeyit's ALRADY doing it20:00
dobeywe're just not doing anything with the info20:00
aquariusdobey, yeah, but avahi needs to advertise a port that we can connect to20:00
dobeyaquarius: no it doesn't20:00
gourgijblount if i don't reply please add a comment on my bug report20:00
aquariusavahi has remote service activation?20:01
dobeyaquarius: you're conflating SERVING and PAIRING20:01
jblountgourgi: Will do, it'll take some time, but I'll catch up with you here or there. Thanks again for your persistence :)20:01
dobeyaquarius: i'm only talking about the client side discovery part20:01
aquariusdobey, so what does avahi advertise, then?20:01
dobeyaquarius: we should obviously only ever publish if the user enables the "[ ] Publish" checkbox20:01
gourgijblount no problem , i wish i can help more and solve this20:01
dobeyaquarius: why do you think it's advertising something?20:01
aquariusdobey, I don't get what shows up in the list of "these machines are being shared on your network"20:02
dobeyaquarius: nothing, if nothing is publhsing stuff on your network20:02
aquariusright. Then, that's what we currently do.20:02
dobey*sigh*20:02
dobeyyou're conflating SERVING and DISCOVERING, which are separate things :)20:03
dobeystop it :)20:03
aquariusI don't get what's supposed to happen once I've DISCOVERed that machine2 is sharing. What do I do then?20:04
dobeyaquarius: well if we discover something, then we let the user pair with it20:04
aquariushow?20:04
dobeyuhm, how do we pair with it now?20:04
aquariusby connecting to the advertised port on that machine20:05
aquariuswhich means that it's SERVING.20:05
dobeyaquarius: it doesn't mean the lcoal machine is serving20:05
dobeyit means some other machine is serving20:05
dobeyavahi doesn't need to be serving anything to discover other machines which are20:06
aquariusyeah, I agree. What you're describing is basically what we do, except that we don't give machines the ability to serve unless they need to be, in the same way that you turn off bluetooth discovery after a minute or so20:06
dobeyi was saying we should make it easier to pair with other machines that are already publishing20:08
dobeyyou were saying that we should "only ever use avahi if we intend to publish"20:08
dobeywhich doesn't make sense to me :)20:08
dobeyaquarius: and https://edge.launchpad.net/groundcontrol might have stuff to create projects... i don't remember if it does or not :)20:09
aquariusah. What I meant was: since we don't allow machines to be publishing unless they're already paired, we only need to serve if we already have pairings. If we do not have pairings, we don't need to serve, and thus we don't need avahi.20:09
aquariusyour disagreement is because you want machines to be able to serve even when they're not paired, and I don't.20:10
rtgzOK, asked ISP to bring the zone down, since this is only used for BitTorrent retracker20:16
dobeyaquarius: and how do you pair two machines, if neither of them are serving?20:17
aquariusdobey, you run desktopcouch-pair on machine 1, it tells you to run desktopcouch-pair on machine2, they then find one another.20:18
dobeyugh :)20:19
aquariusyou have to do something on machine2, otherwise I can just pair with your shared DB without your consent and steal all your data.20:19
dobeyi wonder how well couchdb deals with > 2 machines paired together20:20
aquariusif your answer is: don't turn on publishing if you will ever, ever be on the same LAN as any untrusted computer ever, then, well, fail.20:20
dobeyso if i pair with my machine at home, and then go to a coffee shop, my couchdb can be violated by anyone?20:20
dobeythere's no authentication at all?20:21
aquariusNo, because you don't have the oauth tokens.20:21
aquariusThe pairing process exchanges them.20:21
dobeybut after i pair, and i go to another network, any machine there can run desktopcouch-pair, and it'll see my couch?20:21
dobeyand can try to exchange tokens with it?20:22
rtgzsince there are many ISPs that have bad .local habit I wonder why people did not complain earlier...20:27
dobeythere probably aren't that many?20:27
rtgzand since there is no info from replication thread that something is not working we give false hope... again20:27
rtgzBug #32736220:31
ubottuLaunchpad bug 327362 in avahi "Some ISPs have .local domain which disables avahi-daemon" [Medium,Confirmed] https://launchpad.net/bugs/32736220:31
rtgzOk, fixed that on the router...20:38
aquariusdobey, no. we advertise like this: if we are paired with another machine, we advertise couch itself (protected by oauth). If we are currently *in the process of pairing*, we also advertise the pairing daemon.20:43
rtgzok, greek letters went through fine20:45
dobeyhmm20:51
dobeyanyone seeing http://pastebin.ubuntu.com/355715/ when running make test in ubuntuone-client trunk?21:11
rtgzdobey, checking...21:15
rtgzdobey, you are not alone21:28
dobeyindeed21:34
dobeyhmm21:37
dobeywell at least I already filed the bug for it... in September...21:45
urbanapejblount: made some good progress today on the branch. I think things will work now, but still want to add some niceties.22:05
* rtgz oO( this is the first time I ran `make test` on ubuntuone-client )22:13

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