IOError with getpass() in django

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.
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.

On 05/31/2012 09:15 AM, Maciej Fijalkowski wrote:
Thanks for your answer. Shouldn't this affect all users trying to use Django on a new project? I didn't find any way by means of command line arguments to avoid the call to getpass() How do others work around it? What I did in the end was, that I just called the first "./manage.py syncdb" with ordinary CPython. Subsequent calls won't call getpass() anymore and should thus be fine.

On 05/31/2012 09:15 AM, Maciej Fijalkowski wrote:
Thanks for your answer. Shouldn't this affect all users trying to use Django on a new project? I didn't find any way by means of command line arguments to avoid the call to getpass() How do others work around it? What I did in the end was, that I just called the first "./manage.py syncdb" with ordinary CPython. Subsequent calls won't call getpass() anymore and should thus be fine.
participants (3)
-
Armin Rigo
-
Gelonida N
-
Maciej Fijalkowski