These are chat archives for ipython/ipython

6th
Mar 2015
Caleb Hattingh
@cjrh
Mar 06 2015 05:39
Embedded Notebook: I've managed to start up an IPython Notebook session inside of a PyQt app, using a QWebView (webkit) as the browser. However, I keep getting "websocket connection failed" when trying to evaluate a cell. I've done the googling but can't seem to find a working example. Does anyone know of a link or someone else I could ask?
Min RK
@minrk
Mar 06 2015 05:51
@cjrh You need to use Qt5 for websocket support
Qt4 only supports the pre-release drafts of websockets, which IPython (tornado, really) doesn't support.
Caleb Hattingh
@cjrh
Mar 06 2015 05:57
@minrk Excellent, thank you . Coincidentally earlier today I found a project that provides a (windows) built PyQt5 on py27 x64 (python-qt5 on pypi).
Cyrille Rossant
@rossant
Mar 06 2015 15:58
@jasongrout just an update: I was unable to reproduce the bug in a standalone notebook, so it's some sort of weird interaction between IPython and my app. It deserves more investigations on my end...
Jason Grout
@jasongrout
Mar 06 2015 16:02
@rossant - good to hear. Let us know if you see any other issues with widgets, particularly with concurrency. This switch to async loading has been pretty tricky to get right.
Cyrille Rossant
@rossant
Mar 06 2015 16:03
sure, thanks
Matthias Bussonnier
@Carreau
Mar 06 2015 17:14
Wait... since when do we have a 3.x branch ? has master diverged from 3.x already ?
Min RK
@minrk
Mar 06 2015 17:16
@Carreau for a few weeks now. We made the 3.x branch when we updated docs links in preparation for release.
3.x and master are identical until we merge the first 4.x PR
Matthias Bussonnier
@Carreau
Mar 06 2015 17:17
Oh, and do you update it periodically ?
I though it was a tag
Min RK
@minrk
Mar 06 2015 17:17
yeah
Matthias Bussonnier
@Carreau
Mar 06 2015 17:17
Ok, yes, sure amke sens.
I just got confuse seeing it was not the same HEAD as master.
Min RK
@minrk
Mar 06 2015 17:17
Tags are static, .x are not static, so they are branches.
Matthias Bussonnier
@Carreau
Mar 06 2015 17:18
Ok,sorry for the confusion.
Min RK
@minrk
Mar 06 2015 17:18
Yeah, just git push origin master:3.x
Matthias Bussonnier
@Carreau
Mar 06 2015 20:44
@minrk @takluyver in need of food ?
Carl Cochran
@CarlCochran
Mar 06 2015 21:05
Hey guys, I have what might be a complex question. My goal is to run Django Admin to manage authorization and users in IPython. I am confused on how Tornado is handling URLs, and I want to add a link to the Django Admin template html. Can you tell me which files I need to look at in IPython, to add additional URLs for new HTML templates?
Sylvain Corlay
@SylvainCorlay
Mar 06 2015 21:08
Hello, regarding next week, is it difficult to have access / book a meeting room in Berkeley?
for a couple of hours
Jason Grout
@jasongrout
Mar 06 2015 21:09
(a private room with internet access)
Sylvain Corlay
@SylvainCorlay
Mar 06 2015 21:25
@minrk @takluyver
Sylvain Corlay
@SylvainCorlay
Mar 06 2015 21:46
@ellisonbg I know you are not a berkeley resident, but do you know if it is possible?
Matthias Bussonnier
@Carreau
Mar 06 2015 22:02
@SylvainCorlay We can book a reunion room in BIDS.
How many people ? and When ?
How much Private ? The room in BIDS have glass walls.
Sylvain Corlay
@SylvainCorlay
Mar 06 2015 22:08
Glass walls are ok. We want to meet with some people from bloomberg's office in SF, and we won' t get time to go the san francisco office.
if it is not possible I can try to get something with the hotel. We are a bit in a time crunch though
Matthias Bussonnier
@Carreau
Mar 06 2015 22:10
Ok, I'll see if I can get a room.
Sylvain Corlay
@SylvainCorlay
Mar 06 2015 22:10
Awesome!
Nathan Goldbaum
@ngoldbaum
Mar 06 2015 22:10
hi all, I'm updating some widget code for the 3.0 release and am having some trouble. Before when I wanted to set the default value for a widget, I would set widget.value = my_default
but not that's not working, I get a KeyError:
Matthias Bussonnier
@Carreau
Mar 06 2015 22:10
Bids director is busy now (talk), but I'll make a request later.
tell me a day/time/ number of people if possible.
Nathan Goldbaum
@ngoldbaum
Mar 06 2015 22:18
ah, i see now, the API has changed a lot. I'll consult the widget examples in the IPython repo before asking more questions
Matthias Bussonnier
@Carreau
Mar 06 2015 22:21
There is an widget migration doc on the Wiki IIRC.
Nathan Goldbaum
@ngoldbaum
Mar 06 2015 22:30
hmm, I guess widget values need to be strings or string-like now. It barfs when I set the value to a 2-tuple.