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

daveisadorkis there any way to prevent ubuntu one from replicating a specific database?00:29
daveisadorki'm writing an app and was hoping to use desktopcouch for the database... didn't realize ubuntu one would try to sync it00:37
daveisadorkand when i delete the local database, ubuntu one re-syncs it (and all 20k documents) from the cloud00:37
=== jamesh_ is now known as jamesh
=== mattgriffin changed the topic of #ubuntuone to: Have a question? Ask for help | https://one.ubuntu.com | https://launchpad.net/ubuntuone | Please honk if you want a music store
=== jamalta is now known as jamalta-afk
peturHello12:18
=== petur is now known as Guest33632
Guest33632If a file on my harddrive gets corrupt, (it's md5sum will be diffrent) because of bad sectors on my drive12:18
Guest33632And that file is in a folder which is to be synced with ubuntuone12:18
Guest33632erhm.. i guess what i'm trying to ask it12:19
rtgzGuest33632, the file will be synced to Ubuntu One if its checksum differs12:19
=== Guest33632 is now known as peturdk
peturdkAlright12:19
peturdkWhat if the readonly flag is set?12:20
rtgzpeturdk, if the file is readable then it will be synced. There was one such case discussed here with power failure and zeroed file12:20
peturdkIs there any way i can tell the file "STAY"12:20
peturdkI see12:21
rtgzpeturdk, I think that this is not possible at the moment.12:21
peturdkAnd if i chmod it to 000 after it's been put into ubuntuone12:21
peturdkwill it still sync on changes?12:21
rtgzThough it needs better investigation. The bad part for this is that it is hard to emulate that in virtual machine...12:21
rtgzpeturdk, if ubuntuone can't read the file to be synced... hmmm...12:21
rtgzlet me check12:21
peturdkoki12:22
rtgzpeturdk, erm.. it will not sync the file, right12:23
rtgzbut syncdaemon becomes crazy12:23
peturdkOh okay i see12:23
peturdkAnd a final question, would 'rm -r /home/petur' delete all files from ubuntuone as well?12:23
rtgzconstantly running hasher routine to get the hash, it fails and it retries, causing pretty high CPU load12:24
peturdkThis is bad for me, because if any one of my workstations is to behave strangely, it would loose all my data12:24
peturdkYou have been very helpful, thank you12:25
rtgzpeturdk, if ubuntuone-syncdaemon is running and it is fast enough to propagate the changes to the server then yes. Chances are that it will face unexpected condition when cache will be removed and then it might try to create conflicts12:25
rtgzso... It is better to shut syncdaemon down before rm -rf your home12:25
peturdkYes you are correct12:26
rtgzpeturdk, and thanks for the hint for unreadable ( chmod 000) file - it looks that I will need to poke devs regarding CPU usage12:26
peturdkAlways trying to think outside of the box :)12:27
rtgzpeturdk, the idea to get multiple versions of the file has been raised here, but I don't think it is considered at the moment.12:27
peturdkStore, sync and share. Backup your life with ubuntu one.12:29
peturdkOffsite backups, as the page ads, should be safe from local disasters no matter how complicated12:29
peturdkI would love to see it improved :)12:30
rtgzDesktop+ guys, hasher becomes crazy when it is unable to hash the file, it tries to hash the file with no hold-off period. This leads to enormous CPU usage. Observed on 1.1.1+r321-0ubuntu1~ppa1~karmic12:30
rtgzpeturdk, yes, there are a lot of rough corners at the moment, but the team works to get it all sorted, so that it would be really possible to back up someone's life12:31
peturdk:)12:31
rtgzpeturdk, ok, the CPU problem is now confirmed: bug #49195012:37
ubottuLaunchpad bug 491950 in ubuntuone-client "100% cpu usage calling calcuate_hash on same file over and over" [Low,New] https://launchpad.net/bugs/49195012:37
peturdkrtgz: Great12:48
rtgzpeturdk, now we need to get version support in.12:49
peturdkWhat is version support?12:49
rtgzfrankly speaking, the versions might occupy the same 2Gb/50Gb space, i.e. it would be possible to "clean" older versions.12:49
peturdkAhh12:50
rtgzpeturdk, I mean when new version file gets uploaded to the server, the old one does not get lost, it is still there.12:50
rtgzokay, it is still there when file is removed, since the actual removal happens not in the realtime, but the upload might create new block, put the "latest revision" there, mark old one as obsoleted and show some hint for file version12:51
rtgzthis can then be embedded in nautilus as some file propery tab and the web interface should give this info as well12:51
rtgzpretty handy for files that get updated often.12:52
rtgzIf the space consumed by the obsolete files is counted towards user quota then it should be possible to "clean up" older file versions.12:52
rtgzbut this is an informal description; need to get it written into the wishlist; But in your case that would help a lot.12:53
rtgzpeturdk, since in case a corrupted version gets uploaded, it would be possible to recover the "known good version"12:53
rtgzokay, me needs to become away12:54
=== rtgz is now known as rtg|away|z
peturdk:D12:54
peturdkGood idea12:54
diverse_izzuethe web frontend has some usability issues that seem like they would be very easy to fix. 1) file names are truncated even if there is more than enough space to show them entirely 2) instead of 2days, 1 month ago, say "1 month and 2 days ago"13:04
=== 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
rtg|away|zdiverse_izzue, 1) Bug #45199714:04
ubottuLaunchpad bug 451997 in ubuntuone-servers "Filenames shortened unnecessarily in the web UI" [Medium,Triaged] https://launchpad.net/bugs/45199714:04
rtg|away|zdiverse_izzue, the second issue does not seem to have any associated bug14:04
=== rtg|away|z is now known as rtgz
diverse_izzuertgz, thanks14:05
jblountrtg|away|z, diverse_izzue: https://bugs.edge.launchpad.net/ubuntuone-servers/+bug/45729814:06
ubottuError: This bug is private14:06
rtgzdon't know.. ubuntuone-servers might need a web-ui projecct or something; keeping HTML/JS related bugs as private simply makes more duplicates14:07
* dobey likes duplicates14:07
dobey"me too" is totally useless14:08
=== jamalta-afk is now known as jamalta
rtgzdobey, need to tell users to use standard "mee-too" button14:09
dobeyno14:09
rtgzjblount, nope, the bug is too private for now, can't see it :)14:09
jblountSorry, should be public now: https://bugs.edge.launchpad.net/ubuntuone-servers/+bug/45729814:09
ubottuUbuntu bug 457298 in ubuntuone-servers "web ui: too much specificity on last modified info in file ui" [Medium,Triaged]14:09
dobeywhether they say "me too" in a comment or click the "me too" button is useless information14:10
jblountrtgz: Just wait until Monday :)14:10
rtgzo_O14:10
jblountdobey: Isn't konwing how many people are effected by something useful?14:10
rtgzdobey, but it is much better than... bug #49264514:11
dobeyjblount: only if they are actually affected by it. 99% of the "me too"s we get aren't actually the bug14:11
ubottuLaunchpad bug 492645 in ubuntuone-client "weather applet crashes on logout" [Medium,Incomplete] https://launchpad.net/bugs/49264514:11
dobeyrtgz: filing a bug in the wrong place is one thing.14:11
rtgzwhich is simply, erm.. a default bug text :)14:11
jblountdobey: Yeah, I guess that's true.14:12
dobeyrtgz: yes, well, lp ui isn't really translated very well i guess, and not everyone understands the meaning14:12
rtgzdobey, translations... yes. Translated UI is one part. Translating content is what makes it that complicated.14:14
dobeyrtgz: translating the content isn't the problem here.14:14
rtgzbut that is beyond the scope of the original discussion, really; ubuntuone-servers bug reports are private by default and there is no "tick" when ticket is criated to make it public. So it goes like post, see that it was committed to lp and then run and hide, w/o marking the bug as public.14:15
rtgzThough I have no info on the number of ubuntuone-server bugs;14:16
* rtgz needs to get rid of semicolon14:16
dobeyrtgz: and bugs filed with apport that attach logs are marked private by default as well14:16
dobeyrtgz: for Ubuntu14:16
rtgztrue14:16
dobeyand ideally, the web should never be involved in filing a bug14:17
jblountIs there a master bug for the notes web ui being broken ?14:21
rtgzjblount, there is a joint one for webui and tomboy sync, since at that time it all was failing in a similar way14:21
rtgzjblount, bug #50102014:22
ubottuLaunchpad bug 501020 in ubuntuone-servers "Tomboy note sync and web-ui for notes are broken" [High,Confirmed] https://launchpad.net/bugs/50102014:22
rtgzwill not do joined bug reports for such things anymore, I promise14:22
jblountrtgz: :)14:23
* rtgz will do such joined reports for other things only14:23
=== mbarnett` is now known as mbarnett
rtgzjblount, bug #499595 is related to this, as statik said earlier14:28
ubottuLaunchpad bug 499595 in ubuntuone-servers "Notes API causes ResourceConflict" [High,In progress] https://launchpad.net/bugs/49959514:28
jblountrtgz: Nice, thanks!14:30
rtgzjblount, those are tied together by christmas-bug tag14:31
verterokdobey: I marked #492645 dupe of #36862614:31
jblountHeh, all we got for Christmas was more bug reports!14:32
dobeyverterok: ok14:33
Lili^hello14:59
jblountLili^: Hi!15:00
rtgzok, time to clean-up my mess with metadata-loading. Rebooting to reproduce the issue with stock karmic sources15:03
aquariusCardinalFang, the watch-the-changes-feed function that got built at UDS Dallas -- is that in released desktopcouch?15:03
=== beuno_ is now known as beuno
CardinalFangaquarius, It's "released", but that version isn't packaged in Ubuntu.15:05
aquariusCardinalFang, cheers15:05
CardinalFangSo, tarballs only at present.15:06
dobeyahem15:07
urbanapeitzat time15:07
urbanapeDesktop+ folks: MEETING BEGINS and/or MEETING STARTS - say 'me' to stake your claim15:07
urbanapeme15:08
jblountme15:08
dobeymeh15:08
aquariusme15:08
CardinalFangme15:09
vdsme15:09
rodrigo_me15:09
teknicome15:09
urbanapeDONE: Finished my subsequent client first time sync branch and went to test it - D'OH! Bindwood no worky with Firefox 3.6! Started digging into it.15:09
urbanapeTODO: Lordy, fix Bindwood to work with 3.6 - current Bindwood has maxVersion of 3.5.*, so will likely need an emergency fix released soon, or we need to let people know not to use 3.6 with karmic.15:09
urbanapeBLOCK: None, but frustrated a bit.15:09
urbanapejblount: HAMMERTIME15:09
jblountDONE: Got (nearly) back in the swing of things from being sick, Bug day15:10
jblountTODO: FACE DUTY, call Ubuntu Start page next steps15:10
jblountBOCKED: NOPE15:10
jblountdobey: GOGOGO15:10
dobey☺ DONE: Debugged branch landing problems, Got branches landed, Filed #512552, Handed off tarmac stuff to ops+, Worked on #510351 (enable bipedal oauth in server)15:10
dobey☹ TODO: Fix some bugs I filed (#510351, #510353, #510348, #510355)15:11
dobey☹ BLCK: None.15:11
dobeyaquarius: romane ite domum15:11
aquariusthat would be "romani" :)15:11
aquarius⚀ DONE: discuss music downloader design; have music library page send row to database; write and deliver Ubuntu Developer Day talk15:11
aquarius⚁ TODO: split library page into three, write tests, and commit; test suite for music downloader design; have music library page send message to downloader daemon; make tomboy first-sync experience nicer15:11
aquarius⚂ BLOCKED:15:11
aquariusCardinalFang, speak your wisdom15:11
dobeyromani eunt domus15:11
CardinalFangDONE: added ~7 tests for server notes code that had no test coverage at all.  Found a few bugs.15:12
CardinalFangTODO: finish with tests and fix notes bug#51134115:12
CardinalFangBLOCKED: None15:12
CardinalFangvds, por favor15:12
vdsDONE: landed branch to fix sms configuration in trunk, helped beuno in configuring working copy for mobile sync, triaged bugs for bug day, attended two Ubuntu Developer Week lectures, started new branch to implement the business logic to configure a mobile handset.15:12
vdsTODO: ask a question to funambol support15:12
vdsBLOCKED: nope15:12
vdsrodrigo_: go go go!15:12
rodrigo_• DONE: Contacts picker work based on design team's designs. Looked at python-lxml version update for hardy. Moved JS code to its own file in libu1. Music store discussions with Stuart, Lucio and Alejandro. Looked at oauthdesktop for music store. Added categories field to contacts for evolution-couchdb unstable15:12
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? Add jslint tests to check. Remove autosave code in notes web editor. U1 client must intercept notregistered URL and use d-bus to call oauthdesktop.15:12
rodrigo_ U1 client adds back button to pages. U1 client interrogates library page to update download progress. Test suite for download daemon. geoip detection on server to forward to appropriate store15:12
rodrigo_• BLOCKED: no15:12
rodrigo_teknico, go!15:12
teknicoDONE: bug triage; more debugging an error at first login (#513280); some testing funambol cared deployment (#511316)15:12
teknicoTODO: more testing funambol cared and funambol exchange deployment (#511316); fix a user's problems accessing the contacts web IU (#506584)15:12
teknicoBLOCK: still cannot access the web interface due to an error at first login (#513280)15:12
tekniconext: MoonRiver15:12
aquariuswider than a mile?15:13
teknicoaquarius, exactly :-)15:13
jblountteknico: My small brain can't solve that problem you mention, but you can subscribe at /plans/ if thtat helps while running locally :)15:14
teknicojblount, interesting, I tried that now, and whoever is logged in is getting somewhere :-)15:15
jblountteknico: :)15:16
jblountteknico: Probably the user you are logged in as is one of the ranodom users that you get. Sure smells like a open ID problem.15:17
teknicojblount, yes, same thing as jdo said15:19
* jblount must be learning something if he said something jdo said :)15:22
=== beuno is now known as beuno-lunch
rtgzmy cleanup brings up the following questions: Bug 492610 - why would something crash if it receives dbus timeout; I could not reproduce that16:26
ubottuLaunchpad bug 492610 in ubuntuone-client "Crashed on gnome session start. (dup-of: 461614)" [Undecided,New] https://launchpad.net/bugs/49261016:26
ubottuLaunchpad bug 461614 in ubuntuone-client "ubuntu one wouldnt connect and then gets d-bus error: did not recieve reply" [High,Confirmed] https://launchpad.net/bugs/46161416:26
CardinalFangrtgz, Synchronous dbus functions raise exceptions in Python, on timeout.  Callers should catch them, or (Better Yet!) just use asynchronous calls.16:31
rtgzCardinalFang, yep, but I could not reproduce the crash itself; applet was sitting there, doing nothing, while timeout occured. In my case it remained doing nothing.16:34
rtgzok, I will need to become away again for next 2 hours; In case there is something I broke with the duplicates, please let me know16:35
CardinalFangrtgz, no idea.  Maybe a different timeout preempted the first in your case.16:35
CardinalFangDamn.  Desktop is frozen on big computer.16:37
CardinalFangI blame jblount.16:37
CardinalFangSomething in USB use causes it.  Second time it's happened this year.16:38
CardinalFangWow, it took 3 minutes before caps+scroll LEDs started blinking.16:39
=== beuno-lunch is now known as beuno
CardinalFangah, appears to be nvidia driver.  Fun.16:44
jblountCardinalFang: Apologies, it was probably my fault. I break everything.17:32
faganaquarius: I installed the music store plugin and I got "FIXME failed to correctly auth to the music store"17:33
aquariusfagan, that's because it's not ready yet. :)17:33
faganAh17:33
faganI wanted to have a look :)17:33
aquariusfagan, it's targeted for alpha 3.17:33
faganaquarius: ill be waiting :)17:34
* fagan is excited since the UDS meeting about this 17:34
aquariusI'll make a big deal when it's ready17:34
faganaquarius: are we allowed to know who the music provider is yet?17:36
aquariusmattgriffin, ^17:36
* fagan has a bet that its amazon 17:36
aquariuswe're in the process of putting together a FAQ about various questions, one of which is that one, so keep your eyes out for that17:37
faganI will thanks aquarius17:37
CardinalFangfagan, I don't think it's secret, but we want to get the best deal we can out of them, so we want to make them worry a bit.  So we don't talk about that part yet.17:40
faganthe phrase "we got them right where we want them comes to mind"17:41
faganWhoops quotation error there17:41
fagan"we got them right where we want them" comes to mind17:42
CardinalFangI love your optimism.17:42
faganCardinalFang: thats my biggest quality17:43
faganI dont know enough not to be anything but17:43
faganIts hard not to be interested and optimistic if you know nothing about it17:43
mattgriffinfagan: very soon ;)18:02
faganmattgriffin: Ah I can wait18:02
mattgriffinfagan: thanks. we think everyone will be very pleased18:03
faganmattgriffin: well I was pleased it was even happening and at the UDS I was very happy how far the plans were18:04
mattgriffin:)18:04
faganI was person talking way too much :)18:04
mattgriffinhehe18:04
statikwow, vish is tearing through the bug list, way to go18:28
dobeyis that what you named your script?18:31
statikno, my script is named blammo18:32
beunostatik, so when are we printing Ubunto One t-shirts to give away to these productive community people?  :)18:37
* beuno secretly wants an ubuntu one tshirt18:38
dobeyyou mean the community people can't be productive and print the shirts for us?!18:38
dobey:)18:38
beunosure, and then we'll triage bugs for them!  ;)18:38
dobeyok18:39
* dobey writes a 10 line python script to triage the bugs18:39
CardinalFangTriage *correctly*.18:39
dobeyoh sorry18:40
* dobey writes a 20 line python script to triage the bugs18:40
* CardinalFang thinks it should be a 300 line C program, anyway.18:40
beunoif only...18:40
dobeybeuno: what do you mean?18:40
beuno...that was possible18:41
beuno:)18:41
dobeythe python script?18:41
dobeyit is18:41
dobeyanything is possible in software18:42
beunoI'm tempted to ask you to prove it18:42
beuno:)18:42
dobeydude, we already *have* a python script running on one of the servers that triages some bugs for us. it's called apport-retrace18:43
* CardinalFang casts Summon Gödel spell.18:43
dobeyheh18:43
statikbeuno, shirts would be cool18:46
dobeybeuno: and if i didn't have so much work to do on this client app thing, i'd probably have written 3 such scripts already18:48
=== teknico is now known as teknico_away
dobeyverterok: ping18:48
verterokdobey: pong18:49
dobeyverterok: hey. it's not quite clear to me. i want to add a dbus call to syncdaemon to get the free space info, since there isn't one already. but i'm not sure how to tell the action queue to do a specific command18:50
dobeyverterok: do I need to add some code to volume_manager.py or something to make the action queue calls?18:51
verterokdobey: hmm...let me take a look18:52
verterokdobey: the call is: action_q.inquire_free_space(volume_id)18:53
verterokdobey: in which object you want to expose this method?18:53
verterokdobey: in which DBus object18:53
dobeyoh ok, and it's self.dbus_iface.action_queue18:54
verterokdobey: right18:54
dobeyverterok: well the signal for FreeSpace is on Shares, so I presume it should go there as well18:54
dobeyverterok: though maybe both of them belong somewhere else18:54
verterokdobey: we can change that, as we now have UDFs18:55
verterokdobey: right18:55
verterokdobey: what do you think about Status?18:55
dobeyit should probably be next to the account info bit i guess. but i'm not sure why it's currently under Shares18:56
verterokdobey: no idea why it's there18:57
dobeyhmm, and why aren't the free space, and total space, in the same message in the protocol18:57
verterokdobey: the free space signal are actually free space for a specific share18:58
verterokdobey: in the case of UDFs it's the same value for UDFs and for the root, but each share has it's own free space value18:58
dobeywell, shares to you show the free space of the owner's account i would guess18:59
dobeybut why doesn't it show used space also18:59
dobeythe storage protocol method of getting this info is currently pretty expensive :-/19:00
dobeyand i don't know if we should change the protocol right now19:02
dobeyblah19:03
* rtgz is no longer away19:17
rtgzis there any bug report regarding ubuntuone sharing clashing with samba sharing; One can share folders via ubuntuone but "Share" tab on file properties will show that sharing is not enabled19:18
joshuahooverrtgz: i don't ever recall seeing a bug along those lines19:19
rtgzjoshuahoover, he he... freshbug19:19
* dobey thinks WONTFIX19:26
dobeyat least, not for lucid19:26
dobeythough i'd be happy to see nautilus-share not be installed by default19:27
rtgzdobey, I would be happy to see nautilus-share NOT using samba, or being pluggable19:27
* rtgz thinks that Nautilus Plugin that uses other plugins is not a good idea19:28
dobeyrtgz: i already started working on something like that years ago19:28
dobeyrtgz: extensible and simple, but alas19:29
dsagerhello everyone, a question regarding the notes stored in the U1 cloud: are the notes somehow encrypted? i'd like to sync personal notes (like PW lists, bank accounts) with U1 but I'm not sure if the data is save...20:06
statikhi dsager: they are not encrypted. the notes are transmitted over SSL so not likely to be sniffed, but they are not encrypted.20:07
dsagerok, so anyone with access to the U1 filesystem could read them, right?20:08
statikdsager: the sysadmin who has access to backup the couchdb could read them if he wanted to get fired and go to prison. nobody else could read them.20:08
mandelstatik, love that answer ;)20:09
dsagerhehe, thanks for the info!20:09
statikdsager, we've been getting feature requests to allow people to share notes, so in the future you might be able to grant access to other people. but for now it's only you that can access them.20:09
dsagerok, that sounds good! thanks again!20:10
=== gnomefreak76 is now known as gnomefreak
CardinalFangrodrigo__, you around?20:44
=== gnomefreak76 is now known as gnomefreak
=== jblount changed the topic of #ubuntuone to: Have a question? Just ask ! | https://one.ubuntu.com | https://launchpad.net/ubuntuone | Please honk if you want a music store
jugger90hi22:10
jblountjugger90: hi!22:11
jugger90I have problem on note saving from web ui yestaday22:12
jugger90i can save a note and del a note but can't edit22:12
jugger90i can creat22:13
jblountjugger90: Let me test that for my account and see if I can recreate.22:13
jblountjugger90: Do you get any error msg?22:13
jugger90no i don't get any msg22:13
jugger90just say There was a problem with saving your note!22:14
jblountjugger90: Do you see, "There was a problem with saving your note!" at the bottom?22:14
jugger90i can see that22:14
jblountOh, ok. This is probably related to some known brokeness, let me find you the bug.22:16
jugger90thank you22:16
CardinalFangjblount, I have this bug.22:16
CardinalFangjugger90, thank you.  We know about it and will have a fix very soon.22:16
jugger90i see22:17
jblountjugger90: https://bugs.edge.launchpad.net/ubuntuone-servers/+bug/501020 seems to be it, I think if you follow that bug you'll know when it is resolved.22:17
ubottuUbuntu bug 501020 in ubuntuone-servers "Tomboy note sync and web-ui for notes are broken" [High,Confirmed]22:17
* jblount high-fives CardinalFang 22:17
CardinalFangjugger90, there were two bugs.  We fixed the one already, but discovered there was another waiting behind it.22:17
jugger90oh...22:18
CardinalFangBug #501020 isn't your problem.  Yours is a private bug, unfortunately.22:19
ubottuLaunchpad bug 501020 in ubuntuone-servers "Tomboy note sync and web-ui for notes are broken" [High,Confirmed] https://launchpad.net/bugs/50102022:19
jugger90I will mainly use web ui from windows so,this bug make note useless22:19

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