Skip to content

Basic example doesn't work #64

Description

@Jay-Dai

Using last version of untangle as of today :

import untangle
obj = untangle.parse(b)

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "...\eb-virt\lib\site-packages\untangle.py", line 180, in parse
    parser.parse(filename)
  File "...\python36\Lib\xml\sax\expatreader.py", line 105, in parse
    source = saxutils.prepare_input_source(source)
  File "...\python36\Lib\xml\sax\saxutils.py", line 348, in prepare_input_source
    if isinstance(f.read(0), str):
TypeError: 'NoneType' object is not callable

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions