Re: How to use turba-import-vcards

Jan Schneider <[email protected]> Thu, 22 Feb 2018 18:08:31 +0000
Newsgroups gmane.comp.horde.turba
Message-ID <[email protected]>
Zitat von Luca Bertoncello <[email protected]>:

> Jan Schneider <[email protected]> schrieb:
>
> Hi Jan,
>
>> > I'm very sorry, but I really don't understand what do you mean...
>> > I created an addressbook "Test" for my user, which has an Hash-ID.
>> > This is surely NOT, since I tryed it and got an error...
>>
>> Which error? This is how it's supposed to work.
>
> /home/www/horde/turba-import-vcards Test lucabert < /tmp/LucaBertoncello.vcf
>
> Broadcast message from [email protected] (Thu 2018-02-22
> 18:56:42 CET):
>
> HORDE[9886]: [turba] Invalid address book: Test [pid 9886 on line 669 of
> "/home/www/horde/turba/lib/Api.php"]
>
>
> Message from syslogd@ns at Feb 22 18:56:42 ...
>  HORDE: [turba] Invalid address book: test [pid 9886 on line 669 of
> "/home/www/horde/turba/lib/Api.php"] Fatal Error:
>   Invalid address book: test
>   In /home/www/horde/turba/lib/Api.php on line 669
>
>   1. Horde_Registry->call() /home/www/horde/turba-import-vcards:44
>   2. Horde_Registry->callByPackage() /usr/share/php/Horde/Registry.php:1089
>   3. call_user_func_array() /usr/share/php/Horde/Registry.php:1132
>   4. Turba_Api->import()
>
> Of course an address book with name "test" for the user "lucabert" exists...
>
> Thanks
> Luca Bertoncello
> ([email protected])

Names are just labels. Use the address book id instead (random hash string).

-- 
Jan Schneider
The Horde Project
https://www.horde.org/

-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]