Abzac / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

src\platform\windows\py2c.bat yields errors #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using Python 27 on path:

C:\projects_development\win32\Sandbox\python-on-a-chip-read-only\src\platform\wi
ndows>py2c.bat
Traceback (most recent call last):
  File "../../tools/pmImgCreator.py", line 961, in <module>
    main()
  File "../../tools/pmImgCreator.py", line 952, in main
    outfn, imgtyp, imgtarget, memspace, natfn, fns, pmfn = parse_cmdline()
  File "../../tools/pmImgCreator.py", line 948, in parse_cmdline
    return outfn, imgtype, imgtarget, memspace, nativeFilename, args, pmfeatures_filename
UnboundLocalError: local variable 'pmfeatures_filename' referenced before 
assignment
Traceback (most recent call last):
  File "../../tools/pmImgCreator.py", line 961, in <module>
    main()
  File "../../tools/pmImgCreator.py", line 952, in main
    outfn, imgtyp, imgtarget, memspace, natfn, fns, pmfn = parse_cmdline()
  File "../../tools/pmImgCreator.py", line 948, in parse_cmdline
    return outfn, imgtype, imgtarget, memspace, nativeFilename, args, pmfeatures_filename
UnboundLocalError: local variable 'pmfeatures_filename' referenced before 
assignment

Original issue reported on code.google.com by Alexande...@gmail.com on 16 Sep 2010 at 1:50

GoogleCodeExporter commented 9 years ago
Thanks for the report, looks like I forgot to add the new required argument to 
pmImgCreator.py in the py2c.bat file.

Original comment by dwhall...@gmail.com on 16 Sep 2010 at 5:52

GoogleCodeExporter commented 9 years ago
r603
- Added "-f pmfeatures.py" in 2 places in py2c.bat
- Added thanks in README

Only affects windows platform, that I can't test.
Mainlined directly.

Original comment by dwhall...@gmail.com on 16 Sep 2010 at 5:57