[00:29] <veebers> thomi: when you have a moment would you mind casting your eyes over this quickly? https://code.launchpad.net/~veebers/autopilot/logging-binary-attachments-1336109/+merge/225098
[19:33] <thomi> barry: did you get my email?
[19:58] <barry> thomi: i did, responding now
[19:58] <thomi> barry: awesome - wasn't sure what address to use.
[19:59] <barry> thomi: they all end up in the same place :)
[19:59] <thomi> ahhh ok
[19:59] <barry> thomi: they just take different paths to get here
[19:59] <thomi> I was looking for a non-work address, but I guess at least this way you can filter based on the target address :)
[19:59] <thomi> anyway, sorry about the schedule switch-aroo
[19:59] <barry> thomi: no worries.  you can always use my at python dot org address too
[20:00] <thomi> barry @ ?
[20:00] <barry> thomi: yeppers
[20:00] <thomi> will try and remember that for next time :)
[20:00]  * barry has *a lot* of email addresses :)
[21:22] <thomi> barry: got a second?
[21:26] <barry> thomi: sure
[21:27] <thomi> barry: so I'm having some odd problems with virtualenvs, python 34, and testing...
[21:27] <thomi> in my setup.py, I do 'tests_require=[dep_a, dep_b]
[21:28] <thomi> I create a virtualenv with 'virtualenv -p python3 ve' . ve/bin/activate
[21:28] <thomi> then try and run the tests with: python setup.py test
[21:28] <thomi> I see it downloading all my test dependencies, but then the tests fail to run. Digging a little deeper, they fail to run because they cannot import the test dependencies!
[21:28] <thomi> but I can see them being downloaded, and they all create *.egg files in .
[21:29] <thomi> am I missing something? I thought 'python setup.py test' was 'just supposed to work'
[21:29] <barry> thomi: yeah, it should work
[21:30] <barry> are you sure it's not failing on some other explicit dependency that's not defined in tests_require?
[21:30] <thomi> hmmm
[21:30] <barry> oh, one thing you can do, fire up your venv's python and try to import those deps at the >>> prompt
[21:30] <barry> sometimes, there are cascading errors that end up looking like ImportError but really are caused by something else
[21:31] <thomi> yeah I get ImportErrors there as well
[21:31] <barry> then, try to import the test modules
[21:31] <thomi> it looks like they're not being installed to the virtualenv correctly
[21:31] <barry> thomi: so what if you manually pip install them into the venv?
[21:31] <thomi> then it seems to re-download and install them
[21:31] <thomi> yeah, it's doing all that work all over again :(
[21:32] <barry> thomi: are you on utopic?
[21:32] <thomi> barry: no, trusty
[21:32] <barry> thomi: well, at least i know that my virtualenv wheel stuff isn't affecting you :)
[21:33] <barry> but you can't run pyvenv-3.4 either
[21:33] <barry> (just to see if there's something weird with the venvs)
[21:33] <thomi> if I manually 'pip install ...' all the deps then 'python setup.py test' works
[21:34] <barry> thomi: do you have a branch?  i could try it on utopic
[21:34] <thomi> sure, let me upload
[21:35] <thomi> barry: lp:~canonical-ci-engineering/uci-engine/nfss
[21:35] <thomi> barry: change to the nf-stats-service directory
[21:36] <barry> thomi: trying.  btw, i'm still working on that stack of packages.  it's a dark and twisty maze
[21:36] <thomi> well... if you feel like that, I'm glad I'm not attempting to do it :)
[21:38] <barry> it's insane.  dozens of uploads to debian.  syncs to ubuntu.  plus ubuntu-only packages that block -proposed promotions.  jeebus.
[21:38] <barry> oh thomi you will love this:
[21:38] <barry> ----------------------------------------------------------------------
[21:38] <barry> Ran 5 tests in 0.001s
[21:38] <barry>  
[21:38] <thomi> :(
[21:38] <thomi> that makes me sad!
[21:38] <thomi> why doesn't it work here?
[21:39] <barry> thomi: nfc.  let me see if i have a trusty system laying around
[21:41]  * barry fires up his trusty vm
[21:56] <barry> thomi: well, on my trusty vm, it seems like the psycopg dep isn't too happy
[21:56] <thomi> oh?
[21:56] <thomi> you need to install libpq-dev or something
[21:56]  * barry tries
[21:56] <thomi> yeah - libpq-dev
[21:58] <barry> hmmm
[21:58] <barry> ./psycopg/psycopg.h:31:22: fatal error: libpq-fe.h: No such file or directory
[21:58] <barry>  #include <libpq-fe.h>
[21:58] <barry>                       ^
[21:58] <barry> compilation terminated.
[21:58] <thomi> hmm
[21:58] <barry>  
[21:59] <thomi> I get this: http://pastebin.ubuntu.com/7733589/
[22:00] <barry> yeah, it seems really unhappy about that header file, even though it's there in /usr/include/postgresql!
[22:00] <barry> oh, maybe that's not on -I
[22:01] <barry> why would that be the case on 14.10 but not 14.04
[22:01] <barry> i will try to install the pacakge and use --system-site-packages
[22:02] <thomi> barry: it's odd, on my system I don't get that message, it just seems to... stop...
[22:03] <barry> well, even --system-site-packages isn't very happy
[22:03] <barry> so i can't get even as far as you've gotten :(
[22:05] <thomi> barry: ahh well, don't worry about it
[22:06] <thomi> barry: I can work around this for now, it's not such a big deal
[22:06] <thomi> I was hoping you'd say "oh yeah, you need to do X"
[22:06] <barry> thomi: yeah, sorry, i tried :)
[22:06] <thomi> thanks for your help :)
[22:06] <barry> "help" :)
[22:07] <thomi> sure, at least now I know that I was doing the right thing
[22:07] <thomi> and that the problem is elsewhere
[22:07] <barry> yep
[23:19] <josharenson> Hi, I assume autopilot works on desktop? My very simple tests fails/crashes because it cannot find "MainView"
[23:19] <balloons> josharenson, what do you mean?
[23:21] <josharenson> balloons, I have a click app that I created in Ubuntu-sdk. There is a file called "run" in app/tests/autopilot (presumably auto-gened by the SDK)
[23:22] <josharenson> balloons, when I run "run", it starts my app, and the test errors out almost instantly with the following error
[23:22] <josharenson> StateNotFoundError: Object not found with name 'MainView'.
[23:22] <josharenson> My application definitely has a MainView object
[23:22] <balloons> josharenson, sorry I'm literally walking out the door atm... I'll respond when I return if no one else does
[23:23] <josharenson> ha ok
[23:23] <josharenson> thanks
[23:23] <balloons> josharenson, look at the core apps for examples that work
[23:23] <balloons> that should help
[23:23] <balloons> lp:ubuntu-clock-app for instance