/srv/irclogs.ubuntu.com/2011/02/12/#ubuntuone.txt

karniverterok: heheh. I noted to myself "u1-java-sp Request should support cancellation". I opened Request.java and see "TODO: add cancel support." written by you :D00:15
lalejandHi everybody, is there a way to do some ignore list for u1 sync ? I have a lot of svn files and I don't want them to be synced :/00:28
lalejandIs there a way to do some ignore list for u1 sync ? I have a lot of svn files and I don't want them to be synced00:43
lalejandIs there a way to do some ignore list for u1 sync ? I have a lot of svn files and I don't want them to be synced (sorry for repeating, it's just in case someone connects and nows the answer)01:01
kenvandineugh02:33
dobeyugh02:34
kenvandinedobey, u1 import errors02:42
kenvandineImportError: No module named platform.linux.tools02:42
kenvandinefrom u1sdtool02:42
kenvandineand syncdaemon isn't starting02:43
dobeykenvandine: sponsor my libubuntuone and ubuntuone-dev-tools uploads (merge proposals), and i think nessita did one for ubuntuone-control-panel too02:43
kenvandineTypeError: signal_handler() takes exactly 1 argument (2 given)02:43
dobeyhmm02:43
kenvandinelooks like u1 is busted all over the place :/02:44
kenvandineand i needed to share a file!02:44
dobeywe switched the way the python modules install is done; and it's incompatible with the old way :( (yay python)02:44
kenvandinei can sponsor02:44
kenvandineugh02:44
dobeyyeah02:44
kenvandineincompatible... sounds like time to revert02:44
kenvandinei can sponsor uploads02:45
dobeykenvandine: if you sponsor the uploads or install from ppa:ubuntuone/nightlies it should work02:45
kenvandinei don't see the control panel one02:46
dobeymaybe she didn't do it yet :(02:46
dobeybut i asked her to because i knew it would break02:46
* kenvandine sponsors libu102:48
dobeythanks02:49
dobeymaybe i'll have to do one for u1cp too, if nessita didn't02:50
kenvandineso what should get syncdaemon working?02:52
kenvandinelibu1 doesn't get u1sdtool working02:53
kenvandinedobey, ^^02:53
dobeykenvandine: what all directories do you have immediately under /usr/share/pyshared/ubuntuone ?02:54
kenvandineah, controlpanel02:54
dobeyif you apt-get remove --purge python-ubuntuone-control-panel it should work02:55
dobeyif it still doesn't, then there's another new bug in syncdaemon i guess :(02:55
kenvandineyeah, works02:55
dobeyyay02:55
kenvandinesyncdaemon is working now02:55
* kenvandine uploads02:56
kenvandinecan you do controlpanel?02:56
dobeyok, so we just need a controlpanel release02:56
dobeylet me see where it stands02:56
dobeykenvandine: did you sponsor ubuntuone-dev-tools also?02:57
kenvandineworking on it02:58
kenvandinewell, still working on libu102:58
kenvandinein pbuilder now02:58
dobeyok, i'll do a cp release02:58
dobeykenvandine: are you very familiar with vapigen?02:59
kenvandineyeah03:00
dobeyany idea why it would generate a totally empty vapi save for the comment on the first line saying it was generated, when the .gir seems valid?03:00
kenvandineno03:01
dobeydamn :(03:01
kenvandinethat is strange03:01
kenvandinenever seen it empty03:01
dobeyyeah, tell me03:01
dobeyi blame webkit03:01
kenvandineeverything is webkit's fault03:01
dobeypretty much03:02
dobeyit took me a while to get a .gir built for it that vapigen wouldn't just die out on, and now that i got it built, the vapi is empty and vapigen just acts like everything was fine and says 0 errors :(03:03
kenvandinedobey, ok both of those are sponsored03:12
dobeygreat, doing u1cp right now03:16
kenvandinethx, ping me when it is ready03:17
dobeykenvandine: https://code.launchpad.net/~dobey/ubuntu/natty/ubuntuone-control-panel/release-0-8-3/+merge/4949103:21
kenvandinethx03:21
kenvandinedobey, sponsored, thx03:27
dobeyno problem03:30
dobeywish i knew what was going on with vapigen on this webkit gir though03:30
dobeyworks fine for couchdb-glib and libsyncdaemon though :(03:35
dobeywhich sucks, because i am almost at a point where encompass is usable, and i need more of the webkit api than is in the vapi that comes with vala :(03:36
dobeyoh well, 'night03:43
duanedesignmorning all10:53
simontolHi I'm trying to sync a folder using ubuntuone u1sync tool but  i receive this message : u1sync: error: --oauth is required10:56
simontolpython-oauth is installed and U1 works via GUI10:56
simontolis there anybody out there?11:10
karnimorning!11:52
karninotice simontol trying to use u1sync -- I think it's deprecated and, as just seen, can be misleading.11:53
karniI personally have never used nor even try using it.11:53
=== AlanBell is now known as world
=== world is now known as AlanBell
kklimondahey, I've been getting an indicator "Ubuntu One uploading 26/26 files, 98% complete" since I've restarted my computer after an update. It seems stuck, u1sdtool --waiting-c returns nothing but --waiting-m "crashes" with String parameters to be sent over D-Bus must be valid UTF-812:37
kklimondawhat can I do to make it stop showing up from time to time? :)12:37
karnikklimonda: aim that at alecu when he's online12:39
duanedesignsimontol hello12:44
duanedesignoops, he is gone12:44
duanedesignhey kklimonda !12:44
duanedesignhello friend12:44
kklimondahey duanedesign :)12:44
duanedesignhello karni12:44
kklimondahow are you?12:44
duanedesignkklimonda: I am well. trying to thaw out from all the snow12:44
karnihi duanedesign :)12:44
karniduanedesign: still under snow?12:45
duanedesignkklimonda: I saw you in #ubuntu-desktop the other day but got busy and did not get a chance to say hi12:45
kklimondaduanedesign: I've already forgotten what the snow is and it's only half of the winter :/12:45
* karni codes Upload command12:45
duanedesignkarni: yes finally after two weeks we had the first day where it got above freezing yestersday12:45
kklimondaduanedesign: meh, no problem - I'm also pretty busy lately :)12:45
karnikklimonda: talk to me. I bought a snowboard and used it once ;d12:45
kklimondakarni: ahaha :D12:45
duanedesignyeah my bicycle has not gotten much use lately12:46
duanedesignkarni: karni is u1sync depreaceated across all versions?12:47
duanedesignmy spelling skills are still asleep12:47
duanedesignI noticed it uninstalled with the last updatte12:47
karniduanedesign: I have no clue, but I saw guys some time talking it's misleading it's still there. all in all, I don't think it should be used.12:47
karniaha! :)12:48
duanedesigni agree. That is what I have always been told. It was for testing purposes only12:48
karniright.12:48
duanedesignlots of new stuff in U1 I have a lot to catch up on12:48
duanedesignthe logs are starting to look foriegn :)12:48
karniduanedesign: :D12:49
duanedesignkarni: from reading the scrollback the last couople weeks it sounds like you are making great progress on your client12:57
karniduanedesign: it proved to be very challenging, but indeed I have ported quite a few components of syncdaemon for queueing purposes12:58
karniduanedesign: it's been the time when there's much work and little visual feedback, since it's all internal flesh.12:58
karnionce I've got Down/Upload commands, I want to integrate the whole puzzle to make sure it was all worth it :)12:59
karniduanedesign: hahahah it'd be fun one day to use this work and have U1 run on any OS supporting Java runtime ;D13:03
karniI just hate how gracefully Python classes declare typelessly new object fields (__slots__) ;x13:15
duanedesignkarni: you have been doing something in  Python?13:44
karniduanedesign: I have been intensely studying syfinal Deferred putDeferred = mActionQueue.mClient.putContent(mVolumeId, req.getNewId(), "",hashInfo.hash, hashInfo.crc32, hashInfo.size, hashInfo.deflatedSize,13:44
duanedesignohh,probably mean reading the source13:44
karnioops sorry13:44
karniexactly. studying syncdaemon source.13:45
duanedesignI wish I had more time to code. I am hoping to take a class in April. The college next to my house has some programming classes13:46
karniduanedesign: actually, reading both ubuntuone-client _and_ ubuntuone-storage-protocol. ubuntuone-java-storageprotocol is not yet complete :<13:46
duanedesign:)13:46
karniduanedesign: what makes you busy? no time for code?13:47
duanedesignlooking for a job right now13:47
karniI see. hopefully you'll find one where you code :D!13:47
duanedesignhacking has been a hobby for a couple years. I like it so much I would really like to transision into a career doing programming13:48
karniduanedesign: very cool :) coding has always been what makes me tick!13:48
karni*tic.. not sure which one ;D13:49
duanedesigni need to learn C better13:49
karnionce I read comparisons of different languages. I liked the description of C - "so powerful you can shoot yourself in the foot"13:50
duanedesignI mostly do Python because that is what I learned first. not a lot of jobs around here for Python. Except some Django jobs13:50
karniuhm13:50
duanedesignkarni: i wish I would of started with C. It helped me understand Python better13:50
karniyou're such a great support here. never thought of applying for a position at canonical for python programmer? perhaps after some courses?13:51
karniyou very well comprehend what's goind on with U1, current bugs, workarounds, solutions. you're a treasure of tips and hints.13:51
duanedesignthank you :)13:52
karniyou are very welcome13:52
duanedesigni started working around this project because I thought the application was interesting. I stayed around because the team is so friendly and welcoming.13:53
karniduanedesign: I seriously you where 'one of them' for quite a long time ;)13:54
karni*thought13:55
karniI'm missing words, not good.13:55
duanedesignok, my spelling and typing skills are still asleep13:55
* duanedesign gets a cup of coffee13:56
karniverterok: you were right. I'm now myself seeing how much duplication there is between the protocol and syncdaemon itself. it it was me, I would use the requests as ActionCommandQueue object themselve. I might do that one day.13:57
duanedesignwow! someone really cleaned up the Ubuntu One bug queue14:00
karni:)14:00
duanedesignhmm, ubuntuone-launch would be...foundatiions+  ?14:22
kklimondawow, U1 did that again14:46
kklimondait started uploading all my music again14:46
kklimondaah, not all of it.. just some..14:49
nessitakklimonda: did you or your your music player changed the file in any way?14:49
nessitametatada perhaps?14:50
kklimondanessita: no14:50
nessitaah14:50
kklimondanessita: one day U1 has decided that it shall reupload all my music to server on my phone data plan ;)14:50
nessitakklimonda: is this syncdaemon or your phone?14:51
kklimondanessita: no, on Ubuntu14:51
nessitahum14:51
kklimondanessita: I was just connected using my phone when I was away from home14:51
nessitais there any FS_FILE_CLOSE_WRITE or similar in the log file, for that file14:51
nessita?14:52
kklimondanessita: yes, but it's lyingh ;)14:52
kklimondalying even14:52
kklimondafiles were not touched for weeks14:52
kklimondamaybe something has opened file in the write mode, and then closed it without actually doing any writes?14:54
kklimondano, it doesn't generate any events..14:58
kklimondaso something would actually have to change the content of the file, but leave the old mtime.. I don't think I use any nefarious application like that :)14:59
duanedesignhello nessita15:07
kklimondaI've scared her off ;)15:09
duanedesign:D15:37
mongyU1 is 'playing up' today.  on/off/on/off/off some more, still off.15:44
kklimondaindeed15:46
kklimondaand I get a new notification at every status change.. a bit irritating ;)15:47
nessitakklimonda: sorry, got distracted :-)15:47
nessitahi duanedesign!15:47
mongyim still 10.10, using rye's indicator.15:47
nessitakklimonda: can you please paste the fragment of the log file where the FS_* event is logged for that file?15:47
mongyits sufficient enough, and not too ott15:48
kklimondanessita: some random lines around LS_ event http://paste.ubuntu.com/566345/15:50
duanedesignthere is a bug in the latest update of Natty that is preventing it from starting on my box15:55
nessitaduanedesign: what bug?15:58
nessitakklimonda: is "Everything You Can Think.mp3"?15:58
nessitakklimonda: so, at file system level, if pyinotify reports FS_FILE_CLOSE_WRITE it means that the file changed. If you only open that file without saving it, you get a FS_FILE_CLOSE_NOWRITE16:00
kklimondanessita: but I don't see any application modyfing a file, and not updating the mtime for it. I know it's possible, but that would require someone to actually do this and I can't think of a reason for that.16:02
kklimondawhat I can do is download the file from server, and see if it's the same as the one on my disk16:03
nessitakklimonda: random ideas: maybe you have a music server that scans all your music files to update a database?16:03
kklimondaor I would, if the web interface worked o.O16:04
kklimondaI can browse directories, but not touch files.. ugh..16:04
kklimondaat least not the More menu16:04
duanedesignnessita: I noticed it yesterday. Looks like there is a new version available. Let me see if it fixes it16:05
duanedesignnessita: it was an Import Error for the module clientDefs16:06
kklimondanessita: the files are exactly the same files - even if notify has fired modified events a quick checksum would save some bandwidth :/16:06
duanedesignthat spelling may be wrong16:06
nessitakklimonda: yeah, FF4 is not working with our web ui. We're waiting for FF4 beta to settle before fix16:07
nessitaduanedesign: ah, haven't seen that in a while16:07
nessitaok, I gotta run to buy some groseries16:07
nessitaotherwise I'll starve :-)16:08
nessitasee ya later guys!16:08
kklimondanessita: also, how is the progress of delta uploads? ;)16:08
kklimondacya16:08
duanedesignbye nessita16:10
karnigreat.. looks like no testing today :S16:11
karniindeed U1 is 'playing up', and I don't like it.16:12
beunokarni, hey16:12
beunoit's fixed16:12
karnibeuno: let me check..16:12
beunoshould be stabalised in a few minutes16:12
karnibeuno: ah.. good, very good16:13
karniSD was giving me handshake timeouts, and it didn't make me happy ;_;16:13
beunoyeah, not sure what happened, I just dropped in and saw __lucio__ dealing with it16:13
karniack16:14
duanedesignhello beuno16:19
beunoheya duanedesign16:22
duanedesignok, looks like the import error was fixed16:24
manixateHi!16:24
manixateI want to use ubuntuone with Mint 1016:24
manixateany help16:24
duanedesignhello manixate16:24
manixatehi16:24
manixatei installed ubuntuone-client16:25
manixateso i needed to ask that it is only in the mintmenu16:25
manixatecant it be like its in Me Menu in Ubuntu ?16:25
duanedesignIn the newest version (in Natty) the Ubuntu One link moved to the Messaging Menu16:28
duanedesignbut that is version 1.5.416:28
verterokkarni: hi, don't know what's the best approach to avoid duplication...but I know it's there :)16:30
karniverterok: true ;)16:30
verterokkarni: also the Volume hierarchy (defined in volume_manager.py) is duplicated :(16:30
karniverterok: that's one of the things I haven't looked into (perhaps it's substituted with something else I'm using)16:31
verterokkarni: yes, ti should be possible16:31
verterok*itt16:31
karniverterok: it was easy to implement progress callback for the download request (just wrapped the output stream), but I don't think it'll be that easy for upload request, it was somewhat more complicated I think.16:32
verterokkarni: I don't remember the code...but it should be another stream wrapping, right? :)16:39
karniverterok: it was submitting chunked data to RequestHandler and only there writing to a stream, so the cleanest way would be for me to add callback support on Request level directly to your branch.16:40
verterokkarni: and where is the chuncked data comming from?16:41
karniin practice, what I'm missing the most: request build-in down/upload progress callbacks, request cancellation, and more verbose exception throwing (too little exceptions gives little or no info on what's going on)16:42
karnilet me check16:42
karniverterok: what you mean is wrap the input stream I'm reading from in case of Upload request instead of wrapping the stream we're sending the data, correct?16:44
karnithat's doable. it's using is.read(buffer, this.offset, RequestHandler.MAX_PAYLOAD_SIZE); -- so I would wrap the input stream16:45
verterokkarni: got lost, come again? :)16:45
karniverterok: anyway, exactly. the thing is16:45
karniu1-s-p has it on the Request level16:45
* karni collects thoughts16:46
* karni would like to have everything ready on plate ;d16:46
karniverterok: the Upload/Download request of ubuntuone-storage-protocol takes a callback as a parameter16:46
karniverterok: so I thought perhaps I should commit some changes to your branch. that's it.16:47
karniinstead of doing it on the client side.16:47
verterokkarni: PutContent request doesn't accept a callback :)16:47
karni'my' side, that is. the application side. just give the application possibility to provide the callback as a parameter, and be happy with the result.16:47
karniit doesn't ? wiat.. I must have seen it. I'm sure.16:48
verterokkarni: the GetContent request accepts 2 callback: "callback" and node_attr_callback16:48
verterokcallback is used to process the incomming bytes and node_attr_callback is to process the node_attr messages from the server16:49
karniok, now it's changed (newest facundos free-queues branch)         f = UploadProgressWrapper(self.tempfile, uploading, self.progress_hook)16:49
verterokkarni: but that isn't the protocol. that's the syncdaemon upload stuff16:50
karnione sec ;)16:50
karniyou're right.. damn it, I would sware I saw that callback as a Request parameter16:51
karniah! that's it, that's what you're talking about             callback=self.cb, node_attr_callback=self.nacb16:51
karniverterok: right. I'll just wrap it up, to..16:52
verterok:)16:52
karniverterok: do you see how easy it is to get lost using source-as-the-docs ;(16:52
karni(not to mention I don't know python in practice, because thats _not_ your fault)16:52
verterokkarni: this are just python client implementation details16:53
karniit's just quite huge chunk of code.16:53
karnitrue..16:53
verterokkarni: the "java" protocol client design could have been completely different16:53
karniI kinda liked the idea to pass a callback object to the request hahah. Anyway, I'll do the same for upload what I did for download.16:55
verterokk17:10
verteroklunch time! later!17:10
karni__lucio__: could you briefly explain what are 'fs', 'keys', 'mdid', '_changes' from the class FSKey under sync.py ?17:19
karniI'll be right back.17:20
mongyu1 is still down for me. been that for a few hours now18:37
dobeynessita: hey. i made a release of u1cp last night, so that everything would work again on narwhal.18:41
dobeymongy: can you elaborate on what is wrong for you exactly?18:41
nessitadobey: hey there. what was not working?18:51
dobeynessita: stuff broke due to the change in how we install python modules in u1 packages18:51
nessitaah18:51
nessitadobey: did you uploaded a new package or did you do the whole tarball release?18:52
dobeynessita: that's why i asked you for the release yesterday, but you hadn't made on when kenvandine came in irc last night to complain about u1 failing with importerrors :)18:52
dobeynessita: tarball18:52
nessitadobey: yeah, I was doing that today. But I didn't know it will break!18:52
nessitadobey: anyways, thanks for fixing that18:53
dobeyno problem18:53
nessitadobey: you didn't write any release info...18:54
dobeyeh?18:55
dobeywhat do you mean?18:55
nessitadobey: when doing the release of the tarball, as far as I know we have to write the Changelog as the release info18:56
nessitaanyways, is done. Thanks18:56
dobeywhat release info?18:56
nessitadobey: you don't use lp-project-upload?18:58
dobeyno18:58
nessitadobey: look at every tarball release on https://launchpad.net/ubuntuone-control-panel/+download (except for yours)18:59
nessitadobey: there is a expandable 'Release information'18:59
nessitais not mandatory but is very good to add that, to give the release info for each tarball. Is basically the same as the changelog notes you add in the packaging branch18:59
dobeyweird19:00
dobeythe other releases don't realy have a full ChangeLog entry19:00
dobeythey just have one commit19:00
dobey*shrug*19:00
nessitadobey: the releases with one commit entry are releases with only one change19:01
nessitasee for example 0.8.019:01
mongydobey, sorry, back... I tried restarting it and didnt work, and it gave up, I just noticed it was disconnected without trying again so I hit connect and its ok now..19:20
dobeyok19:20
karniI'll call it a day. Gotta triage that little bug next time I code.21:47
__lucio__karni, please ping me on monday :)22:29
karni__lucio__: sure22:29

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