Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change dir debug error #76

Open
JiangLongLiu opened this issue Jul 6, 2018 · 0 comments
Open

change dir debug error #76

JiangLongLiu opened this issue Jul 6, 2018 · 0 comments

Comments

@JiangLongLiu
Copy link

JiangLongLiu commented Jul 6, 2018

When I changed the directory from the original /home/anki/anki to /mnt/hgfs/ankiServer, then the client clicked the sync button and an error occurred.

root@ankiserver:/mnt/hgfs/AnkiServer# ankiserverctl.py debug production.ini
Starting server in PID 11724.
serving on http://192.168.1.105:27701

Exception happened during processing of request from ('192.168.1.175', 10990)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Paste-2.0.3-py2.7.egg/paste/httpserver.py", line 1085, in process_request_in_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 652, in init
self.handle()
File "/usr/local/lib/python2.7/dist-packages/Paste-2.0.3-py2.7.egg/paste/httpserver.py", line 459, in handle
BaseHTTPRequestHandler.handle(self)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/local/lib/python2.7/dist-packages/Paste-2.0.3-py2.7.egg/paste/httpserver.py", line 454, in handle_one_request
self.wsgi_execute()
File "/usr/local/lib/python2.7/dist-packages/Paste-2.0.3-py2.7.egg/paste/httpserver.py", line 304, in wsgi_execute
self.wsgi_start_response)
File "/usr/local/lib/python2.7/dist-packages/Paste-2.0.3-py2.7.egg/paste/translogger.py", line 69, in call
return self.application(environ, replacement_start_response)
File "/usr/local/lib/python2.7/dist-packages/Paste-2.0.3-py2.7.egg/paste/urlmap.py", line 216, in call
return app(environ, start_response)
File "build/bdist.linux-x86_64/egg/webob/dec.py", line 129, in call
resp = self.call_func(req, *args, **kw)
File "build/bdist.linux-x86_64/egg/webob/dec.py", line 193, in call_func
return self.func(req, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/AnkiServer-2.0.6-py2.7.egg/AnkiServer/apps/sync_app.py", line 501, in call
session = self.session_manager.load(hkey, self.create_session)
File "/usr/local/lib/python2.7/dist-packages/AnkiServer-2.0.6-py2.7.egg/AnkiServer/apps/sync_app.py", line 694, in load
session = self.sessions[hkey] = session_factory(res[1], res[2])
File "/usr/local/lib/python2.7/dist-packages/AnkiServer-2.0.6-py2.7.egg/AnkiServer/apps/sync_app.py", line 409, in create_session
self.setup_new_collection)
File "/usr/local/lib/python2.7/dist-packages/AnkiServer-2.0.6-py2.7.egg/AnkiServer/apps/sync_app.py", line 293, in init
os.mkdir(path)

OSError: [Errno 2] No such file or directory: '/home/anki/anki/collections/liujl'


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant