Error on Recompiling with gfx.py #90

Open
opened 2015-06-24 04:10:10 +00:00 by Lucern7 · 0 comments
Lucern7 commented 2015-06-24 04:10:10 +00:00 (Migrated from github.com)

I found your handy source code and followed the instructions but when compiliing I get this error involving gfx.py here's what the terminal tells me...

$ make
Traceback (most recent call last):
File "extras/pokemontools/gfx.py", line 1442, in
main()
File "extras/pokemontools/gfx.py", line 1438, in main
method(args.filenames)
File "extras/pokemontools/gfx.py", line 1366, in convert_to_2bpp
export_png_to_2bpp(filename)
File "extras/pokemontools/gfx.py", line 994, in export_png_to_2bpp
image, arguments = png_to_2bpp(filein, *arguments)
File "extras/pokemontools/gfx.py", line 1073, in png_to_2bpp
width, height, rgba, info = png.Reader(filein).asRGBA8()
AttributeError: 'module' object has no attribute 'Reader'
Makefile:79: recipe for target 'red/main.o' failed
make: *
* [red/main.o] Error 1

I'm not sure what the issue is, normally I'm decent at deciphering code but this one has me stumped.

I found your handy source code and followed the instructions but when compiliing I get this error involving gfx.py here's what the terminal tells me... $ make Traceback (most recent call last): File "extras/pokemontools/gfx.py", line 1442, in <module> main() File "extras/pokemontools/gfx.py", line 1438, in main method(args.filenames) File "extras/pokemontools/gfx.py", line 1366, in convert_to_2bpp export_png_to_2bpp(filename) File "extras/pokemontools/gfx.py", line 994, in export_png_to_2bpp image, arguments = png_to_2bpp(filein, *_arguments) File "extras/pokemontools/gfx.py", line 1073, in png_to_2bpp width, height, rgba, info = png.Reader(filein).asRGBA8() AttributeError: 'module' object has no attribute 'Reader' Makefile:79: recipe for target 'red/main.o' failed make: *_\* [red/main.o] Error 1 I'm not sure what the issue is, normally I'm decent at deciphering code but this one has me stumped.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
decomp/pokemon-reverse-engineering-tools#90
No description provided.