Unicode
Posted by davidbyron on 2009-11-10 22:20
Got this error message:
Traceback (most recent call last):
File "C:\OpenRPG\mine-work\start_noupdate.py", line 4, in <module>
runpy.run_module('start_client', run_name='__main__', alter_sys=True)
File "C:\PYTHON25\LIB\runpy.py", line 95, in run_module
filename, loader, alter_sys)
File "C:\PYTHON25\LIB\runpy.py", line 52, in _run_module_code
mod_name, mod_fname, mod_loader)
File "C:\PYTHON25\LIB\runpy.py", line 32, in _run_code
exec code in run_globals
File "C:\OpenRPG\mine-work\start_client.py", line 13, in <module>
import orpg.main
File "C:\OpenRPG\mine-work\orpg\main.py", line 45, in <module>
import orpg.chat.chatwnd
SyntaxError: future feature unicode_literals is not defined (chatwnd.py, line 37)
I am using Python: 2.5.1 / wxPython Version: 2.8.7.1
Traceback (most recent call last):
File "C:\OpenRPG\mine-work\start_noupdate.py", line 4, in <module>
runpy.run_module('start_client', run_name='__main__', alter_sys=True)
File "C:\PYTHON25\LIB\runpy.py", line 95, in run_module
filename, loader, alter_sys)
File "C:\PYTHON25\LIB\runpy.py", line 52, in _run_module_code
mod_name, mod_fname, mod_loader)
File "C:\PYTHON25\LIB\runpy.py", line 32, in _run_code
exec code in run_globals
File "C:\OpenRPG\mine-work\start_client.py", line 13, in <module>
import orpg.main
File "C:\OpenRPG\mine-work\orpg\main.py", line 45, in <module>
import orpg.chat.chatwnd
SyntaxError: future feature unicode_literals is not defined (chatwnd.py, line 37)
I am using Python: 2.5.1 / wxPython Version: 2.8.7.1
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
Openrpg is powered by Assembla.
1 Comments
By Digitalxero on 2009-11-10 22:57
Should I revert the change, though that is the best way to get proper unicode support without having to change all quoted strings to have u in front?