Error on syncing

34 views
Skip to first unread message

garriso...@gmail.com

unread,
Dec 15, 2018, 10:19:11 PM12/15/18
to mnemosyne-proj-users
Hi,

I have a headless remote server (Ubuntu 16.04.5 LTS) that I use for Mnemosyne as both a web server and a sync server, using "mnemosyne --sync-server --web-server". I then connect to it remotely from my iPhone (web browser) and from my Mac (Mnemosyne 2.6.1 as a sync client). It seems to work fine, but every time it syncs with my Mac, it prints an error message:

AttributeError("'WebServerThread' object has no attribute 'release_database_after_timeout'",)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 1229, in communicate
    req.respond()
  File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 1033, in respond
    self.server.gateway(self).respond()
  File "/usr/local/lib/python3.5/dist-packages/cheroot/wsgi.py", line 142, in respond
    response = self.req.server.wsgi_app(self.env, self.start_response)
  File "/usr/local/lib/python3.5/dist-packages/Mnemosyne-2.6.1-py3.5.egg/mnemosyne/web_server/web_server.py", line 155, in wsgi_app
    self.release_database_after_timeout.ping()
AttributeError: 'WebServerThread' object has no attribute 'release_database_after_timeout'

Is this anything to be concerned about? Are my cards getting saved correctly? Also, is it possible to set a username/password on the headless sync server? I don't see an option to do so.

Thanks,
Garrison Taylor

Peter Bienstman

unread,
Dec 17, 2018, 2:54:30 AM12/17/18
to mnemosyne-...@googlegroups.com

Hi,

 

I’m guessing there’s some sort of race condition when cleaning up after the sync. If your data gets nicely synced across, this will be harmless.

 

Passwords are set in config.db. You can use the following SQL commands on  a server without a GUI:

 

update config set value="<username>" where key = "remote_access_username"

update config set value="<password>" where key = "remote_access_password"

 

Cheers,

 

Peter

 

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/67964ab3-9f32-42c0-9175-ec09604b6c6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages