Results 402 comments of Martin Michlmayr

https://github.com/ledger/ledger/issues/786 had a workaround by @jwiegley but it's no longer available. If his fix wasn't clean enough to commit, it might be difficult to solve. @jwiegley used to offer pair...

Comment author: John Wiegley (@jwiegley) \- State "DEFERRED" from "TODO" [2009-06-16 Tue 17:10]

``` 0x000055555563e75f in ledger::value_t::storage_t::acquire (this=0x7f76ffff6414) at /home/tbm/tmp/src/ledger/src/value.h:196 196 refc++; (gdb) where #0 0x000055555563e75f in ledger::value_t::storage_t::acquire (this=0x7f76ffff6414) at /home/tbm/tmp/src/ledger/src/value.h:196 #1 0x000055555563eb4f in ledger::intrusive_ptr_add_ref (storage_ptr=0x7f76ffff6414) at /home/tbm/tmp/src/ledger/src/value.h:207 #2 0x00005555556520a1 in boost::intrusive_ptr::intrusive_ptr (this=0x7fffffff6c28,...

Comment author: Martin Michlmayr (@tbm) johnw produced the following workaround but he says it's not a solution he's happy to commit as is: https://gist.github.com/jwiegley/3a860faa319bac103438

Comment author: Martin Michlmayr (@tbm) Note that assert prints a much nicer error with the correct line number. I think the problem is that Warning shows the file with the...

Comment author: Martin Michlmayr (@tbm) When I use a "check has_tag" for an account and use a ledger file which includes another file, the warning only gives the line for...

I set a segfault with this Python script: ``` import ledger journal = ledger.read_journal('test.ledger') posts = journal.query("--sort d --pivot Card Assets:Cards:Waitrose") for post in posts: print post.account.fullname() ``` and this...

Same with --acount: ``` import ledger journal = ledger.read_journal('test.ledger') posts = journal.query("""--sort d --account "tag('Card')" Assets:Cards:Waitrose""") for post in posts: print post.account.fullname() ```

Just add ``` D 1000 rsd ``` at the top of the file.