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

[Bug]: Export to md does not work, only pnd #10753

Open
1 task
valeri63mart opened this issue Mar 11, 2025 · 4 comments
Open
1 task

[Bug]: Export to md does not work, only pnd #10753

valeri63mart opened this issue Mar 11, 2025 · 4 comments

Comments

@valeri63mart
Copy link

valeri63mart commented Mar 11, 2025

What happened?

Export to md does not work, only pnd
Doesn't work when there is a data table on the page

Distribution version

Web (https://app.affine.pro)

App Version

20.4

What browsers are you seeing the problem on if you're using web version?

Chrome

Are you self-hosting?

  • Yes

Self-hosting Version

No response

Relevant log output

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' chrome-extension://9b441a33-cd06-48d5-a013-184ee238bb44/". Either the 'unsafe-inline' keyword, a hash ('sha256-zpXBZ2B6ifkDXVZ+lEbqsSd2GPVzFoy9wbxAuk5xHIk='), or a nonce ('nonce-...') is required to enable inline execution.

(anonymous) @ chrome-extension://o…timezoneChange.js:1
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
console.js:36 Cannot convert doc to snapshot
(anonymous) @ console.js:36
console.js:36 RangeError: Invalid time value
    at E (format.js:350:11)
    at Object.cellToString (define.ts:12:32)
    at utils.ts:97:33
    at Array.forEach (<anonymous>)
    at utils.ts:81:13
    at Array.forEach (<anonymous>)
    at a (utils.ts:66:12)
    at Object.enter (markdown.ts:33:23)
    at ASTWalker._enter (markdown.ts:138:48)
    at ASTWalker._visit (base.ts:227:18)
    at ASTWalker._visit (base.ts:254:26)
    at async ASTWalker._visit (base.ts:254:15)
    at async ASTWalker.walk (base.ts:299:5)
    at async MarkdownAdapter._traverseSnapshot (markdown.ts:164:13)
    at async MarkdownAdapter.fromBlockSnapshot (markdown.ts:222:32)
    at async MarkdownAdapter.fromDocSnapshot (markdown.ts:238:33)
    at async MarkdownAdapter.fromDoc (base.ts:100:14)
    at async eY (use-export-page.ts:79:19)
    at async e1 (use-export-page.ts:126:5)
    at async e0 (use-export-page.ts:149:7)
    at async use-export-page.ts:189:9
(anonymous) @ console.js:36
console.js:36 Cannot convert doc to snapshot
(anonymous) @ console.js:36
console.js:36 RangeError: Invalid time value
    at E (format.js:350:11)
    at Object.cellToString (define.ts:12:32)
    at utils.ts:97:33
    at Array.forEach (<anonymous>)
    at utils.ts:81:13
    at Array.forEach (<anonymous>)
    at a (utils.ts:66:12)
    at Object.enter (markdown.ts:33:23)
    at ASTWalker._enter (markdown.ts:138:48)
    at ASTWalker._visit (base.ts:227:18)
    at ASTWalker._visit (base.ts:254:26)
    at async ASTWalker._visit (base.ts:254:15)
    at async ASTWalker.walk (base.ts:299:5)
    at async MarkdownAdapter._traverseSnapshot (markdown.ts:164:13)
    at async MarkdownAdapter.fromBlockSnapshot (markdown.ts:222:32)
    at async MarkdownAdapter.fromDocSnapshot (markdown.ts:238:33)
    at async MarkdownAdapter.fromDoc (base.ts:100:14)
    at async eY (use-export-page.ts:79:19)
    at async e1 (use-export-page.ts:126:5)
    at async e0 (use-export-page.ts:149:7)
    at async use-export-page.ts:189:9
(anonymous) @ console.js:36
console.js:36 Cannot convert doc to snapshot
(anonymous) @ console.js:36
console.js:36 RangeError: Invalid time value
    at E (format.js:350:11)
    at Object.cellToString (define.ts:12:32)
    at utils.ts:97:33
    at Array.forEach (<anonymous>)
    at utils.ts:81:13
    at Array.forEach (<anonymous>)
    at a (utils.ts:66:12)
    at Object.enter (html.ts:26:21)
    at ASTWalker._enter (html.ts:142:48)
    at ASTWalker._visit (base.ts:227:18)
    at ASTWalker._visit (base.ts:254:26)
    at async ASTWalker._visit (base.ts:254:15)
    at async ASTWalker.walk (base.ts:299:5)
    at async HtmlAdapter._traverseSnapshot (html.ts:168:13)
    at async HtmlAdapter.fromBlockSnapshot (html.ts:215:32)
    at async HtmlAdapter.fromDocSnapshot (html.ts:229:33)
    at async HtmlAdapter.fromDoc (base.ts:100:14)
    at async eY (use-export-page.ts:79:19)
    at async eJ (use-export-page.ts:112:5)
    at async e0 (use-export-page.ts:146:7)
    at async use-export-page.ts:189:9
(anonymous) @ console.js:36
console.js:36 Cannot convert doc to snapshot
(anonymous) @ console.js:36
console.js:36 RangeError: Invalid time value
    at E (format.js:350:11)
    at Object.cellToString (define.ts:12:32)
    at utils.ts:97:33
    at Array.forEach (<anonymous>)
    at utils.ts:81:13
    at Array.forEach (<anonymous>)
    at a (utils.ts:66:12)
    at Object.enter (markdown.ts:33:23)
    at ASTWalker._enter (markdown.ts:138:48)
    at ASTWalker._visit (base.ts:227:18)
    at ASTWalker._visit (base.ts:254:26)
    at async ASTWalker._visit (base.ts:254:15)
    at async ASTWalker.walk (base.ts:299:5)
    at async MarkdownAdapter._traverseSnapshot (markdown.ts:164:13)
    at async MarkdownAdapter.fromBlockSnapshot (markdown.ts:222:32)
    at async MarkdownAdapter.fromDocSnapshot (markdown.ts:238:33)
    at async MarkdownAdapter.fromDoc (base.ts:100:14)
    at async eY (use-export-page.ts:79:19)
    at async e1 (use-export-page.ts:126:5)
    at async e0 (use-export-page.ts:149:7)
    at async use-export-page.ts:189:9
(anonymous) @ console.js:36

Anything else?

No response

@affine-issue-bot
Copy link

affine-issue-bot bot commented Mar 11, 2025

Issue Status: *Can’t Reproduce

*Can’t Reproduce

We have been unable to reproduce the issue on our side. It could be flaky or fixed already, or we may not have had all the details we needed. If you’re still experiencing the issue and have any further details, please share them.

This is an automatic reply by the bot.

@CatsJuice
Copy link
Member

I’ve created a document and exported it to Markdown, but everything works well.
Could you please give more details? Maybe a screen recording would be helpful.

@CatsJuice CatsJuice moved this from 🆕 *Untriaged to *Can’t Reproduce in AFFiNE Project Mar 11, 2025
@valeri63mart
Copy link
Author

Only png and json works

@valeri63mart
Copy link
Author

valeri63mart commented Mar 12, 2025

Screen recording not loading
!-- Failed to upload "AFFiNE.mp4"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: *Can’t Reproduce
Development

No branches or pull requests

2 participants