I don't understand your question.
If you can post your example files, we can debug it.
If the regexp you doesn't match anything in your files, if won't match the
importer.
The matching code is here, add some printfs there:
https://bitbucket.org/blais/beancount/src/26f7bb21007f1fb49fdd23829470fc4df8
On 18-04-08 17:01:48, Martin Blais wrote:
> The CSV importer that is provided puts together a regexp from the list of
> fields you provide.
> This regexp is run against the contents of the files it is scanning, in
> order to identify whether a particular importer should be able to process a
> file.
The CSV importer that is provided puts together a regexp from the list of
fields you provide.
This regexp is run against the contents of the files it is scanning, in
order to identify whether a particular importer should be able to process a
file.
The regexp is built from the fields you provide, I
On Sunday, April 8, 2018 at 7:40:50 PM UTC+2, Martin Blais wrote:
>
> - bean-identity saw your file.
> - It didn't match any of the configured importers (there's no section
> printed underneath it, if it matches it would print the importer and
> deduced account name, date and to-be-renamed locati
- bean-identity saw your file.
- It didn't match any of the configured importers (there's no section
printed underneath it, if it matches it would print the importer and
deduced account name, date and to-be-renamed location)
Something to do with your regexp, it probably still doesn't match the
head
On Saturday, April 7, 2018 at 4:27:29 PM UTC+2, viq wrote:
>
> First, apologies, I'm very new to beancount, and only starting with
> python. Right now I'm trying to just have a basic import working, and then
> will try to enrich it. I've tried looking through documentation and mailing
> lists, a
On Sunday, April 8, 2018 at 10:46:30 AM UTC+2, Martin Blais wrote:
>
> On Sun, Apr 8, 2018 at 3:17 AM, viq >
> wrote:
>
>>
>>
>> On Sunday, April 8, 2018 at 1:55:42 AM UTC+2, Michael Droogleever wrote:
>>>
>>> I think it is this, but I have not tried running your code:
>>>
>>>
sys.path.inse
On Sun, Apr 8, 2018 at 3:17 AM, viq wrote:
>
>
> On Sunday, April 8, 2018 at 1:55:42 AM UTC+2, Michael Droogleever wrote:
>>
>> I think it is this, but I have not tried running your code:
>>
>>
>>> sys.path.insert(0, path.join(path.dirname(__file__)))
>>
>>
>> is what adds the path to your import
On Sunday, April 8, 2018 at 1:55:42 AM UTC+2, Michael Droogleever wrote:
>
> I think it is this, but I have not tried running your code:
>
>
>> sys.path.insert(0, path.join(path.dirname(__file__)))
>
>
> is what adds the path to your importers package, to the system path. So the
>
> import imp
I think it is this, but I have not tried running your code:
> sys.path.insert(0, path.join(path.dirname(__file__)))
is what adds the path to your importers package, to the system path. So the
import importers.mybank
>
Needs to be after it. It is admittedly not correct python style, as impor
First, apologies, I'm very new to beancount, and only starting with python.
Right now I'm trying to just have a basic import working, and then will try
to enrich it. I've tried looking through documentation and mailing lists,
and this is as far as I managed to go with it.
"config" file test.con
11 matches
Mail list logo