tgrosinger / ledger-obsidian

Plain text accounting in Obsidian.md
GNU General Public License v3.0
414 stars 41 forks source link

a white modal window appears #4

Closed BigbadHort closed 3 years ago

BigbadHort commented 3 years ago

Hello Can't figure out your plugin After clicking on the panel leg1

a white modal window appears leg2

what am I doing wrong?

version Ledger 0.0.6 version Obsidian 0.12.3

my settings leg4

p/s/

in console leg3

tgrosinger commented 3 years ago

@BigbadHort, I am guessing this is something to do with parsing an empty ledger file. I'll take a look into it.

This plugin is pretty fresh and still being heavily developed, so I'm not surprised to run into bugs like this. Thanks for reporting it.

BigbadHort commented 3 years ago

for example I created the following entry in the file

2015/10/12 Exxon Expenses:Auto:Gas $10.00 Liabilities:MasterCard $-10.00

it working

I think I understand why I have a problem with the plugin- it's all about non-ascii characters in the log! could you add unicode support? thx!!

BigbadHort commented 3 years ago

I don't know why, but the plugin started to run with unicode entries (although I haven't made any updates to the plugin since yesterday) But on clicking on the input line does not offer options - it gives an error to the console

leg5

i can attach my file with unicode entries for debugging ledger.md

tgrosinger commented 3 years ago

@BigbadHort I have opened a new issue (#5) to track the unicode problem so that this issue can be just about the missing file issue. Thank you for the bug reports!