/srv/irclogs.ubuntu.com/2010/06/16/#ubuntuone.txt

=== dendrobates is now known as dendro-afk
=== cpg is now known as cpg|brb
=== cpg|brb is now known as cpg
leonelHello .. How can I tell ubuntuone to NOT get connected when I logon to my desktop ?02:56
=== cpg is now known as cpg|biab
=== cpg|biab is now known as cpg
=== jamesh_ is now known as jamesh
=== dendro-afk is now known as dendrobates
=== fluffymaster is now known as apachelogger
=== dendrobates is now known as dendro-afk
=== kermiac_ is now known as kermiac
duanedesigngood morning U1inites10:40
mkarnickimorning duanedesign10:43
kermiaccan someone please take a look at bug 589818 - the OP is unsuccessfully trying to sync approx 4500 files (paid account)11:04
ubot4Launchpad bug 589818 in ubuntuone-client (Ubuntu) (and 1 other project) "High processor load for ubuntuone-syncdaemon (affects: 1) (heat: 10)" [Undecided,Incomplete] https://launchpad.net/bugs/58981811:04
ryekermiac, hm, syncdaemon will be extremely busy on startup reading a) metadata b) checking whether directories changed and querying the server about that, as far as i can tell11:09
kermiachello rye :)  - yeah, I couldn't see anything that was obvious in the logs :(11:10
rye2010-06-13 13:06:30,048 - ubuntuone.SyncDaemon.Main - NOTE - ---- MARK (state: <State: 'QUEUE_MANAGER'  (queues WORKING_ON_BOTH  connection 'With User With Network')>; queues: metadata: 197; content: 4022; hash: 0, fsm-cache: hit=295826 miss=15769) ----11:10
ryesuggests that he has 197 metadata entries to go and 4022 content items were not yet uploaded11:11
kermiacyup, so it's still processing. I know the service has sped up a *lot* but they are trying to sync a *lot* of files11:12
kermiacand if I understand them correctly, they keep stopping the service, so it will begin doing the server rescan stuff again when they next reboot or re-enable the syndaemon11:13
kermiacrye: would you suggest that I ask them to leave the PC on & explain that the process of syncing 4500 files will take some time & point them to your u1sdtool wiki page if they wish to check on the sync progress?11:15
ryekermiac, i will create 4500 files now and see how that works. It definitely is not good with 30k files but with 4k it needs a better look into11:16
kermiacok, thanks rye :)11:16
rye+ 3900 files so i now going to sync 5000 files. fire extinguisher is ready11:19
kermiachaha :)11:20
=== dendro-afk is now known as dendrobates
thecondorHi! Just a little question I couldn't find an answer for: does anybody know, whether there is a broken download problem with WinXP IE, when trying to download big files published via UbuntuOne? A friend of mine, who is using internet explorer I guess, is just getting corrupt files. Same files downloaded here with ubuntu/firefox are fine.13:06
thecondorhonk13:06
beunothecondor, that's super odd13:08
beunoI wouldn't expect files to be currupt on IE13:08
thecondorHi beuno. Yes it's oddset.13:08
beunodoes he by any chanve have a non-sensitive file he can download and send us to inspect?13:08
thecondorThis would be the next test. Sadly i cannot reach him atm.13:09
thecondorJust wanted to know whether other users might have experienced similar issues.. or recommending firefox e.g.13:10
thecondorI think he told me13:12
thecondor..something like 'all files downloaded have same checksum and cannot be unzipped'13:13
thecondor(Should be different sized working zip files i uploaded. Strange.)13:13
ryethecondor, hmmmm13:14
* rye fires his expired trial copy of win713:15
thecondorI guess it could be helpful to get more info bout the files he downloaded.. but i cannot reach him.13:16
thecondorShall i make a test upload with non sensitive data for you to download?13:17
jdobrieng-morning ubuntu oners13:19
thecondorG-morning jdobrien13:21
thecondor@rye: test upload for you in progress13:22
ryelooks like my libvirt/apport is somehow broken now, brb13:31
nisshhCardinalFang: hey, id like to code a function into my app that can tell when desktopcouch is being synced by U1 and when its not, are you able to help me out?13:48
CardinalFangnisshh, I have planned some DBus signals that your app could listen for.  This isn't on the 10.10 roadmap, though, so I won't be working on it, but I can review and merge code you supply.13:53
ryebeuno, hm, i picked up random link - http://ubuntuone.com/p/2Di and it does not open in IE but it opens fine in Firefox in Windows. Not really a corruption but something is really broken there13:56
CardinalFangnisshh, so, these signals I have planned are not *exactly* what you're looking for.  You need a state variable that the signals toggle, and at startup your app doesn't know the current state, but it's the cleanest thing I can think of, at present.13:57
beunorye, that's intersting. Can you file the bug?13:58
thecondorWrong http headers?13:58
thecondorAnother test: http://ubuntuone.com/p/7ED/13:59
thecondorShould be 40.4 MB13:59
thecondorThx, rye and beuno, i will mail my friend he shall try firefox for the moment.14:02
ryethecondor, hmmmm that file is downloadable via IE14:03
thecondorOh14:03
ryethecondor, the question is now whether checksum matches14:03
thecondorNow i'm baffled.14:03
thecondorA sec..14:04
ryethecondor, looks like not - 7zip could not open that file14:04
thecondorShould be: f0f9e7685c5a00f12a01a38c46d6c486 for beryll.avi.zip14:06
thecondorFilesize 42,331,421 bytes14:07
thecondorStandard zirpel created from nautilus14:07
thecondor-zirpel +zip14:07
thecondorRye, what did u get with firefox/ie, speaking of filesize/md5?14:12
ryethecondor, still trying to get that file out of that win instance14:12
thecondorOk14:12
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
ryethecondor, fda01bd702b248dc06263e4e5e67d50014:16
ryethecondor, d/ling w/ ff now14:16
=== JUMPA is now known as jumpa
thecondorWow, maybe zip files get re-compressed when uploading to U1... really dont hope so.14:18
ryethecondor, hm, ie's version is actually bigger - 42,342,089 bytes14:18
thecondorRye, what a messe14:19
thecondorAdditional data? Where did it can fromm?14:19
thecondorCarmen14:19
ryethecondor, the only possible explanation I have is that there is gzip compression14:20
thecondorSry, typos14:20
ryeContent-Encoding: deflate14:20
ryeContent-Length: 4234208914:20
ryeyes14:20
ryecool14:20
thecondorIndeed.. thatcher could be. So it might be deflate14:20
ryeIE does not support deflating?14:21
ryebeuno, ping, it looks like IE does not decompress the deflated stream14:21
thecondorI guess deflate was always trouble making with ie.. because of some weired apache settings on the other end or so.14:22
thecondorI remember i had to remove deflate from apache often, when i was a lamp admin and php dev.14:23
thecondor..or its some kind of missing x-handler directive for gz or so.14:30
nisshhCardinalFang: sorry i was afk for a while, yes so dbus sounds good, but i suppose my app could find out the current state easily enough, id be happy to contribute code, although i havent done anything with dbus at all and im a pretty noobish programmer still, be aware that this is just an idea i had, i dont even know if ill implement it or not.14:34
CardinalFangnisshh, DBus isn't very tough, especially signals.  I'll be here if you have questions.14:35
nisshhCardinalFang: ok, thanks14:35
ryei nearly know why it could not display that web page then... because jpeg stream was damaged according to IE...14:36
thecondorIE sucks so badly..14:37
thecondorRye, do you file a bug report for this deflate IE thingy or should i do so?14:40
ryethecondor, i am filing one right now14:40
thecondorThx very much! I'm outta here then for now..14:41
ryehm14:45
ryeif I pretend to be IE then i get 42331421 bytes content, so it is ok14:49
ryeneed tcpdumping14:50
ryebeuno, it is really some kind of broken browser detection14:51
ryebeuno, http://paste.ubuntu.com/450597/14:52
beunorye, I'd be surprised if we're doing any kind of browser detection14:52
ryebeuno, we do, but for attachment names, not for deflate/not deflate thing. This seems to be dealt with by the frontend servers14:53
beunorye, hrmf.14:55
ryebeuno, frankly speaking - i don't get it :-/15:00
ryeAccept-Encoding: gzip, deflate15:16
ryehm, IE says that it wants deflate15:17
gnomefreakwhen using funambol with thunderbird-3 what would i use for location?15:36
beunognomefreak, http://syncml.one.ubuntu.com15:36
gnomefreakbeuno: thanks15:36
beunognomefreak, have you created the mobile user/pass?15:36
gnomefreakbeuno: no im not syncing with a mobile device just to ubuntuone site15:37
ryebeuno, our IE support is definitely broken so this is definitely a bug report15:38
gnomefreaki was assuming the user/password would be the one i use to log into ubuntuone site15:38
beunognomefreak, no no, you need the mobile user/pass to use funambol15:39
beunowe can't get it to use openid, so we need to generate a special user/pass15:39
gnomefreakoh, how do i create one than15:39
beunorye, thanks15:39
gnomefreaki dont see anyway to do that in Funambol15:40
beunognomefreak, in the web ui15:40
beunogo to contacts15:40
beunoyou should have a "set up phone sync" option15:40
beunoI know, this needs to be a bit less confusing  :)15:41
gnomefreakbeuno: i dont see it. i have "sync all"15:41
beunognomefreak, on the website15:41
gnomefreakin the menu there isnt anything like that either15:41
beunoone.ubuntu.com15:41
gnomefreakon15:41
gnomefreakbeuno: this is also for the free accounts?15:44
beunognomefreak, well, funambol is for paid accounts, you get a 30 day trial15:45
beunothat said15:45
beunowe're going to waive that until Maverick15:45
gnomefreakoh15:46
beunonow that everything is out there and working, we're planning a juicier mobile package15:46
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== beuno is now known as beuno-lunch
=== dendrobates is now known as dendro-afk
=== teknico is now known as teknico_away
=== beuno-lunch is now known as beuno
=== dendro-afk is now known as dendrobates
=== jumpa is now known as JUMPA
mkarnickiverterok: Just got up from a nap & doing UML project for tomorrow =_= .. Any news on that Android bug maybe ;_; ?21:06
verterokmkarnicki: hi21:12
mkarnickiverterok: hello21:12
verterokmkarnicki: nope, I think one option is to stop using netty (and probably NIO altogether), in this case of the android client...and use plain old socket + ssl21:13
verterokmkarnicki: that means rewrite part of the protocol client21:13
mkarnickiverterok: ...21:14
verterokbut is better than no client at all21:14
verterok:)21:14
mkarnickiverterok: PipeLine factory will suffice?21:14
mkarnicki*pipelinefactory21:14
mkarnickiI mean, that one file where I changed SSL to TLS ?21:14
mkarnickior there's more to change?21:14
verterokmkarnicki: no, a bit more :)21:14
mkarnickiverterok: not good..21:15
verterokmkarnicki: that's the pipeline for the RequestHandler, which is a subclass of netty SimpleChannelHandler (or something)21:15
mkarnickiverterok: oh. so it's still netty..21:15
verterokmkarnicki: the way the client connects to the server needs to be changed21:15
mkarnickiverterok: sorry, I'm still unconsious21:15
verterokmkarnicki: yes, we need to ditch the parent class of the RequestHandler, and implement all the socket handling, protobuf en/decoing, etc  using plain-ld sockets21:16
mkarnickiverterok: you can imagine I feel devastaded21:16
verterok*old21:16
verterokmkarnicki: isn't that bad21:16
mkarnickiverterok: I have used sockets before, but 1. not secure ones, 2. not on such level of detail as we probably need21:17
verterokmkarnicki: the client will need to be executed in a different thread, as the old java IO is blocking...21:17
mkarnickiverterok: that's not a problem, I'll make it a service21:17
mkarnickiverterok: with it's own thread21:17
verterokmkarnicki: no need to do that just yet ;)21:18
verterokmkarnicki: let's get it running in a thread, then move it to whatever a service is :)21:18
mkarnickiverterok: brb 1 sec21:18
mkarnickiverterok: I'm back. ok, I'll run it in another thread for now21:19
mkarnickiverterok: if I can help somehow, tell me what I can do (after I finish my stupid college assigmnent)21:20
verterokmkarnicki: simple SSL wiht sockets is quite "simple", it will look like this: http://pastebin.ubuntu.com/450760/21:21
mkarnickiverterok: aha..21:22
mkarnickiverterok: if you would just start that, like with handling one request, I could build up on that21:22
verterokmkarnicki: we need to translate some of the stuff in RequestPipelineFactory to blocking IO21:22
verterokmkarnicki: my idea is to keep the rest of the code, that's the mainloop and should handle all requests21:23
mkarnickiverterok: ok then. if you could leave me few pointers on priv, I'll start building on that. actually you already gave me a good start I think.21:23
mkarnickiverterok: I see, good idea21:23
verterokmkarnicki: the wire protocol is: header[4bytes]+message[nbytes]21:24
verterokmkarnicki: the 4 bytes header is the length of the message21:24
verterokmkarnicki: you should take a look to the python implementation, the file is request.py21:24
verterokmkarnicki: I'll try to play a bit tonight, but not sure if I'll be able to get enough time to get somethign working21:25
mkarnickiverterok: got yet another phone call, brb!21:25
verterokmkarnicki: np21:25
mkarnickiverterok: ok, gotcha! I'll read up on that python code. you're already tons of help, so maybe I'll be able to input more on that this time.21:30
mkarnickiverterok: thanks again. and now I have hope again that the project may go on21:30
mkarnickiverterok: I was really upset it could have had really bad impact. I mean it already had, but hell, we've done much job!21:31
verterokmkarnicki: I think I have a partial (no-working) implementation of the code somewhere, before I started with netty...I'll try to find it21:31
mkarnickiaquarius: ^ good news up here. we'll rewrite part of the protocol and not use netty, that will hopefully workaround any Android bugs.21:32
mkarnickiverterok: that would be lovely, if you'll have it around, hit me up with a paste and I'll read up on that, too. thanks!!!21:32
verterokmkarnicki: sure21:33
verterokmkarnicki: we first need to be sure that plain sockets+ssl works on android ;)21:33
mkarnickiverterok: heheh. there was a reply from netty author Tristan, that one guy should use plain (old?) OIO transport - do you know what he meant?21:39
verterokmkarnicki: a reply where?21:39
mkarnickiverterok: I'll dig it up21:40
verterokmkarnicki: yes, plain OIO is the blocking IO21:40
verterokmkarnicki: NIO is the new non-blocking IO21:40
mkarnickiverterok: right, so that e-mail can prove useful. it was on some mailing list21:41
* mkarnicki digs it up21:41
mkarnickiverterok: 2nd mail - I think it's what you suggested, isn't it? http://www.jboss.org/netty/community.html#nabble-td509642721:42
* verterok reads21:42
verterokmkarnicki: no, different issue21:44
mkarnickiverterok: but we also got java.net.SocketException: Bad address family - still different issue?21:44
verterokmkarnicki: we got that?21:45
mkarnicki(by we got - I mean running that on Froyo anyway :/  )21:45
mkarnickiverterok: umm.. yeah, but.. did you get my late msg's yesterday?21:45
mkarnickiverterok: the bug has been fixed in Android 2.2 (sic!)21:45
mkarnickiverterok: but then there was that Bad address family anyway :/21:45
verterokmkarnicki: we can try to switch the current client to netty's OIO transport21:46
mkarnickiverterok: so no good either21:46
mkarnickiverterok: that would be less changes in the code?21:46
verterokmkarnicki: the issue was with ikvm or something, that compiles java to .net stuff21:46
verterokmkarnicki: it should!21:46
mkarnickiverterok: :)21:46
verterokmkarnicki: http://docs.jboss.org/netty/3.1/guide/html/architecture.html21:46
verterokmkarnicki: search for OIO21:46
* mkarnicki reads up21:46
verterokmkarnicki: actually, read 2.2. Universal Asynchronous I/O API21:46
mkarnickiverterok: yup, right there21:48
* mkarnicki reads21:48
mkarnickiverterok: you know what.. I have this dang assignment waiting for me for tomorrow. I'll do it now and go back to all that OIO stuff, if it's ok with you?21:48
verterokmkarnicki: sure21:49
mkarnickiverterok: ok thanks. I'll let you know, till then.21:49
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg|away|away
=== cpg|away|away is now known as cpg
=== dendrobates is now known as dendro-afk

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