Giter Club home page Giter Club logo

beancount-ynab's People

Contributors

hoostus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

beancount-ynab's Issues

Check if subCategories is null

This might be an edge case since my production budget is years old and has undergone several major changes, but my Budget.yfull has two masterCategories where subCategories is null:

{
	"entityType": "masterCategory",
	"expanded": true,
	"name": "New Master Category",
	"type": "OUTFLOW",
	"deleteable": true,
	"subCategories": null,
	"isTombstone": true,
	"entityVersion": "A-282",
	"entityId": "5ADFC5F6-B872-385F-3508-75CBA92A4703",
	"sortableIndex": 268435455
},
{
	"entityType": "masterCategory",
	"expanded": true,
	"name": "Income",
	"type": "INFLOW",
	"deleteable": false,
	"subCategories": null,
	"entityVersion": "H-1533",
	"entityId": "MasterCategory/__Income__",
	"sortableIndex": 1073741823
},

This causes get_categories() to fail unless a check is inserted before calling entity_dict(m['subCategories']).

"No devices found with full knowledge!"

See PR #4: find_devices_with_full_knowledge() is returning an empty list where A.ydevice should match. I noticed this issue with my live *.ynab4 file and build a series of tests to bear it out.

Request to support utf-8

in import.py, I changed line 51 to show this:

ynab = json.load(open(filename, encoding='utf-8-sig'))

Small change, but I think it's worth supporting other character sets in some way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.