Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Budget period entry without interval gives error (BZ#553) #1625

Open
tbm opened this issue Oct 8, 2011 · 1 comment
Open

Budget period entry without interval gives error (BZ#553) #1625

tbm opened this issue Oct 8, 2011 · 1 comment
Labels
bug Something isn't working P3 Average priority

Comments

@tbm
Copy link
Contributor

tbm commented Oct 8, 2011

Note: the issue was created automatically with bugzilla2github

Bugzilla bug ID: BZ#553
From: seanh

@tbm
Copy link
Contributor Author

tbm commented Oct 8, 2011

Comment author: seanh

Budget entries without intervals such as this one:

~ from 1 Sep 2011 to 30 May 2012
  Expenses:Misc  $400
  Assets

cause an error like "Error: Cannot increment a date interval without a duration" when ledger is run with the --budget option (e.g. --budget balance or --budget register). The error occurs when ledger hits a transaction that hits the budget entry. The docs say that period entries don't require an interval.

Adding an interval to the budget period gets rid of the error, e.g.

~ Every 100 years from 1 Sep 2011 to 30 May 2012

@tbm tbm added P3 Average priority bug Something isn't working labels May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3 Average priority
Projects
None yet
Development

No branches or pull requests

1 participant