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

=== lucio_ is now known as __lucio__
FFForeverWhats the difference from Ubuntu One and DropBox?04:35
FFForeverbesides shipping default with ubuntu04:37
verterokFFForever: Ubuntu One, is a lot more than just file sync :)04:40
FFForeverlike?04:40
verterokFFForever: contacts (evolution), notes (tomboy), and bookmarks (bindwood) sync04:41
verterokFFForever: and more stuff is comming down the pipe04:41
FFForeverI see, sadly none of it i use04:42
verterokFFForever: also desktopcouch, which is the backend of contacts, notes and bookmarks04:42
FFForevercool04:43
adiroibanrodrigo_: hi. Is automatical desktopcouch and oaut handling implemented in couchdb-glib unstable http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/SimpleGuide#head-a3d1fb0683499a0ba3ec111fb8115b7296ba54fc ?11:47
aquariusadiroiban, I think rodrigo's having some connection problems11:51
rodrigoyeah, seems so11:51
=== rodrigo is now known as rodrigo_
adiroibanrodrigo_: what is the scope of couchdb-glib? do we realy need to support couchdb_document_contact_* ? In the future we are going to see similar function for each document type?12:03
rodrigo_adiroiban: yes, for supported document types12:04
rodrigo_adiroiban: think that the field names need to be consistent, so I don't want people to try to guess12:05
rodrigo_also, we might change the field names, or their position in the record12:05
adiroiban„supported document types” are the one listed in Formats http://www.freedesktop.org/wiki/Specifications/desktopcouch/ ?12:06
rodrigo_so far, yes12:06
adiroibancan I query a view using couchdb-glib?12:07
rodrigo_not yet, I didn't add it because I really didn't need, but will add it soon12:08
rodrigo_do you need it?12:08
adiroibanyes12:08
rodrigo_ok, file a bug to couchdb-glib and I'll add it12:08
adiroibanI'm trying to migrate my toy app from sqlite to desktop couchdb12:08
rodrigo_cool12:09
rodrigo_brb12:10
adiroibanOAuth is automaticaly handled ? or do I need to use dbus and gnomekeyring like in evolution?12:10
rodrigo_you need to do it like in evolution, but I am about to add a DesktopCouch object that handles it12:10
rodrigo_so if you're going to write that code, please write the DesktopCouch object12:10
adiroibani filled a bug12:11
rodrigo_ok12:11
adiroibanand I was waiting to be accepted12:11
adiroibanand then try to fix it12:11
adiroibanI was not sure if it was valid or not12:11
rodrigo_I just need a bit of time to work on several things in couchdb-glib, so any help would be appreciated12:11
rodrigo_adiroiban, assign it to me please12:11
rodrigo_ok, now really brb, need to buy some food :-)12:11
adiroibanis is feasible to create design document by storing them on the filesystem ? http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/DesignDocsFilesystem12:24
adiroibanthe requirement of restrating couchdb looks like a showstopper12:24
adiroibando you know of an application using this feature? I would like to know how it handles desktopcouchd restart and how it is packaged12:26
aquariusadiroiban, it is feasible, but that code is quite new and not being used much yet. jml was working with that; he may know more. jml, ping12:28
jmlhello?12:29
aquariusjml, you were using the design-docs-on-the-filesystem stuff, yes?12:29
jmlaquarius, adiroiban, yes. I've got a directory in my bzr branch that I've been manually symlinking into my desktop couch dir for local testing12:30
jmlaquarius, adiroiban, for unit testing, I've got a thing that sets it up automagically. I guess that could be used to do a deployment thing12:30
jmlI haven't thought at all about packaging yet, still early days12:30
jml(you'd be surprised how little time I get to muck around with code)12:31
adiroibanjml: thanks. I will not use that feature for now12:31
jmladiroiban, lp:~jml/+junk/lister has the code12:31
jmladiroiban, I did it because it was easier than 'if db.hasView("foo")' (or however it's spelt)12:32
adiroibanjml: for my point of view, rather than storing the design document in XDG dirs, for a real app it would make sense to have them stored in a single place, somewhere in usr/share12:33
adiroibanjml: don't worry. thanks for the link. I will try to look at the code and see if I can use it12:34
jmladiroiban, ok.12:35
jmlgood luck. let me know if it helps, or you can see ways to improve it.12:35
aquariusadiroiban, that's why it uses xdg dirs. There is a system-level xdg folder for apps too -- /etc/xdg/appname on Ubuntu, for example12:35
aquariusso your package installs the design docs to /etc/xdg/appname/blahblahblah12:35
adiroibanaquarius: neat. I was not aware of that part :)12:36
jmlaquarius, upgrades are a million times more interesting than installation12:36
aquariusadiroiban, the idea is that a package, when installed, will upgrade its design docs (in /etc/xdg), and then send a signal to restart all running desktopcouches, so they re-read the design docs12:36
aquariusthe second part of that is...not brilliantly implemented at the moment, but we're eager to get it working well now that people are using the filesystem design docs :)12:37
aquariuspart of the reason that it's not brilliant right now is that I wasn't sure how people would use it!12:37
adiroibanaquarius: well. I can see 2 use cases. deployment and development12:37
aquariusrodrigo_, are you avoiding canonical irc? :)12:38
aquariusadiroiban, yep -- design docs being in xdg folders means that dev is relatively easy because you store them in your local one for testing (or for overriding the system ones)12:38
adiroibanfor deployment storing them in /etc/xdg and killall -HUP desktopcouch should do the job12:39
rodrigo_aquarius, no, can't connect12:39
aquariusrodrigo_, weird12:39
aquariusrodrigo_, so, then, I'll ask here instead; how do I build the widgets? :)12:39
adiroibanfor developement you can invoke a manual restart12:39
rodrigo_aquarius: ./autogen.sh && make12:40
aquariusadiroiban, well, desktopcouch doesn't currently re-read on a HUP signal; that's part of the way I planned to do it, sure, but I'm open to suggestions on this stuff12:40
aquariusrodrigo_, I don't have to specify --prefix?12:40
rodrigo_brb, hopefully with the connection problems solved12:40
aquariusrodrigo_, I don't have to specify --prefix?12:40
aquariusah )12:40
aquarius:)12:40
jmlg'night folks.12:45
tekniconight jml12:47
rodrigo_aquarius: you can specify a --prefix if you want, but you can run the test programs without installing12:48
aquariusah, cool; I want to test importing it12:49
rodrigo_aquarius, if you want to install, use the --prefix that you want12:49
rodrigo_aquarius: ah, then you need to install yes12:49
rodrigo_aquarius: just use a --prefix where you have a python installed12:49
rodrigo_but I guess you have it in /usr only right?12:50
rodrigo_oh, well, just install to /tmp and set PYTHONPATH12:50
aquariusthat's what I'm doing :)12:50
aquariuswhat's the music store widget called?12:50
aquariusah, MusicStore12:50
aquariusNice12:50
aquariuserm12:51
aquariusPYTHONPATH=build/lib/python2.5/site-packages/ python -c "import ubuntuone.gtkwidgets, gtk; w=gtk.Window(); w.add(ubuntuone.gtkwidgets.MusicStore); w.show_all(); gtk.main()"12:51
aquariusTypeError: GtkContainer.add() argument 1 must be gtk.Widget, not GObjectMeta12:51
aquariusam I using it wrong?12:51
aquariusit should *be* a widget, shouldn't it?12:52
rodrigo_yes12:53
rodrigo_ah, you're missing the () after MusicStore12:54
aquariusha!12:54
aquariusI am very stupid :)12:54
aquariuscheers. works now. nice!12:55
aquariusapproved :)12:55
rodrigo_python -c "import ubuntuone.gtkwidgets, gtk; gtk.gdk.threads_init(); w=gtk.Window(); w.add(ubuntuone.gtkwidgets.MusicStore()); w.show_all(); gtk.main()"12:55
rodrigo_it also complains about threads not being initialized12:56
adiroibanrodrigo_: can I use couchdb-glib with HTTP Basic Auth ?13:24
rodrigo_adiroiban: it doesn't have code to do that, but it should be easy to, just need to add a HTTP header to the SoupMessage13:25
adiroibancouchdb-bugs are handled in Launchpad ? I could not find the gnome bugzilla module13:26
rodrigo_yes, in LP13:26
rodrigo_what app are you porting to it, btw?13:26
adiroibanhttps://launchpad.net/lucruri13:27
adiroibantrying to build couchdb-glib on Karmic i get this error http://paste.ubuntu.com/352912/13:27
rodrigo_adiroiban, can you paste line 127 of dbwatch.c?13:30
aquariusadiroiban, you shouldn't basic auth to desktopcouch, though13:35
adiroibanaquarius: true. but since couchdb-glib is a generic lib. I think it should do basic auth13:35
aquariusadiroiban, true enough, I suppose. I'd like to see desktopcouch-glib, then, as a separate library :)13:36
rodrigo_adiroiban: try again with trunk, fixed it13:36
adiroibanrodrigo_: thanks. I'm using the bzr import. let's see if I can work around and get the latest git13:38
rodrigo_adiroiban: I've got a patch to rename most of the objects/functions to couch instead of couchdb, for introspection to work13:38
rodrigo_adiroiban: so if working with trunk, use git please13:39
adiroibanok. np13:40
rodrigo_adiroiban: ok, committing the patch now, so just rename CouchDB to Couchdb13:43
rodrigo_hmm, it makes sense what aquarius says about desktopcouch-glib, we could have a separate library and have there all the dc code, like oauth/keyring and contacts/etc record types13:48
adiroibanrodrigo_: I agree, or have a ./configure flag to build desktopcouch support in couchdb-glib13:57
rodrigo_well, I think we want to build it always, if the dependencies are available13:58
rodrigo_(keyring and dbus)13:58
* rodrigo_ -> lunch14:00
rodrigo_bbl14:00
adiroibanrodrigo_: it looks like in couchdb-glib, make install does not copy all the required headers14:20
adiroibanI only got couchdb-glib.h couchdb-document-contact.h and couchdb-types.h14:21
adiroibanrodrigo_: also couchdb-glib-1.0.pc is missing Requires: json-glib-1.014:31
adiroibanshould I fill a bug for those problems?14:31
rodrigo_adiroiban, yeah, fixing it now, trunk has been a bit out of maintainership15:02
adiroibanrodrigo_: np. I'm working on HTTP Basic Auth on master15:03
jblountDesktop+ DESKTOP MEETING15:03
jblountWelcome team! We're doing a standup meeting, if you'd like to state your status please say "me" in order to grab a slice of time.15:03
adiroibanjust as an exercise to get used with the code15:03
urbanapeme15:03
rodrigo_adiroiban, cool15:04
rodrigo_me15:04
jblountme15:04
aquariusme15:04
rodrigo_adiroiban, I'd suggest you add a _enable_http_auth function, as there is the _enable_oauth15:04
rodrigo_adiroiban, or a set_authentication_whatever15:04
rodrigo_adiroiban, but I'll let you have a look and suggest what you think is best15:05
adiroibanrodrigo_: ok. I will follow oauth names15:05
CardinalFangme15:05
urbanapeDONE: _changes polling stalled a bit, trying to get some help from mozilla places devs15:05
urbanapeTODO: Finish up _changes polling, and dispatching behavior for various types (bookmarks, folders, separators, livemarks containers, dynamic containers) and event handlers.15:05
urbanapeBLOCK: None15:05
urbanaperodrigo_: go go go15:05
rodrigo_• DONE: Packaging of libubuntuone/RB plugin. Added selection API to contacts picker. Match aquarius music store prototype in C widget. Added libu1 dependencies to ubunet-developer-dependencies package. On-call review. Applied introspection patch to couchdb-glib master15:06
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. Add libubuntuone dependencies to dev deps. Separate dc-specific code in15:06
rodrigo_couchdb-glib15:06
rodrigo_• BLOCKED: no15:06
rodrigo_next jblount15:06
teknicome15:06
jblountDONE: Got ui bits done for public files15:07
jblountTODO: Make javascript API for rest API for public files, attach web ui, put up for review and do a dance15:07
jblountBLOCKED: Nope15:07
jblountaquarius: YOU!15:07
aquarius⚀ DONE: music store review; talk to pfibiger about daemon deployment; talk to rodrigo about libubuntuone packaging; work out chart API; talk to mentalguy about amqp15:07
aquarius⚁ TODO: spec file delivery downloader daemon; have music library page send message to downloader daemon; make workitems of outstanding todo items; make tomboy first-sync experience nicer15:07
aquarius⚂ BLOCKED:15:07
aquariusCardinalFang, hit it15:07
teknicono MEETING BEGINS?15:07
CardinalFangDONE: still boggling over Bug#499595.15:07
CardinalFangTODO: more on that.15:07
CardinalFangBLOCKED: None, except snowy is kind of silly.15:07
CardinalFangteknico, MEETING BEGINS, then.  Go!15:08
teknicoDONE: more bug triaging, more configuring funambol for sending sms messages with vds (#418048), started setting up a development environment in a virtual machine15:08
teknicoTODO: finish configuring funambol for sending sms messages (#418048), finish setting up a development environment in a virtual machine15:08
teknicoBLOCK: none15:08
tekniconext: ?15:08
jblountteknico: Sorry, I forgot :)15:08
jblountEOM (I think)15:11
rodrigo_adiroiban: git pull, should be fixed now15:18
CPrompt^hello.  for some reason when i drop files into my Ubuntu One directory on my desktop, it says it is updating but the files do not show up when i go to the one.ubuntu.com site15:22
adiroibanrodrigo_: back to main chat. thanks for the update.15:27
rodrigo_adiroiban, np, I should have done it some time ago15:27
CPrompt^anyone have a suggestion of what I can look for as the problem?15:30
* popey wonders if someone could look at bug 500975 and see if it's specific to ubuntuone or a tomboy generic sync issue15:33
ubottuLaunchpad bug 500975 in tomboy "Synchronization failed with the following exception: Unexpected character '<' at [1:1]" [Undecided,Confirmed] https://launchpad.net/bugs/50097515:33
popeyi am getting the failure on both ubuntu and windows syncing to u115:34
CardinalFangpopey, can you sniff the network traffic to see what document that is?  My guess is that it's an HTTP 4xx or 5xx, and an acompanying body that looks HTML-y.15:51
popeywhat tool would you propose i sniff the traffic with?15:51
CardinalFangIf you're on Linux, wireshark.15:51
CardinalFangor tcpdump15:51
popeywhat am I looking for?15:52
CardinalFangWell, that's a HTTP request, so filter out all but HTTP.  Look for traffic to one.ubuntu.com .15:53
CardinalFangConnect, ask for https://one.ubuntu.com/notes/api/1.0/op/ .   Get back some response.  The response is the interesting bit.15:53
popeyI'd need to figure out the tcpdump fu to do that15:54
* popey googles15:54
CardinalFangwireshark is much easier.15:54
popeyi am on 3g, installing wireshark will take $time15:54
CardinalFangAh.15:54
CardinalFangpopey, man pages would use no $bandwidth.  :)15:57
CardinalFangpopey:  $ sudo tcpdump -v -A -l host one.ubuntu.com |less15:57
popeyi have two machines, one running windows has network, machine running ubuntu has 3g.. well gprs :S15:57
popeythanks!15:57
CardinalFangpopey, If your active network interface is one of many, you may have to specity which to use with "-i gsm0" or something.15:59
popeyyeah, using -i usb015:59
popeygetting syntax erros with -l though.. having a play15:59
popeyyay16:00
popeythe -A gives me some 'output' but it's not human readable16:01
CardinalFanghrm.16:01
CardinalFangOkay, Let's get more of the packet.16:02
CardinalFangpopey, $ sudo tcpdump -v -s 1000 -A -l host google.com |less16:02
popeygoogle.com you say?16:03
popey:)16:03
CardinalFangEr, no.  o.u.c  Sorry.16:03
popey:)16:03
popeyi see no URLS16:05
popeywill play more16:05
popeythis is https so surely tcpdump isnt' going to see any data16:06
popeymaybe hostnames, certificate names and so on16:07
CardinalFangAw, I missed that.  You're right.16:08
CardinalFangDang.  I want to know what Tomboy is getting.16:08
nettrotSet up a MITM proxy16:08
CardinalFang:)  Easier to get source and print it.16:08
nettrotYou might be surprised...16:09
CardinalFangI am adept at "apt-get soruce tomboy; apt-get builddeps tomboy; $hack; dpkg-buildpackage -rfakeroot"16:10
popeytomboy --debug may show me the note that is barfing16:11
popeyit shows the urls :)16:11
popeyoauth_nonce always makes me smile.. I'm such a child16:12
CardinalFangIt may be a bug that I'm working on.16:12
popeyI am getting 500's back from u116:13
popeyin the debug, so I'm not surprised that tomboy is barfing16:13
CardinalFangAh!  Good.16:13
CardinalFangWell, sort of good.  You know.16:13
popeyya16:13
CardinalFangOkay, I presume it is my bug.  (Not one I caused.  One that I'm fixing.)16:14
popeyyou put google analytics js in your 500 messages16:14
popeythats not really necessary now is it? :)16:14
CardinalFangWe like statistics.  Ha ha.16:14
popeyclearly!16:14
popeywhat would be more useful is perhaps a tracking ID that I could give you and you could then find the error on your end.. like an OOps code16:15
popeyanything I can do? info you need?16:16
CardinalFangThe problem I'm working on is that Tomboy/Snowy storage/rtansactions doesn't map onto couchdb very well, and there's a hole that we fall into.16:16
CardinalFangIt won't be today that it's fixed for you.  Perhaps tomorrow, if I'm lucky.16:17
popeyyou're convinced that the bug I am hitting is the one you're working on?16:18
CardinalFangThere's secrets on those servers, so mundane mortals like developers can't go poke and prod.16:18
CardinalFangI'm pretty sure.16:18
popeydo you have a bug number I can follow?16:18
CardinalFangHrm.  Yeah.  It's private for the next 10 seconds...  https://bugs.edge.launchpad.net/ubuntuone-servers/+bug/49959516:20
ubottuError: This bug is private16:20
Chipacarodrigo_: ping16:20
CardinalFangpopey, I don't think I have the power to make this bug public, even though there's almost nothing secret in it.16:23
popeycan you subscribe me?16:23
popeypopey is my nick on lp16:24
CardinalFangpopey, in the mean time, you should file a bug on tomboy so that it demands an HTTP 200 before parsing anything, and for HTTP 4xx and 5xx, it displays the text.16:26
rodrigo_hi Chipaca16:41
rodrigo_man my inet connection today sucks16:41
Chipacarodrigo_: can you update your blueprint?16:42
rodrigo_the contacts picker one?16:45
rodrigo_updated16:46
Prettois there a way to authenticate from the first time from command line?16:56
dobeyX is required currently16:57
Prettodobey: ok, só how can i check why the applet never connects?16:58
Prettodobey: can you take a look? http://paste.ubuntu.com/353004/16:59
Prettoor someone else16:59
dobeydo you have an ~/.config/ubuntuone/syncdaemon.conf file?17:00
darkHello! I am trying to use ubuntu one in a live cd, but I can't. I select "connect" in the applet (or in nautilus) but it does not even ask my password. I have never used ubuntu one before. my syncdaemon-exceptions.log: http://paste.ubuntu.com/353004/17:01
dark(Pretto is actually trying to help me in #ubuntu-br)17:01
Prettodark: i told them about this17:01
darkah ok:)17:02
Prettodark: check if you have ~/.config/ubuntuone/syncdaemon.conf file17:02
darkcat: /home/ubuntu/.config/ubuntuone/syncdaemon.conf: No such file or directory17:02
Prettodobey: so, no file, we are trying to create it by hand17:07
dobeydoes oauth-login.log show anything?17:07
dobeyPretto: creating it won't help :)17:08
dobeybut there was an issue with it causing network i/o to be blocked, which we've since fixed17:08
Prettodobey: nothing but Starting Ubuntu One client version 1.0.217:08
dobeyok17:09
dobeycan you enable karmic-proposed in System->Settings->Software Sources on the Updates tab, reload the list, and install the new ubuntuone-client-gnome, then try again please?17:10
darkyes i can17:10
Prettodobey: ok, hold on17:10
Prettodark: do that :p17:10
darkdobey, i am on a live cd - is this a known issue?17:11
dobeydark: there are known issues with fixes waiting for review, in karmic-proposed, yes17:13
dobeydark: i'm not sure exactly which issue you're having, though17:14
darkoh, great, i am also having problems with i/o (unrelated to ubuntuone)17:15
dark[ 5167.189293] SQUASHFS error: squashfs_read_data failed to read block 0x4cf0f9c917:15
darki think i should just give up for now17:15
dobeyhrmm17:15
dobeythat could be an issue with the burn, or with your cdrom drive, perhaps17:16
darkhm maybe it's ok now... (it's probably the motherboard, it's also failing randomly to detect sata)17:16
dobeyor your mobo :)17:16
darki was also with a pendrive.. that died right now (in a power failure.. i don't quite understand)17:17
dobeyit happens17:19
darki made a backup few hours before17:19
jdaynesis there a way to tell Ubuntu One to push changed files to the server side only periodically?17:20
jdaynesI tend to save a lot while I work on a document, and every time I save, UbuntuOne pushes to the server17:21
dobeydisconnect, and only connect when you want to push the changes17:21
jdaynesheh, yeah I guess that would do it, wouldn't it ;)17:21
nettrot_The real problem is that, half the time, u1 tries to update a file when I open it in vim.17:22
darkdobey, tell me: why not fuse?17:22
nettrot_Actually, not half the time. All the time.17:22
=== nettrot_ is now known as nettrot
dobeydark: it presented several problems which we couldn't solve or workaround, or we would have used it17:22
jdaynesI would like to see a periodic update implemented as a feature...I imagine I wouldn't always remember to reconnect the client when I want to push changes17:22
darkdobey, there is a rationale somewhere?17:22
darkit would be nice to have this problems actually fixed17:23
jdaynesbut for now, connecting only when I want to push will suffice. thanks dobey17:23
Chipacanettrot: what's that again?17:23
darkeven if the main implementors weren't willing to move to it again17:23
dobeydark: i don't know.17:23
darknow i am curious :(17:24
nettrotChipaca: I haven't gotten around to filing this, but Ubuntu One tries to sync 'changed' files when I open the files in vim. Except that it's probably syncing the swap file....17:25
nettrotSo really I'm probably just not thinking this through17:25
Chipacanettrot: sync as in upload, right?17:26
nettrotcorrec17:26
dobeydark: most of the problem was python-fuse, iirc17:26
Chipacayes, vim does a weird three-file dance which perplexed us, but the behavior is now correct (sure, not really needed, but correct)17:26
Chipacanettrot: at some point we might add in smarts so it realizes it's "just" vim doing that and ignore those files, but we have no app-specific rules yet17:27
nettrotWhich is fair. I wonder if syncing dotfiles should be optional though.17:28
darkdobey, and you weren't willing to use other language?17:28
Chipacanettrot: that's a good idea, I think. Could you create a wishlist bug for that so we don't forget it?17:29
dobeydark: *i* wasn't writing that part17:29
nettrotChipaca: Yeah, I'll go file that now.17:29
Chipacanettrot: thanks!17:29
dobeydark: or i would have done it in C anyway :)17:29
darkthe command line interface seems to be simple enough to implement in C, and the few ui could just use it too17:29
darkam17:30
darkdobey, you are a canonical employee?17:30
nettrotChipaca: Which project should I file against?17:30
dobeyyes17:30
Chipacanettrot: ubuntuone-client17:31
dobeythe ui and command line interfaces aren't the syncdaemon17:31
dobeythe syncdaemon is where all the file sync logic is17:31
Chipacadark: the syncdaemon would not have been an easy beast in C, at all17:31
dobeythe nautilus extension is in C17:31
darkthe syncdaemon is written in python?17:31
darkhmmm17:31
dobeyeverything but the nautilus extension is in python17:31
darkChipaca, it uses some kind of standard protocol?17:31
=== jdaynes is now known as feutete
dobeyit uses ubuntuone-storage-protocol17:32
dobeywhich is built with protocol buffers17:32
darkdobey, I would be happy with an optional nfs interface, really. Just like many people was happy when google gave them pop access17:32
darki don't even require cryptography! :p17:33
darki know its flaws, but it would be just... nice.. i hope it's not difficult to use both nfs and the ubuntuone-storage-protocol on the same data17:33
dark.-.17:34
dobeyi think rewriting in C using fuse would be easier than making an nfs implementation work :)17:34
dobeyi guess you could nfs mount the Ubuntu One directory if you wantecd to17:35
dobeynot sure if there are issues with it or not though17:35
darkbut can I do it remotely? from the ubuntuone servers?17:35
darkmy local Ubuntu One directory isn't very useful right now17:36
dobeydo what remotely? mount it as ssuch on another machine? no17:36
dobeynot through u1 anyway17:36
Chipacaoauth over nfs might be an issue17:37
Chipaca:)17:37
darkssh could be a good place to begin17:38
dobeyi think if we were going to go that route, we'd just do webdav17:39
dobeywhich we have talked about possibly doing, so windows/mac users can mount their share17:39
darkideally it should be possible to access ubuntu one in a standard unix installation17:40
Chipacadark: there's a bug to move us to gio from inotify, so it should run on solaris :)17:42
darkno, i meant, without the ubuntu client17:42
darkusing already established unix tools17:43
Chipacadark: I was pulling your leg. There are plans for a webdav client, which might take you closer. I don't see us writing an NFS server, but other people could.17:43
dobeyi don't think we'll be doing nfs or sftp support17:44
darkif you don't, how could other do?17:44
dobeyor uucp17:44
Chipacadark: the protocol is free and open17:44
darkChipaca, but your server isn't17:45
dobeyif you want nfs support to avoid using our server, you're not going to run our server anyway17:45
dobeyso i don't see how that argument fits?17:45
darkno, i want nfs support *in your physical server* (i want the 2gbs)17:46
Chipacadark: I mean, using the protocol you could write an nfs server that was also a client of our server, proxying17:46
darkhmm yes, but this doesn't address my 'ideal'17:46
darkbut ok ^^17:46
Chipacadark: I'm not sure how this differs from your ideal, could you expand?17:56
darkit would be nice that in any reasonable unix platform i would get a way to access ubuntu one without further installation; for the same reason it is nice to gmail to also have pop access (so that in any reasonable platform one could read email)17:58
darkbut i was thinking. megaupload/etc is full of porn.. even with those annoying captchas (and delays, and etc). i wonder what will happen with ubuntu one when people just notice it17:59
darkand no, not having ftp access will not stop anyone from abusing the servers :)17:59
darkwell i hope in the karmic+1 ubuntu one work flawlessy in livecd18:03
darki think it's very compelling to have my data everywhere but also protect it from eavesdropping18:04
gourgihi all , i'm seeing a "Something has gone wrong (500) Server Error" when trying to view my contacts from the webUI. is this a known bug?18:59
hamzaatova2hi---why does the folders in the ubuntu one folder backuped only by their names and not content???/19:13
CardinalFangSay that another way.19:14
Chipacahamzaatova2: what do you mean? (we don't)19:14
hamzaatova2Chipaca, the content is not backuped just the folders names19:16
Chipacahamzaatova2: do you mean that you're not seeing files on the web ui, only folders?19:16
hamzaatova2Chipaca, yeah19:17
Chipacahamzaatova2: try this: u1sdtool --waiting-content19:17
hamzaatova2Chipaca, what is u1sdtool?19:18
CardinalFang(That should realy be an option in the applet or whatever.)19:18
Chipacahamzaatova2: u1sdtool is a little tool that talks to the ubuntuone-syncdaemon over dbus19:18
CardinalFang(Early adopters might understand shell commands.  After that, all bets are off.)19:18
Chipacahamzaatova2: the ubuntuone-syncdaemon is the process that does all the file synchronization19:18
ChipacaCardinalFang: yes. I mentioned this to John Lea, and I think his mind exploded, or something :)19:19
hamzaatova2Chipaca, i dont understand but how to do it??'19:19
ChipacaCardinalFang: I've got to get back to him19:19
nettrothamzaatova2: Put hte command Chipaca suggested into a terminal window.19:20
Chipacahamzaatova2: ah! ok. Applications -> Accessories -> Terminal19:20
Chipacahamzaatova2: and copy what I said to try into that window, and press enter19:20
hamzaatova2Chipaca, nettrot ---u1sdtool: error: no such option: --waiting-content19:21
Chipacahamzaatova2: ah, ok19:21
Chipacaverterok: when did --waiting-content get into u1sdtool?19:21
verterokChipaca: :)19:21
verterokChipaca: I think a few weeks ago19:21
verterokChipaca: before the xmas holidays19:22
Chipacaverterok: was it released?19:22
Chipacaverterok: i.e. into ubuntu?19:22
verterokChipaca: probably in the nightly/beta ppa19:22
Chipacaah19:22
nettrotIt's not in my version, and I'm running the latest ubuntu alpha here.19:22
Chipacaverterok: do you remember the dbus-send ?19:22
verterokChipaca: yes, I have it my ZimWiki :)19:22
verterokgimme 1'19:22
Chipacanettrot: strange, I'm running ... what is it I'm running19:22
Chipaca1.1.0+r300-0ubuntu1~ppa1~karmic19:23
nettrotI've never installed u1 out of the ppa.19:23
Chipacaah, ok19:23
Chipacanettrot: never mind then :)19:23
Chipacahamzaatova2: give me a second, verterok will haev another command for you in a minute19:23
verterokChipaca: dbus-send --session --print-reply  --dest=com.ubuntuone.SyncDaemon --type=method_call /status com.ubuntuone.SyncDaemon.Status.waiting_content19:23
Chipacahamzaatova2: that ^ (from dbus-send to the end)19:24
hamzaatova2in the terminal Chipaca ?19:24
Chipacahamzaatova2: yes please19:24
hamzaatova2Chipaca, thats it???19:25
Chipacahamzaatova2: yes, it's long19:25
hamzaatova2ok---will it start to backup now?19:25
Chipacahamzaatova2: did it output anything?19:26
Chipacahamzaatova2: it's never stopped backing up, if it's working correctly19:26
hamzaatova2yes--- there is very long output19:27
Chipacahamzaatova2: ok, all those files are waiting to be uploaded19:27
hamzaatova2ok---lets see if it will back it up19:27
hamzaatova2americans always say please---thank you and such19:27
Chipacadbus-send --session --print-reply  --dest=com.ubuntuone.SyncDaemon --type=method_call /status com.ubuntuone.SyncDaemon.Status.current_status19:28
Chipacawhat does that ^ print ?19:28
Chipacahamzaatova2: especially in the "name" entry19:28
hamzaatova2"READY_WITH_NETWORK_WITH_BOTHQ"19:30
Chipacahamzaatova2: ok, so it's not connected19:30
Chipacahamzaatova2: click on the icon, and click "connect" please :)19:30
Chipacaif you don't have an icon, you can do19:31
Chipacadbus-send --session --dest=com.ubuntuone.SyncDaemon --type=method_call / com.ubuntuone.SyncDaemon.SyncDaemon.connect19:31
hamzaatova2there is no connect please :)19:31
Chipaca(the dbus-send way is more of a "connect dammit!")19:31
hamzaatova2the cloud is colorful after the former command19:32
hamzaatova2but there is no connect19:32
hamzaatova2the cloud is not there anymore19:33
Chipacahamzaatova2: if you did the .connect, current_status should have changed19:33
Chipacahamzaatova2: you can check that. Also, current_downloads should start showing movement :)19:33
Chipacacurrent_...something19:34
Chipaca1 sec19:34
Chipacahamzaatova2: u1sdtool --current-transfers19:34
hamzaatova2i didnt did connect and the cloud is not launching anymore19:34
Chipacahamzaatova2: that should start showing progress19:34
hamzaatova2ok--i see a file in upload process19:35
Chipacahamzaatova2: ok, so *do* do the .connect, and do then do the «u1sdtool --current-transfers» thing also19:35
Chipacaok. Now, if you have a lot (10k) of small files, it will be slow. Other cases work ok.19:35
hamzaatova2i dont understand----and there is no cloud---why?19:35
hamzaatova2i dont have many files19:36
Chipacahamzaatova2: the applet disappears when there is nothing interesting to say, unless you configure it differently19:36
Chipacahamzaatova2: try: ubuntuone-client-preferences19:37
hamzaatova2what for???19:37
Chipacaverterok: has the bandwidth throttling preferences been fixed?19:37
verterokChipaca: don't know what's the status of the preferences GUI19:38
verterokChipaca: it's fixed in the syncdaemon DBus API19:38
nettrothamzaatova2: It will let you set an option to always show the cloud.19:38
Chipacahamzaatova2: just in case, don't touch the throttling options (there was a bug, and it's rather insidious to clean up after if you touch it)19:38
hamzaatova2ok--it is ok without it19:38
hamzaatova2ok---byyyyyyyyyyyyyyyyyyyyyyyyyyyye19:39
adiroibanany idea why libsoup and epiphany can not access couchdb ?19:40
Chipacamaybe they've got muddy feet19:41
Chipacamy mom never let us on the couch with muddy feet19:41
ChipacaCardinalFang: question for you ^19:41
CardinalFangadiroiban, I need more information.  What happens?19:42
adiroibansoup_session_send_message  return SOUP_STATUS_CANT_CONNECT19:43
adiroibantrying the link in firefox or chromium, everhing is fine19:44
adiroibantrying the link in Epiphany (webkit) i get libsoup error19:44
adiroibanI was wondering if I am the only one with this problem19:44
adiroibanthe problem seems to be from libsoup19:44
CardinalFangadiroiban, it looks just like a HTTP server.  Can't connect seems pretty low-level.  I say strace it to see what the socket is doing.19:45
dobeyit's probably because there's an ipv6 address set up for the loopback interface19:46
dobeyin /etc/hosts19:46
CardinalFangI presume he's not connecting to  ip6-localhost .19:47
CardinalFangadiroiban, what is your URL you're using?19:47
dobeywell, libsoup is trying to19:47
CardinalFangFeel free to clobber the password, a.19:48
dobey::1     localhost ip6-localhost ip6-loopback19:48
adiroibanhttp://localhost:60748/_utilshttp://localhost:60748/_utilshttp://localhost:60748/_utils19:48
adiroibanhttp://localhost:60748/_utils19:48
adiroibansdfasdf19:48
dobeyis probably in /etc19:48
dobeyerr19:48
adiroibansorry19:48
dobey/etc/hosts19:48
adiroibanyep. I will look for ipv619:48
adiroibanin epiphany I'm using the bookmark file19:49
dobeyit's the ipv6 thing19:49
CardinalFangdobey, ?! Where did you get your hosts file?  I have two machines and netighet look like that.19:49
CardinalFang"neigher"19:49
dobeyCardinalFang: it's the default in ubuntu afaik19:49
CardinalFangDamn my fingers are cold and inflexible.19:50
dobeyi've never changed it19:50
CardinalFangadiroiban, Easy to find.  $ grep " localhost" /etc/hosts19:50
adiroibanthat did it19:50
dobeyverterok: ping19:50
adiroibandobey: thanks!19:50
dobeysure19:50
verterokdobey: pong19:50
adiroibanugly stuff19:50
dobeyverterok: hey, i'm trying to get some tests written which use DBusTwistedTestCase, and running into some problems, wondering if you could help19:51
CardinalFangWeird.  I'm on a breezy->lucid and a jaunty->lucid.19:51
verterokdobey: sure, shoot19:51
dobeyi'm on karmic, upgraded from jaunty19:51
adiroibani have a clean karmic install19:51
dobeyverterok: i set up a FakeLogin(), and am trying to call 'login' on the dbus iface, but i keep getting the dbus error saying no such method19:52
* CardinalFang boggles. I have the IPv6 logic in desktopcouch already, but for only one address. Maybe I should change it.19:52
verterokdobey: there is a test that uses a fake oauthdesktop...19:53
* verterok looks19:53
dobeyyeah19:53
verterokdobey: TestDBusOAuth19:53
verterokdobey: as there can be only one object exposed for each path, we need to chaneg the oauthdesktop path :(19:54
verterok*change19:54
verterokdobey: take a look to TestDBusOAuth.setUp19:54
dobeyok19:55
verterokdobey: probably your test isn;t finding the method because you already change the path?19:55
verteroks/;/'/19:55
adiroibanCardinalFang: so you don't have an IPV6 localhost in your /etc/hosts?19:58
CardinalFang"::1     ip6-localhost ip6-loopback"19:58
CardinalFang"127.0.0.1localhost"19:58
dobeyverterok: hrmm, so now i'm just getting twisted timeout errors :/20:04
verterokdobey: should be something in the logs about what's causing the timeout20:05
adiroibanCardinalFang: can you try to add localhost for ipv6 and see if you can use libsoup20:11
adiroibanrodrigo_: the http auth code is working, should I send it to you for review as a MP ?20:18
dobeyverterok: nope, might just be due to something in the script i'm trying to test20:40
verterokdobey: could you pastebin the code?20:40
dobeynot right now. gotta go to the airport20:43
dobeybut we can discuss more tomorrow i guess :)20:43
dobeythanks20:43
verterokdobey: sure20:46
rodrigo_adiroiban, send it as you want, as a patch, as a merge proposal in LP, etc21:11
adiroibanrodrigo_: ok. I have created a bug in LP, and attached a branch21:12
rodrigo_adiroiban, send it as you want, as a patch, as a merge proposal in LP, etc21:15
rodrigo_grr, inet connection sucks21:15
adiroibanrodrigo_: ok. I have created a bug in LP, and attached a branch21:15
rodrigo_assign the bug to me please21:16
adiroibandone: bug 50445221:17
ubottuLaunchpad bug 504452 in couchdb-glib "Implement Basic HTTP Auth" [Undecided,In progress] https://launchpad.net/bugs/50445221:17
rodrigo_cool!21:17
rodrigo_adiroiban, can you propose the branch for merging into couchdb-glib trunk please?21:18
rodrigo_it makes it easier to review21:18
rodrigo_adiroiban, for next time, it's easier if you bzr branch couchdb-glib/trunk, and then:21:19
rodrigo_bzr commit --fixes lp:xxxx -m "comment"21:19
rodrigo_and then propose the branch for merging21:19
rodrigo_that would link the branch to the bug when you bzr push21:20
adiroibantrue. I was playing with bzr-git21:20
rodrigo_ah, ok21:20
nettrotThat's good to know...21:20
adiroibanbut it looks like it is not working as expected21:21
adiroibanas I can not push the branch to couchdb-glib21:21
rodrigo_adiroiban, no it will push to your user21:22
rodrigo_ah, right, you need some magic in ~/.bazaar/locations.conf21:22
rodrigo_[/opt/extra/src/canonical/couchdb-glib]21:22
rodrigo_push_location = lp:~rodrigo-moya/couchdb-glib21:22
rodrigo_push_location:policy = appendpath21:22
rodrigo_public_branch = lp:~rodrigo-moya/couchdb-glib21:22
rodrigo_public_branch:policy = appendpath21:22
rodrigo_replace /opt/extra... with the path where you have the couchdb-glib branches dirs21:22
rodrigo_and my username with yours21:23
rodrigo_then bzr push will just push to lp:~adiroiban/couchdb-glib/branch21:23
titeuf_87how can I store using desktopcouch an empty list? My records have a list of "tags" that I use to organize, but those tags are optional and when there are none it raises a ValueError because the list is empty21:27
titeuf_87well guess I can just store None instead by manually checking with an if, but that doesn't really look pretty21:30
adiroibanrodrigo_: still not able to combine git with bzr http://paste.ubuntu.com/353129/21:32
rodrigo_adiroiban, yay, don't worry about git, I'll do the merge manually myself21:33
rodrigo_so keep your patch, and bzr branch... etc from what I said above21:33
adiroibanwell. in the future I will create a plain bzr branch21:33
adiroibanand request the MP using that branch21:34
adiroibanthe strange thing is that the branch was created (even if it was complaining)21:34
adiroibanso you can see the MP https://code.edge.launchpad.net/~adiroiban/couchdb-glib/basic-auth/+merge/1699021:35
rodrigo_cool21:35
adiroibanrodrigo_: there was a strange thing in couchdb-glib/couchdb.h . Even thou the header specifies 8 tab21:36
adiroibanthere were some space indentations21:36
rodrigo_ah21:36
adiroibanand I was not sure about the coding convention21:36
adiroibanfeel free to complain about that and I will fix it21:36
rodrigo_adiroiban, I'm thinking that the API might look better if, instead of _enable_oauth, _enable_basicauth21:37
rodrigo_if we did something like what libsoup does with its SoupAuth object21:37
rodrigo_that is, have a couchdb_set_authentication (couchdb, CouchdbAuthentication *auth)21:37
rodrigo_and have an object derived from CouchdbAuthentication that does oauth and another that does basic auth21:38
adiroibanyes. we can created some wrapping objects for CouchdbAuthentication *auth21:38
adiroibanbut if we are not going to support other authentication methods21:39
rodrigo_if you want, I can create the CouchdbAuthentication interface, and then you implement the basic http on top of it21:39
rodrigo_well, we might21:40
rodrigo_not sure right now, but having this API would make it easier to extend21:40
adiroibanrodrigo_: sure. It should be easy to implement the basic http auth using the new interface21:40
rodrigo_ok then, tomorrow you'll have the interface21:41
adiroibanno hurry21:41
rodrigo_or maybe now, it indeed just needs to have a _sign_request or similar method21:41
rodrigo_well, basic http auth just authenticates once, right?21:42
rodrigo_ah, it's a signal on SoupSession21:42
adiroibanwell... the header of each request will have the basic auth info21:42
adiroibanand the username and password are „cached”21:43
adiroibanin libsoup it is implemented as I signal to make it easy to implement a password prompt21:44
rodrigo_it's cached in libsoup or in your code?21:45
adiroibanin my code21:45
rodrigo_so, the authenticate signal on SoupSession is called for every SoupMessage that is sent?21:45
adiroibanand that requires authentication. yes21:45
adiroibanbut I think the Auth object is also cached by libsoup21:46
rodrigo_hmm, ok, sounds like we can have an interface with a 'authenticate' or 'sign_message' virtual method21:47
adiroibanyep. the Auth object is also cached21:47
adiroibanby libsoup21:48
rodrigo_that should cover at least the needs for oauth and basic http21:48
adiroibanlibsoup auth tests are here http://git.gnome.org/browse/libsoup/tree/tests/auth-test.c21:49
rodrigo_yeah, looking at them now21:49
adiroibanthey should cover various other authentication methods21:49
rodrigo_not sure though how the SoupAuth stuff fits oauth, I guess we could add a SoupOAuthAuth object22:03
rodrigo_or easiest thing would be to not use SoupAuth and have couchdb-glib call the authenticate virtual method for each msg22:04
rodrigo_that should work for both basic and oauth, right?22:04
rodrigo_I'll think a bit about it, so please do the same and let's discuss tomorrow, ok?22:07
* rodrigo_ goes to think and relax :-D22:11
adiroiban:)22:26
adiroibanor we can just have OAuth22:27
adiroibanand the rest of Auth supported by libsoup22:27

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