python-rope / ropevim

vim mode that uses rope library to provide features like python refactorings and code-assists
GNU General Public License v2.0
249 stars 34 forks source link

Unicode error #9

Closed mcepl closed 9 years ago

mcepl commented 11 years ago

I got an unicode problem at line 368 of ropevim.py, I had to change the function to:

def echo(message):
    message = message.encode('ascii', 'ignore')
    print message

I got the error previewing a rename.

mcepl commented 10 years ago

a) I think that means you are trying to use rope with Python 3. Notice that it is not officially supported (see https://github.com/python-rope/rope/issues/57) and I am actually really not sure whether even parts of rope work at all. b) I would always prefer .encode('utf8')