ho-oto / notion2pandoc Goto Github PK
View Code? Open in Web Editor NEWNotion page -> Pandoc AST
License: MIT License
Notion page -> Pandoc AST
License: MIT License
When running this I get the following error:
$ RUST_BACKTRACE=full ./notion2pandoc -s 123 -i a1ae3b9a-d15e-472b-a629-fb3374249f88
thread 'main' panicked at 'failed to deserialize children blocks of a1ae3b9a-d15e-472b-a629-fb3374249f88', src/notion.rs:325:33
stack backtrace:
0: 0x10321e1a6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he84dde8223670de4
1: 0x10323b15a - core::fmt::write::h0721d4325d1d86bb
2: 0x10321aabc - std::io::Write::write_fmt::hf4d04b4d333539fa
3: 0x10321df8a - std::sys_common::backtrace::print::hed06273df3ccacbe
4: 0x10321f6c3 - std::panicking::default_hook::{{closure}}::he8c58e8d0abf03c5
5: 0x10321f418 - std::panicking::default_hook::h8320561bf55c0290
6: 0x10321fcab - std::panicking::rust_panic_with_hook::h38dc40cfa47552ba
7: 0x10321fbc4 - std::panicking::begin_panic_handler::{{closure}}::h727c67dc750b5cee
8: 0x10321e5e9 - std::sys_common::backtrace::__rust_end_short_backtrace::h6848121e0bfe63be
9: 0x10321f88d - _rust_begin_unwind
10: 0x103254dd3 - core::panicking::panic_fmt::h690b01655a033c26
11: 0x102fdc411 - tokio::runtime::park::CachedParkThread::block_on::h7431fe12de6f24ba
12: 0x102fee196 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h043f23fcc7374d2f
13: 0x1030223b1 - tokio::runtime::runtime::Runtime::block_on::h751b70119065cc27
14: 0x102ff1eea - notion2pandoc::main::h79d6e3b53e8f2ff0
15: 0x102fe73c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hbd47f13d939e2e8a
16: 0x102fe767c - std::rt::lang_start::{{closure}}::hd8ee3c1c0880f9bd
17: 0x103216350 - std::rt::lang_start_internal::h733b9f59d292f4af
18: 0x102ff1fcc - _main
Seems like it has a problem with some children block. Unfortunately it doesn't ignore it, nor say which block is the faulty one.
I tried it on two pages and had the same problem.
Unfortunately I'm not that familiar with Rust language yet. Any tips which code I could change so that e.g. it would print me the details about the faulty children block?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.