-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wip] pdf generation #16
Conversation
Here's the kind of thing I'm getting out right now :) |
The loading problem is due to baobab... maybe something isn't shimmed properly... |
Yep. The issue was creaky old PyQt's webview didn't have the Output is getting a lot better: I am going to do some other tests to ensure it's not cheating, but I'm confident it will be demoable now. |
The examples are looking better! |
Ok, really pretty ready to be done with this. nbbrowserpdf is in |
pdf generation, mostly deferred to nbbrowserpdf
This is the current state of the pdf work. It's pretty raw.
I am trying ghost.py instead of phantom: it's a more robust, as it doesn't bundle all of qt, but more about that below, and gives us better access to the underlying components of qt. it's error handling is not as good as phantomjs, though.
It stands up a temporary tornado server, and uses a long task outside the event loop which then kills the event loop when done.
I am getting some fascinating js errors that are heisenbergingly absent when run "full-local", i.e. no network access, but i am slowly but surely finding my way there through a mountain of
undefined(0): undefiend is not a function
-style errors.Features
bqplotworks fine in app, but is made of widgets...Roadblocks
I am not trying to hit the widgets yet! That will probably have to wait until pyqt5 is usable with ghost