Le Mardi 9 Octobre 2012 14:18 CEST, "gerard breiner" 
<[email protected]> a écrit:

>
> Le Lundi 8 Octobre 2012 17:42 CEST, "gerard breiner" 
> <[email protected]> a écrit:
>
> >
> > Le Lundi 8 Octobre 2012 10:34 CEST, Christian Mack 
> > <[email protected]> a écrit:
> >
> > > On 2012-10-05 19:49, gerard breiner wrote:
> > > > Hello,
> > > >
> > > > First of all many thanks at the SOGo team for this great work that is 
> > > > sogo. So far we used Horde with kronolith and turba.
> > > > I installed Sogo 2-2.0.0 under Debian Squeeze via apt-get. Now I 
> > > > downloaded the scripts Migration/Horde and configure config.py.
> > > > I run ./turba.py gbreiner
> > > > It works  (no error) but  I don't know where are my three vcard .
> > > > So I modified TurbaConverter so that it show the put.response["status"] 
> > > > and the url  of my vcard.
> > > >
> > > > I run again ./turba.py gbreiner and I get :
> > > >
> > > > Converting addressbook of 'gbreiner'
> > > >   prepared 3 cards
> > > > /SOGo/dav/gbreiner/Contacts/personal/b4fd46282634d0750075b49cf5714971.vcf
> > > > 302
> > > >   successes: 1; failures: 0 
> > > > /SOGo/dav/gbreiner/Contacts/personal/772361c72f938164ac3e3c0e5db68bee.vcf
> > > > 302
> > > >   successes: 2; failures: 0 
> > > > /SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf
> > > > 302
> > > >   successes: 3; failures: 0
> > > >
> > > > Done
> > > >
> > > > So It seems all is correct but how can I get my three contacts... ?> >
> > > > Any help would be appreciated.
> > > >
> > >
> > > Did you log in to SOGo as user gbreiner before importing old data?
> >
> > Yes.
> >
> > > The "personal" calendar and address book are created on first log in, so
> > > I don't think importing will work before that.
> > >
> > > Try looking under "Address Book" --> "Personal address book" when
> > > logging in as user gbreiner into the SOGo webinterface.
> >
> > Already done... In "Address Book" --> "Personal address book" I have the 
> > contacts that comes from  my Personal Computer by synchronisation with 
> > syncml client funambol.  I expected my horde contacts at this place but no 
> > data has been added.
> >
> > I have three tables in mysql related to gbreiner's contacts.
> >
> > sogogbreiner00269f70e2c
> > sogogbreiner00269f70e2c_acl
> > sogogbreiner00269f70e2c_quick
> >
> > If I did understood, horde contacts for gbreiner should be in theses tables 
> > after having ran turba.py, should'nt be ?
> >
> > >
> > >
> > > Kind regards,
> > > Christian Mack
> > >
> > > --
> > > Christian Mack
> > > Gruppe Informationsdienste
> > > Rechenzentrum Universität Konstanz
> > > --
> > > [email protected]
> > > https://inverse.ca/sogo/lists
> >
> >
> > Others informations, users sogo are authentified by ldap.
> > Sogo has been installed by using apt-get as recommended in the Installation 
> > Guide.
> >
> > I looked at the mysql log but there is only the request to the horde tables 
> > :
> >
> > tail -300 mysql.log
> > 121008 17:34:15       538 Connect   sogo@localhost on horde
> >               538 Query     set autocommit=0
> >               538 Query     SELECT user_uid, datatree_name FROM 
> > horde_datatree WHERE user_uid = 'gbreiner'
> >               538 Query     SELECT * FROM turba_objects WHERE owner_id = 
> > 'gbreiner' or owner_id = 'imp.gbreiner.<[email protected]>' or 
> > owner_id = 'turba' or owner_id = 'kronolith' or owner_id = 'gbreiner' or 
> > owner_id = 'a1f4fd6d3a9a165663de621ae941e5ca' or owner_id = 
> > '09949fee02914b900a833af3f6097a46' or owner_id = 'gollem' or owner_id = 
> > 'backends' or owner_id = 'gbreiner' or owner_id = 
> > 'b8660d241df40665a73e97c76ff33d27' or owner_id = 
> > '60df89056de50ee9bf04941bd4432419'
> >               538 Quit
> >
> > Many thanks Christian for your friendly answer.
> >
> > Best regards.
> >
> > Gérard Breiner
> >
> >
> >
> >
> >
> > --
> > [email protected]
> > https://inverse.ca/sogo/lists
>
>
>
> Humm... Am I alone to have this problem ?
> Yet I 'm already log in a first time so the mysql tables for contacts have 
> been created but when I run the script turba.py I do not get my contacts from 
> horde in my Personal address book.
> Does anyone has an idea of what happens after the "PUT" of TurbaConverter.py 
> script ?
>
> Any help would be greatly appreciated.
>
> Best regards.
>
> Gérard Breiner
> Institut d'Astrophysique Spatiale
> FR-91405 Campus Orsay-Ville
> --
> [email protected]
> https://inverse.ca/sogo/lists


 Hello,

I"m still working on this issue... I want to migrate contacts from horde to 
sogo for all users. So I use the script TurbaConverter.py. I added a line for 
tracing the response headers: print put.response["headers"].

Here is the result after having ran the command turba.py gbreiner :

Converting addressbook of 'gbreiner'
  prepared 3 cards
{'content-length': '283', 'vary': 'Accept-Encoding', 'server': 'Apache/2.2.16 
(Debian) DAV/2 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ssl/2.2.16 
OpenSSL/0.9.8o', 'location': 
'https://sogo.ias.u-psud.fr/SOGo/dav/gbreiner/Contacts/personal/b4fd46282634d0750075b49cf5714971.vcf',
 'date': 'Wed, 17 Oct 2012 08:39:33 GMT', 'content-type': 'text/html; 
charset=iso-8859-1'}
  successes: 1; failures: 0 {'content-length': '283', 'vary': 
'Accept-Encoding', 'server': 'Apache/2.2.16 (Debian) DAV/2 
PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o', 
'location': 
'https://sogo.ias.u-psud.fr/SOGo/dav/gbreiner/Contacts/personal/772361c72f938164ac3e3c0e5db68bee.vcf',
 'date': 'Wed, 17 Oct 2012 08:39:33 GMT', 'content-type': 'text/html; 
charset=iso-8859-1'}
  successes: 2; failures: 0 {'content-length': '283', 'vary': 
'Accept-Encoding', 'server': 'Apache/2.2.16 (Debian) DAV/2 
PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o', 
'location': 
'https://sogo.ias.u-psud.fr/SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf',
 'date': 'Wed, 17 Oct 2012 08:39:33 GMT', 'content-type': 'text/html; 
charset=iso-8859-1'}
  successes: 3; failures: 0

An idea please .

Thanks.

Gérard Breiner


-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to