Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

get AttributeError: 'str' object has no attribute 'decode' error #16

@yuanmark

Description

@yuanmark

When I downloaded and followed the install procedrue, it was ok.

When I put the first 3 lines of example.py imports, it was ok.
When I put the "w = xmind.load("test.xmind")",
I got:
...
File "C:\Python34\lib\site-packages\xmind-0.1a0-py3.4.egg\xmind\core__init__.py", line 204, in init
AttributeError: 'str' object has no attribute 'decode'" error.

I went to .\xmind-sdk-python-master\xmind\core__init__.py
and change line 204: self.TAG_NAME.decode("utf-8")
to self.TAG_NAME
and re-install xmind-sdk but still get the same error message.

What should I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions