Dear Sriram,
My bbdb is clean, with no id's or extraneous fields. I can send you a
copy of it if this would help.
I made a new account on the carddav server: "testing"
I put a copy into the 'default place' "~/.bbdb" then did the following
to create a new profile. What follows is the response.
python ~/Source/ASynK/asynk.py --op=create-profile --name=testing --db bb cd --store ~/.bbdb
http://cdte
st.sspx.ph/remote.php/carddav/ --folder default default
Applying base config from file /home/jenkins/Source/ASynK/config/config_v8.json...
Applying base config from file /home/jenkins/Source/ASynK/config/config_v8.json...done
Applying user customizations from file /home/jenkins/.asynk/config.py...
Applying user customizations from file /home/jenkins/.asynk/config.py...done
[15:21:32.315 INFO] Debug logging to file: /home/jenkins/.asynk/logs/asynk_logs.2017-03-12.15-21-32.315277
[15:21:32.316 INFO] Deleting log files older than 7 days, if any...
[15:21:32.317 INFO] Deleting log files older than 7 days, if any...done
[15:21:32.388 INFO] Successfully added profile: testing
Now I start the sync with the following:
python ~/Source/ASynK/asynk.py --op=sync --name=testing
And what comes next:
Applying base config from file /home/jenkins/Source/ASynK/config/config_v8.json...
Applying base config from file /home/jenkins/Source/ASynK/config/config_v8.json...done
Applying user customizations from file /home/jenkins/.asynk/config.py...
Applying user customizations from file /home/jenkins/.asynk/config.py...done
[15:25:10.787 INFO] Debug logging to file: /home/jenkins/.asynk/logs/asynk_logs.2017-03-12.15-25-10.787661
[15:25:10.788 INFO] Parsing BBDB file /home/jenkins/.bbdb...
[15:25:10.788 INFO] Parsing BBDB Store with encoding utf-8...
[15:25:11.143 INFO] Parsing BBDB Store with encoding utf-8...Success
[15:25:11.143 INFO] Successfully parsed 1018 entries.
Please enter username for cd2: testuser
Enter password for cd2: testpass
[15:25:17.939 INFO] Logging into CardDAV server:
http://cdtest.sspx.ph/remote.php/carddav/ - user: testuser...
Found current principal path: /remote.php/carddav/principals/testuser/
[15:25:49.224 INFO] Logging into CardDAV server:
http://cdtest.sspx.ph/remote.php/carddav/ - user: testuser... done.
[15:25:49.224 INFO] Deleting log files older than 7 days, if any...
[15:25:49.225 INFO] Deleting log files older than 7 days, if any...done
[15:25:49.225 INFO] Parsing BBDB file /home/jenkins/.bbdb...
[15:25:49.225 INFO] Parsing BBDB Store with encoding utf-8...
[15:25:49.595 INFO] Parsing BBDB Store with encoding utf-8...Success
[15:25:49.595 INFO] Successfully parsed 1018 entries.
Please enter username for cd2: testuser
Enter password for cd2: testpass
[15:25:55.372 INFO] Logging into CardDAV server:
http://cdtest.sspx.ph/remote.php/carddav/ - user: testuser...
Found current principal path: /remote.php/carddav/principals/testuser/
[15:26:04.182 INFO] Logging into CardDAV server:
http://cdtest.sspx.ph/remote.php/carddav/ - user: testuser... done.
[15:26:04.182 INFO] Deleting BBDB backup files older than 10 days, if any...
[15:26:04.235 INFO] Deleting BBDB backup files older than 10 days, if any...done
[15:26:04.235 INFO] Backedup BBDB Store (/home/jenkins/.bbdb) to file: /home/jenkins/.asynk/backups/bbdb_backup.testing.2017-03-12.15-26-04.235715
[15:26:04.236 INFO] Last synk for profile testing was at: 1980-01-01T00:00:00.00+00:00
[15:26:08.680 INFO] ==== bb =====
[15:26:08.680 INFO] New : 1018
[15:26:08.680 INFO] Modified : 0
[15:26:08.680 INFO] Unchanged : 0
[15:26:08.681 INFO] =====
[15:26:08.681 INFO] Total Entries : 1018
[15:26:08.681 INFO] Deleted : 0
[15:26:08.681 INFO] ==== cd =====
[15:26:08.681 INFO] New : 0
[15:26:08.681 INFO] Modified : 0
[15:26:08.681 INFO] Unchanged : 0
[15:26:08.681 INFO] =====
[15:26:08.681 INFO] Total Entries : 0
[15:26:08.681 INFO] Deleted : 0
[15:26:08.681 INFO] Number of entries modified both places (conflicts): 0
[15:26:08.681 INFO] conflict resolve direction : 1. db1id: bb, db2id: cd
[15:26:08.682 INFO] After conflict resolution, size of bb mod : 0
[15:26:08.682 INFO] After conflict resolution, size of cd mod : 0
[15:26:08.682 INFO] After conflict resolution, size of bb del : 0
[15:26:08.682 INFO] After conflict resolution, size of cd del : 0
[15:26:08.682 INFO] =====================================================
[15:26:08.682 INFO] Sending New bb entries to cd
[15:26:08.682 INFO] =====================================================
[15:26:08.682 INFO] 1018 new entries to be synched.
[15:26:13.390 INFO] Successfully created CardDAV entry for Grzegor Wegener (a733ac30116e82ce3ce8ffdd56fb26b1)
..... [a lot of entries created - this takes quite a while].
[16:33:08.788 INFO] Successfully created CardDAV entry for Gimnazjum i Liceum im. św. Tomasza z Akwinu (fd661ac154fe70da250d7ee291f5f632)
[16:33:08.789 INFO] Saving BBDB File /home/jenkins/.bbdb...
[16:33:08.890 INFO] Saving BBDB File /home/jenkins/.bbdb...done
[16:33:08.890 INFO] =====================================================
[16:33:08.890 INFO] Sending Modified bb entries to cd
[16:33:08.890 INFO] =====================================================
[16:33:08.890 INFO] No modified entries that need to be synched
[16:33:08.890 INFO] =====================================================
[16:33:08.890 INFO] Synching Deleted bb entries to cd
[16:33:08.890 INFO] =====================================================
[16:33:08.891 INFO] No deleted entries that need to be synched.
[16:33:08.891 INFO] =====================================================
[16:33:08.891 INFO] Sending New cd entries to bb
[16:33:08.891 INFO] =====================================================
[16:33:08.891 INFO] No new entries that need to be synched
[16:33:08.891 INFO] =====================================================
[16:33:08.891 INFO] Sending Modified cd entries to bb
[16:33:08.891 INFO] =====================================================
[16:33:08.891 INFO] No modified entries that need to be synched
[16:33:08.891 INFO] =====================================================
[16:33:08.891 INFO] Synching Deleted cd entries to bb
[16:33:08.891 INFO] =====================================================
[16:33:08.891 INFO] No deleted entries that need to be synched.
[16:33:09.069 INFO] Updating item inventory...
[16:33:09.167 INFO] Updating item inventory...done
So it seems to work well.
However then I do the sync again [just after doing this]:
jenkins@T450s% python ~/Source/ASynK/asynk.py --op=sync --name=testing [~]
Applying base config from file /home/jenkins/Source/ASynK/config/config_v8.json...
Applying base config from file /home/jenkins/Source/ASynK/config/config_v8.json...done
Applying user customizations from file /home/jenkins/.asynk/config.py...
Applying user customizations from file /home/jenkins/.asynk/config.py...done
[16:43:42.766 INFO] Debug logging to file: /home/jenkins/.asynk/logs/asynk_logs.2017-03-12.16-43-42.766572
[16:43:42.767 INFO] Parsing BBDB file /home/jenkins/.bbdb...
[16:43:42.767 INFO] Parsing BBDB Store with encoding utf-8...
[16:43:43.048 INFO] Parsing BBDB Store with encoding utf-8...Success
[16:43:43.048 INFO] Successfully parsed 1018 entries.
Please enter username for cd2: testuser
Enter password for cd2: testpass
[16:43:49.469 INFO] Logging into CardDAV server:
http://cdtest.sspx.ph/remote.php/carddav/ - user: testuser...
Found current principal path: /remote.php/carddav/principals/testuser/
[16:43:55.442 INFO] Logging into CardDAV server:
http://cdtest.sspx.ph/remote.php/carddav/ - user: testuser... done.
[16:43:55.442 INFO] Deleting log files older than 7 days, if any...
[16:43:55.442 INFO] Deleting log files older than 7 days, if any...done
[16:43:55.442 INFO] Parsing BBDB file /home/jenkins/.bbdb...
[16:43:55.443 INFO] Parsing BBDB Store with encoding utf-8...
[16:43:55.729 INFO] Parsing BBDB Store with encoding utf-8...Success
[16:43:55.730 INFO] Successfully parsed 1018 entries.
Please enter username for cd2: testuser
Enter password for cd2: testpass
[16:44:00.554 INFO] Logging into CardDAV server:
http://cdtest.sspx.ph/remote.php/carddav/ - user: testuser...
Found current principal path: /remote.php/carddav/principals/testuser/
[16:44:05.064 INFO] Logging into CardDAV server:
http://cdtest.sspx.ph/remote.php/carddav/ - user: testuser... done.
[16:44:05.065 INFO] Deleting BBDB backup files older than 10 days, if any...
[16:44:05.065 INFO] Deleting BBDB backup files older than 10 days, if any...done
[16:44:05.065 INFO] Backedup BBDB Store (/home/jenkins/.bbdb) to file: /home/jenkins/.asynk/backups/bbdb_backup.testing.2017-03-12.16-44-05.065909
[16:44:05.066 INFO] Last synk for profile testing was at: 2017-03-12T14:33:08.96Z
and it hangs for quite awhile at this point.
I will write a follow up message when it resolves whatever it is doing.
JJ +
In die Sat, Mar 11 2017, Sriram Karra scripsit:
> >> >>> an email to
asynk+un...@googlegroups.com.
> >> >>> For more options, visit
https://groups.google.com/d/optout.
> >> >>>
> >> >>
> >> >>
> >> >
> >>
> >
> > --
> > Find ASynK useful? Consider leaving a tip at this Bitcoin address:
> > 1KarraEGixRyScZ9qFHdekxNkgpPTuzWBc
> > --- You received this message because you are subscribed to the Google
> > Groups "ASynK Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to
asynk+un...@googlegroups.com.