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

Conversion fails #35

Open
LeonardAukea opened this issue Oct 10, 2019 · 1 comment
Open

Conversion fails #35

LeonardAukea opened this issue Oct 10, 2019 · 1 comment

Comments

@LeonardAukea
Copy link

Interesting package. it would be nice if it worked. we are using confluence across the org and it would be awesome if we could share are results like this directly from the notebook.

Unfortunately, it does not work:

nbconflux path/to/notebook.ipynb https://path/to/page

traceback:

Traceback (most recent call last):
  File "/Users/laukea/.pyenv/versions/miniconda3-latest/bin/nbconflux", line 10, in <module>
    sys.exit(main())
  File "/Users/laukea/.pyenv/versions/miniconda3-latest/lib/python3.7/site-packages/nbconflux/cli.py", line 57, in main
    extra_labels=args.extra_labels)
  File "/Users/laukea/.pyenv/versions/miniconda3-latest/lib/python3.7/site-packages/nbconflux/api.py", line 56, in notebook_to_page
    exporter = ConfluenceExporter(c)
  File "/Users/laukea/.pyenv/versions/miniconda3-latest/lib/python3.7/site-packages/nbconflux/exporter.py", line 100, in __init__
    self.server, self.page_id = self.get_server_info(self.url)
  File "/Users/laukea/.pyenv/versions/miniconda3-latest/lib/python3.7/site-packages/nbconflux/exporter.py", line 149, in get_server_info
    page_id = int(segs[5])
ValueError: invalid literal for int() with base 10: 'create'
@LeonardAukea
Copy link
Author

LeonardAukea commented Oct 10, 2019

This was due to the path to the confluence page. my fault...you can close this issue. The authentication is failing though. even if I'm using the correct user and pass.

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

1 participant