These are chat archives for fossasia/open-event-server

21st
Oct 2016
Nguyen Huynh
@hdinguyen
Oct 21 2016 04:15
Hi, I got a error with create_db.py as below
(open-event) invisible-boy:open-event-orga-server nguyenh$ python create_db.py
Your login is 'super_admin'.
Enter email for super_admin : hdinguyen@gmail.com
Enter password for super_admin : Traceback (most recent call last):
File "create_db.py", line 36, in <module>
create_default_user()
File "create_db.py", line 28, in create_default_user
password = getpass("Enter password for super_admin : ")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/getpass.py", line 71, in unix_getpass
passwd = _raw_input(prompt, stream, input=input)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/getpass.py", line 133, in _raw_input
line = input.readline()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 451, in readline
data = self._sock.recv(self._rbufsize)
File "/Users/nguyenh/workspace/open-event/lib/python2.7/site-packages/eventlet/greenio/py2.py", line 164, in recv
raise IOError(*e.args)
IOError: [Errno 22] Invalid argument
any suggestion to pass this issue ?
Nguyen Huynh
@hdinguyen
Oct 21 2016 04:38
Passed by hardcode password in create_db.py file