Dear Martin, Done as requested. https://github.com/beancount/beangrow/issues/7
Please let me know if you need the ledger file offline for checking. Meanwhile, I'll go through your document <https://docs.google.com/document/d/1nPsMIunLnDvdsg6TSsd0PZb7jngojNpFlqnaX36WRp8/> once again to see if I've missed something important. Cheers, Prabu On Tue, 23 Feb 2021 at 01:00, Martin Blais <[email protected]> wrote: > Please file a ticket > > > On Mon, Feb 22, 2021 at 1:23 PM [email protected] <[email protected]> > wrote: > >> Dear Martin, >> >> Is the code in for beangrow in https://github.com/beancount/beangrow >> working currently for v2. >> When i try to run the code, i'm getting the below error message in >> Beancount 2.3.3... >> >> $:~/beancount/beangrow-master/beangrow$ python compute_returns.py >> ~prabu/beancount/prabu/prabu2021_02_20.beancount config.pbtxt return_reports >> /home/prabu/beancount/beangrow-master/beangrow/returns.py:63: >> RuntimeWarning: invalid value encountered in power >> return np.sum(cash_flows / (1. + irr) ** years) >> /home/prabu/beancount/beangrow-master/beangrow/returns.py:63: >> RuntimeWarning: invalid value encountered in power >> return np.sum(cash_flows / (1. + irr) ** years) >> /home/prabu/beancount/beangrow-master/beangrow/returns.py:63: >> RuntimeWarning: invalid value encountered in power >> return np.sum(cash_flows / (1. + irr) ** years) >> Traceback (most recent call last): >> File "compute_returns.py", line 105, in <module> >> main() >> File "compute_returns.py", line 100, in main >> reports.write_price_directives(path.join(output_prices, >> "prices.beancount"), >> File "/home/prabu/beancount/beangrow-master/beangrow/reports.py", line >> 406, in write_price_directives >> days_late = (required_date - actual_date).days >> TypeError: unsupported operand type(s) for -: 'datetime.date' and >> 'NoneType' >> >> I can send you the ledger offline, if you think it'll help.. >> >> >> Cheers, >> Prabu >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Beancount" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beancount/7ff937be-9b1e-43df-90ed-ab18dad3eb0dn%40googlegroups.com >> <https://groups.google.com/d/msgid/beancount/7ff937be-9b1e-43df-90ed-ab18dad3eb0dn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Beancount" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beancount/WkQ3tTLAxk8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/CAK21%2BhO7AN9Fr3LCZTg%3DimQLG%2Bambds44nOWEgT3Qa8aRTBNFA%40mail.gmail.com > <https://groups.google.com/d/msgid/beancount/CAK21%2BhO7AN9Fr3LCZTg%3DimQLG%2Bambds44nOWEgT3Qa8aRTBNFA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAAt6f0afRYZwn19R9ooMc3Le%2BupR21OePmTB1OR6a_VoaQZwUA%40mail.gmail.com.
