Hi Peter,

thank you! I've opened the port on the firewall. Connecting to the server works fine now, and the databases synced without problems. BUT: Some days later Mnemosyne displayed this error: Sync failed, restoring from backup. The next sync will need to be full sync. How do I do a full sync? ^^ :) Maybe you should add a hint in this error message, how to resolve the problem? What's the problem at all? I can't reproduce this "error".

What I've done to solve this:
- rename the database on the smartphone and synced. -> result: The sync created a new database on the smartphone. The databases on the PC and on the smartphone have identical sizes. :)

Next problem: I get a white screen, when I try to review on my phone. I've clicked on "Don't use Chrome" und opened the address 127.0.0.1:8513 (the client told me to use this one) in my browser. -> Blank screen.

The console outputs this error [in web_server.py line 105, if I read it right]:
TypeError(initialise() got an unexpected keyword argument 'config dir'

Any idea?

Greetings,

Abakus

P.S.: I love remote reviewing! :D

Am 01.05.2014 07:53, schrieb Peter Bienstman:
Hi,

I would first to set everything up with client and server inside your home network. 
"Could not connect to server" in the Android client is about the sync protocol, 
not the web review protocol, so it's port 8512 you need to open on your firewall. On 
Windows, make sure 'allow other devices to sync with this computer' is checked, and that 
Mnemosyne is running there.

Then, as a next step, try setting it up with your Android outside of your home 
network. For that case, the fileserver needs to have the externally visible IP 
address of your router, and you need to set up port forwarding on your router 
to forward port 8512 to your windows machine. Or, you could just opt to only 
sync if you're at home, because you don't need to be connected to the network 
in order to do your reviews.

Good luck!

Peter

-----Original Message-----
From: [email protected] [mailto:mnemosyne-
[email protected]] On Behalf Of [email protected]
Sent: 30 April 2014 23:21
To: [email protected]
Subject: [mnemosyne-proj-users] python android client

Hello guys,

I've tried to install mnemosyne on my smartphone, but it doesn't work. I
always get the message "Could not connect to server" on the smartphone.

This is what I have tried:
0. uninstalled mnemosyne on windows, reinstalled newest version, installed
newest version of python mnemosyne client 1. added exception for firewall
(mnemosyne.exe in C:\Program Files (x86)) 2. disabled firewall in MS
Windows 3. changed port, changed it back to 8080 afterwards
(mnemosyne.py) 4. used "localhost" as IP instead of 192.168.1.2
(mnemosyne.py) <-- Sync Server IP 5. uploaded database to sdcard manually

I've tried to install the beta in the past, therefore I've used the old version 
of
"sl4a" and python.

The config in mnemosyne.py:

data_dir = "/sdcard/Mnemosyne/"
filename = "default.db"
sync_server = "192.168.1.2"
sync_port = 8080
sync_username = "Tester0007"
sync_password = "password"

Any ideas? Do I need to enable port forwarding?

Greetings,

Abakus


--
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 mnemosyne-proj-
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mnemosyne-proj-users/a2e80db0-
d35a-43c4-bf2c-0e061adcb529%40googlegroups.com
<https://groups.google.com/d/msgid/mnemosyne-proj-users/a2e80db0-
d35a-43c4-bf2c-
0e061adcb529%40googlegroups.com?utm_medium=email&utm_source=foo
ter> .
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/537361D1.4040302%40arcor.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to