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

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: 15 December 2018 21:45
To: mnemosyne-proj-users <[email protected]>
Subject: [mnemosyne-proj-users] Error on syncing

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
--
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 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/67964ab3-9f32-42c0-9175-ec09604b6c6c%40googlegroups.com<https://groups.google.com/d/msgid/mnemosyne-proj-users/67964ab3-9f32-42c0-9175-ec09604b6c6c%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/521fc920b05c4e409ce2349fd0416653%40xmail101.UGent.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to