[p2pu-dev] l10n in settings.py, working pip freeze?

Paul Bakulich paulbakulich at gmail.com
Tue Jan 31 04:29:54 UTC 2012


Lucas, Zuzel...

I just want to say thank you, thank you, thank you.

I had been struggling with fixing this Image bug for hours.

Paul Bakulich
IRC: codepal


On 31 January 2012 09:53, Lucas Vickers <lucasvickers at gmail.com> wrote:

> Super shady, looks like it's a hack in python to be win64 compatible.
> Commenting that out did in fact do the trick, now onto the next error.
>  Will keep at it.
>
> Thank you Zuzel
>
>
> On Mon, Jan 30, 2012 at 3:26 PM, zuzel.vp <zuzel.vp at gmail.com> wrote:
>
>> First time seeing that error with with the Image module but there
>> seams to be some threads in google talking about it:
>> http://goo.gl/PzDhj
>>
>> On Mon, Jan 30, 2012 at 10:38 AM, Lucas Vickers <lucasvickers at gmail.com>
>> wrote:
>> > Hey guys,
>> >
>> > Got this all to work except I get a memory error dealing with Image.
>>  Please
>> > take a look at the trace below and let me know if anyone has any ideas.
>> >
>> > In the virtualenv if I type "python" "import Image", I do not get an
>> error.
>> >
>> > thanks!
>> >
>> >  Traceback (most recent call last):
>> >    File
>> >
>> "/home/django/.virtualenvs/lernanta/lib/python2.7/site-packages/django/core/handlers/wsgi.py",
>> > line 250, in __call__
>> >      self.load_middleware()
>> >    File
>> >
>> "/home/django/.virtualenvs/lernanta/lib/python2.7/site-packages/django/core/handlers/base.py",
>> > line 45, in load_middleware
>> >      mod = import_module(mw_module)
>> >    File
>> >
>> "/home/django/.virtualenvs/lernanta/lib/python2.7/site-packages/django/utils/importlib.py",
>> > line 35, in import_module
>> >      __import__(name)
>> >    File "/home/django/lernanta/lernanta/apps/users/middleware.py", line
>> 4,
>> > in <module>
>> >      from users.models import UserProfile
>> >    File "/home/django/lernanta/lernanta/apps/users/models.py", line 22,
>> in
>> > <module>
>> >      from drumbeat import storage
>> >    File "/home/django/lernanta/lernanta/apps/drumbeat/storage.py", line
>> 2,
>> > in <module>
>> >      import Image
>> >    File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 45, in
>> > <module>
>> >      __import__("FixTk")
>> >    File "/usr/lib/python2.7/lib-tk/FixTk.py", line 15, in <module>
>> >      import ctypes
>> >    File "/usr/lib/python2.7/ctypes/__init__.py", line 549, in <module>
>> >      CFUNCTYPE(c_int)(lambda: None)
>> >  MemoryError
>> >
>> >
>> >
>> > On Fri, Jan 27, 2012 at 3:42 AM, Lucas Vickers <lucasvickers at gmail.com>
>> > wrote:
>> >>
>> >> Appears that I need to explicitlly tell the new virtualenvwrapper to
>> use
>> >> global packages.
>> >>
>> >> also yes looks like the local l10n.  Thank you both!
>> >>
>> >> Lucas
>> >>
>> >>
>> >> On Mon, Jan 23, 2012 at 6:00 PM, zuzel.vp <zuzel.vp at gmail.com> wrote:
>> >>>
>> >>> Image is installed by running:
>> >>>
>> >>> sudo apt-get install python-imaging
>> >>>
>> >>> If it is installed in your system but the virtual env is ignoring
>> >>> site-packages maybe you created the virtual env with the
>> >>> --no-site-packages option: http://pastie.org/3239991?
>> >>>
>> >>> l10n.locals or
>> >>>
>> https://github.com/p2pu/lernanta/blob/master/lernanta/apps/l10n/locales.py
>> ?
>> >>>
>> >>> my pip freeze: http://pastie.org/3240007
>> >>>
>> >>> --
>> >>> Thanks,
>> >>>    Zuzel
>> >>>
>> >>> On Sun, Jan 22, 2012 at 11:27 PM, Lucas Vickers <
>> lucasvickers at gmail.com>
>> >>> wrote:
>> >>> > Hello,
>> >>> >
>> >>> > I couldn't find a searchable mailing list history so I apologize for
>> >>> > potential repeat question.
>> >>> >
>> >>> > I am currently unable to find the package Image.  There are too many
>> >>> > options
>> >>> > for me to guess
>> >>> >   File "/home/django/lernanta/lernanta/apps/drumbeat/storage.py",
>> line
>> >>> > 2, in
>> >>> > <module>
>> >>> >     import Image
>> >>> > ImportError: No module named Image
>> >>> >
>> >>> > I am also unable to find l10n.locals and had no luck guessing the
>> >>> > package.
>> >>> >
>> >>> > I am on ubuntu and followed the
>> >>> >
>> >>> > instructions
>> https://github.com/p2pu/lernanta/wiki/Lernanta%27s-Setup-Install,
>> >>> > which brings me to the question -- does anyone have a functional pip
>> >>> > freeze
>> >>> > file they could send my way to save me from tracking down each and
>> >>> > every
>> >>> > package?
>> >>> >
>> >>> > thanks!
>> >>> > Lucas
>> >>> >
>> >>> > _______________________________________________
>> >>> > p2pu-dev mailing list
>> >>> > p2pu-dev at lists.p2pu.org
>> >>> > http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>> >>> >
>> >>> _______________________________________________
>> >>> p2pu-dev mailing list
>> >>> p2pu-dev at lists.p2pu.org
>> >>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > p2pu-dev mailing list
>> > p2pu-dev at lists.p2pu.org
>> > http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>> >
>> _______________________________________________
>> p2pu-dev mailing list
>> p2pu-dev at lists.p2pu.org
>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>>
>
>
> _______________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>
>


-- 
*Paul AL Bakulich*
*
*
*Association for Computing Machinery <http://member.acm.org/~paulhomebus>*

http://palbakulich.me/
http://twitter.com/#!/palhmbs
Off +64 9 439 1457
SKYPE - Availability:* * <http://goog_793294039/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20120131/77626c9c/attachment-0001.html>


More information about the p2pu-dev mailing list