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

ERROR 'text' #40

Closed
rdevriese opened this issue Jul 12, 2022 · 3 comments
Closed

ERROR 'text' #40

rdevriese opened this issue Jul 12, 2022 · 3 comments
Labels

Comments

@rdevriese
Copy link

Running notion2md results in error statement: ERROR 'text'

Using notion2md version 2.7.6
Ubuntu 20.04
Python version 3.8.10

Notion page content (exported to markdown)
Test page 19d3bdf4aade48438defa1b44d18031a.md

I've also tried calling the StringExporter() function from within a Python script and get the exact same error.
Traceback ends at line 39 with KeyError: 'text'

@liuyixin-louis
Copy link

I meet a similar question too. Looking for an answer.

@mxro
Copy link

mxro commented Aug 20, 2022

I am getting the same error too for two different pages. Is this a similar issue as #18 ?

NOTION_TOKEN=xxx notion2md --path /download --id xxx

  Retrieved Notion blocks... (1.1s)
 Converting 13 blocks...

      ERROR 'text'

@rosenkim
Copy link

I also had that error and luckily found a solution.
The error did not occur when using notion-library 0.9.0

github-actions bot pushed a commit that referenced this issue Oct 14, 2022
## [2.8.0](v2.7.6...v2.8.0) (2022-10-14)

### Features

* Make downloaded filenames consistent between runs ([#38](#38)) ([30e8f0b](30e8f0b))

### Bug Fixes

* Fixed [#40](#40) due to the update of Notion API ([#42](#42)) ([1a63351](1a63351))
Repository owner deleted a comment from github-actions bot Nov 7, 2022
@echo724 echo724 reopened this Nov 7, 2022
YouXam pushed a commit to YouXam/notion2md that referenced this issue Nov 3, 2023
* fix: Fixed MarkdownExporter makes markdown file even if unzipped flag is on

* refactor: Moved CLIExporter to exporter directory

* chore: Update dependency requirement of the version of Notion-client 1.0.1

* fix: Fixed parsing 'text' error due to update of Notion API
YouXam pushed a commit to YouXam/notion2md that referenced this issue Nov 3, 2023
## [2.8.0](echo724/notion2md@v2.7.6...v2.8.0) (2022-10-14)

### Features

* Make downloaded filenames consistent between runs ([echo724#38](echo724#38)) ([30e8f0b](echo724@30e8f0b))

### Bug Fixes

* Fixed [echo724#40](echo724#40) due to the update of Notion API ([echo724#42](echo724#42)) ([1a63351](echo724@1a63351))
@echo724 echo724 closed this as completed Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants