t0x0 / random

Random projects
MIT License
92 stars 47 forks source link

Getting an Error when running this program. Using Python 3.x.x #1

Closed cmos10771 closed 9 years ago

cmos10771 commented 9 years ago

C:\Users\cmoss\Desktop\WindowsIOT>python ffu2img.py Flash.FFU RPi.IMG Input File: Flash.FFU Output File: RPi.IMG Error: security header signature incorrect.

Also, The pylint in VS 2013 Python tools, wants all the Print statements wrapped in parentheses.

t0x0 commented 9 years ago

That error indicates a problem with the FFU image. What release are you using?

This is written for Python2, tested on 2.7.9. I'm sure there are a variety of items that are non-py3 compliant. I have no plans to fix them.

cmos10771 commented 9 years ago

Okay, I just wanted to let you know. Thanks. On May 16, 2015 4:28 PM, "t0 x0" notifications@github.com wrote:

That error indicates a problem with the FFU image. What release are you using?

This is written for Python2, tested on 2.7.9. I'm sure there are a variety of items that are non-py3 compliant. I have no plans to fix them.

— Reply to this email directly or view it on GitHub https://github.com/t0x0/random/issues/1#issuecomment-102684205.

t0x0 commented 9 years ago

Have you tried with the current RPi release FFU? It's possible than Microsoft changed the signature between the current release (all I've tested with) and the version you have.

Can you pull the latest version of ffu2img and test again (with your current FFU)? You should now get additional output that details the signature that it is seeing. You can email me the log if you like, and I can look at that also.

t0x0 commented 9 years ago

Upon further testing, the security header error will occur when running with python 3, if the other errors are ignored. this was likely the issue you experienced. you can try again with python 2, or there is now a python 3 version available.

cmos10771 commented 9 years ago

Thank You. On May 21, 2015 5:26 AM, "toxo" notifications@github.com wrote:

Upon further testing, the security header error will occur when running with python 3, if the other errors are ignored. this was likely the issue you experienced. you can try again with python 2, or there is now a python 3 version available.

— Reply to this email directly or view it on GitHub https://github.com/t0x0/random/issues/1#issuecomment-104193871.