Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i have a big opml file , it show this: #2

Open
longlu opened this issue Apr 3, 2020 · 0 comments
Open

i have a big opml file , it show this: #2

longlu opened this issue Apr 3, 2020 · 0 comments

Comments

@longlu
Copy link

longlu commented Apr 3, 2020

Traceback (most recent call last):
File "opmltomm.py", line 288, in
main()
File "opmltomm.py", line 284, in main
opml2mm.convert_to_mm(input_opml_file,output_mm_file)
File "opmltomm.py", line 186, in convert_to_mm
self.nodetree[depth] = ET.SubElement(self.nodetree[depth-1], "node",attrib=attributes)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 530, in SubElement
element = parent.makeelement(tag, attrib)
AttributeError: 'str' object has no attribute 'makeelement'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant