/srv/irclogs.ubuntu.com/2014/06/12/#ubuntu-autopilot.txt

=== Saviq is now known as Saviq|QtCS
=== vrruiz_ is now known as rvr
=== kenvandine_ is now known as kenvandine
balloonsbarry, 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
barryballoons: could be a 32bit thing perhaps?14:36
balloonsbarry, 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 error14:38
barryballoons: what is the code that triggers this error?14:39
balloonsbarry, I started to share, but I'm seeing a qml error that makes me think it might still be something in the code14:40
balloonsregardless, let me paste14:40
balloonsbarry, here's a simplified snippet of code.. http://paste.ubuntu.com/7634006/. It fails in the set_picker function14:41
balloonsthe traceback14:42
balloonshttp://paste.ubuntu.com/7634011/14:42
barryballoons: it would be interesting to know what self[0] is14:44
balloonsbarry, thanks.. this session is almost over and I'll hack on it a bit more and ping you again if needed14:48
barryballoons: sounds good14:49
=== Saviq|QtCS is now known as Saviq
elopioballoons: do you have time for a review?17:33
elopiohttps://code.launchpad.net/~elopio/ubuntu-filemanager-app/clean_context_menu_tests/+merge/22288817:33
thomibarry: got time for a quick hangout call in 10-15 minutes?20:52
barrythomi: hey.  yeah20:55
thomibarry: nuclearbob: https://plus.google.com/hangouts/_/g7m47jdjaxzu35ctiy2u4a3w2qa?authuser=1&hl=en21:03
nuclearbobhttps://launchpad.net/~fkrull/+archive/deadsnakes21:11
barrynuclearbob: https://wiki.canonical.com/UbuntuEngineering/2014/Debconf201421:19
barryexcellent.  steve can be very convincing too :)21:29
thomiI'd love to be a fly on the wall in that discussion :)21:29
barry:)21:30
thominuclearbob: I'm doing a dist-upgrade, then I'll re-try your pyramid package21:30
nuclearbobthomi: my test branch is here, if it ends up being useful: lp:~nuclearbob/+junk/pyramid-test21:31
nuclearbobI think it's time for me to dist-upgrade too21:31
thominuclearbob: awesome, thanks21:31
thominuclearbob: sp21:31
thominuclearbob: so I'll spend today trying to get a basic pyramid app + the database set up21:32
thominuclearbob: I'll stick the work in a branch that we both have write access to21:32
thominuclearbob: and I'll email you at my EOD so you can pick up where I left off tomorrow - sounds good?21:32
nuclearbobthomi: that works21:32
thominuclearbob: got another bug report: pserve segfaults21:41
thomierr, I mean "crashes"21:42
thominuclearbob: looks like a problem in chameleon21:42
thominuclearbob: http://pastebin.ubuntu.com/7635676/21:43
nuclearbobthomi: that's interesting21:47
thomi"interesting" is one word for it21:47
nuclearbobI can use two if you want21:47
nuclearbobway interesting21:47
nuclearbobhmm21:50
nuclearbobso you have this in a container, or somewhere else?21:50
thominuclearbob: just on my laptop21:55
nuclearbobthomi: can you pip in chameleon and see if that fixes it?21:59
thominuclearbob: sure, one sec22:11
thominuclearbob: can't use a virtualenv with pserve22:12
nuclearbobthomi: hmm22:13
nuclearbobI could have sworn the pyramid tutorial started with a virtualenv22:14
nuclearbobI do everything in containers so I can just pip in stuff will-nilly and toss it if I need to22:14
thomioh, probably if I install pyramid as well22:14
nuclearbobthomi: what user are you using?  can you pip stuff with --user22:14
nuclearbobright, it was part of the install22:14
thomibut pserve's #! line doesn't use 'env'22:14
nuclearbobI bet it gets rewritten by the packaging22:15
nuclearbobI think it's debian policy to not use env in python shebang lines22:15
thomiyeah, so I get the same error when trying to import the brand new scaffolded pyramid app22:16
thomiso it's not just pserve22:16
thomipython22:16
thomioops22:16
thomisimilar traceback22:17
thominuclearbob: you basically cannot import pyramid.config.Configurator, which seems pretty central to pyramid apps :-/22:18
nuclearbobthomi: indeed.  I'm taking a look in my container22:19
nuclearbobworks with the packages I built there, I'll try a new container and the packages from the ppa22:19
thomisame error on your branch FWIW22:19
nuclearbobthomi: thanks.  Knowing that that import fails should make it easy to track down22:20
thominuclearbob: reproducer is: python3 -c "import pyramid.config"22:20
nuclearbobgetting a new container spun up22:23
nuclearbobdoot doot doo22:23
nuclearbobokay, blowing up with the packages, let's see how much I have to pull in from other sources to fix it22:36
nuclearbobokay, importing chameleon at all blows up22:55
thominuclearbob: hmmm22:55
nuclearboband if I install pyramid via pip, I don't get chameleon22:55
thomioh yeah22:55
thomihmmm22:55
nuclearbobmaybe the chameleon dependency is dropped in 1.5?22:55
thominuclearbob: we should probably be packaging 1.5 anyway?22:58
nuclearbobthomi: yes, I just grabbed 1.4 because it was already packaged for trusty, but 1.5 does remove the chameleon dependency22:58
nuclearbobthomi: I'll get that packaged, I'm only on for another hour today, so I'll see if I make it22:59
thominuclearbob: I've already done it for python 2 annyway - perhaps you can re-use that work?22:59
nuclearbobthomi: I think between your work and mine it should be easy22:59
nuclearbobbut things I think should be easy still sometimes take a couple hours to get built into ppas22:59
nuclearbobthomi: can you throw me your branch url again?23:00
thominuclearbob: there's no branch, just a debian bug and a diff23:00
nuclearbobthomi: is the diff in the packaging email thread or somewhere else?23:01
thominuclearbob: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=75106723:01
ubot5Debian bug 751067 in python-pyramid "python-pyramid: Bump upstream version" [Normal,Open]23:01
nuclearboball right, this package can import pyramid.config23:14
nuclearboblet's get it uploaded23:14
nuclearbobthrew it at my ppa23:16
thominuclearbob: which ppa?23:16
nuclearbobthomi: I threw it at mine first to make sure it got accepted, I'll push it to the ci one once it builds23:19
nuclearbobugh, 9 minutes.  I can't wait for that.  I'll push it to the ci one too and they can race23:20
thominuclearbob: awesome, thanks man23:21
thominuclearbob: I'll send you an email at my EOD with whatever I got done23:23
thomihave a good evening!23:23
nuclearbobthomi: cool, thanks23:32

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