Open
Description
I ran bean-price /Users/williamdavies/my-beancount/my-ledger-test.beancount --update --inactive --date 2019-01-01 -vv > prices.beancount
Output:
INFO : Using price cache at "/var/folders/gl/hvd855yx0v73w7z0_wv_sx900000gp/T/bean-price.cache" (with indefinite expiration)
INFO : Processing at date: 2019-01-01
INFO : Loading "/Users/williamdavies/my-beancount/my-ledger-test.beancount"
<some failed balance assertions>
DEBUG : Ignoring currency with no metadata: USD
DEBUG : Ignoring currency with no metadata: JPY
DEBUG : -------- Currencies in primary list:
DEBUG : GBP /JPY
INFO : Fetching: GBPJPY=X (time: 2018-01-01 16:00:00+00:00)
INFO : Fetching: GBPJPY=X (time: 2018-01-02 16:00:00+00:00)
DEBUG : Starting new HTTPS connection (1): query1.finance.yahoo.com:443
DEBUG : Starting new HTTPS connection (1): query1.finance.yahoo.com:443
DEBUG : https://query1.finance.yahoo.com:443 "GET /v8/finance/chart/GBPJPY=X?period1=1514476800&period2=1514908800&interval=1d&lang=en-US&corsDomain=finance.yahoo.com&.tsrc=finance HTTP/1.1" 200 1396
INFO : Fetching: GBPJPY=X (time: 2018-01-03 16:00:00+00:00)
DEBUG : https://query1.finance.yahoo.com:443 "GET /v8/finance/chart/GBPJPY=X?period1=1514390400&period2=1514822400&interval=1d&lang=en-US&corsDomain=finance.yahoo.com&.tsrc=finance HTTP/1.1" 200 1394
fish: Job 2, 'bean-price /Users/williamdavies…' terminated by signal SIGSEGV (Address boundary error)
If I use the -n
flag the dry run succeeds. When I use --no-cache
the command succeeds. I am fetching 261 prices for a single currency pair (GBP /JPY
). I am using this source: "JPY:yahoo/GBPJPY=X"
.
Wanted to share my workaround/solution and bring attention to the bug (if it is a bug!).
Thank you!
Metadata
Assignees
Labels
No labels
Activity