/srv/irclogs.ubuntu.com/2012/08/14/#ubuntuone.txt

mandelmorning all!07:40
ryemornings09:01
ryemandel: do you happen to have some code snippet that performs the same SSL verification as the SSO using Qt libraries?10:47
mandelrye, yes, give me a sec11:01
mandelrye, try with this: lp:~alecu/+junk/qt-ssl-error11:02
mandelgatox, buenos dias!11:02
gatoxmandel, buenas11:02
=== yofel_ is now known as yofel
ryeerm11:14
ryemandel: are we using qt4reactor in precise?11:15
ryemandel: i see import qt4reactor in proxy dialog but found that my machine has no python-qt4reactor package installed at all11:15
mandelhm.. no, there we use the qt main loop11:15
ryemandel: ah11:16
ryemandel: but proxy dialog?11:16
mandelrye, we should not, let me check11:16
mandelrye, which file are you exactly looking at?11:17
ryemandel: ah, if platform is win32, ok11:18
mandelrye, :)11:18
mandellunch time here :)12:04
* mandel lunch12:04
gatoxbrb.... need to do some errands12:29
=== gatox is now known as gatox_brb
thisfredralsina, could use a small review of https://code.launchpad.net/~thisfred/u1db/colored-squares/+merge/119376 por favor (we decided to not make the tag colors be the background color for the whole row, to increase readability, and reduce angry fruit salad, as aquarius puts it)12:50
thisfredwith thanks to rodney for the solution :)12:50
dobeyheh12:51
alecumorning all!12:51
thisfredbeunos días alecu12:51
alecudamn, he's even putting the accents over the I's. We'll have to invite him to #ar soon...12:53
thisfredalecu, unless #es makes me a better offer :P12:53
alecu:-)12:54
thisfredI was going very fast for a while, and then I hit the past tense, and now I slowed down considerably, since it gets a little more irregular there12:55
=== gatox_brb is now known as gatox
ralsinathisfred: will look!13:02
thisfredmuchas gracias13:02
ralsinathisfred: noone cares about the past,even if it's tense13:02
gatoxalecu, i have a u1-cp branch that keeps bouncing because of a lint issue that it says that a u1-client class doesn't has a"sync_menu" attribute.... but the u1-client branch that adds that already merge yesterday..... do you know what might be happening?13:03
ralsinathisfred: also, one way to reduce angry fruit salad is to use a pastel color palette13:03
thisfredralsina, which is what I tried to do, but not to aquarius' liking13:03
alecugatox: try branching trunk, and then merging that branch. And see if lint complains.13:03
ralsinathisfred: fair enough13:04
ralsinathisfred: BTW, pastel in spanish means pie. Just to avoid further confusion ;-)13:04
dobeygatox: merged != installed13:04
gatoxdobey, ahhhhhhh that's the problem then!13:05
gatoxdobey, is that going to take a lot?13:05
dobeygatox: should have happened automagically really. not sure why it isn't. not that familiar with jenkins/puppet oddities13:06
gatoxok..... i'll wait13:06
dobeygatox: it's updated now, so should work13:06
gatoxtrying again...13:06
ralsinathisfred: can I ask you to do something that is really not branch-related?13:07
thisfredralsina, claro13:07
ralsinathisfred: please get rid of simplejson or at least try to import json first, since it's in the stdlib13:07
dobeywe need to get rid of simplejson13:08
ralsinadobey: yes13:08
thisfredralsina, I have tried to do so, but to great resistance, since jam bookmarked them, and simplejson was still faster13:08
ralsinadobey: but eliot promised to do a branch himself in the bug we have for that13:08
ralsinathisfred: hmmmmm13:08
thisfredehm13:08
thisfredbenchmarked13:08
ralsinathisfred: understood as that :-)13:09
dobeyralsina: eliot?13:09
ralsinadobey: it's early ;-)13:09
ralsinadobey: let me find the bug13:09
ralsinaBarry13:09
dobeythisfred: the problem is that there is no simplejson for py3; and we will have to support it soon with u1db as well13:09
ralsinahttps://bugs.launchpad.net/ubuntuone-control-panel/+bug/102909413:09
ubot5Ubuntu bug 1029094 in Ubuntu One Control Panel "Replace simplejson with json" [Undecided,New]13:09
dobeyah13:10
ralsinathisfred: so, if you want, import simplejson first, but don't require it13:10
thisfreddobey, oh well, that settles it, I guess :)13:10
ralsinathisfred: consider it py3k prep work13:10
thisfredralsina, I'd much rather just have one, and I'm sure it wasn't a difference that will kill us.13:10
ralsinathisfred: unless the user has like 200000000 todo items...13:11
thisfredI will discuss with the u1db peeps first though13:11
ralsinathisfred: and a celeron13:11
ralsinathisfred: and is impatient13:11
thisfredralsina, well, it's not just cosas13:11
ralsinathisfred: and on fire13:11
thisfredusers on fire are probably a use case we don't have to support13:11
thisfredthey don't tend to file a lot of bugs13:12
ralsinathisfred: todo: lay down , roll13:12
thisfredGTDOF13:13
dobeyGDRAOF13:14
ralsinathisfred: those squares look not pretty13:15
ralsinathisfred: I have an idea to make them pretty but it will suck for an example app, so +1ing13:15
thisfredralsina, I'm doing the simplest thing first, and aquarius will tell me what's not acceptable. He's going to use it as an example for dev week.13:16
ralsinathisfred: ack13:17
dobeyalecu: btw, could you review https://code.launchpad.net/~dobey/ubuntuone-dev-tools/runner-tests/+merge/119436 please? :)13:22
alecudobey: sure13:22
* mandel back13:22
mandelalecu, gatox or ralsina, may I have an osx review for https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/sbjson-link13:24
ralsinamandel: queued but it's like 4th13:26
mandelralsina, sure, not in a huge hurry13:26
gatoxcool.... i thought i will need to reassamble my mac jeje13:26
ralsinadobey: runner-tests looks good to me13:27
dobeythanks13:27
mandelgatox, what happened to your mac?13:51
gatoxmandel, jeje nothing serious.... but i have mini mac in this room..... and the keyboards, mouse, monitor in other room.... because i was using that to play13:52
mandelah, ok :)13:52
dobeyi hope alecu isn't having more problems with his isp again today :-/13:56
* alecu knocks on wood13:56
mandeldobey, ralsina any problem if I add an MIT licensed lib in the daemon project? and it seems that the recomended way is via copying the file :(14:26
ralsinamandel: link to the thing?14:26
mandelralsina, I can link to it, yes14:27
ralsinamandel: as in "give me a link" sorry ;-)14:27
mandelralsina, oh, ok, let me get that for you, one sec14:27
mandelralsina, http://www.dribin.org/dave/blog/archives/2008/04/29/ddcli/14:28
mandelralsina, and a link to the code: http://www.dribin.org/dave/software/#ddcli14:28
ralsinamandel: let me go back to work n my ray to SMITE ALL THOSE WHO LINK TO THE MIT LICENSE WITHOUT PUTTING THEIR NAMES ON IT14:29
ralsinadarn14:30
mandelralsina, that is why I asked..14:30
ralsinaCopyright 2007 __MyCompanyName__14:30
ralsinadadadadadarn14:30
ralsinamandel: please ask the guy to include the license, with his name, in the sources :-(14:32
mandelralsina, sure14:32
dobeylol14:33
dobeyi love how /doc/ in the tarball just contains more code14:33
thisfredralsina, since you asked: https://code.launchpad.net/~thisfred/u1db/deprecate-simplejson/+merge/11955514:33
ralsinathisfred: cool, thanks14:33
mandelralsina, the lib does have his name in the headers14:34
ralsinamandel: that license needs to be edited to have his name in it14:34
ralsinamandel: it also says the copyright holder is "__MyCmpanyName__"14:35
ralsinaunless his name is "copyright holder" ;-)14:35
mandelralsina, in which file did you see that?14:35
ralsinamandel: there is no license file in the sources. He just has a link to the generic MIT license14:35
mandelralsina, so not only he has to add the license per file but also add a a license file in the soruces?14:36
ralsinamandel: yes14:36
ralsinamandel: or at least the license itself14:37
mandelralsina, ok, I hate license problems..14:37
ralsinamandel: wait14:37
ralsinamandel: is this ddcli?14:37
mandelralsina, yes14:37
ralsinamandel: and what you need is the contents of lib/ ?14:37
mandelralsina, yes14:38
ralsinamandel: then go ahead :-)14:38
mandelralsina, I can link to the lib, right?14:38
ralsinamandel: just remove the rest of it, and keep only lib/14:38
mandelralsina, so, do I copy the files or do I link against the lib? I can do either14:38
dobeythe source files really need proper license/copyright information in EACH source file, in the comment headers14:39
ralsinamandel: I would copy the sources14:39
ralsinadobey: they do, in the library14:39
ralsinadobey: just the example code is bad there14:39
ralsinathisfred: what's the meaning of "# noqa" ?14:40
thisfredralsina, it tells flake8 to shut its trap14:40
ralsinathisfred: cool, thanks14:40
ralsinathisfred: good to know ;-)14:41
thisfredwhich can't accept multiple imports like this :)14:41
thisfredralsina, I wish they'd made it clearer, but there you go14:41
alecuelopio: ping14:43
ralsinathisfred: +114:44
thisfredralsina, thx14:44
alecuelopio: in bug #1036686, how are you checking that syncdaemon is connecting directly to the internet?14:44
ubot5Launchpad bug 1036686 in Ubuntu One Client "Syncdaemon ignores the proxy for files and folders actions" [Undecided,Confirmed] https://launchpad.net/bugs/103668614:44
elopioalecu: I monitor the squid access log.14:46
alecuelopio: well, we are using one open connection for all the syncdaemon traffic, so you will not see many connections when you add files.14:48
alecuelopio: I think you should block the ip route if you want to check that the proxy is used.14:48
alecuelopio: for instance, in my windows vm, when I'm checking the proxy support, I do something like this:14:49
alecuroute delete 0.0.0.014:49
alecuroute add 192.168.1.0 mask 255.255.255.0 10.0.2.214:49
alecu(from a cmd.exe with administrator permissions)14:49
elopioalecu: I should see at least one connection, right?14:50
elopioI'll give a try deleting the route14:50
alecuelopio: the only route that should be available is to the host machine that's running squid.14:50
gatoxbriancurtin, could you re-review this one? https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/menu-desktop-services-actions/+merge/119370 i answered your need fixing14:51
mmccHi folks!14:51
gatoxmmcc, hi14:51
alecuelopio: right, and you will only see one open connection from SD thru the proxy. (well, more than one for some small bits that use a different channel, like: publishing a file, getting the list of public files, and sharing a folder)14:51
alecuelopio: those three operations are the only operations in SD that use a non-persistent connection.14:52
elopiook, will confirm.14:52
alecuelopio: great, thanks.14:52
elopiothanks to you alecu.14:52
alecuelopio: please let me know if I can give any hints regarding how to set up the routes.14:53
elopioalecu: 10.0.2.2 is your proxy, right?14:53
briancurtingatox: yep, looking now14:56
gatoxbriancurtin, thx14:56
briancurtingatox: ohhh, approved14:56
gatoxbriancurtin, cool! thanks14:57
ralsinamandel, gatox, briancurtin, mmcc, dobey, thisfred: standup in 2' do it without me, I have to be afk a little14:58
gatoxack14:58
mandelok14:58
thisfreddrunk standup!14:59
mandelthisfred, can be easily be done14:59
* mandel grabs the gin14:59
mandelthisfred, que tal va lo de aprender español?15:00
alecuelopio: 10.0.2.2 is the default gateway that the VirtualBox network has given to the windows vm.15:00
briancurtinme15:00
mandelme15:00
thisfredme15:00
alecuelopio: 192.168.1.0 is my local network, where my squid is running.15:00
alecume (writting notes)15:01
mmccme15:01
thisfredmandel, muy bien :)15:01
gatoxme15:02
alecumandel: le está yendo más que bien. Si hasta le pone los acentos a las íes!15:03
briancurtinDONE: Python315:03
briancurtinTODO: finish bug #103627015:03
briancurtinNEXT: mandel15:03
ubot5Launchpad bug 1036270 in Ubuntu Single Sign On Client "[nightlies] SSL errors crash ubuntu-sso-client and ubuntuone apps" [Undecided,Triaged] https://launchpad.net/bugs/103627015:04
mandelDONE: Got project o buil in lion correctly. Moved code to use ddcli to parse command line args specially to improve the test coverage.15:04
mandelTODO: More work on the main file of the daemon to add tests. Ask for reviews.15:04
mandelBLOCKED: no15:04
mandelthisfred, go!15:04
thisfredDONE: cosas ui fixes, documentation1, simplejson dep removal TODO: documentation2...n for very large ns BLOCKED: no NEXT: alecu15:04
mandelalecu, thisfred, que es mucho mas de lo que hago yo, thisfred there is a missing one in mas :P15:04
dobeyme15:04
thisfredmandel, dónde?15:05
alecuDONE: some reviews, some proxy on windows debugging, finally got defeated by isp issues15:05
alecuTODO: mumble with briancurtin, lend him a hand or two15:05
alecuBLOCKED: stiff neck15:05
alecuNEXT: mmcc15:05
mandelthisfred, in 'mas', without it it means but, with it means more15:05
thisfredah15:06
thisfredI thought pero was but15:06
mmccDONE: fixed buildout & env-mac, proposed storage-protocol branches15:06
mmccTODO: catch up on email, fix branches, more debug fsevents15:06
mmccBLCK: no15:06
mmccNEXT: gatox15:06
gatoxDONE:15:06
gatoxLand several control panel branches related to the sync menu feature, start working on the progress bar in the menu for current transfers (working on windows).15:06
gatoxTODO:15:06
gatoxFinish with this branch and propose. Look at the Shares menu feature.15:06
gatoxBLOCKED:15:06
gatoxNo15:06
gatoxdobey, go15:06
dobeyDONE: u1db package pokery, start some reorg work for dropping installer, finish up bug #103233615:06
ubot5Launchpad bug 1032336 in ubuntuone-dev-tools "New options parsing needs more test coverage" [Undecided,Fix committed] https://launchpad.net/bugs/103233615:06
dobeyTODO: rush to get everything done for feature freeze, reorg to drop ubuntuone-installer, SRUs for lucid/natty/oneiric15:06
dobeyBLCK: None.15:06
dobeycest fin15:06
mmccmandel, what project in lion? did you mean 10.6?15:06
mandelthisfred, also, mas is an old spanish thing you will probably not see it in any modern literature15:07
* mmcc prefers numbers - large cats don't have a good ordering15:07
mandelmmcc, yes and no, I updated to xcode 4.4 and it changed all the targets to point to 10.8 so I had to fix that15:07
mmccmandel: ah. hooray xcode15:07
mandelmmcc, yes, exactly what I though15:07
elopioalecu: my gateway is 192.168.122.1. And squid is in 192.168.1.250. So, with this I can be sure that everything is going through the firewall?15:08
elopioroute delete 0.0.0.015:08
elopioroute add 192.168.1.0 mask 255.255.255.0 192.168.122.115:08
mmccoh also: today is my review day. send me reviews.15:08
thisfredmandel, entendido15:09
alecuelopio: 192.168.122.1 is the gateway that "ipconfig" shows in windows, right?15:10
elopioalecu: yes.15:10
mandelmmcc, I have a few reviews for you :)15:10
mmccand someone pls review this buildout fix: https://code.launchpad.net/~mikemc/ubuntuone-windows-installer/improve-buildout/+merge/119195 -- maybe mandel, since you dislike the current buildout setup so much?15:10
mandelmmcc, sure!15:10
alecuelopio: then I think it should work.15:11
mandelmmcc, can you look at https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/sbjson-link (removes the lib to link it instead)15:11
mandeland https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/commserver-tests which adds extra tests15:11
alecuelopio: to make double sure, before and after running that, do a "ping 8.8.8.8" from the vm.15:11
mmccmandel, yeah, I see the list of reviews on +activereviews. looks like you have 7766 lines of reviews for me :\15:11
mmccmandel: I'll get started :)15:11
alecuelopio: it should only work before that command.15:11
mandelmmcc, is mostly removing code :)15:12
alecubriancurtin: can we mumble for a bit?15:14
briancurtinalecu: sure, logging in15:14
elopioalecu: yes, that ping fails.15:14
elopioalecu: and files are still being uploaded.15:14
elopioSo, actually tests passed. Nothing is left on the squid log.15:14
ralsinaelopio: so, it works?15:18
ralsinayay!15:18
elopioralsina: yes, it seems.15:18
elopiosorry about that.15:18
ralsinaelopio: np, it's tricky15:18
mmccoh, forgot something in standup - ralsina, the OSX Lion VM that IS set up works - I tested it out on friday.15:18
ralsinammcc: how was it?15:20
mmccralsina: it was real, and it was spectacular15:21
mmccseriously though, it worked fine, and seemed pretty fast to me15:21
mmccthe RT ticket has info on how to use it. I think they still have to set up all the accounts for it though15:21
ralsinammcc: I have one, mandel, did you get account data?15:22
mandelralsina, account data?15:22
mandelralsina, I need a little more context :)15:22
alecubriancurtin: apt-get build-dep ubuntu-sso-client15:22
mmccmandel for the lionvm that IS set up on that xserve.15:23
mandelralsina, mmcc, oh, yes yes, for the vms, I have them15:23
ralsinamandel, mmcc: awesome15:23
mandelralsina, I have been looking at how to correctly set jenkins on that15:24
ralsinaalecu, briancurtin, joshuahoover: let's revive the RT for 3.0.2b :-)15:25
alecuelopio: awesome news!15:25
elopioralsina, alecu, joshuahoover, briancurtin: I retried all the tests I marked as failed, and they passed. Changing the bug to invalid.15:26
alecuralsina: we still have the issue where sd goes into a loop when the user enters his proxy credentials wrong15:26
alecuelopio: \o/15:26
ralsinaalecu: yes15:26
joshuahoover elopio, ralsina: that is good news :)15:26
ralsinaalecu: but that's not a regression, so let's mark it as high and have as 1st bugix after FF when brian is done with SSO-py315:26
briancurtinralsina: should i reuse the same RT or create a new one?15:27
joshuahooverbriancurtin: i think you can use the same one since nothing has changed15:27
ralsinayeah15:27
dobeyalright, need to get lunch. bbiab15:27
joshuahooverbriancurtin: IS will simply think we're even more crazy than they already thought we were15:27
briancurtinnice15:27
elopioso, the only bug I got while running the smoke is bug #100097015:28
ubot5Launchpad bug 1000970 in Ubuntu One Control Panel "AttributeError: "'NoneType' object has no attribute 'stop'" when registering an existing account" [Medium,Confirmed] https://launchpad.net/bugs/100097015:28
ralsinajoshuahoover: we'll never bow to public opinion15:28
elopiobut that's not new.15:28
ralsinaelopio: I kinda have a fix for it in mind15:28
ralsinaelopio: it's not difficult, but not doing it until friday, probably15:28
elopiofriday sounds good.15:29
elopioalecu: I'll add a test to the smoke to enter the wrong password. I didn't know about that.15:30
* gatox lunch15:36
=== gatox is now known as gatox_lunch
=== salgado is now known as salgado-lunch
dobeyalecu: thanks for that review16:07
joshuahooverdobey: is there a file that has the version number of the u1 client in ubuntu? (strange request, i know)16:11
dobeyjoshuahoover: the package itself16:14
joshuahooverdobey: ah, right...and since i pay no attention to such details, where might one find that :)16:14
dobeyjoshuahoover: dpkg -l $package16:15
dobeyubuntuone-client ubuntuone-control-panel ubuntu-sso-client python-ubuntuone-client python-ubuntuone-storageprotocol and on and on16:15
joshuahooverdobey: right, but i have a guy who can't run any commands, just has access to the filesystem and needs to find the version info16:16
joshuahooverdobey: (don't ask)16:16
dobeyhow is he going to do that if he can't run any commands?16:17
dobey'vi' 'less' 'cat' are commands :)16:17
dobeyi guess he's in windows?16:18
dobeyand mounting the fs or something16:18
=== cheese is now known as Guest65807
=== Guest65807 is now known as DanimalCracker
joshuahooverdobey: yeah, that's my understanding16:19
dobeyjoshuahoover: he can look for the package versions in /var/lib/dpkg/status i guess. as long as he doesn't modify that file at all16:21
dobeyhe'll have to search through it though16:21
joshuahooverdobey: k, thanks! he'll enjoy that16:21
=== gatox_lunch is now known as gatox
mandelEOD for me, catch you all tom!16:25
mmccbye mandel16:26
=== salgado-lunch is now known as salgado
briancurtinmmcc: if you have time for a review, https://code.launchpad.net/~brian.curtin/ubuntu-sso-client/remove-SyncTimestampChecker/+merge/118826 should be up to date. it's almost all -'es16:38
mmccbriancurtin: ok, I'll put that next in line.16:39
mmccbriancurtin: are you using pylint or pyflakes on that branch?17:17
mmccI tested it with my new buildout, which uses pyflakes, and it had a few complaints, a couple of which might be relevant to your changes17:18
briancurtinmmcc: pylint but for whatever reason it doesnt pick up nearly half of what everyone else sees. i always fix the very few things that pop up, but others always see more warnings. if you have something that i havent fixed can you pastebin it?17:18
mmccbriancurtin here you go http://paste.ubuntu.com/1147216/17:18
mmccthat's pyflakes.17:19
briancurtini still need to stop and get this whole ordreal straightened out...its getting to the point where every branch i produce ends up being crap17:19
dobeymmcc: ubuntu-sso-client uses pylint17:19
dobeymmcc: afaik there's no reason it should be using pyflakes on windows or osx instead of pylint17:19
ralsinaunless briancurtin has USE_PYFLAKES set?17:20
briancurtini dont even think i have pyflakes installed. my pylint just sucks17:20
briancurtinor windows sucks17:20
mmccdobey: hmmm17:20
briancurtinor something17:20
ralsinapylint on windows does suck a lot17:20
mmccbriancurtin: the fixed buildout will install pyflakes. you do have the egg, it just didn't ever get the script from it17:20
ralsinaI never got a decent run out of it (but instead I got bazillion fake warnings)17:21
mmccUSE_PYFLAKES is set in run-mac-tests for sso client17:21
mmccoh crap, that's only in my working tree :)17:21
dobeyralsina: s/on windows//17:22
ralsinadobey: it sucks differently ;-)17:22
mmccI clearly don't understand what colo does, I thought creating a new colo branch would leave uncommitted changes in the old branch17:23
mmccso dobey, we should use pylint instead of pyflakes for sso, even on mac?17:23
mmccpyflakes is so much faster for me17:24
dobeymmcc: well, we should use the same thing on every platform, for each project. i'd like it to be pyflakes for everything, but there are still some issues with that17:24
mmccso what was the reason for using pyflakes on the other project (iirc, storage-protocol was what started my buildout fixing episode)17:26
mmccbtw, the difference on my system is 30 sec for pylint and .9 sec for pyflakes, on sso17:27
ralsinammcc: we started with pylint, so there's a lot of inertia17:27
ralsinammcc: specially since pyflakes detects less and/or more depending on the wind17:27
* gatox was happy with the progress bar in the menu... but it seems that u1-client is broken and need to go back to fix that :S.... crap!17:29
mmccralsina: ok, well since I have a couple of branches to propose that clean up the mac test scripts, it'd be nice to know where we need to use pyflakes and where we should use pylint17:30
mmccfor my part, I'm always using pyflakes since it's fast enough to use with flymake in emacs17:30
ralsinammcc: you'd have to check the run-tests scripts17:31
* ralsina doesn't have that matrix in memory17:31
dobeymmcc: we have to use pyflakes for protocol/client because pylint does not deal with some crazy stuff twisted/protobuf does17:31
dobeybut really, pylint needs to diaf17:31
mmccdobey: ack. so flakes for those two and lint for the others. gotcha17:32
dobeywell, dirspec is using pyflakes too17:33
ralsinaok, too hungry to think17:33
ralsinalunch!17:33
dobeyi should probably make dev-tools use both17:33
mmccanyway, briancurtin if you want to experiment with pyflakes, take a look at https://code.launchpad.net/~mikemc/ubuntuone-windows-installer/improve-buildout/+merge/119195 -- it includes a change to env.bat, so someone who knows bat files would be welcome17:37
mmccand it installs pyflakes in the buildout/bin17:37
briancurtinthe only people who know bat files have really, really long beards17:38
briancurtinbut i can take a look instead17:38
* mmcc had a suitable beard once: http://ubuntuone.com/7carFI0DvBy3GwdYCAKO3K17:45
briancurtinthat's not long enough to have a section of your geocities page dedicated to windows batch scripting17:46
mmccha, nope.17:46
thisfredbriancurtin, ohai: the pycon blog post you did says pycon 2012 instead of 2013 ;)17:47
briancurtincrap17:47
thisfredespecially confusing since there is also still an advertisement for pycon 2012 up on the site with different dates in March17:48
briancurtinyeah we need to get someone to update that image17:49
mmccbriancurtin, here is the pylint output from darwin for your branch: http://paste.ubuntu.com/1147273/17:53
mmccnot sure why it's complaining about dirspec and devtools though, those are explicitly put on sys.path in the u1lint wrapper script :(17:54
dobeymmcc: that's because you have an unpatched logilab-common i think17:54
dobeyis there a way to make buildout apply a patch when installing something?17:54
mmccdobey, hrm. probably, but it might be easier to just put a patched version somewhere for buildout to grab - there are a couple of things that are doing the tnow17:55
mmccdoing that now17:55
mmcceg, pykeyring, pycrypto, etc17:55
mmccdo you have a patched egg laying around somewhere we can just throw into the find-links section?17:56
dobeynot really; just have the patched ubuntu packages17:56
dobeyno idea how we've dealt with this on win in the past17:56
mmccsomeone made a patched egg and ralsina put it on u1.to/ralsina/blah.egg17:57
dobeyfor the pylint stuff?17:58
mmccfor keyring, crypto, com types, even windows twisted apparently17:59
dobeyright17:59
dobeybut doesn't explain why nobody has complained about this same issue before, with pylint on win for example :)17:59
dobeymmcc: http://pastebin.ubuntu.com/1147294/ is the patch against logilab-common that we need; i guess you can apply it against the installed version on your buildout to test if you wish18:04
mmccok, thanks dobey18:04
mmccthere is a buildout patch applying recipe, works cleanly18:31
* briancurtin lunch18:31
mmcchowever, after applying that patch I get a lot more spew from pylint: http://paste.ubuntu.com/1147338/18:32
mmcc2200 lines more18:32
mmccyeah, that looks like it just broke lots more imports, since it still isn't finding devtools or dirspec18:33
mmcchrm18:33
dobeymmcc: wow18:40
dobeythat doesn't seem right18:41
mmccnope…18:41
dobeyit's failing to import pretty much everything there18:41
mmccI wonder if it's having some interaction with the wrapping script that sets path18:42
dobeymaybe18:44
ralsinadobey: I am about to make you a very happy man18:47
ralsinadobey: kill pylint18:47
dobeyrly?18:47
ralsinadobey: rly18:47
dobeyYAY!18:48
ralsinadobey: thought about it in my lunch, and decided we were just being too conservative18:48
ralsinadobey: so instead of wasting time fixing it, let's kill it18:48
dobeywill do18:48
ralsinammcc: is PATHSEP on mac ":" ?18:48
ralsinammcc: because on windows pylint doesn't parse PYTHONPATH correctly18:49
mmccralsina: the wrapper script sets sys.path directly18:49
ralsinammcc: ok18:49
mmccbut just for fun, os.path.sep == '/', and os.pathsep == ':'18:50
ralsinadobey: let's do something like the USE_PYFLAKES flag so that pyflakes is used by default and we can try pylint on demand18:50
=== lifeless_ is now known as lifeless
dobeyralsina: yeah. plan is to switch everything to run u1lint with USE_PYFLAKES (or to pyflakes directly where appropriate), get all the issues fixed that pop up, then switch dev-tools to use it by default; maybe changing the env var to be something like U1_PYLINT_CMD=[pyflakes|pylint] and have it do appropriate things based on that18:52
ralsinadobey: cool, trust you on it18:52
ralsinadobey: is there something like pylint's ignore for pyflakes?18:54
ralsinadobey: thisfred used a # noqa today but that was for flake8 not sure if pyflakes alone gets it18:54
mmccok, so I can ignore this logilab patch that broke the world for me?18:55
* mmcc just realized he didn't read back far enough18:56
thisfredralsina, not 100% either but I think it's just flake818:56
ralsinathisfred: which would be a great argument for flake8 ;-)18:57
dobeyralsina: no, there's no ignore for pyflakes18:57
dobeywhich i quite like18:59
dobeyhaving # nothisreallyisok stuff all over the place is really distracting/annoying18:59
mmccdobey: but so is many lines of this:19:00
dobeyi have no idea how to fix the one sticking issue with pyflakes in that regard (the try/except import thing), but we should just get that fixed to not complain19:00
mmcc    45:  undefined name '_'19:00
dobeymmcc: well, considering we've never run pyflakes on sso, it makes sense that some things might pop up the first time we do :)19:01
mmccdobey: well, that one is already covered with a pylint disable... it's in ui.py, I guess it's get text?19:02
dobeyi don't know; i'd have to look19:02
mmccubuntu_sso/utils/ui.py19:02
ralsina'_' is used for gettext, yes19:03
ralsinawhich in python is a bad idea :-/19:03
dobeybut i can see how _ might be an issue as it's an internal thing, and a gettext thing19:03
ralsinaexactly19:03
dobeybut # disable is still the wrong way to fix that i think19:03
ralsinathe problem is that _ is being created by gettext.install19:04
ralsinaso it really is undefined in a way19:04
ralsinamaybe just a _ = None early on19:04
ralsinaand it's of course, a known pyflakes issue: https://bugs.launchpad.net/pyflakes/+bug/84459219:06
ubot5Ubuntu bug 844592 in Pyflakes "Recognize _("text") from gettext.install(...)" [Undecided,Won't fix]19:06
mmccralsina: if I do that I get a type error that None isn't callable… and setting _ = lambda x: x causes weird test breakage19:07
ralsinammcc: figures19:07
ralsinainteresting thing is that exarkun, the pyflakes author is currently under contract porting twisted for us ;-)19:07
ralsinammcc: a cleaner solution is to do _ = gettext.ugettext or whatever19:08
ralsinammcc: but I am not sure that's exactly the same thing19:08
mmccno gettext.ugettext19:11
dobeyi'll look at it :)19:11
ralsinadobey: cool. Keep in mind that this is rather low priority though19:11
ralsinadobey: so subject to interruption ;-)19:11
mmccthat is, there's no module level convenience function ugettext. it's a method on class GnuTranslations though19:11
dobeyralsina: do you know how to force cmake to echo the full gcc command it uses when compiling?19:15
ralsinadobey: I used to19:15
ralsinadobey: give me 1 sec19:15
ralsinadobey: make VERBOSE=119:15
dobeythanks19:17
gatoxalecu, do you have a minute please?19:19
mmccbriancurtin: +1 - your branch doesn't add new pyflakes complaints, so I'm calling that victory :)19:23
briancurtinbesides doing "apt-get build-dep ubuntu-sso-client" and bzr branching the project...should i need to do anything else to get sso tests to run?19:25
ralsinabriancurtin: AFAIR nothing19:28
briancurtinralsina: No module named qtreactor.qt4reactor :( in devtools. is there any wiki page for setup? maybe i'm missing an environment variable or something?19:33
ralsinabriancurtin: that should be in our PPA19:33
ralsinabriancurtin: thing is it's not required to build only to test19:33
gatoxi don't understand... here it says that this branch landed was merged with conflicts: https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/menu-desktop-services-actions/+merge/119370 but if i branch that or trunk, i don't see the conflicts19:33
briancurtinralsina: so just doing the build-dep and having the branch should be enough to do "./run-tests"?19:34
ralsinabriancurtin: just install python-qt4reactor19:34
ralsinabriancurtin: well, you may have to ^19:34
briancurtinralsina: ah, there we go. easy enough19:35
dobeybrb, need to run an errand19:37
ralsinammcc, briancurtin: while we may not care about pylint anymore, tarmac will care for a few more days still ;-)19:43
gatoxWEIRD!19:45
mmccralsina: ack.19:45
ralsinagatox: ?19:46
briancurtinrunning sso trunk just gave a ridiculous amount of lint warnings19:46
gatoxralsina, i'm just suffering here :P19:46
ralsinabriancurtin: on linux?19:46
briancurtini ran pylint on the python standard library and it took so long that i forgot about it, minimized, then randomly opened it like 35 minutes later and it was still running19:46
briancurtinralsina: yeah19:46
ralsinabriancurtin: don't run pylint, run u1lint19:47
briancurtinralsina: on a Q VM19:47
briancurtinralsina: it was whatever came at the end of "./run-tests"19:47
ralsinabriancurtin: really?19:47
ralsinabriancurtin: ok, running myself to see what happened19:47
mmccme too19:47
mmcc(but on precise)19:48
briancurtinralsina: http://paste.ubuntu.com/1147478/ -- this is a fresh Q VM running sso trunk19:49
ralsinabriancurtin: totally clean run on precise19:49
ralsinabriancurtin: install devtools19:49
ralsinaubuntuone-dev-tools and python-ubuntuone-devtools19:50
ralsinabut I would expect those to be part of build-deps19:50
mmccyeah, on briancurtin's remove-SyncTimestampChecker branch on precise I get only two "TODO" warnings from pylint19:50
ralsinabriancurtin: also, do you have nightlies installed?19:50
briancurtinralsina: all i've done on this machine is install it, then ran "sudo apt-get build-dep ubuntu-sso-client", then bzr branch lp:ubuntu-sso-client, then the qtreactor you just told me to install19:51
ralsinabriancurtin: ok, trunk needs nightlies of a few things19:52
briancurtinralsina: it claims to already have devtools, so maybe its a part of build-deps19:52
ralsinabriancurtin: what version?19:52
briancurtinralsina: how do i tell that?19:52
briancurtinmy apt-fu is mostly lost19:53
ralsinabriancurtin: dpkg -l ubuntuone-dev-tools19:53
ralsinabriancurtin: and do a sudo add-apt-repository ppa:ubuntuone/nightlies19:54
briancurtinralsina: 3.99.3-0ubuntu19:54
ralsinathen apt-get update && apt-get upgrade19:54
ralsinayes, trunk is too new for what you have :-)19:54
briancurtincool, running now19:54
ralsinayou need to live in the frontline! http://tinysong.com/165gV19:55
briancurtinralsina: ah there we go. down to two TODO lint notices20:01
ralsinabriancurtin: awesome :-)20:01
ralsinabriancurtin: those are reported but are not failures, so you are ok20:01
briancurtin"to two TODO"20:01
briancurtincool20:01
briancurtinnow to make it work on python3. brb20:02
gatoxeod here...... i hope to fix this tomorrow.... i kind of stuck :S20:04
gatoxbye people!20:04
briancurtinralsina: 3.0.2b binaries are uploaded to the ticket. i'll keep an eye on it20:04
ralsinabriancurtin: yay20:06
mmcclunchtime here20:15
dobeybriancurtin: that pastebin full of lint errors is because you're missing the python-logilab-common package from ppa:ubuntuone/nightlies20:17
briancurtindobey: yeah i added that and got it down to two TODOs20:17
dobeyah i see; you added that20:17
dobeyi hate cmake20:29
ralsinadobey: need a hand with anything?20:31
dobeywell, i added a bit to set CFLAGS so it would build with -g -O2 -Wall -Werror; which it does; because i thought that was the problem with the empty -dbg package20:32
dobeyso now i have libu1db.so.1 with symbols; but it's not stripped in the debian/tmp/ directory20:33
dobeyand the -dbg package is still empty, and i have no idea why20:33
dobeybut since everything workse nice and automagic with autotools libs (libsyncdaemon); i can only imagine it's soemthing related to cmake20:34
ralsinadobey: probably :-/20:35
ralsinadobey: did you try -DCMAKE_BUILD_TYPE ?20:37
dobeyno, but i have no idea what that is20:38
ralsinadobey: you can set it to debug or release and will adjust the CFLAGS accordingly20:38
dobeyi can't exactly run ./configure --help with cmake :(20:38
ralsinadobey: right20:38
ralsinadobey: so it would be cmake -DCMAKE_BUILD_TYPE debug20:38
dobeybut i suppose that won't help20:39
ralsinadobey: http://www.cmake.org/cmake/help/v2.8.9/cmake.html#variable:CMAKE_BUILD_TYPE20:39
dobeywish i could -DCMAKE_STOP_BEING_SO_DIFFICULT20:40
ralsinadobey: I have to leave in a bit but if you mail me the details to get where you are, I can give it a try tonight or early tomorrow20:42
alecubriancurtin: ping21:37
alecubriancurtin: I get a conflict while merging this: https://code.launchpad.net/~brian.curtin/ubuntu-sso-client/py3-unicode-part-3/+merge/11958621:38
alecubriancurtin: I branched trunk, merged the prerequisite lp:~brian.curtin/ubuntu-sso-client/remove-SyncTimestampChecker and then merged py3-unicode-part-3, and got the merge conflict there.21:39
ralsinaalecu: the "we don't care about pylint" in that branch is because I have decided we are moving away from it21:41
alecuralsina: awesome21:42
ralsinaalecu: it's very broken on windows, and doesn't even seem to work right in mac21:42
ralsinaplus we have to use patched eggs, patched debs, it's  pain21:42
alecuralsina: was I too sleepy when you mentioned this?21:43
ralsinaalecu: dunno :-)21:43
alecuralsina: btw: big +1 on my part21:43
ralsinaalecu: let me find the time :-)21:43
ralsinaalecu: 15:44 ART21:44
ralsinaalecu: the only problem there seems to be is that gettext.install makes it throw a warning21:45
ralsinabecause it defines "_" weirdly21:45
alecuthat's great then. I'm catching up with those bits from the backlog.21:46
alecuralsina: thanks!21:46
ralsinaalecu: sorry about not bringing you into the decision, but pylint was making the whole channel suffer at the time21:47
=== salgado is now known as salgado-afk
dobeywe'll figure out the _ thing21:49
=== JanC_ is now known as JanC
dobeyalright, have a good evening all21:58
briancurtinalecu: yay, yet another conflict. merging that one right now22:00
diogobaeder[off-topic] does anyone know how to find a memory chip by address? Because I've had a memtest error and the memory address where it happened, but have no clue how to know which chip is giving me problems so that I replace only that one22:16
briancurtinthe two times ive had issues i just went the manual route of testing each stick until i found it22:17
=== m_conley` is now known as m_conley_away
alecudiogobaeder: I had timing issues with some combinations of dimms, that would not show up when testing just one module...22:19
alecudiogobaeder: so: try playing with some of the memory settings too.22:20
diogobaederalecu, ah, it might be it, then... cause I mixed different chips, with different frequencies :-)22:20
diogobaederalecu, nice, thanks for the hint! :-)22:20
diogobaeder(I'll try running memtest with a pair, today, and run with the other pair tomorrow)22:21
alecudiogobaeder: that sounds more likely, yes. Though I had those issues with a set of four same brand, same model dimms bought the same day :-(22:21
diogobaederalecu, that doesn't sound good :-(22:22
alecustrange thing was that they would work when used in pairs.22:23
diogobaederI was thinking about replacing them by a 4-chip closed pack, do you think my chances to not have these issues again are high?22:23
alecudiogobaeder: no, I don't think the chances are high!22:23
diogobaederalecu, okay... well, I'll run the tests with isolated pairs, to see if at least they work separately22:24
alecudiogobaeder: I did some reading on bios memory settings at the time, and even played a bit with those; but running those tests take forever, and left the computer unusable.22:25
alecuso at the time (say, 5 years ago) it made more sense to just use a pair than to replace the motherboard.22:26
diogobaederalecu, ack22:27
alecuOh, and let me know how it turned out!22:28
diogobaederalecu, sure! :-)22:31
diogobaederbrb22:31
alecubriancurtin: I still got some merge conflicts in the unicode-3 branch22:56
briancurtinnot surprised22:56
briancurtinso sick of lp/bzr22:56
alecubriancurtin: you've probably not used git much ;-)22:57
briancurtini used it enough to know it's crap22:57
briancurtinive used hg the most and it is awful22:57
briancurtinwould rather just have a shared FTP some days22:58
briancurtinalecu: i just did a fresh branch of trunk, merged the SyncTimestampBranch, then merged py3-unicode-part-3 and got no conflicts23:01
alecubriancurtin: try running the tests on it23:02
=== salgado-afk is now known as salgado
briancurtinugh23:02
briancurtinthere it is23:02
alecubriancurtin: you don't mind if I re-review it tomorrow morning, right?23:05
briancurtinalecu: that's perfectly fine, it's already late for you23:05
alecusince I'm EODing about now :-)23:05
alecuok, bye all!23:05
* mmcc eo'd23:33

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