/srv/irclogs.ubuntu.com/2011/10/09/#bzr.txt

=== yofel_ is now known as yofel
wgzhi AuroraBorealis.11:41
AuroraBorealissup11:42
wgzif you've got some time, can you try some debug things on meliae?11:43
AuroraBorealissure!11:43
wgzokay, what's your current diff on the meliae install?11:44
wgzI want to go back and work out why the IO wasn't functioning without the hack first.11:44
AuroraBorealisthat might be difficult cause i downloaded the tarball11:45
AuroraBorealisany suggestion on how to do it? o.o11:45
AuroraBorealiscan i somehow diff it against the original tarball?11:47
wgzhm.11:48
wgzmaybe step one should be working out why your setup is borked so you can't branch lp projects then.11:49
AuroraBorealisi think i can do that now11:49
AuroraBorealisits just that one day launchpad was being iffy11:50
wgzokay, branch a fresh lp:meliae and delete the currently installed one from Python27\Lib\site-packages\meliae11:50
wgzI've got the hacks here anyway so we can re-apply them as needed :)11:51
AuroraBorealisk did that11:52
wgzokay, run setup.py on that, then the testsuite bit we got to crash and see if that's still happening.11:54
AuroraBorealiswhat was the command to build the test suite again?11:56
wgzhttp://irclogs.ubuntu.com/2011/10/02/%23bzr.html#t11:5711:59
wgzthere's actually a script to run the tests I realised after, but what we did before works too.12:00
AuroraBorealisyeah crashes python still12:01
wgzokay, great.12:02
wgzwell, not great, but you get the idea.12:03
AuroraBorealisyes!12:03
wgzokay, instructions: <http://paste.ubuntu.com/704848/>12:07
wgz....I should have wrapped some lines12:07
wgzask if anything doesn't make sense12:07
AuroraBorealisk12:08
wgzotherwise, paste me things as you go12:08
AuroraBorealiswhere is python.dll?12:09
wgzpossibly in C:\Windows\system32\python27.dll but adapt for win6412:11
wgzsomething like process explorer will tell you exactly which dll files get loaded if you run python the import meliae.scanner12:11
AuroraBorealisyeah its in SysWOW6412:11
wgzif that has different C runtimes loaded it's a sign something's gone wrong12:12
wgz^*then import12:13
AuroraBorealishmm12:13
AuroraBorealis"link.exe: the program can't start becamse mspdb80.dll is missing"12:13
AuroraBorealislet me google this...12:14
wgzyou probably need to run your vcvars bat file first12:15
wgzthough the fact that says 80 not 90 makes me worry.12:17
AuroraBorealiswell12:17
AuroraBorealisthat was with the 9.0 sdk12:17
AuroraBorealisok that worked12:18
wgzI have Microsoft Visual Studio 8\Common7\IDE\mspdb80.dll - which isn't the right VS version for Python 2.712:18
AuroraBorealiswith running 9.0's vcvarsall12:18
wgzcool.12:18
wgzwait, I also have it in  Microsoft Visual Studio 9, no worries.12:19
AuroraBorealispython's dumpbin12:19
AuroraBorealishttp://paste.ubuntu.com/704851/12:19
wgzyou need the /IMPORTS flag12:20
wgzdumpbin /IMPORTS python27.dll12:20
AuroraBorealisscanner dump: http://paste.ubuntu.com/704853/12:27
AuroraBorealispythondll: http://paste.ubuntu.com/704854/12:27
wgzokay, you see our problem there? :)12:28
AuroraBorealiscompiling with 10 instead of 9?12:29
wgzyeah, _scanner is linked against a newer C runtime12:29
wgzreally distutils shouldn't let that happen, but I'm guessing we can work around it easily enough12:30
AuroraBorealiscan i force a version?12:30
AuroraBorealiscause the microsoft sdk installed both 9 and 1012:30
wgzyup, just looking to see how.12:31
wgzso, running meliae `setup.py build_ext --help" gives a bunch of options12:31
AuroraBorealisdoes build_ext actually put it in the sitelib folder?12:34
wgzby default it puts its output in a subfolder of ./build12:36
wgzthen install moves the stuff to site-packages12:36
wgzso, start by deleting meliae from site packages again, and deleting the build folder under meliae12:36
wgzin fact, it may be worth clearing out all of site-packages and re-installing if every built extension has this problem12:37
wgzyou can double-check by running dumpbin on other pyd files.12:38
AuroraBorealisk, let me check..12:38
wgzI wonder if the hacks we needed to get distutils to work in the first place were entirely correct12:42
wgzcan you pastebin the contents of ..\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd maybe?12:43
wgzand run meliae `setup.py build_ext` and paste me the contents so we can see where it's linking the wrong thing12:44
AuroraBorealishttp://paste.ubuntu.com/704860/ thats setenv.cmd12:44
wgzokay yeah, that's referencing "Microsoft Visual Studio 10.0"12:46
AuroraAustralishmm12:46
wgzis there another .cmd as well? because that one isn't right.12:47
wgzwould be annoying if it required actually installing an older SDK.12:49
AuroraAustralisthis is setup.py build_ext12:50
AuroraAustralislet me look for another cmd12:50
AuroraAustralisand that seems to be the only .cmd file in that folder12:50
AuroraAustralisdid i somehow make it use the 10 compiler?12:55
wgzwell,12:55
wgzeither that's just the wrong SDK version, and we need an older one12:56
wgzor we just need it to not set the paths to point at VS 1012:56
AuroraAustraliswell i have a Microsoft Visual Studio 9.0 folder12:56
wgzyup, but running that SDK script makes distutils look at VS 10 instead, which it shoudln't12:57
wgzso, start by undoing the addition to vcvarsamd64.bat which added the call to that .cmd12:57
wgzwe can then manually set the LIB, LIBPATH, and INCLUDE if needed12:58
wgzI suggest:12:59
wgzstart a new cmd window, call that problematic cmd and do `echo %LIB%` and the same for LIBPATH and INCLUDE, and paste it13:00
wgzthen we can copy that with corrections straight into a distutils conf file rather than messing the vcvarsamd64 at all.13:01
AuroraAustralisi dont seem to have a lib, libpath or include env variable as it just prints out %libpath% or whatever13:02
wgzhm, maybe run vcvars pre-edit and try?13:03
AuroraAustralishttp://paste.ubuntu.com/704870/13:05
AuroraAustralisran the vcvars in the 9.0 folder13:06
wgzhm, and if you then run the v7.1\Bin\SetEnv.cmd file?13:09
AuroraAustraliswith calling the vccars64.bat file (which calls SetEnv.cmd) http://paste.ubuntu.com/704876/13:12
wgzokay.13:12
wgzso, if you have the 9.0 equivalent of those paths, we can just change the versions13:13
wgzeg C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Lib\amd64 -> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Lib\amd6413:13
wgzand we can set them in setup.cfg rather than editing bat files13:14
AuroraAustralisthere is a lib folder but no amd64 folder inside of it13:14
wgzmeh, then this is our problem, and short of building python itself against 10.0 I'm not sure what the fix is.13:15
AuroraAustraliswhy did installing visual studio install 64 bit of 10 but not 64 bit of 913:15
wgzthis I don't know.13:16
wgzokay, I need to do some cooking, work out a way of getting the 64bit versions of the msvc9 runtimes, that would solve things.13:18
AuroraAustralisyeah13:19
AuroraAustralisi need to get to bed, i'll google around and see if i can get those13:19
* AuroraAustralis reinstalls the windows 7 sdk13:37
AuroraAustralishoping for magic13:37
AuroraAustralisthe reinstall has defeated me13:46
AuroraAustralisgoing to bed, night13:46
Pilkyis there anyone around with any experience getting bzr to work with Jenkins/Hudson for CI? I'm using the plugin they list but I'm getting errors when I try a build that says it can't find bzrlib16:56
wgzvila would be your man but he's not around currently.17:06
Pilkywgz: thanks17:11
lifelessPilky: the plugin shells out to bzr18:29
lifelessPilky: so if its not working, your bzr isn't installed correctly (e.g. you've installed it to ~/bin but PYTHONPATH isn't export) or something like that18:30
Pilkyyeah, I had to mess around with the location as bzr is in /usr/local/bin on my machine as I used the Mac installer18:32
PilkyI think I might have got it now though, just required some messing around with settings18:32
jelmer'morning19:53
=== yofel_ is now known as yofel
Noldorinhi jelmer19:53
jelmerhi Noldorin19:54
wgz...is it jelmer?20:01
jelmer'evening wgz :)20:02
wgzare you somewhere far away currently? :)20:03
jelmerah, heh20:05
jelmerno, I'm at home20:05
jelmerI'm used to saying 'morning around this time of day since thats when the Ozzies and Kiwis show up :)20:06
fullermdIn my mind, it's always morning...20:12
wgzjelmer: did you get anything exciting back from PQM?21:25
wgzsee the comment at the end of <https://code.launchpad.net/~gagern/bzr/bug869915-mkdir-quiet/+merge/78601>21:25
ubot5Ubuntu bug 78601 in Ubuntu "[Sync] marble (NEW) from Debian experimental" [Undecided,Fix released]21:26
* wgz bops ubot5 on the head21:26
=== AuroraBorealis is now known as aurora|away

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