Skip to content

XML errors #91

@gloriouslyawkwardlife

Description

@gloriouslyawkwardlife
+----------------------------------
Main
Edit /home/steven/ofxclient.ini to
change descriptions or ofx options
+----------------------------------
(A) Add an account
(Q) Quit
choice> a
+----------------------------------
Add account
+----------------------------------
------
Notice
------
You are about to search for bank connection information
on a third party website.  This means you are trusting
http://ofxhome.com and their security policies.

You will be sending your bank name to this website.
------
bank name eg. "express" (enter to exit)> fairwinds
Traceback (most recent call last):
  File "/usr/bin/ofxclient", line 33, in <module>
    sys.exit(load_entry_point('ofxclient==2.0.4', 'console_scripts', 'ofxclient')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ofxclient/cli.py", line 63, in run
    main_menu(args)
  File "/usr/lib/python3/dist-packages/ofxclient/cli.py", line 83, in main_menu
    add_account_menu(args)
  File "/usr/lib/python3/dist-packages/ofxclient/cli.py", line 117, in add_account_menu
    found = OFXHome.search(query)
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ofxhome/__init__.py", line 65, in search
    return InstitutionList(_xml_request(params))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ofxhome/__init__.py", line 88, in __init__
    root = parseString(xml).documentElement
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/xml/dom/minidom.py", line 2000, in parseString
    return expatbuilder.parseString(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/xml/dom/expatbuilder.py", line 925, in parseString
    return builder.parseString(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 43, column 155

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions