tinyfpga / TinyFPGA-Bootloader

An open source USB bootloader for FPGAs
Apache License 2.0
352 stars 94 forks source link

"TypeError: ord() expected string of length 1, but int found" - python3 (TinyFPGA BX, Ubuntu 19.04) #48

Closed zrecore closed 5 years ago

zrecore commented 5 years ago

https://github.com/tinyfpga/TinyFPGA-Bootloader/blob/99f87a5947fada082cc11606a2b3370f50e1f970/programmer/tinyprog/__init__.py#L38

... Removing the call to ord() here allows the script to continue execution.

mithro commented 5 years ago

@zrecore Can you please test this fixed your issue?

zrecore commented 5 years ago

@mithro ok, testing now

zrecore commented 5 years ago

Ok, no more python errors using mithro/TinyFPGA-Bootloader repo, master branch. 👍 (Still getting the gateware size issue, but that's probably a different problem)

Screen Shot 2019-05-14 at 5 17 13 PM
mithro commented 5 years ago

@zrecore It looks like your still failing? Can you log a full bug for that somewhere (maybe on https://github.com/timvideos/litex-buildenv/issues)?

zrecore commented 5 years ago

@mithro added issue at https://github.com/timvideos/litex-buildenv/issues/137