Home Download Buy Blog Forum Support

error "can't write str to text stream"

error "can't write str to text stream"

Postby LONGMAN on Thu May 16, 2013 2:11 pm

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
AutoBackups: ST2 / ST3
CodeFormatter: ST2 / ST3
StringUtilities: ST2 / ST3
LONGMAN
 
Posts: 68
Joined: Mon Nov 26, 2012 5:03 pm
Location: Tbilisi, Georgia

Re: error "can't write str to text stream"

Postby LONGMAN on Thu Jun 13, 2013 12:33 pm

Any ideas?
LONGMAN
 
Posts: 68
Joined: Mon Nov 26, 2012 5:03 pm
Location: Tbilisi, Georgia

Re: error "can't write str to text stream"

Postby bizoo on Thu Jun 13, 2013 2:48 pm

Where's my crystal ball :?:

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...
bizoo
 
Posts: 870
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 5 guests