I have a box running Debian sid. I make a new directory, install everything as documented, and I can't run the server. Help?
$ mkdir anki$ virtualenv anki$ cd anki$ source bin/activate(anki)$ git clone https://github.com/dsnopek/anki-sync-server.git(anki)$ cd anki-sync-server(anki)$ cp example.ini production.ini(anki)$ ./ankiserverctl.py debugTraceback (most recent call last):File "./ankiserverctl.py", line 169, in <module>main()File "./ankiserverctl.py", line 151, in mainstartsrv(sys.argv[2], True)File "./ankiserverctl.py", line 42, in startsrvsubprocess.call( ["paster", "serve", configpath], shell=False)File "/usr/lib/python2.7/subprocess.py", line 522, in callreturn Popen(*popenargs, **kwargs).wait()File "/usr/lib/python2.7/subprocess.py", line 710, in __init__errread, errwrite)File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_childraise child_exceptionOSError: [Errno 2] No such file or directory
OK, maybe I should add a user first. That appears to work.
./ankiserverctl.py adduser joe2Enter password for joe2:Password:
The data and password files and directories look OK, as far as I can see, but if I try running the server, the above error shows up just like before.
./ankiserverctl.py debugTraceback (most recent call last):File "./ankiserverctl.py", line 169, in <module>main()File "./ankiserverctl.py", line 151, in mainstartsrv(sys.argv[2], True)File "./ankiserverctl.py", line 42, in startsrvsubprocess.call( ["paster", "serve", configpath], shell=False)File "/usr/lib/python2.7/subprocess.py", line 522, in callreturn Popen(*popenargs, **kwargs).wait()File "/usr/lib/python2.7/subprocess.py", line 710, in __init__errread, errwrite)File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_childraise child_exceptionOSError: [Errno 2] No such file or directory
Help? The same error occurs if I use start instead of debug.