sublime-xml2json icon indicating copy to clipboard operation
sublime-xml2json copied to clipboard

ST3 - LinuxMint 17 (Ubuntu 14)

Open thorsummoner opened this issue 11 years ago • 1 comments

Not sure whats wrong here, its basically a fresh install (via ubuntu universe 'sublime-text' package)

Traceback (most recent call last):
  File "xmltodict in /home/developer/.config/sublime-text-3/Installed Packages/xml2json.sublime-package", line 201, in parse
TypeError: argument must have 'read' attribute

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "Xml2json in /home/developer/.config/sublime-text-3/Installed Packages/xml2json.sublime-package", line 19, in run
  File "xmltodict in /home/developer/.config/sublime-text-3/Installed Packages/xml2json.sublime-package", line 205, in parse
xml.parsers.expat.ExpatError: junk after document element: line 151, column 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 549, in run_
    return self.run(edit)
  File "Xml2json in /home/developer/.config/sublime-text-3/Installed Packages/xml2json.sublime-package", line 22, in run
AttributeError: 'ExpatError' object has no attribute 'message'
Traceback (most recent call last):
  File "xmltodict in /home/developer/.config/sublime-text-3/Installed Packages/xml2json.sublime-package", line 201, in parse
TypeError: argument must have 'read' attribute

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "Xml2json in /home/developer/.config/sublime-text-3/Installed Packages/xml2json.sublime-package", line 19, in run
  File "xmltodict in /home/developer/.config/sublime-text-3/Installed Packages/xml2json.sublime-package", line 205, in parse
xml.parsers.expat.ExpatError: junk after document element: line 151, column 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 549, in run_
    return self.run(edit)
  File "Xml2json in /home/developer/.config/sublime-text-3/Installed Packages/xml2json.sublime-package", line 22, in run
AttributeError: 'ExpatError' object has no attribute 'message'

thorsummoner avatar Aug 05 '14 01:08 thorsummoner

I also cannot convert XML 2 JSON or JSON 2 XML. Running OS X 10.9 with ST3:

This is my error code:

Traceback (most recent call last):
  File "xmltodict in /Users/#####/Library/Application Support/Sublime Text 3/Installed Packages/xml2json.sublime-package", line 246, in parse
TypeError: argument must have 'read' attribute

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "Xml2json in /Users/#####/Library/Application Support/Sublime Text 3/Installed Packages/xml2json.sublime-package", line 23, in xml2json
  File "xmltodict in /Users/#####/Library/Application Support/Sublime Text 3/Installed Packages/xml2json.sublime-package", line 248, in parse
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 3733, column 30

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 549, in run_
    return self.run(edit)
  File "Xml2json in /Users/#####/Library/Application Support/Sublime Text 3/Installed Packages/xml2json.sublime-package", line 36, in run
  File "Xml2json in /Users/#####/Library/Application Support/Sublime Text 3/Installed Packages/xml2json.sublime-package", line 29, in xml2json
AttributeError: 'ExpatError' object has no attribute 'message'

thomscode avatar Nov 05 '14 22:11 thomscode