Using Windows bash, bean-bake fails to bake: 127.0.0.1 - - [25/Jun/2017 22:43:02] "GET / HTTP/1.1" 303 0 > ERROR : Redirected: / -> /index > 127.0.0.1 - - [25/Jun/2017 22:43:02] "GET /index HTTP/1.1" 200 6658 > INFO : Operation: 'realize_opening' Time > : 0 ms > INFO : Operation: 'realize' Time > : 1 ms > INFO : Operation: 'realize_closing' Time > : 1 ms > 127.0.0.1 - - [25/Jun/2017 22:43:02] "GET > /view/tag/trip-chicago-2016/balsheet HTTP/1.1" 200 5128 > 127.0.0.1 - - [25/Jun/2017 22:43:02] "GET > /view/tag/trip-chicago-2016/journal/Equity:Earnings:Current HTTP/1.1" 200 > 7482 > Traceback (most recent call last): > File "/usr/local/bin/bean-bake", line 4, in <module> > from beancount.scripts.bake import main; main() > File "/usr/local/lib/python3.5/dist-packages/beancount/scripts/bake.py", > line 247, in main > bake_to_directory(opts, output_directory, opts.quiet, opts.full_mode) > File "/usr/local/lib/python3.5/dist-packages/beancount/scripts/bake.py", > line 153, in bake_to_directory > quiet) > File "/usr/local/lib/python3.5/dist-packages/beancount/web/web.py", > line 1234, in scrape_webapp > url_lists = scrape.scrape_urls(url_format, callback, ignore_regexp) > File "/usr/local/lib/python3.5/dist-packages/beancount/web/scrape.py", > line 114, in scrape_urls > callback(url, response, response_contents, html_root, skipped_urls) > File "/usr/local/lib/python3.5/dist-packages/beancount/scripts/bake.py", > line 116, in save_scraped_document > with open(output_filename, 'wb') as outfile: > OSError: [Errno 22] Invalid argument: > 'example/view/tag/trip-chicago-2016/journal/Equity:Earnings:Current.html' >
Is this because Windows does not allow colons in file names? If so, can this be fixed so, say, the dots are used instead? S. -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/45df2138-b6d9-4d9b-a2be-9632f6601afb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
