Probably a version mismatch of some sort. I'm not sure. On Sat, Jan 11, 2025, 09:23 Joseph Li <[email protected]> wrote:
> Hi Martin, > > I have found how to run the code. but there is a error message: > > TypeError: Descriptors cannot be created directly. > If this call came from a _pb2.py file, your generated code is out of date > and must be regenerated with protoc >= 3.19.0. > If you cannot immediately regenerate your protos, some other possible > workarounds are: > 1. Downgrade the protobuf package to 3.20.x or lower. > 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use > pure-Python parsing and will be much slower). > > Currently my python package info: > > protobuf 5.29.2 > > is there any package out of date in the beangrow scripts? How to > solve this problem? > > Thanks. Regards > > Martin Blais <[email protected]> 于2025年1月10日周五 16:59写道: > >> Look at beangrow >> >> On Fri, Jan 10, 2025, 13:48 Joseph Li <[email protected]> wrote: >> >>> Hi Everybody, >>> >>> I'm new to beancount, and I find the accouting tool fascinating.It helps >>> me to keep track of my expenses and income well. >>> >>> I'm currently learn to deal with my investments, mainly funds and etfs. >>> I've learned how to get a position report of one specific day. But have no >>> idea how to get my investments performance time series. For example, i >>> need a daily time series including the following columns: >>> >>> - date >>> - fund >>> - position >>> - market value >>> - daily pnl - realized >>> - daily pnl - unrealized >>> - daily return >>> >>> how to realize this ? Thanks! >>> >>> >>> -- >>> 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 visit >>> https://groups.google.com/d/msgid/beancount/5b779cfb-43a5-48c2-a41e-92be2a74e9b2n%40googlegroups.com >>> <https://groups.google.com/d/msgid/beancount/5b779cfb-43a5-48c2-a41e-92be2a74e9b2n%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/w5-pDKpXtuM/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion visit >> https://groups.google.com/d/msgid/beancount/CAK21%2BhMgV_bSMCO1pj30PNH%2BAFFvTbaXJ3xm_jaa-s%2BBHVHtZQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/beancount/CAK21%2BhMgV_bSMCO1pj30PNH%2BAFFvTbaXJ3xm_jaa-s%2BBHVHtZQ%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 visit > https://groups.google.com/d/msgid/beancount/CAOT8emc-bTHjxhcRUvnugJmNGG0L1N%2B%2BAqXXKoKyf%3DhGJk-LbA%40mail.gmail.com > <https://groups.google.com/d/msgid/beancount/CAOT8emc-bTHjxhcRUvnugJmNGG0L1N%2B%2BAqXXKoKyf%3DhGJk-LbA%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 visit https://groups.google.com/d/msgid/beancount/CAK21%2BhM4dYD5BgajbdLFfa4ce6vS6SJwBMxXW6GrWBK_ZYasUg%40mail.gmail.com.
