Sublime Forum

Error "can't write str to text stream"

#1

How I can fix error “can’t write str to text stream” on my CodeFormatter package? This error occurs when I format python file on ST2. I think error occurs in PythonTidy library

0 Likes

#2

Any ideas?

0 Likes

#3

Where’s my crystal ball :question:

No, seriously, how do you think someone could answer this question ?
Reproduce it yourself and debug it by adding print statements in your code.
Probably something related to unicode string…

0 Likes