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

Chipacapopey: you still there?00:51
Chipacapopey: the wording is funny, but you should be able to revert it easily00:51
Chipacapopey: not sure what you meant by that however00:51
popeyChipaca: i pressed the enable button and it disappeared00:56
popeyso i didnt see a button that would let me revert00:56
popeywhich made me panic00:56
Chipacapopey: the wording is wrong, we're working on that. The placement was wrong, but has been fixed (if you're on the nightlies), so now it only appears on places that make sense. Still in more places than some people will want, however.00:57
Chipacapopey: what it does is sync that folder with u100:57
popeyyes, i understand that00:57
popeybut what if i dont use u1?00:57
Chipacapopey: so once it's synced you should get a 'disable' button, which would stop syncing. In the middle, it might be broken right now00:57
popeybut it will never complete a sync in my case00:58
popeythe folder i clicked 'enable' on is 3.5GB00:58
popey(i am on the 2G plan)00:58
Chipacathere's *another* bug about warning you about that situation :)00:58
popey:)00:58
popeygood good00:58
Chipacawe can't do much more than warn you right now00:59
popeyI'll do some more testing and follow up with bugs00:59
Chipacathanks00:59
popeythanks for letting me know the situation00:59
Chipacayou can check in the case mapper to see how it's supposed to work00:59
Chipacathe case mapper stuff isn't set in stone, but it's pretty darn close :)00:59
popeywill the u1 bar always be there, even for people who dont use u1?01:01
Chipacapopey: define "don't use". Probably, yes.01:01
popeyhaven't signed up to it01:01
popeyugh, thats a bit.. spammy01:02
Chipacapopey: yes, it'll be there01:02
Chipacapopey: yes, it is01:02
popeythats gonna get us some negative press IMO01:02
ChipacaI'd love a well thought out bug report in that direction01:02
popeyI am trying to envisage any similar situation on other platforms. All I can think of is things like MSN messenger nagging you to join up01:03
popeyi realise there are value add features on the mac for example that require a mobile me account01:04
popeybut I'm pretty sure none of them are that in your face01:04
popeyhmm, will have to think more on this.01:04
popeythanks01:04
Chipacano, thank you!01:05
Chipaca(also, whoops, nearly lost connectivity there as the bus went through an extra hilly bit)01:06
popeyhehe01:06
=== yofel_ is now known as yofel
=== dendro-afk is now known as dendrobates
=== cpg is now known as cpg|brb
=== cpg|brb is now known as cpg
=== lifeless_ is now known as lifeless
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
duanedesignpopey: there is a bug report about that U1 bar in Maverick08:27
duanedesignpopey: bug 60110209:18
ubot4Launchpad bug 601102 in ubuntuone-client (Ubuntu) "ubuntu one disabled notice in every nautilus window (affects: 2) (heat: 14)" [Medium,New] https://launchpad.net/bugs/60110209:18
ryepopey, the fix for this is already committed to the bzr, now this banner will appear in all directories within $HOME but not in $HOME itself09:24
duanedesignmorning rye09:27
ryeduanedesign, morning!09:27
duanedesignrye: someone went over this with me the other day i just wanted to confirm. The ubuntuone-ops+ team has been merged into another team?09:46
duanedesigni wsa going to update the wiki 'Bug Workflow' page09:47
ryeduanedesign, i heard about that from beuno but i need to doublecheck, when pfibiger becomes available09:47
duanedesignok thanks09:49
=== cpg is now known as cpg|away
duanedesignrye: i thought this was interesting.I know you have been messing around with python. http://blog.ksplice.com/2010/07/building-filesystems-the-way-you-build-web-apps/10:22
ryeduanedesign, hm, interesting, btw, did you know that the first versions  of ubuntuone client were fuse-based?10:26
duanedesignrye: i did not.10:27
ryeduanedesign, however there were issues with kernel lock-ups and file tree refresh (server to client) that made the team to start developing alternative approach10:33
duanedesigninteresting.10:35
=== JRo is now known as JoachimR
=== teknico is now known as teknico_away
JoachimRhello !13:44
JoachimRis anyone available for a question ?13:46
duanedesignJoachimR: hello13:52
duanedesignJoachimR: what was your question?13:53
=== teknico_away is now known as teknico
=== dendrobates is now known as dendro-afk
CardinalFangChipaca, I'm trying to renew my driving license, and at this rate, I may not be out in time for standup meeting in 50 min.14:10
CardinalFangOoo, it's picking up now. maybe i will.14:11
duanedesignugh the DMV14:19
=== dendro-afk is now known as dendrobates
dobeyCardinalFang: do they have a comfy chair at least?14:48
CardinalFangdobey, yes, but the wait itself is excruciating.14:50
dobeyheh14:51
dobeyyeah, i need to take another car in for state inspection soon, probably this week or early next14:51
duanedesigni had to replace a lost drivers license, it was awful.14:54
dobeyreally?14:57
dobeyi would just order a new one on-line14:58
duanedesign:D15:00
dobeyi haven't been to the dmv in years :)15:06
CardinalFangOnline only works if you don't need it soon.15:07
dobeyit's all relative :)15:08
dobeyand i don't believe in time anyway. i only refer to it as a means of relating to other humans, since they all use it.15:09
CardinalFangI was goung15:21
=== JUMPA is now known as jumpa
mkarnickiCardinalFang: ping15:35
mkarnickiCardinalFang_: ping15:36
CardinalFang_mkarnicki, hi15:37
mkarnickiCardinalFang_: hi! got few minutes for me for Android related chat :) ?15:37
CardinalFang_mkarnicki, sure.15:37
mkarnickiCardinalFang_: few apps is more then me ;) hehe15:39
mkarnickiCardinalFang_: have you written a Service on Android?15:39
mkarnickiCardinalFang_: I started the implementation (remote process), though I'm not sure what would be the best choice15:39
CardinalFang_mkarnicki, yes.15:39
mkarnickiremote process with AIDL IPC, or a local binded process15:39
mkarnickiU1Service could, potentially, be used later by 3rd party apps, if15:40
mkarnickiI would start playing with couchDB, but for know AndroidU1 would be the only app15:40
mkarnickiCardinalFang_: since connecting + authenticating is costly (in time and memory), plus15:40
mkarnickiCardinalFang_: the user will have an option to leave the process in the background for real sync15:41
mkarnickiCardinalFang_: do you think that I'm complicating my life, or remote service with IPC interface is a good idea?15:41
mkarnickiCardinalFang_: U1 has it's Java client written by verterok, it uses concept of Deferred(s), scheduling task that will execute sooner or later. they are async, so that's their point.15:42
mkarnickiCardinalFang_: Android has AsyncTasks, which are cool for blocking operations, but I can't use them, as Deferreds run on their own thread (sic!) :(15:43
mkarnickiCardinalFang_: ok I think 2 simultaenous questions is enough for now.. ;)15:43
CardinalFang_mkarnicki, I'm working on the first answer!15:43
mkarnickiCardinalFang_: cool :)15:43
mkarnickiCardinalFang_: I've reserached it pretty well, so you can ask me Service related questions15:44
mkarnickiCardinalFang_: (local binded service runs in the same .apk process [as Activities, etc]; remote process runs on it's own, so that other applications can communicate with it through inter-process communication interface, with which they bind to the service whenever they e.g. need to schedule a download, upload, sync, whatever)15:45
mkarnickiCardinalFang_: however, I think I have checked that local binded service got killed when I left the main Activity.. I'm pretty sure that was the case. and we don't want to interrupt the service (unless the user does it him/herself by killing it with a task manager or what not)15:47
CardinalFang_mkarnicki, yes, you want a Service + AIDL, if you want synch to continue outside an Activity.  If the user switches away, then they system is likely to kill any local threads in the activity.  AIDL+RPC is not hugely expensive, but you should not make unnecessary in-out or out parameters.15:54
mkarnickiCardinalFang_: good :)15:55
mkarnickiyes, that's what we want, I'm pretty sure.15:55
mkarnickiCardinalFang_: the user will have choice to not sync in background, but if he want is, the service will run uninterruptedly15:56
mkarnickiCardinalFang_: good to hear it from an Android-aware person. I really struggled on which version to choose15:57
CardinalFang_mkarnicki, right, I think it should still be in a service, but the service can kill itself if the user wants when it's not used.15:57
mkarnickiCardinalFang_: exactly15:57
CardinalFang_Let the activity ask for some binding to start it up, and when work is finished, shut down.15:57
mkarnickiCardinalFang_: so I'll move the U1Client into the SErvice15:57
mkarnickiCardinalFang_: that's delicate. as long as the user doesn't sync every folder he wants to browse (which would be expensive in cost of battery life-time and possibly $ if not on WIFI)15:58
mkarnickiCardinalFang_: then we have to keep the service alive to let the user browse the cloud15:58
mkarnickiCardinalFang_: every tap on a folder creates that folder on the device and caches it's content (meta data, not the file contents themselves)15:59
mkarnickiCardinalFang_: so the service should run at least as long as the activity is in the foreground15:59
CardinalFang_Right.16:00
mkarnickiCardinalFang_: if it's in the backgroud (and it's not performing sync), then it can shutdown, but it will have to reconnect when the Activity resumes16:00
CardinalFang_mkarnicki, right, but expect many reconnects anyway.  phone connectivity sucks.16:01
CardinalFang_or, if you mean reconnect to the service, yes.16:01
mkarnickiCardinalFang_: true, it may be the case16:01
mkarnickiCardinalFang_: nono, I meant to the server. connect + auth16:01
mkarnicki"cold" connect takes up to 5-7 seconds16:01
CardinalFang_Wow.16:02
mkarnickiwhen you connect second or third time, it's somewhat faster16:02
CardinalFang_That seems long.16:02
mkarnickilet me verify (note: on HSDPA)16:02
CardinalFang_Is it expensive on the phone end, or data latency, or server?16:02
mkarnickicrap.. I can't check right now, I'm during development. umm, it's authentication16:03
mkarnickiI'm not sure what takes so long, but I see small allocations and GC kicking in16:03
mkarnickiwhen U1Client performs .authenticate()16:03
mkarnickiCardinalFang_: month or two ago it was 40 seconds, now it dropped to 4-5 seconds16:04
=== dendrobates is now known as dendro-afk
=== CardinalFang_ is now known as CardinalFang
mkarnickiCardinalFang: month or two ago it was 40 seconds, now it dropped to 4-5 seconds16:07
verterokmkarnicki: we should use protobuf lite, I have started a branch of u1-java-storageprotocol to use protobuf-lite instead of standard protobuf, it should reduce client side processing and memory usage16:14
mkarnickiverterok: coooool =)16:14
mkarnickiverterok: it's 10 AM at your place, isn't it? you're home :)?16:15
dobeynot quite16:15
dobeymore like 1 pm16:15
verterokmkarnicki: 12:15 PM16:15
mkarnickiwe where close ;)16:16
mkarnickiaha, so it's -5hrs, not -716:16
mkarnicki(from my place)16:16
dobeyah16:17
dobeyAR has weird DST changes :P16:18
verterokdobey: indeed, but only some years...this year no DST change :p16:19
dobeyexactly. it's weird :P16:19
dobeyanyway, lunch time it is :)16:20
=== jumpa is now known as JUMPA
mkarnickiCardinalFang: operation of going into a folder (by tapping it on the list) also needs communication with the client (thus service), even if the content was cached it should be refreshed. on that end, isn't it an overkill to communicate with a service for a simple "hey, fetch that folder and update me ASAP!"? that's why I had doubts about the service (though I knew it had other advantages)16:24
mkarnickiCardinalFang: please tell me what you think. that IPC shouldn't be a terribly visible overhead, right?16:25
CardinalFangmkarnicki, I wouldn't block on it.  Display what you have from before, and ask service for updates, and when the service returns info, use the new info to update the view again.16:28
mkarnickiok, but if the directory hasn't been cached before, shouldn't I pop a "loading" dialog? just a toast?16:28
mkarnickiCardinalFang: ^16:29
mkarnickiCardinalFang: but what you wrote is almost right - *if* I have it cached, I display, ask service for update - Service updates ContentProvicer, ContentProvider updates the ListView16:30
CardinalFangmkarnicki, not toast, probably.  A special line with update spinner in it.16:31
mkarnickiCardinalFang: ahaaaa!! right!16:31
mkarnickiCardinalFang: the indeterminate spinner at the top right16:31
mkarnickiI forgot about that, though I have it in the code already xD16:32
mkarnickiCardinalFang: great, thanks for hints :)16:32
CardinalFangmkarnicki, hrm, can one update the provider in another process and see the results in this process?  I didn't think so, but I may be nuts.16:32
mkarnickiCardinalFang: if you call on... what was it..16:32
mkarnickionDataChage... umm.. something like that. then the ContentProvider will update the cursors, if they have registered obervers on their uri's16:33
mkarnickilet me check what was it16:33
=== Cardinal` is now known as CardinalFang
CardinalFangmkarnicki, right, good.16:35
mkarnickiCardinalFang: getContext().getContentResolver().notifyChange(modifiedUri, null);16:36
=== JUMPA is now known as jumpa
mkarnickiCardinalFang: this should be called after insert, update and delete operations on contentProviders, so that observers can update. so the listview will update for free ;)16:37
CardinalFangmkarnicki, rock.16:38
mkarnickiCardinalFang: thanks! thanks for invaluable talk16:38
CardinalFangmkarnicki, I don't understand how it works, so I just forget that it exists or pretend it can't possibly work.16:38
CardinalFangit = contentprovider updates between processes.16:39
mkarnickiCardinalFang: sure :)16:39
mkarnickiuhum16:39
CardinalFangmkarnicki, I hope this helps.  I'll be here if you think I can help somehow.16:40
=== dendro-afk is now known as dendrobates
mkarnickiCardinalFang: great!! :)16:40
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
CardinalFangokay, lunch.  back in a bit.16:42
Atluxitywhy didnt UbuntuOne sync my printers? isnt that a feature?16:45
duanedesignAtluxity: no it syncs files in your Ubuntu oNe folder. Contacts from Evolution and Notes from tomboy.16:47
=== beuno is now known as beuno-lunch
JoachimRhow do you sync Notes from TomBoy with UbuntuOne ?17:08
dnielsenJoachimR, settings->synhronization->tomboy-web and voila17:13
JoachimRdnielsen, my Tomboy seems to be locked on "Folder" syncing.17:13
JoachimRDo I need to click the "delete" button ?17:14
dnielsenis the sync every x mins box ticked?17:15
JoachimRno, but the "service" choicelist is locked17:15
JoachimRnow ticked, nothing new...17:16
dnielsenhrmm it should just work, I would perhaps ask the tomboy guys17:17
dnielsen#tomboy on gimpnet17:17
JoachimROk found it, the dangerous-looking "delete" button erases only suync preferences, so now the choicelist is unlocked17:18
JoachimRthx17:18
dnielsenJoachimR, if it seems dangerous, it's probably a papercut bug. Software shouldn't be scary17:23
duanedesignJoachimR: https://wiki.ubuntu.com/UbuntuOne/Tutorials/Notes17:59
=== zyga is now known as zyga_
=== dendrobates is now known as dendro-afk
=== beuno-lunch is now known as beuno
=== cpg|away is now known as cpg
=== jumpa is now known as JUMPA
=== zyga is now known as zyga_
Dante_Hey alll, got a bit of a problem here; I just installed ubuntu on a second machine and it's not asking to connect an account, just dumps me right at the accounts page and dosent try and authenticate and sync...20:44
Dante_Anyone know how to reauthenticate with Ubuntu One?20:46
Dante_Or at least manually do so?20:46
Dante_Anyone?20:48
=== zyga__ is now known as zyga
=== cpg is now known as cpg|brb
=== dendro-afk is now known as dendrobates
mkarnickiCardinalFang: I should communicate back to the client using Broadcasts or is there anything faster?22:11
mkarnickiCardinalFang: ignore my question, sorry.22:12
=== cpg|brb is now known as cpg
mkarnickiverterok: what does getRoot() Deferred return? It's a String. Is it the root node identifier?23:01
mkarnickiverterok: don't be surprized by easy question, I'm trying to connect newly written Service and the android application ;)23:02
=== dendrobates is now known as dendro-afk
verterokmkarnicki: it's the node_id of the root node, in the case of the desktop client (a.k.a syncdaemon) si the node_id of ~/Ubuntu One directory23:21
mkarnickiverterok: great, thanks!23:21
lordbahI'm trying out the music store. I can see via web browser songs are in my cloud now. But I have no ~/.ubuntuone directory on my system, which is apparently where they are supposed to sync to.23:22
beunolordbah, they sync to ~.local/share/ubuntuone/Purchased\ from\ Ubuntu\ One23:23
beunoyou should see them in rhythmbox23:23
lordbahI have .local/share/ubuntuone, but within that there is not a Purchased* directory. Only shares and syncdaemon.23:24
lordbahI don't run rhythmbox, I run banshee.23:24
verterokbeuno: I think it's ~/.ubuntuone/Purchased...23:24
lordbahverterok: I don't have a ~/.ubuntuone.23:25
verteroklordbah: hi :)23:25
verteroklordbah: please run this command in terminal: u1sdtool --status23:25
beunoverterok, you are right, they are symlinks23:25
verteroklordbah: and pastebin the output to pastebin.ubuntu.com or other pastebin service23:25
lordbahState: QUEUE_MANAGER23:25
lordbah    connection: With User With Network23:26
lordbah    description: processing queues23:26
lordbah    is_connected: True23:26
lordbah    is_error: False23:26
lordbah    is_online: True23:26
lordbah    queues: IDLE23:26
verteroklordbah: ok, the client is running, that's good :)23:26
verteroklordbah: now, please execute: u1sdtool --list-folders23:26
lordbahsorry didn't catch the pastebin part. Next time ...23:26
verteroklordbah: yes, np23:26
lordbahlist-folders shows only ~/Cloud which is a folder I manually told to sync from nautilus.23:27
verteroklordbah: ok23:27
lordbahSo something in the setup forgot to mkdir this folder?23:28
verteroklordbah: I don't think so, I think the folder is created by the music store plugin23:28
verteroklordbah: execute this: dbus-send --session --print-reply  --dest=com.ubuntuone.SyncDaemon --type=method_call /folders com.ubuntuone.SyncDaemon.Folders.refresh_volumes23:30
verterokto force a refresh of the folders list23:30
lordbahlist-folders still shows only Cloud23:31
verteroklordbah: and after that: usdtool --status && u1sdtool --waiting-metadata23:31
lordbahWORKING_ON_BOTH and a dozen lines of just the word "Query".23:32
verteroklordbah: ok, the client started to work on the sync23:33
lordbahWORKING_ON_CONTENT23:33
verteroklordbah: u1sdtool --current-transfers will show you the current files being up/downloaded23:33
verteroklordbah: and u1sdtool --waiting-content23:33
lordbahand now list-folders shows ~/.ubuntuone/Purchased...23:33
verterokwill show you the files to upload/download23:33
lordbahIndeed it does.23:34
verteroklordbah: ok, that's good! :)23:34
lordbahThe banshee plugin now shows useful stuff under My Downloads as well (download progress rather than just "Queued" as it had before).23:35
lordbahShould we do something to get that dbus-send command into a FAQ or something?23:36
verteroklordbah: it's u1sdtool --refresh-volumes23:37
verteroklordbah: I think it's available in the ubuntuone-client @ lucid-updates23:37
verterokand via the ppa23:37
lordbaherr, what is available there?23:38
verteroklordbah: the dbus-send command, is bundled into u1sdtool as the --refresh-volumes option23:38
verteroklordbah: u1sdtool is part of th ubuntuone-client package23:38
lordbahOkay, but nothing I found in a FAQ caused me to run it.23:38
lordbahThus I had to come here and bother you good people.23:39
verteroklordbah: ideally you shouldn't need to run the command, but sure it can be added to the FAQ23:39
verteroklordbah: eventually the server would notify the client about the Purchased folder and it will start downloading23:40
verterokbut it seems that the server is under load (just guessing)23:40
lordbahMaybe. This morning I was browsing and added stuff to the basket and went to checkout and it got stuck "Connecting to music store...". 8 hours later it was stuck in the same place. Had to kill banshee since there was no reload button or anything similar. Have to say, amazon has never done that to me. Started back up, and my basket was empty - amazon has never done that to me either. So maybe it is overloaded.23:42
mario-kemperhi there, is there any way to obtain the version number of the u1 syncdeamon via DBus API23:42
verterokmario-kemper: hi23:43
verterokmario-kemper: the short answer is no :(23:43
verterokmario-kemper: why do you need the version? :)23:43
mario-kemperwell, older versions do not provide the publishing api, right?23:44
verterokright23:44
mario-kemperwhen I try to get that object my app quits...23:44
verterokmario-kemper: you can instrospect that via dbus, I know that having a version might be simpler :)23:44
mario-kemperso I was wondering if I could check the version in that case23:44
* verterok looks for the snippet to do that23:45
mario-kempermh, ok23:45

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