[turba] How to use turba-import-vcards

Jan Schneider jan at horde.org
Thu Feb 22 18:08:31 UTC 2018


Zitat von Luca Bertoncello <lucabert at lucabert.de>:

> Jan Schneider <jan at horde.org> 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 systemd-journald at ns.lucabert.de (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 at 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
> (lucabert at lucabert.de)

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

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



More information about the turba mailing list