I've been lurking for awhile and have learned quite a bit and I really appreciate how open and patient the community is here. I'm hoping you can keep that patience and assist me with figuring out what this error I'm getting means.
I'm running code based on the bot_mccloud Twitter feed found here: https://github.com/mkremins/bot_mccloud
I figured out the syntax errors I was getting were because I was running Python 3 instead of Python 2 (thanks to searching here) and have managed to get threshold.py to work correctly but when I run panelize.py I get the following error in the shell:
I had left a message on the GitHub page and forgotten about it, but it had been a couple weeks so I thought I'd reach out here as well.
Code: Select all
Traceback (most recent call last): File "/home/pi/Desktop/Twitter API/panelize.py", line 105, in <module> panelize(page_path) File "/home/pi/Desktop/Twitter API/panelize.py", line 90, in panelize panel_bounds = find_panel_bounds(thresholded) File "/home/pi/Desktop/Twitter API/panelize.py", line 76, in find_panel_bounds bounds_1 = find_row_bounds(image, (0, 0, image.width, image.height)) File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 608, in __getattr__ raise AttributeError(name) AttributeError: width
Thanks in advance for any help on this and thanks so much for such a robust and interesting forum. There's so much I never knew I wanted to learn how to do until I arrived here.