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?
> 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.
>
>
> Kind regards,
> Christian Mack
>
> --
> Christian Mack
> Gruppe Informationsdienste
> Rechenzentrum Universität Konstanz
> --
> [email protected]
> https://inverse.ca/sogo/lists


 Hello,

For remind, I'am already logged in at least hundred times... Tables mysql has 
been created...

In order to track the "bug", I added in TurbaConverter.py the line :
print put.response["body"].

Here is what this line show up for one contact :

successes: 2; failures: 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://sogo.ias.u 
psud.fr/SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf">here</a>.</p>
</body></html>

I added too the line print put.response["headers"].  I get :

{'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 09:32:47 GMT', 'content-type': 'text/html; 
charset=iso-8859-1'}
  successes: 2; failures: 0

I' m wondering about the charset. It seems to me that Sogo wants UTF-8 and not 
iso-8859-1,  isn't it ?

Best regards.

Gérard Breiner





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

Reply via email to