Skip to content
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

Publishing from other kernels #11

Open
bushmanov opened this issue Feb 19, 2016 · 7 comments
Open

Publishing from other kernels #11

bushmanov opened this issue Feb 19, 2016 · 7 comments

Comments

@bushmanov
Copy link

Is there a chance to publish from other kernel notebooks like:

Right now I have a wp icon in other kernel notebooks but when I press submit button nothing happens.

Thanks in advance.

@kikocorreoso
Copy link
Member

Hi,

Are you on windows?

@bushmanov
Copy link
Author

Linux Ubuntu

@kikocorreoso
Copy link
Member

is it working from the command line?

I should remove the gui way as ipython/jupyter changes very fast and
sometimes the changes break all!!.

2016-02-19 14:54 GMT+01:00 Sergey Bushmanov [email protected]:

Linux Ubuntu


Reply to this email directly or view it on GitHub
#11 (comment).

@bushmanov
Copy link
Author

From command line:

python ipy2wp.py --xmlrpc-url *** --user *** --password *** --nb 'Breeze.ipynb' --title 'Breeze' --categories python --tags python python: can't open file 'ipy2wp.py': [Errno 2] No such file or directory

nothing posted

python /home/sergey/ipy2wp/ipy2wp/ipy2wp.py --xmlrpc-url *** --user *** --password *** --nb 'Breeze.ipynb' --title 'Feature engineering: Entity name extraction' --categories python --tags python 
/home/sergey/anaconda3/lib/python3.5/site-packages/IPython/nbconvert.py:13: ShimWarning: The `IPython.nbconvert` package has been deprecated. You should import from nbconvert instead.
  "You should import from nbconvert instead.", ShimWarning)

draft is posted

@bushmanov
Copy link
Author

Still no joy?

@kikocorreoso
Copy link
Member

Hi, from the command line you should be able to publish from whatever kernel as the tool is kernel agnostic.

The GUI tool should be deprecated so don't use it more. Maybe I will come back when there is a stable frontend API (jupyter 5???).

BTW, i continue the development here.

@bushmanov
Copy link
Author

Thanks for prompt reply!
No images whatsoever: should it be inline images sitting in my ./img directiry or print outputs of plots (the latter I suspect lost somewhere due to image 64 encoding?).

Same for cli and R notebook switched to Python kernel for the sake of sending the nb to wordpress hoster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants