=== Saviq is now known as Saviq|QtCS | ||
=== vrruiz_ is now known as rvr | ||
=== kenvandine_ is now known as kenvandine | ||
balloons | barry, I have a weird python error I'm wondering if you might be able to help me with. The error only occurs on the device; OverflowError: timestamp out of range for platform time_t. | 14:32 |
---|---|---|
barry | balloons: could be a 32bit thing perhaps? | 14:36 |
balloons | barry, mm.. yes. I need a way to define an arbitrary time (hours and minutes) with no regards to date or timezone.. and not get this error | 14:38 |
barry | balloons: what is the code that triggers this error? | 14:39 |
balloons | barry, I started to share, but I'm seeing a qml error that makes me think it might still be something in the code | 14:40 |
balloons | regardless, let me paste | 14:40 |
balloons | barry, here's a simplified snippet of code.. http://paste.ubuntu.com/7634006/. It fails in the set_picker function | 14:41 |
balloons | the traceback | 14:42 |
balloons | http://paste.ubuntu.com/7634011/ | 14:42 |
barry | balloons: it would be interesting to know what self[0] is | 14:44 |
balloons | barry, thanks.. this session is almost over and I'll hack on it a bit more and ping you again if needed | 14:48 |
barry | balloons: sounds good | 14:49 |
=== Saviq|QtCS is now known as Saviq | ||
elopio | balloons: do you have time for a review? | 17:33 |
elopio | https://code.launchpad.net/~elopio/ubuntu-filemanager-app/clean_context_menu_tests/+merge/222888 | 17:33 |
thomi | barry: got time for a quick hangout call in 10-15 minutes? | 20:52 |
barry | thomi: hey. yeah | 20:55 |
thomi | barry: nuclearbob: https://plus.google.com/hangouts/_/g7m47jdjaxzu35ctiy2u4a3w2qa?authuser=1&hl=en | 21:03 |
nuclearbob | https://launchpad.net/~fkrull/+archive/deadsnakes | 21:11 |
barry | nuclearbob: https://wiki.canonical.com/UbuntuEngineering/2014/Debconf2014 | 21:19 |
barry | excellent. steve can be very convincing too :) | 21:29 |
thomi | I'd love to be a fly on the wall in that discussion :) | 21:29 |
barry | :) | 21:30 |
thomi | nuclearbob: I'm doing a dist-upgrade, then I'll re-try your pyramid package | 21:30 |
nuclearbob | thomi: my test branch is here, if it ends up being useful: lp:~nuclearbob/+junk/pyramid-test | 21:31 |
nuclearbob | I think it's time for me to dist-upgrade too | 21:31 |
thomi | nuclearbob: awesome, thanks | 21:31 |
thomi | nuclearbob: sp | 21:31 |
thomi | nuclearbob: so I'll spend today trying to get a basic pyramid app + the database set up | 21:32 |
thomi | nuclearbob: I'll stick the work in a branch that we both have write access to | 21:32 |
thomi | nuclearbob: and I'll email you at my EOD so you can pick up where I left off tomorrow - sounds good? | 21:32 |
nuclearbob | thomi: that works | 21:32 |
thomi | nuclearbob: got another bug report: pserve segfaults | 21:41 |
thomi | err, I mean "crashes" | 21:42 |
thomi | nuclearbob: looks like a problem in chameleon | 21:42 |
thomi | nuclearbob: http://pastebin.ubuntu.com/7635676/ | 21:43 |
nuclearbob | thomi: that's interesting | 21:47 |
thomi | "interesting" is one word for it | 21:47 |
nuclearbob | I can use two if you want | 21:47 |
nuclearbob | way interesting | 21:47 |
nuclearbob | hmm | 21:50 |
nuclearbob | so you have this in a container, or somewhere else? | 21:50 |
thomi | nuclearbob: just on my laptop | 21:55 |
nuclearbob | thomi: can you pip in chameleon and see if that fixes it? | 21:59 |
thomi | nuclearbob: sure, one sec | 22:11 |
thomi | nuclearbob: can't use a virtualenv with pserve | 22:12 |
nuclearbob | thomi: hmm | 22:13 |
nuclearbob | I could have sworn the pyramid tutorial started with a virtualenv | 22:14 |
nuclearbob | I do everything in containers so I can just pip in stuff will-nilly and toss it if I need to | 22:14 |
thomi | oh, probably if I install pyramid as well | 22:14 |
nuclearbob | thomi: what user are you using? can you pip stuff with --user | 22:14 |
nuclearbob | right, it was part of the install | 22:14 |
thomi | but pserve's #! line doesn't use 'env' | 22:14 |
nuclearbob | I bet it gets rewritten by the packaging | 22:15 |
nuclearbob | I think it's debian policy to not use env in python shebang lines | 22:15 |
thomi | yeah, so I get the same error when trying to import the brand new scaffolded pyramid app | 22:16 |
thomi | so it's not just pserve | 22:16 |
thomi | python | 22:16 |
thomi | oops | 22:16 |
thomi | similar traceback | 22:17 |
thomi | nuclearbob: you basically cannot import pyramid.config.Configurator, which seems pretty central to pyramid apps :-/ | 22:18 |
nuclearbob | thomi: indeed. I'm taking a look in my container | 22:19 |
nuclearbob | works with the packages I built there, I'll try a new container and the packages from the ppa | 22:19 |
thomi | same error on your branch FWIW | 22:19 |
nuclearbob | thomi: thanks. Knowing that that import fails should make it easy to track down | 22:20 |
thomi | nuclearbob: reproducer is: python3 -c "import pyramid.config" | 22:20 |
nuclearbob | getting a new container spun up | 22:23 |
nuclearbob | doot doot doo | 22:23 |
nuclearbob | okay, blowing up with the packages, let's see how much I have to pull in from other sources to fix it | 22:36 |
nuclearbob | okay, importing chameleon at all blows up | 22:55 |
thomi | nuclearbob: hmmm | 22:55 |
nuclearbob | and if I install pyramid via pip, I don't get chameleon | 22:55 |
thomi | oh yeah | 22:55 |
thomi | hmmm | 22:55 |
nuclearbob | maybe the chameleon dependency is dropped in 1.5? | 22:55 |
thomi | nuclearbob: we should probably be packaging 1.5 anyway? | 22:58 |
nuclearbob | thomi: yes, I just grabbed 1.4 because it was already packaged for trusty, but 1.5 does remove the chameleon dependency | 22:58 |
nuclearbob | thomi: I'll get that packaged, I'm only on for another hour today, so I'll see if I make it | 22:59 |
thomi | nuclearbob: I've already done it for python 2 annyway - perhaps you can re-use that work? | 22:59 |
nuclearbob | thomi: I think between your work and mine it should be easy | 22:59 |
nuclearbob | but things I think should be easy still sometimes take a couple hours to get built into ppas | 22:59 |
nuclearbob | thomi: can you throw me your branch url again? | 23:00 |
thomi | nuclearbob: there's no branch, just a debian bug and a diff | 23:00 |
nuclearbob | thomi: is the diff in the packaging email thread or somewhere else? | 23:01 |
thomi | nuclearbob: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751067 | 23:01 |
ubot5 | Debian bug 751067 in python-pyramid "python-pyramid: Bump upstream version" [Normal,Open] | 23:01 |
nuclearbob | all right, this package can import pyramid.config | 23:14 |
nuclearbob | let's get it uploaded | 23:14 |
nuclearbob | threw it at my ppa | 23:16 |
thomi | nuclearbob: which ppa? | 23:16 |
nuclearbob | thomi: I threw it at mine first to make sure it got accepted, I'll push it to the ci one once it builds | 23:19 |
nuclearbob | ugh, 9 minutes. I can't wait for that. I'll push it to the ci one too and they can race | 23:20 |
thomi | nuclearbob: awesome, thanks man | 23:21 |
thomi | nuclearbob: I'll send you an email at my EOD with whatever I got done | 23:23 |
thomi | have a good evening! | 23:23 |
nuclearbob | thomi: cool, thanks | 23:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!