[pypy-dev] IOError with getpass() in django

Gelonida N gelonida at gmail.com
Wed May 30 23:42:46 CEST 2012


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.



More information about the pypy-dev mailing list