vontio / sublime-xml2json

xml to json and json to xml convert
20 stars 7 forks source link

ST3 - LinuxMint 17 (Ubuntu 14) #3

Open thorsummoner opened 10 years ago

thorsummoner commented 10 years ago

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'
thomscode commented 10 years ago

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'