Hi,

I'm not a software engineer so might be slow in figuring this out so I 
appreciate all your help and creating this importer. I'm still not able to 
figure out the issue. Here is what I'm doing:

bean-extract jonathan.import ~/staging/OfxDownload.qfx > 
~/staging/OfxDownload.qfx.extract

In that same local folder I have a file called "fund_info.py" that I have 
edited with the funds and maps. If I delete that file that I get an error 
that fund_info is missing. Here is my config file:

JONATHANs-MacBook-Pro:beandata jonathan$ more jonathan.import

#!/usr/bin/env python3

"""Import configuration."""


import sys

from os import path


sys.path.insert(0, path.join(path.dirname(__file__)))


from beancount_reds_importers import vanguard

from fund_info import *


# Setting this variable provides a list of importer instances.

CONFIG = [


    # Investments

    # 
--------------------------------------------------------------------------------------


    vanguard.Importer({

        'main_account'   : 'Assets:US:Investments:Vanguard:Brokerage',

        'account_number' : 'XXXXXXX',

        'transfer'       : 
'Assets:Zero-Sum-Accounts:Transfers:Bank-Account',

        'dividends'      : 'Income:Taxable:Dividends:Brokerage',

        'cg'             : 'Income:Taxable:Capital-Gains:Brokerage',

        'fees'           : 'Expenses:Brokerage-Fees:TradIRA',

        'rounding_error' : 'Equity:Rounding-Errors:Imports',

        'fund_info'       : fund_info,

    }),

]


I tried modifying the the Vanguard importer...the __init__.py file with the 
print command and this seemed to confirm that the mapper is not being 
created.


(
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/beancount_reds_importers/vanguard/__init__.py)


I don't see how it would pick up our fund_info.py in the example file but I 
haven't looked fully at the code.


Anyway, I'll keep investigating when I have some time but if you see 
anything obvious I appreciate any help.


thanks.

On Sunday, June 7, 2020 at 5:40:44 AM UTC+12, Red S wrote:
>
> Also: are you importing the correct file with your maps? Or are you 
> importing the example file that ships with the package by accident?

-- 
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 on the web visit 
https://groups.google.com/d/msgid/beancount/217849ad-e673-4f12-8910-74f8760faeb7o%40googlegroups.com.

Reply via email to