Skip to content

Change Error too Warning - #3

Closed
Genei180 wants to merge 1 commit into
philips:mainfrom
Genei180:fix_template_unknown_color_error
Closed

Change Error too Warning#3
Genei180 wants to merge 1 commit into
philips:mainfrom
Genei180:fix_template_unknown_color_error

Conversation

@Genei180

Copy link
Copy Markdown

The Original Error is mentioned here: philips/supernote-obsidian-plugin#29

The Conversion of the File, Errors out when adding a different Template in the Background of the Supernote File.

Just Removed the Error Thrown. This Renders the Supernote File, as expected, with no Side Effects for me.
Unfortunately, I don't have a deeper Understanding of the File Structure used by Ratta or the Code Provided here.

In my understanding, the Original Error Thrown, just seems to mean that a Color is Undefined.
On trying to understand what is missing from the Image, I tried adding it in Random Colors to the Image (Currently set too Transparent) to see what is missing.
I couldn't Identify something, as it did not render something.
At this point, I'm clueless, at what these Colors could mean in the Context of the Supernote File without having more Information about it.

If somebody could provide more Information, this would be nice.

The PR fixes the Problem for me.

@philips

philips commented Dec 19, 2024

Copy link
Copy Markdown
Owner

Can you add a .note file to tests/input that I can write a test case for this? Thanks!

@philips

philips commented Dec 19, 2024

Copy link
Copy Markdown
Owner

I merged a slightly modified version with a test case in 8bba67d. Thanks!

@philips philips closed this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants