You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fail to export graph when page name contains emoji
Reproduce the Bug
create a new graph
run logseq-publish-spa out, success
add a page titled 🔨test
run logseq-publish-spa out , error
Error: ENOENT: no such file or directory, open 'C:\Users\sansui\test\mygraph\pages\🔨test.md'
C:\Users\sansui\Developer\publish-spa\node_modules\mldoc\index.js:1031
throw b}function
^
el [Error]: ENOENT: no such file or directory, open 'C:\Users\sansui\test\mygraph\pages\🔨test.md'
at new el (file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:179:94)
at $APP.Sm.j (file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:1267:319)
at file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:332:310
at Jq (file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:332:319)
at file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:562:45
at Q (file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:308:469)
at file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:421:113
at file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:561:498
at Q (file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:308:469)
at file:///C:/Users/sansui/Developer/publish-spa/node_modules/@logseq/nbb-logseq/lib/nbb_core.js:563:263 {
data: {
K: null,
O: 6,
H: [
...
Expected Behavior
No response
Desktop or Mobile Platform Information
Windows
Logseq v0.10.9
The text was updated successfully, but these errors were encountered:
Hi! Yes, this is a temporary workaround. The issue is still a bug, as the current name parsing does not support emojis. I encountered this because my earliest journal entry is from about 3–4 years ago, back when the icon property wasn’t supported so I place emoji in the title.
Additionally, even with the icon property, emojis don’t always appear in link references. Sometimes, I use an icon to directly indicate the category in references, such as:
[[📃Hybrid of Spans and Table-Filling for Aspect-Level Sentiment Triplet Extraction]].
Overall, the main reason I reported this is that file names should be parsed correctly, rather than relying on a user-side fallback that leaves the behavior as it is.
What Happened?
Fail to export graph when page name contains emoji
Reproduce the Bug
logseq-publish-spa out
, success🔨test
logseq-publish-spa out
, errorExpected Behavior
No response
Desktop or Mobile Platform Information
Windows
Logseq v0.10.9
The text was updated successfully, but these errors were encountered: