Skip to content

An issue while import cyrillic sms into Jolla C phone #1

Description

@melis73

Hello!
Unfortunately, while using this script I try to import into Jolla C phone cyrillic sms messages (utf-8 encoding) I receive the following output:
Traceback (most recent call last):
File "sms_import.py", line 13, in
sms_list = parser.get_all_sms_in_sf_format()
File "/home/nemo/Downloads/sailfish-msg-importer/sail_sms.py", line 31, in get_all_sms_in_sf_format
xmldom = minidom.parse(self.xml_file)
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: junk after document element: line 10, column 0

Could you look at this, please?

Best regards,
melis73

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions