Giter Club home page Giter Club logo

Comments (7)

AJJCAIRNS avatar AJJCAIRNS commented on May 23, 2024 1

D:\PycharmProjects\notion-graph-view\venv\Scripts\python.exe D:/PycharmProjects/notion-graph-view/main.py Root Page: Personal Home page Personal Home Traceback (most recent call last): File "D:\PycharmProjects\notion-graph-view\main.py", line 30, in read_page(config2.my_token_v2, config2.my_url) File "D:\PycharmProjects\notion-graph-view\main.py", line 17, in read_page bfs_block(base_block) File "D:\PycharmProjects\notion-graph-view\main.py", line 24, in bfs_block parser = Parser(block) File "D:\PycharmProjects\notion-graph-view\parser2.py", line 15, in init self.parse_page(block) File "D:\PycharmProjects\notion-graph-view\parser2.py", line 85, in parse_page self.parse_children(page) File "D:\PycharmProjects\notion-graph-view\parser2.py", line 74, in parse_children self.parse_collection(collection) File "D:\PycharmProjects\notion-graph-view\parser2.py", line 45, in parse_collection row_blocks = collection.get_rows() File "D:\PycharmProjects\notion-graph-view\venv\lib\site-packages\notion\collection.py", line 239, in get_rows return self.query(**kwargs) File "D:\PycharmProjects\notion-graph-view\venv\lib\site-packages\notion\collection.py", line 236, in query return CollectionQuery(self, self._get_a_collection_view(), **kwargs).execute() File "D:\PycharmProjects\notion-graph-view\venv\lib\site-packages\notion\collection.py", line 385, in execute self._client.query_collection( File "D:\PycharmProjects\notion-graph-view\venv\lib\site-packages\notion\client.py", line 294, in query_collection return self._store.call_query_collection(*args, **kwargs) File "D:\PycharmProjects\notion-graph-view\venv\lib\site-packages\notion\store.py", line 344, in call_query_collection response = self._client.post("queryCollection", data).json() File "D:\PycharmProjects\notion-graph-view\venv\lib\site-packages\notion\client.py", line 260, in post raise HTTPError( requests.exceptions.HTTPError: Invalid input.

Process finished with exit code 1

from notion-graph-view.

AJJCAIRNS avatar AJJCAIRNS commented on May 23, 2024 1

How did you manage to get it to work?

Just works with a simple page with links to other pages. Not with databases, etc.

from notion-graph-view.

AJJCAIRNS avatar AJJCAIRNS commented on May 23, 2024

Can get it to work with a simple page, but doesn't show all links e.g. there is a link from page 3 to page 2 not shown.
image

from notion-graph-view.

stevedsun avatar stevedsun commented on May 23, 2024

Thanks for feedback

from notion-graph-view.

RayRemnant avatar RayRemnant commented on May 23, 2024

How did you manage to get it to work?

from notion-graph-view.

stevedsun avatar stevedsun commented on May 23, 2024

Hi guys, due to Notion upgrades frequently, I'm going to figure out a better solution to do this thing.

from notion-graph-view.

stevedsun avatar stevedsun commented on May 23, 2024

How did you manage to get it to work?

Just works with a simple page with links to other pages. Not with databases, etc.

Now version using Notion API has been updated

from notion-graph-view.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.