-
Notifications
You must be signed in to change notification settings - Fork 134
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
SublimeText3 TypeError: can't concat bytes to str #32
Comments
I'm seeing this in Sublime Text 3 as well. The plugin works awesome under Sublime Text 2, but blows up in ST3.
But, I found that changing line 100 to: s = xmlheader.group().decode("utf-8") + "\n" + s fixes the problem. |
@TheChrisPratt - thanks this fixed it for me. |
@TheChrisPratt fixed the issue for me too 👍 |
Oh, I didn't see that there was already a commit linked to this issue. Why isn't it merged already? |
Because I'm busy as a bee :) Sorry, merged now - seems to be working fine in both ST2 / ST3 |
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 531, in run_
return self.run(edit)
File "
/.config/sublime-text-3/Installed Packages/Indent XML.sublime-package/indentxml.py", line 44, in run/.config/sublime-text-3/Installed Packages/Indent XML.sublime-package/indentxml.py", line 77, in indentFile "
File "~/.config/sublime-text-3/Installed Packages/Indent XML.sublime-package/indentxml.py", line 100, in indent
TypeError: can't concat bytes to str
The text was updated successfully, but these errors were encountered: