-
-
Save anonymous/552cca1aafacf86db8abcee7c1545a95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terminating due to unhandled exception: | |
Traceback (most recent call last): | |
File "./FoFiX.py", line 311, in <module> | |
main = Main() | |
File "./FoFiX.py", line 191, in __init__ | |
self.engine = GameEngine(self.config) | |
File "/opt/fofix-git/fofix/core/GameEngine.py", line 304, in __init__ | |
self.data = Data(self.resource, self.svg) | |
File "/opt/fofix-git/fofix/core/Data.py", line 123, in __init__ | |
self.loadImgDrawing(self, "star1", os.path.join("themes",themename,"star1.png"), textureSize = (128, 128)) | |
File "/opt/fofix-git/fofix/core/Data.py", line 450, in loadImgDrawing | |
imgDrawing = self.getImgDrawing(fileName) | |
File "/opt/fofix-git/fofix/core/Data.py", line 413, in getImgDrawing | |
imgDrawing = ImgDrawing(self.svg, fileName1) | |
File "/opt/fofix-git/fofix/core/Image.py", line 205, in __init__ | |
self.texture = Texture(ImgData) | |
File "/opt/fofix-git/fofix/core/Texture.py", line 66, in __init__ | |
self.loadFile(name) | |
File "/opt/fofix-git/fofix/core/Texture.py", line 70, in loadFile | |
self.loadImage(Image.open(name)) | |
File "/opt/fofix-git/fofix/core/Texture.py", line 77, in loadImage | |
string = image.tobytes('raw', 'RGBA', 0, -1) | |
File "/home/brott/.local/lib/python2.7/site-packages/Pillow-1.7.8-py2.7-linux-x86_64.egg/PIL/Image.py", line 510, in __getattr__ | |
raise AttributeError(name) | |
AttributeError: tobytes | |
If you make a bug report about this error, please include the contents of the following log file: | |
/home/brott/.fofix/fofix.log | |
The log file already includes the traceback given above. | |
Traceback (most recent call last): | |
File "./FoFiX.py", line 311, in <module> | |
main = Main() | |
File "./FoFiX.py", line 191, in __init__ | |
self.engine = GameEngine(self.config) | |
File "/opt/fofix-git/fofix/core/GameEngine.py", line 304, in __init__ | |
self.data = Data(self.resource, self.svg) | |
File "/opt/fofix-git/fofix/core/Data.py", line 123, in __init__ | |
self.loadImgDrawing(self, "star1", os.path.join("themes",themename,"star1.png"), textureSize = (128, 128)) | |
File "/opt/fofix-git/fofix/core/Data.py", line 450, in loadImgDrawing | |
imgDrawing = self.getImgDrawing(fileName) | |
File "/opt/fofix-git/fofix/core/Data.py", line 413, in getImgDrawing | |
imgDrawing = ImgDrawing(self.svg, fileName1) | |
File "/opt/fofix-git/fofix/core/Image.py", line 205, in __init__ | |
self.texture = Texture(ImgData) | |
File "/opt/fofix-git/fofix/core/Texture.py", line 66, in __init__ | |
self.loadFile(name) | |
File "/opt/fofix-git/fofix/core/Texture.py", line 70, in loadFile | |
self.loadImage(Image.open(name)) | |
File "/opt/fofix-git/fofix/core/Texture.py", line 77, in loadImage | |
string = image.tobytes('raw', 'RGBA', 0, -1) | |
File "/home/brott/.local/lib/python2.7/site-packages/Pillow-1.7.8-py2.7-linux-x86_64.egg/PIL/Image.py", line 510, in __getattr__ | |
raise AttributeError(name) | |
AttributeError: tobytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment