Failed to load note ... unknown color 0xef
Hello, firstly nice work with this plugin :) Just starting using it lately.
When i try to open a supernote note with obsidian, there is the error "Failed to load note [...] unknown color 0xef" Maybe because the note is containing some pages with the template "weekly calendar" ?
Can you attach a note with the issue?
It is almost certainly a template issue. I have very few tests on custom templates.
Hi, Great Work Indeed.
Unfortunately, i have to join the Discussion because of the same Problem. The Note Itself just fails to Load. The Error can only be seen on the Console, therefore it will only be Visible to an advanced user and be an annoyance too others. This Plugin definitely doesn't deserve this.
My Error:
Error: unknown color 0x7f
at RattaRLEDecoder.addColorBuffer (plugin:supernote:35452:17)
at RattaRLEDecoder.decode (plugin:supernote:35432:18)
at eval (plugin:supernote:35328:28)
at Generator.next (<anonymous>)
at eval (plugin:supernote:35272:71)
at new Promise (<anonymous>)
at __awaiter (plugin:supernote:35254:14)
at eval (plugin:supernote:35323:50)
at Array.map (<anonymous>)
at eval (plugin:supernote:35323:35)
at Generator.next (<anonymous>)
at eval (plugin:supernote:35272:71)
at new Promise (<anonymous>)
at __awaiter (plugin:supernote:35254:14)
at eval (plugin:supernote:35321:57)
at Array.map (<anonymous>)
at toImage2 (plugin:supernote:35321:32)
at SupernoteView.onLoadFile (plugin:supernote:35731:64)
Might Look into it, when I have time, but can't promise. Cant share Note, because of Personal Data Sorry, but will try to Reproduce.
Edit: For me it seems too be the Task List Template in the Background that Produces that Error.
The only way someone can investigate and try and fix this issue is if someone attaches a note that reproduces it.
Sorry, for not being clear. In my understanding, the Task List Template is Natively Available on the Supernote Nomad (A6x2).
Nonetheless, I will attach an Example Note File for Debugging. Sorry, GitHub won't let me Upload: Personal OneDrive
Might take a look at the Code if I have time tomorrow.
The Error, pops up in here: Supernote Typescript Repo, Conversion.ts Line 277
For me the Encodedcolor 127 pops up, which is undefined, in the Translation Parameter. Trying too work out a solution.
Fixed in 2.2.9