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

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

Open
melis73 opened this issue Sep 19, 2016 · 0 comments
Open

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

melis73 opened this issue Sep 19, 2016 · 0 comments

Comments

@melis73
Copy link

melis73 commented Sep 19, 2016

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

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