Forum
compiler error (unicode argument expected) - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15)
+---- Thread: compiler error (unicode argument expected) (/showthread.php?tid=782)



compiler error (unicode argument expected) - slenkar - 01-02-2017

Traceback (most recent call last):
File "/root/Downloads/zxbasic/zxb.py", line 348, in <module>
sys.exit(main(sys.argv)) # Exit
File "/root/Downloads/zxbasic/zxb.py", line 339, in main
output(asm_output, fout)
File "/root/Downloads/zxbasic/zxb.py", line 72, in output
ofile.write('\t')
TypeError: unicode argument expected, got 'str'

EDIT- oh it was because I needed 1.3.0

I was using 1.2.9 so problem solved!