Giter VIP home page Giter VIP logo

notion_sync_umadb's Introduction

作为一个懒人这里还是少写点为妙 😄

Anurag's GitHub stats

notion_sync_umadb's People

Contributors

alphaboom avatar xulai1001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

notion_sync_umadb's Issues

大佬你好,我按照你写的步骤,发现卡在创建数据库这里,好像是字符串出了问题?

Run python main.py --local_properties "urarawin.properties" --generator "urarawin"
Traceback (most recent call last):
start sync skill data...
File "/home/runner/work/notion_sync_umadb/notion_sync_umadb/main.py", line 138, in
client.start_skill_data_sync(skill_database_title,root_page_id, thread_count=skill_sync_thread_count)
File "/home/runner/work/notion_sync_umadb/notion_sync_umadb/src/sync_client.py", line 144, in start_skill_data_sync
database_id = self._ensure_notion_database_exists(root_page_id, database_title, SyncType.skill)
File "/home/runner/work/notion_sync_umadb/notion_sync_umadb/src/sync_client.py", line 66, in _ensure_notion_database_exists
page_database = _create_database(type, title, parent_page_id)
File "/home/runner/work/notion_sync_umadb/notion_sync_umadb/src/sync_client.py", line 23, in _create_database
return SkillDatabasePage().createDatabase(database_name, parent_page_id)
File "/home/runner/work/notion_sync_umadb/notion_sync_umadb/src/pages/skill_page.py", line 67, in createDatabase
return createDatabase(self._generateCreateDatabaseRequest(database_name, parent_page_id))
File "/home/runner/work/notion_sync_umadb/notion_sync_umadb/src/notion/notion_api.py", line 28, in createDatabase
return Database.from_json(_post("databases", data=request.to_json()).text)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/api.py", line 63, in from_json
return cls.from_dict(kvs, infer_missing=infer_missing)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/api.py", line 70, in from_dict
return _decode_dataclass(cls, kvs, infer_missing)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 219, in _decode_dataclass
init_kwargs[field.name] = _decode_generic(field_type,
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 279, in _decode_generic
vs = _decode_items(v_type, value.values(), infer_missing)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 378, in _decode_items
return list(_decode_item(type_args, x) for x in xs)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 378, in
return list(_decode_item(type_args, x) for x in xs)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 371, in _decode_item
return _decode_dataclass(type_arg, x, infer_missing)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 219, in _decode_dataclass
init_kwargs[field.name] = _decode_generic(field_type,
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 308, in _decode_generic
res = _decode_dataclass(type_arg, value, infer_missing)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 219, in _decode_dataclass
init_kwargs[field.name] = _decode_generic(field_type,
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 310, in _decode_generic
res = _decode_generic(type_arg, value, infer_missing)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 290, in _decode_generic
xs = _decode_items(get_type_arg_param(type, 0), value, infer_missing)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 378, in _decode_items
return list(_decode_item(type_args, x) for x in xs)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 378, in
return list(_decode_item(type_args, x) for x in xs)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 371, in _decode_item
return _decode_dataclass(type_arg, x, infer_missing)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 219, in _decode_dataclass
init_kwargs[field.name] = _decode_generic(field_type,
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 312, in _decode_generic
res = _support_extended_types(type_arg, value)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/dataclasses_json/core.py", line 250, in _support_extended_types
else field_type(field_value))
ValueError: invalid literal for int() with base 10: '69eee59c-21ae-4962-a8c7-4f35c7e6d2b3'
Error: Process completed with exit code 1.

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.