PMXBOT Log file Viewer

Help | Karma | Search:

#pil logs for Monday the 5th of May, 2014

(Back to #pil overview) (Back to channel listing) (Animate logs)
[19:24:08] <travis-ci> [travis-ci] hugovk/Pillow#78 (house - e835dd7 : hugovk): The build passed.
[19:24:08] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/commit/e835dd70a118
[19:24:08] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/24478038
[19:52:11] <travis-ci> [travis-ci] hugovk/Pillow#79 (house - f4071ad : hugovk): The build passed.
[19:52:11] <travis-ci> [travis-ci] Change view : https://github.com/hugovk/Pillow/compare/e835dd70a118...f4071ade0a99
[19:52:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/hugovk/Pillow/builds/24480089
[20:54:00] <chas11man> I've found a bug in PIL where after a certain amount of draws, it would seem by number of pixels drawn, PIL errors and says something about unknown raw mode
[20:54:28] <chas11man> Basically it works fine, then I add one more draw and it breaks
[21:02:55] <chas11man> This is happening with both lines and text
[21:50:59] <mellow0324> anybody here?
[21:59:08] <aclark> mellow0324: o/
[22:13:34] <wiredfool> aclark: Heard from jnoller today
[22:13:46] <wiredfool> Pillow has a rackspace acct now
[22:17:44] <aclark> wiredfool: great!
[22:17:47] <aclark> got the creds?
[22:17:56] <wiredfool> yes.
[22:18:03] <wiredfool> will add you as a user
[22:18:40] <wiredfool> user/admin
[22:19:32] <wiredfool> now I just need time to setup the windows build system/ci there
[22:19:58] <mellow1638> Hi. Can you all offer any assistance?
[22:20:42] <aclark> cool
[22:20:49] <aclark> mellow1638: only if you ask a question :-)
[22:20:50] <mellow1638> I am havning installation issues on Mac OS X 10.8
[22:21:15] <mellow1638> ok i will describe issue and end with question, thanks :)
[22:22:48] <mellow1638> So i install homebrew, pip tried to install Pillow, got clang error, googled that... ended up manually istalling Pillow 2.3.1 running 'sudo setup.py...' then updating using pip
[22:24:03] <mellow1638> but, when I try to import (from PIL import Image) i get error
[22:24:35] <mellow1638> wait nvm
[22:25:09] <mellow1638> maybe i just needed to restart terminal after installation. It is working now
[22:26:39] <mellow1638> Ok so the import works for command lind, but how do I get the import to work if I want to use it in IDLE?
[22:27:19] <mellow1638> 'ImportError: No module named PIL'
[22:27:28] <aclark> mellow1638: you install it in IDLE
[22:27:38] <aclark> sounds like you have multi-python envs
[22:27:48] <wiredfool> yeah. your idle is running a different python
[22:27:58] <mellow1638> Yes.
[22:28:23] <mellow1638> Okay so how do I go about installing it in IDLE ?
[22:28:46] <mellow1638> simple google search?
[22:31:15] <wiredfool> idle appears to be using system python
[22:31:24] <mellow1638> Python 2.7.6 is linked to terminal and I'm trying to run 3.2 in IDLE
[22:31:37] <mellow1638> 2.7.6 is system in my case, no?
[22:32:01] <wiredfool> if you're in terminal, with idle running, what does ps as | grep idle show?
[22:33:21] <wiredfool> ps ax | grep idle
[22:33:41] <mellow1638> 10767 ?? S 0:05.25 /Applications/Python 3.2/IDLE.app/Contents/MacOS/IDLE /Applications/Python 3.2/IDLE.app/Contents/Resources/idlemain.py -psn_0_6104530 10769 ?? S 0:02.10 /Library/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python -c __import__('idlelib.run').run.main(True) 62581 10799 s000 R+ 0:00.00 grep idle
[22:34:48] <mellow1638> in terminal python --version returns 2.7.6
[22:35:18] <wiredfool> in terminal if you run python
[22:35:20] <wiredfool> then
[22:35:26] <wiredfool> from PIL import Image
[22:35:29] <wiredfool> does that work?
[22:35:37] <mellow1638> Yes i get the >>>
[22:35:48] <mellow1638> but i get traceback error in IDLE
[22:36:02] <mellow1638> *ImportError
[22:36:29] <wiredfool> ok, but in python 2.7, in the terminal?
[22:36:36] <wiredfool> does it work there
[22:36:51] <wiredfool> wait.
[22:36:57] <wiredfool> 2.7.6 can't be system python
[22:37:05] <wiredfool> I'm on 10.9.2, and I've got 2.7.3
[22:37:16] <wiredfool> that's got to be an installed or brew one
[22:37:40] <mellow1638> i may have updated while I was playing around with brew
[22:37:41] <wiredfool> try, from the pillow directory:
[22:38:10] <wiredfool> /Applications/Python 3.2/[[path to python]] setup.py install
[22:38:27] <wiredfool> where the path to python is the python executable in the 3.2 python directoy
[22:38:42] <mellow1638> ok 1 sec
[22:39:44] <wiredfool> scratch that
[22:39:56] <wiredfool> /usr/local/bin/python3.2
[22:39:59] <mellow1638> just in the nick of time
[22:40:19] <wiredfool> /usr/local/bin/python3.2 setup.py install
[22:40:56] <wiredfool> I think.
[22:41:15] <mellow1638> Traceback (most recent call last): File "setup.py", line 19, in <module> from setuptools import Extension, setup, find_packages ImportError: No module named setuptools
[22:41:17] <wiredfool> I'm really not sure how python is installed on my mac. It's been updated and dragged through from the 2.3 era
[22:41:56] <wiredfool> ah. you'll need setup tools.
[22:42:17] <wiredfool> If you've got virtualenv anywhere, the easiest way is to make a virtualenv with that python interpreter.
[22:42:28] <wiredfool> otherwise, you'll have to install setuptools for that python.
[22:43:20] <mellow1638> Sorry, I am a noob at installing packages. I understand virtual env is kinda like a copy environment right?
[22:43:30] <mellow1638> Which do you recommend?
[22:44:35] <wiredfool> virtualenvs are nice, though not sure how they interact with idle
[22:45:06] <wiredfool> I'd say install setuptools
[22:56:22] <mellow1638> Okay i have setup tools now i can run the previous line?
[22:56:30] <wiredfool> yep
[22:59:46] <wiredfool> woah. rackspace ssd backed images are faaaaaast
[23:00:48] <mellow1638> i'll have to look into that
[23:00:57] <mellow1638> i'm still getting errors
[23:01:28] <mellow1638> Something went wrong during the installation. See the error message above.
[23:02:14] <mellow1638> that's when i tried to reinstall setuptools, because
[23:03:04] <mellow1638> i got this: ImportError: No module named setuptools
[23:03:48] <mellow1638> funny thing is though. I did the curl thing to Install setuptools, but there is a setuptools.zip in the Pillow folder
[23:10:16] <mellow1638> did you give up wiredfool? Well I do really appreciate your help thus far!!!
[23:14:41] <wiredfool> sorry, had to get kid from school bus
[23:15:01] <wiredfool> curl just downloads
[23:24:28] <mellow324> Ok im mellow1638 finally got my irc client to connect
[23:24:44] <mellow324> if curl only downloads. how do i install??
[23:25:08] <wiredfool> unzip the zip file, probably in a different directoy
[23:25:36] <wiredfool> then go into the setup tools directory and install using /usr/local/bin/python3.2 setup.py install
[23:26:06] <aclark> there is a setuptools bootstrap too
[23:26:56] <aclark> curl https://bootstrap.pypa.io/ez_setup.py -o - | python
[23:27:42] <mellow324> wait that is what i ran
[23:28:26] <wiredfool> so, if you do that, then it installed using whatever python is first in the path
[23:28:31] <mellow324> but i still get error message saying it DNE when try to setup.py Pillow for 3.2
[23:28:50] <aclark> curl https://bootstrap.pypa.io/ez_setup.py -o - | python3.2
[23:28:51] <aclark> :-)
[23:29:06] <mellow324> ty aclark
[23:30:35] <mellow324> ok i just run that now i am going to navigate into Pillow directory for the millionth time lol
[23:31:23] <mellow324> and run '/usr/local/bin/python3.2 setup.py install'
[23:32:00] <mellow324> isn't there a shortcut for opening a terminal window at a specific finder location? anyone know?
[23:33:44] <aclark> mellow324: cd <drag finder folder in to terminal window>
[23:33:59] <mellow324> nvm there now… GRRR now this works but i apparently don't have gcc 4.0
[23:34:10] <mellow324> and thnks again aclark
[23:34:15] <aclark> yep
[23:34:19] <mellow324> curse apple for switching to LLVM
[23:34:45] <mellow324> Please check your Xcode installation
[23:34:58] <mellow324> unable to execute gcc-4.0: No such file or directory
[23:34:59] <mellow324> error: command 'gcc-4.0' failed with exit status 1
[23:36:47] <mellow324> im on most current (5.1.1) but i also have 4.6
[23:37:19] <mellow324> command line tools are installed
[23:42:38] <mellow324> installing gcc from brew is ok?
[23:45:24] <aclark> doesn't sound exactly right