[pypy-dev] IOError with getpass() in django
Maciej Fijalkowski
fijall at gmail.com
Thu May 31 09:15:54 CEST 2012
On Wed, May 30, 2012 at 11:42 PM, Gelonida N <gelonida at gmail.com> wrote:
> Hi,
>
> I reposted as I noticed, that my inital subject line doesn't really
> indicate what's the issue.
> ------------------------------**------------------------------**-------
>
> I wanted to make my very first test with pypy by using django and sqlite3
> on a Linux host (Ubuntu 12.04)
>
> when running ./manage.py syncdb I'm asked to enter a password and pypy
> aborts as soon as I press enter.
>
> File "/home/klausf/mypypy/site-**packages/django/contrib/auth/**
>> management/commands/**createsuperuser.py", line 109, in handle
>> password = getpass.getpass()
>> File "/usr/lib/pypy/lib-python/2.7/**getpass.py", line 74, in
>> unix_getpass
>> stream.flush() # issue7208
>> IOError: [Errno 29] Illegal seek: '<fdopen>'
>>
>
>
> Version info:
> Python 2.7.2 (1.8+dfsg-2, Feb 19 2012, 19:18:08)
> [PyPy 1.8.0 with GCC 4.6.2]
>
> Django version: 1.3.1
>
>
> I even found a bug, which seems related ( https://bugs.pypy.org/issue872 )
>
> However I don't understand the impact and what this means exactly.
> Should I try to install another pypy (and if yes, how can I install it
> next to an existing one on Ubuntu 12.04)?
>
> Thanks in advance for your help.
>
No, it's a bug and we did not fix it yet. I'll have a look some time today.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120531/1c7bcab7/attachment.html>
More information about the pypy-dev
mailing list