bvanheu / stratatools

Stratasys EEPROM tool
BSD 3-Clause "New" or "Revised" License
88 stars 40 forks source link

bp_read.py error #15

Closed RobListon closed 9 years ago

RobListon commented 9 years ago

Hi, I'm trying to use a bus pirate v3 to read one of my material cartridge chips and I am getting this error: Traceback (most recent call last): File "./bp_read.py", line 135, in print("Device found: " + rom_sequence) TypeError: cannot concatenate 'str' and 'NoneType' objects

Am I missing something obvious here to fix it?

Bald888Eagle commented 9 years ago

What version of Python are you running? I'm just guessing but the following may fix it. print("Device found: " + str(rom_sequence))

RobListon commented 9 years ago

I'm got python 2.7.3 installed right now. Making the edit you suggested fixed that problem and now I've run into a new one: Device found: None Traceback (most recent call last): File "./bp_read.py", line 138, in raise(Exception("unable to find a device on this 1-wire bus")) Exception: unable to find a device on this 1-wire bus

RobListon commented 9 years ago

Upgrading to python 2.7.9 fixed the issue. Anything above 2.7.5 should work as well.