t0x0 / random

Random projects
MIT License
92 stars 47 forks source link

Python 2.7.9 Windows - SyntaxError: EOL while scanning string literal #3

Closed migsantiago closed 9 years ago

migsantiago commented 9 years ago

Hello, now using Python 2.7.9 for Windows this error is shown:

D:\raspberry_pi_2\win10_iot\Windows_IoT_Core_RPI2_BUILD λ python ffu2img.py Flash.ffu Rpi.img File "ffu2img.py", line 35 logfp.write('Exiting, incorrect signature: "' + signature '") ^ SyntaxError: EOL while scanning string literal

D:\raspberry_pi_2\win10_iot\Windows_IoT_Core_RPI2_BUILD λ python Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.

image

Thanks!

t0x0 commented 9 years ago

Thanks, there was a missing closing quote. I've committed an update, please pull down the new version and try again. Sorry for the trouble.

migsantiago commented 9 years ago

No problem! It now shows this:

D:\raspberry_pi_2\win10_iot\Windows_IoT_Core_RPI2_BUILD λ python ffu2img.py Flash.ffu Rpi.img File "ffu2img.py", line 35 logfp.write('Exiting, incorrect signature: "' + signature '"') ^ SyntaxError: invalid syntax

image

migsantiago commented 9 years ago

Is it missing a '+' ?

t0x0 commented 9 years ago

Yes, I haven't had my coffee yet. Updated.

migsantiago commented 9 years ago

Thank you. It generated an img file...

6417 blocks, 821376kb written - Delay expected. Please wait. Write complete.

I will test it later.

migsantiago commented 9 years ago

It seems that Windows did boot. Thanks.

http://www.todopic.com.ar/foros/index.php?topic=44458.msg369480#msg369480

t0x0 commented 9 years ago

Thanks for the link, good to see it worked.