Issue #284: bean-web and bean-bake fails if spaces in event type (blais/beancount)

2018-04-18 Thread Jonatan Kornholt
New issue 284: bean-web and bean-bake fails if spaces in event type
https://bitbucket.org/blais/beancount/issues/284/bean-web-and-bean-bake-fails-if-spaces-in

Jonatan Kornholt:

Bean-bake fails if my beancount file includes events with a space in the event 
type. The error message is:

   
```
 raise BadStatusLine(line)
http.client.BadStatusLine: https://groups.google.com/d/msgid/beancount/20180418213710.11359.96844%40celery-worker-105.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.


Re: smart_importer

2018-04-18 Thread 'Patrick Ruckstuhl' via Beancount
Yes this is one way to use it. The other ways which are still in progress are 
about getting the list of possible candidates in fava

On April 18, 2018 9:57:04 PM GMT+02:00, mplo...@gmail.com wrote:
>Smart importer inserts payees learned from previous transactions in 
>beancount file?
>
>So we are getting:
>
>2013-12-11 * "WHOLEFDS HOU 10236 02124201320 / 042002720272124201320"
>  Liabilities:US:CreditCard  -14.47 USD
>  Expenses:Personal:Food
>
>2013-12-14 * "MACY'S #003 HERALD SNEW YORK / 00307963916 MACY'S"
>  Liabilities:US:CreditCard  -56.43 USD
>  Expenses:Personal:Clothes
>
>Instead of 
>
>2013-12-11 * "WHOLEFDS HOU 10236 02124201320 / 042002720272124201320"
>  Liabilities:US:CreditCard  -14.47 USD
>
>2013-12-14 * "MACY'S #003 HERALD SNEW YORK / 00307963916 MACY'S"
>  Liabilities:US:CreditCard  -56.43 USD
>
>which we get with default bean-extract command. Did i understand it
>right?
>
>On Tuesday, April 17, 2018 at 8:12:13 PM UTC-4, Martin Blais wrote:
>>
>> Works great on my credit card account!
>> https://github.com/johannesjh/smart_importer
>>
>> Another way I'm finding I'd like to invoke this is by invocation of
>an 
>> Emacs binding to auto-complete one particular transaction based on a
>stored 
>> model.
>> Basically put the cursor over an incomplete transaction and have it
>be 
>> completed by the ML classification.
>> Just an idea.
>>
>> Awesome work! :-)
>>
>>
>
>-- 
>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 beancount+unsubscr...@googlegroups.com.
>To post to this group, send email to beancount@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/beancount/693ce320-8741-4fe0-8ccb-a912a1746929%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

-- 
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 beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/31628B66-C535-4739-A832-5EBBE65BA8EC%40ch.tario.org.
For more options, visit https://groups.google.com/d/optout.


Beancount on LWN

2018-04-18 Thread Martin Michlmayr
Beancount and fava have been covered on LWN:
https://lwn.net/SubscriberLink/751874/a38128abb72e45c5/

-- 
Martin Michlmayr
http://www.cyrius.com/

-- 
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 beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180418202356.onvxhfvjkhbjypms%40jirafa.cyrius.com.
For more options, visit https://groups.google.com/d/optout.


Re: smart_importer

2018-04-18 Thread mployby
Smart importer inserts payees learned from previous transactions in 
beancount file?

So we are getting:

2013-12-11 * "WHOLEFDS HOU 10236 02124201320 / 042002720272124201320"
  Liabilities:US:CreditCard  -14.47 USD
  Expenses:Personal:Food

2013-12-14 * "MACY'S #003 HERALD SNEW YORK / 00307963916 MACY'S"
  Liabilities:US:CreditCard  -56.43 USD
  Expenses:Personal:Clothes

Instead of 

2013-12-11 * "WHOLEFDS HOU 10236 02124201320 / 042002720272124201320"
  Liabilities:US:CreditCard  -14.47 USD

2013-12-14 * "MACY'S #003 HERALD SNEW YORK / 00307963916 MACY'S"
  Liabilities:US:CreditCard  -56.43 USD

which we get with default bean-extract command. Did i understand it right?

On Tuesday, April 17, 2018 at 8:12:13 PM UTC-4, Martin Blais wrote:
>
> Works great on my credit card account!
> https://github.com/johannesjh/smart_importer
>
> Another way I'm finding I'd like to invoke this is by invocation of an 
> Emacs binding to auto-complete one particular transaction based on a stored 
> model.
> Basically put the cursor over an incomplete transaction and have it be 
> completed by the ML classification.
> Just an idea.
>
> Awesome work! :-)
>
>

-- 
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 beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/693ce320-8741-4fe0-8ccb-a912a1746929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: smart_importer

2018-04-18 Thread 'Patrick Ruckstuhl' via Beancount
Created https://github.com/johannesjh/smart_importer/issues/31 for this. We're 
already filtering the training data, forgot to also filter the ones where we do 
the predictions.

On April 18, 2018 1:38:32 PM GMT+02:00, Zhuoyun Wei  wrote:
>I got it working, as well. Currently I am using (hard-coded) Python
>dict to add a second posting to an newly extracted transaction based on
>Trasaction.narration.
>
>This ML is the far more advanced technology!
>
>(There is a bug: If there is a Balance entry, or any other
>non-Trasaction entry in the entries returned by the importer, the ML
>crashes with a cryptic traceback.)
>
>
>2018-04-17 20:11:50 Martin Blais :
>> Works great on my credit card account!
>> https://github.com/johannesjh/smart_importer
>> 
>> Another way I'm finding I'd like to invoke this is by invocation of
>an Emacs binding to auto-complete one particular
>> transaction based on a stored model.
>> Basically put the cursor over an incomplete transaction and have it
>be completed by the ML classification.
>> Just an idea.
>> 
>> Awesome work! :-)
>> 
>> 
>> --
>> 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
>> beancount+unsubscr...@googlegroups.com.
>> To post to this group, send email to beancount@googlegroups.com.
>> To view this discussion on the web visit
>https://groups.google.com/d/msgid/beancount/
>>
>CAK21%2BhM-FDXwjM%2BtwCDDZUWpFyeFLBJpdtbVjbiF9VmqFT%2BD9A%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.

-- 
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 beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/375FCCC4-C14F-4DD2-8173-F8BC081C4992%40ch.tario.org.
For more options, visit https://groups.google.com/d/optout.


Issue #283: CSV importer can't support non-ascii character (blais/beancount)

2018-04-18 Thread Li Dongchao
New issue 283: CSV importer can't support non-ascii character
https://bitbucket.org/blais/beancount/issues/283/csv-importer-cant-support-non-ascii

Li Dongchao:

When using CSV importer to extract csv file including non-ascii character such 
as chinese words, it may raise UnicodeDecodeError at beancount/ingest/cache.py, 
line 92, in head_reader:
```
#!python
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 8190-8191: 
unexpected end of data
```
In my situation, three bytes in position 8190-8192 constitute a character, so 
this exception happens.


-- 
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 beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180418160843.8772.10540%40celery-worker-105.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.


Re: smart_importer

2018-04-18 Thread Zhuoyun Wei
I got it working, as well. Currently I am using (hard-coded) Python
dict to add a second posting to an newly extracted transaction based on
Trasaction.narration.

This ML is the far more advanced technology!

(There is a bug: If there is a Balance entry, or any other
non-Trasaction entry in the entries returned by the importer, the ML
crashes with a cryptic traceback.)


2018-04-17 20:11:50 Martin Blais :
> Works great on my credit card account!
> https://github.com/johannesjh/smart_importer
> 
> Another way I'm finding I'd like to invoke this is by invocation of an Emacs 
> binding to auto-complete one particular
> transaction based on a stored model.
> Basically put the cursor over an incomplete transaction and have it be 
> completed by the ML classification.
> Just an idea.
> 
> Awesome work! :-)
> 
> 
> --
> 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
> beancount+unsubscr...@googlegroups.com.
> To post to this group, send email to beancount@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beancount/
> CAK21%2BhM-FDXwjM%2BtwCDDZUWpFyeFLBJpdtbVjbiF9VmqFT%2BD9A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
Zhuoyun Wei

-- 
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 beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180418113832.GA15981%40herus.wzyboy.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature