Open wyojustin opened 11 years ago
Cool! Making good progress.
I'm getting the following error when I try and run it now:
Exception in Tkinter callback Traceback (most recent call last): File "C:\Python27\lib\lib-tk\Tkinter.py", line 1470, in call return self.func(*args) File "wifit.py", line 144, in key_event out = child.key_event(event) File "wifit.py", line 585, in key_event self.insert(char, self.cursor) File "wifit.py", line 551, in insert self.layout_text() File "wifit.py", line 540, in layout_text unifont.addText(self.text, self.image1, 0, 0, self.bigascii) File "C:\Users\Brent\Documents\GitHub\EPD\libraries\EReader\examples\ALbum\unifont.py", line 201, in addText addText(utxt, im, x, y, bigascii=False, wff_file=wff_file) File "C:\Users\Brent\Documents\GitHub\EPD\libraries\EReader\examples\ALbum\unifont.py", line 204, in addText x += paste_char(wff_file, im, ord(unic), x, y) File "C:\Users\Brent\Documents\GitHub\EPD\libraries\EReader\examples\ALbum\unifont.py", line 156, in paste_char img.paste(im, (x, y)) File "C:\Python27\lib\site-packages\PIL\Image.py", line 1103, in paste self.im.paste(im, box) TypeError: an integer is required
Wondering if I might have a different version of PIL on this machine? It was working earlier..
Specifically, thats caused when I press 'i' to activate the text box, and then try to type. I am also unable to select the box. to move it around.
Hmmmm. Can you print out im, x, and y?
On Wed, Aug 7, 2013 at 12:32 AM, brent8149 notifications@github.com wrote:
I'm getting the following error when I try and run it now:
Exception in Tkinter callback Traceback (most recent call last): File "C:\Python27\lib\lib-tk\Tkinter.py", line 1470, in call return self.func(*args) File "wifit.py", line 144, in key_event out = child.key_event(event) File "wifit.py", line 585, in key_event self.insert(char, self.cursor) File "wifit.py", line 551, in insert self.layout_text() File "wifit.py", line 540, in layout_text unifont.addText(self.text, self.image1, 0, 0, self.bigascii) File "C:\Users\Brent\Documents\GitHub\EPD\libraries\EReader\examples\ALbum\unifont.py", line 201, in addText addText(utxt, im, x, y, bigascii=False, wff_file=wff_file) File "C:\Users\Brent\Documents\GitHub\EPD\libraries\EReader\examples\ALbum\unifont.py", line 204, in addText x += paste_char(wff_file, im, ord(unic), x, y) File "C:\Users\Brent\Documents\GitHub\EPD\libraries\EReader\examples\ALbum\unifont.py", line 156, in paste_char img.paste(im, (x, y)) File "C:\Python27\lib\site-packages\PIL\Image.py", line 1103, in paste self.im.paste(im, box) TypeError: an integer is required
Wondering if I might have a different version of PIL on this machine? It was working earlier..
— Reply to this email directly or view it on GitHubhttps://github.com/wyolum/EPD/issues/2#issuecomment-22229174 .
Justin justin@wyolum.com
Let me try on windows.
On Wed, Aug 7, 2013 at 12:33 AM, brent8149 notifications@github.com wrote:
Specifically, thats caused when I press 'i' to activate the text box, and then try to type. I am also unable to select the box. to move it around.
— Reply to this email directly or view it on GitHubhttps://github.com/wyolum/EPD/issues/2#issuecomment-22229189 .
Justin justin@wyolum.com
[image: Inline image 1]
On Wed, Aug 7, 2013 at 12:35 AM, Justin Shaw wyojustin@gmail.com wrote:
Let me try on windows.
On Wed, Aug 7, 2013 at 12:33 AM, brent8149 notifications@github.comwrote:
Specifically, thats caused when I press 'i' to activate the text box, and then try to type. I am also unable to select the box. to move it around.
— Reply to this email directly or view it on GitHubhttps://github.com/wyolum/EPD/issues/2#issuecomment-22229189 .
Justin justin@wyolum.com
Justin justin@wyolum.com
Image.Image image mode=1 size=24x16 at 0x2C65238> 0 0
I just updated... try a git pull
On Wed, Aug 7, 2013 at 12:44 AM, brent8149 notifications@github.com wrote:
Image.Image image mode=1 size=24x16 at 0x2C65238> 0 0
— Reply to this email directly or view it on GitHubhttps://github.com/wyolum/EPD/issues/2#issuecomment-22229439 .
Justin justin@wyolum.com
Well, its reporting an error, but the image size is growing. after typing some (invisible) characters, and getting errors, the size is 360x16 edit: Even after updating
Can you delete the splash image when it comes up? Click and then delete key.
J
On Wed, Aug 7, 2013 at 12:49 AM, brent8149 notifications@github.com wrote:
Well, its reporting an error, but the image size is growing. after typing some (invisible) characters, and getting errors, the size is 360x16
— Reply to this email directly or view it on GitHubhttps://github.com/wyolum/EPD/issues/2#issuecomment-22229585 .
Justin justin@wyolum.com
Yes, deleting works.
On Wed, Aug 7, 2013 at 12:52 AM, Justin Shaw notifications@github.comwrote:
Can you delete the splash image when it comes up? Click and then delete key.
J
On Wed, Aug 7, 2013 at 12:49 AM, brent8149 notifications@github.com wrote:
Well, its reporting an error, but the image size is growing. after typing some (invisible) characters, and getting errors, the size is 360x16
— Reply to this email directly or view it on GitHub< https://github.com/wyolum/EPD/issues/2#issuecomment-22229585> .
Justin justin@wyolum.com
— Reply to this email directly or view it on GitHubhttps://github.com/wyolum/EPD/issues/2#issuecomment-22229669 .
But no improvement with the text?
Nope, I'll have to show it to you tomorrow (assuming its not just this machine)
On Wed, Aug 7, 2013 at 12:56 AM, Justin Shaw notifications@github.comwrote:
But no improvement with the text?
— Reply to this email directly or view it on GitHubhttps://github.com/wyolum/EPD/issues/2#issuecomment-22229749 .
I see the same thing when I run from py2exe generated executable.
Tomorrow I should have some time to try and fix it. I just got back to NJ last night. I also still have the Regular expressions book, and the Ipython book. Let me know when you would like them back, I can mail them.
If you will read the regexp book cover to cover, please take it. The other was a gift too. I can look up what I need on line, but it is nice to read a real book when you want to read the whole thing.
How did it go last week?
Justin
On Sun, Aug 11, 2013 at 11:47 PM, brent8149 notifications@github.comwrote:
Tomorrow I should have some time to try and fix it. I just got back to NJ last night. I also still have the Regular expressions book, and the Ipython book. Let me know when you would like them back, I can mail them.
— Reply to this email directly or view it on GitHubhttps://github.com/wyolum/EPD/issues/2#issuecomment-22472158 .
Justin justin@wyolum.com
Presentation went great! I think they were impressed, and I just tried to stress how much I was able to learn this summer. I also talked to them about the idea of interns working together in teams. They seemed to like the idea, so maybe next year they will push for team type projects. Then Mary took all the interns out for lunch, and we had a good time overall. Columbia office is nice.
If all goes well, I should be able to resume working in Columbia in 2 weeks.
Thanks again for the books! -Brent
Please add the ability to add text to wifit.py so people can edit there own badges.