PMXBOT Log file Viewer

Help | Karma | Search:

#pil logs for Wednesday the 30th of April, 2014

(Back to #pil overview) (Back to channel listing) (Animate logs)
[02:52:58] <mysterpaul> anyone in here?
[03:04:13] <wiredfool> sort of
[03:10:35] <mysterpaul> i see.
[03:11:11] <wiredfool> I idle, I'm in and out
[03:11:16] <wiredfool> what's up
[03:12:50] <mysterpaul> trying to install pillow on mac and failing
[03:13:05] <wiredfool> what osx version, which python?
[03:14:45] <mysterpaul> 10.9.2, and I have python 3.4 but installs seem to default to 2.7
[03:14:51] <wiredfool> this is our most popular issue: https://github.com/python-imaging/Pillow/issues/527
[03:14:58] <wiredfool> system python?
[03:18:51] <mysterpaul> not sure exactly, I believe the system uses 2.7.5 but I have been coding in 3.4
[03:25:39] <wiredfool> so what error are you getting when installing pillow
[03:28:55] <mysterpaul> well, I just tried one of the methods mentioned in that link and it seemed to work, but I think it installed for 2.7, and importing the module still doesn't seem to work
[03:30:15] <mysterpaul> and I'd like to use 3.4 since that's what I've been learning
[03:30:21] <wiredfool> right.
[03:30:40] <wiredfool> 3.4 installed from source, or homebrew, or ...?
[03:31:19] <wiredfool> and what specific error are you getting when importing the module?
[03:32:03] <mysterpaul> err..I believed I just installed the dmg from python.org
[03:32:28] <mysterpaul> ImportError: No module named PIL
[03:33:33] <wiredfool> and that's in 3.4? or 2.7?
[03:33:43] <mysterpaul> both
[03:33:47] <wiredfool> ah
[03:34:29] <wiredfool> did you install with pip?
[03:36:10] <mysterpaul> I tried, but it never worked for me. installing with brew using the someone on the forum's suggestion seemed to work: brew install Homebrew/python/pillow
[03:36:43] <mysterpaul> and that installed everything for python 2.7, but still no luck importing
[03:44:26] <wiredfool> you probably have 2 python 2.7s
[03:44:32] <wiredfool> one system, one homebrew
[03:45:30] <mysterpaul> hmm
[03:47:31] <mysterpaul> is there something I can do to make sure modules are installed for 3.4?
[03:47:59] <wiredfool> if you make sure the right pip is running
[03:48:03] <wiredfool> that should do it.
[03:48:14] <wiredfool> there should be ab alias to pip3.4 or somthing like that
[03:48:20] <wiredfool> be an alias
[03:48:34] <wiredfool> which pip might help
[03:48:38] <wiredfool> or which pyp3.4
[03:49:05] <wiredfool> or pip-3.4
[03:50:02] <mysterpaul> which pip3.4 worked
[03:50:26] <mysterpaul> so, something like pip3.4 install pillow?
[03:50:29] <wiredfool> yep
[03:51:19] <mysterpaul> that worked!
[03:51:26] <mysterpaul> thank you
[03:51:51] <mysterpaul> will that have installed the prereqs as well?
[03:52:26] <mysterpaul> I believe the prereqs installed under 2.7 as well
[03:52:42] <mysterpaul> when I originally used brew
[03:52:51] <wiredfool> the prereqs are all system libraries, not python. it should pick up the brew ones by default
[03:53:08] <wiredfool> (well, all except for tk, which is packaged with python, most of the time)
[03:53:30] <mysterpaul> I've used tkinter, so I'm assuming I should be good for tk
[03:53:42] <wiredfool> one would hope
[03:53:56] <mysterpaul> ha
[04:13:44] <mysterpaul> well I'm out, thanks much for your help
[07:11:59] <travis-ci> [travis-ci] hugovk/Pillow#70 (patch-1 - 522e0ff : Hugo): The build has errored.
[07:11:59] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/compare/f6262505cd18...522e0ff31cdb
[07:11:59] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/24079279
[07:23:33] <travis-ci> [travis-ci] hugovk/Pillow#70 (patch-1 - 522e0ff : Hugo): The build has errored.
[07:23:33] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/compare/f6262505cd18...522e0ff31cdb
[07:23:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/24079279
[07:31:57] <travis-ci> [travis-ci] hugovk/Pillow#56 (master - 5ca5652 : wiredfool): The build has errored.
[07:31:57] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/compare/7ba5962512ca...8c5ed8a87334
[07:31:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/23292576
[07:49:01] <travis-ci> [travis-ci] hugovk/Pillow#71 (master - f626250 : wiredfool): The build has errored.
[07:49:01] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/compare/8c5ed8a87334...f6262505cd18
[07:49:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/24081154
[07:56:19] <travis-ci> [travis-ci] hugovk/Pillow#72 (test - e7cdb07 : hugovk): The build failed.
[07:56:19] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/commit/e7cdb07249c1
[07:56:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/24081272
[08:16:18] <travis-ci> [travis-ci] hugovk/Pillow#73 (patch-1 - d8e4ed1 : hugovk): The build passed.
[08:16:18] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/compare/522e0ff31cdb...d8e4ed11986d
[08:16:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/24082212
[08:19:48] <travis-ci> [travis-ci] hugovk/Pillow#74 (patch-1 - 0de2212 : hugovk): The build passed.
[08:19:48] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/compare/d8e4ed11986d...0de2212653a2
[08:19:48] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/24082335
[08:52:23] <travis-ci> [travis-ci] python-imaging/Pillow#1025 (master - 73eafbb : Alex Clark ☺): The build passed.
[08:52:23] <travis-ci> [travis-ci] Change view : https://github.com/python-imaging/Pillow/compare/f6262505cd18...73eafbb55f50
[08:52:23] <travis-ci> [travis-ci] Build details : http://travis-ci.org/python-imaging/Pillow/builds/24084183
[20:31:41] <chas11man> I'm getting a really weird bug where after x number of draws on a picture (I'm just doing lines and text) I get SystemError: unknown raw mode
[20:32:00] <chas11man> Granted I'm doing lots of draws
[20:33:34] <chas11man> Does anyone know why this might occur?
[20:38:53] <wiredfool> That's strange
[20:39:12] <wiredfool> is it consistent?
[20:39:23] <wiredfool> can you replicate with a small script?
[20:46:57] <chas11man> Yes, I just did actually. It seems to be when I use too much draw.text
[20:48:44] <chas11man> So I'm drawing lines and text. I open a blank gif, do the lines first, save that to a new file, then open that file and do the text and save it in a 3rd file. It works when I do that but the quality is greatly diminished
[20:49:09] <chas11man> If I do the text first and then the lines it crashes
[20:51:00] <chas11man> I'm using 2 fonts and at varying sizes. It seems to only be able to handle so many of one of the ttfs that I'm using
[20:51:13] <chas11man> It's a .ttf file but it's sort of a scripty looking font
[20:52:01] <chas11man> Nevermind, the font doesn't seem to matter
[20:52:09] <chas11man> Nevermind, the font doesn't seem to matter
[20:53:32] <chas11man> What's even weirder is that if the coordinates (x,y) of the draw are the same, it's fine, but if I move it just one pixel it crashes.
[20:56:08] <chas11man> It is literally the matter of adding one more draw but only in certain ways
[21:00:30] <wiredfool> I'd love to be able to replicate that here.
[21:00:36] <wiredfool> but I've got to run now.