Sorry, habe ich versäumt zu erwähnen. Ist in Version 0.7 dabei.Wäre es möglich eine Option zu integrieren, dass ohne Bilder syncronisiert wird.
Sorry, habe ich versäumt zu erwähnen. Ist in Version 0.7 dabei.Wäre es möglich eine Option zu integrieren, dass ohne Bilder syncronisiert wird.
Sep 27 23:41:55 fritz user.debug pbupd_carddav: Successfully evaluated modification time
Sep 27 23:41:55 fritz user.debug pbupd_carddav: Smart property setting disabled. Each known number will appear as private, mobile, work, fax or email property. May result in repeated properties.
Sep 27 23:41:56 fritz user.debug pbupd_carddav: Printing contacts in VCF format successfully
Sep 27 23:41:56 fritz user.debug pbupd_carddav: Converting contacts from VCF to XML successfully
Sep 27 23:41:56 fritz user.debug pbupd_carddav: Configuration parsed successfully
Sep 27 23:41:56 fritz user.debug pbupd_carddav: XML phone book file '/tmp/pbupd_carddav-phonebooks.xml' constructed successfully
Sep 27 23:41:56 fritz user.debug pbupd_carddav: Import file '/tmp/pbupd_carddav-phonebooks.xml' includes phone books
Sep 27 23:41:57 fritz user.err pbupd_carddav: Import of CardDAV phone books failed
Sep 27 23:41:57 fritz user.info pbupd_carddav: warn Issues occured
[...] mein großes 3600 einträge klappt nicht [...]
Code:Sep 27 23:41:57 fritz user.err pbupd_carddav: Import of CardDAV phone books failed
--- BEGIN /tmp/mktpb.sh ---
cat << EOT > /tmp/test-phonebook.xml
<?xml version="1.0" encoding="utf-8"?>
<phonebooks>
<phonebook owner="239" name="Test Phonebook">
EOT
i=3600
while [[ 0 -lt $((i--)) ]]
do
cat << EOT >> /tmp/test-phonebook.xml
<contact modified="0">
<category>0</category>
<id>0</id>
<person>
<realName>foobar$i</realName>
</person>
<telephony>
<number type=home prio=1>+1 555 $i</number>
</telephony>
<services>
</services>
<setup/>
<uniqueid>$i</uniqueid>
</contact>
EOT
done
cat << EOT >> /tmp/test-phonebook.xml
</phonebook>
</phonebooks>
EOT
--- END /tmp/mktpb.sh ---
root@fritz:/var/mod/root# /tmp/mktpb.sh
root@fritz:/var/mod/root# /usr/bin/pbd --import /tmp/test-phonebook.xml
root@fritz:/var/mod/root# echo $?
0
root@fritz:/var/mod/root#
3600 Einträge
root@fritz:/var/tmp# ls -ls test-phonebook.xml
1176 -rw-r--r-- 1 root root 1191999 Sep 29 10:46 test-phonebook.xml
root@fritz:/var/tmp# /usr/bin/pbd --import /tmp/test-phonebook.xml
root@fritz:/var/tmp# echo $?
243
2000 Einträge
root@fritz:/var/tmp# ls -ls test-phonebook.xml
656 -rw-r--r-- 1 root root 660799 Sep 29 10:54 test-phonebook.xml
root@fritz:/var/tmp# /usr/bin/pbd --import /tmp/test-phonebook.xml
root@fritz:/var/tmp# echo $?
243
1000 Einträge
root@fritz:/var/tmp# ls -ls test-phonebook.xml
332 -rw-r--r-- 1 root root 328799 Sep 29 10:58 test-phonebook.xml
root@fritz:/var/tmp# /usr/bin/pbd --import /tmp/test-phonebook.xml
root@fritz:/var/tmp# echo $?
0
irgendwie scheint zw 1100 und 1200 schluss zu sein
Behoben in version 0.8[...] mein großes 3600 einträge klappt nicht [...]
Code:Sep 27 23:41:57 fritz user.err pbupd_carddav: Import of CardDAV phone books failed
root@fritz:/var/mod/root# /usr/sbin/pbupd_carddav
-sh: /usr/sbin/pbupd_carddav: Permission denied
root@fritz:/var/mod/root# sh /usr/sbin/pbupd_carddav
/usr/sbin/pbupd_carddav: .: line 1003: can't open '/mod/etc/pbupd_carddav.conf'
Behoben in version 0.8
[...]muss ich denn jetzt mehrere ids anlegen?[...]
1,3,4,5|foobar|secret|Foo Bar - Default|https://owncloud.example.com/remote.php/carddav/addressbooks/foobar/default
2|foobar|secret|Foo Bar - Work|https://owncloud.example.com/remote.php/carddav/addressbooks/foobar/work
1|xxx|**********|owncloud|https://xxx.de/owncloud/remote.php/carddav/addressbooks/xxx/default
Lua Run Runtime ERROR in /usr/www/all//fon_num/fonbook_edit.lua:554: [string "/usr/www/all//fon_num/fonbook_edit.lua:1"]:502: attempt to concatenate field '?' (a nil value)
Lua stack traceback:
[C]: ?
[string "/usr/www/all//fon_num/fonbook_edit.lua:1"]:502: in function 'write_online'
[string "/usr/www/all//fon_num/fonbook_edit.lua:554"]:12: in main chunk
root@fritz:/var/mod/root# /usr/sbin/pbupd_carddav --oneshot
pbupd_carddav: One shot mode
pbupd_carddav: Download directory '/var/media/ftp/uStor01/tmp' exists
pbupd_carddav: Successfully parsed configuration file '/tmp/flash/pbupd_carddav/pbupd_carddav.db'
pbupd_carddav: Processing phone book 'cib' with owner '242'
pbupd_carddav: Seems there is only one unique id. Splitting into multiple phone books will not be possible.
pbupd_carddav: CardDAV contacts for phone book 'cib' are not checked for difference. Import in any case.
pbupd_carddav: Printing contacts in VCF format successfully
pbupd_carddav: Converting contacts from VCF to XML successfully
Warning: error trying read config from the '/tmp/flash/pbupd_carddav/curlrc-3'
Warning: file
pbupd_carddav: Processing phone book 'rbm' with owner '243'
pbupd_carddav: Seems there is only one unique id. Splitting into multiple phone books will not be possible.
pbupd_carddav: CardDAV contacts for phone book 'rbm' are not checked for difference. Import in any case.
Warning: error trying read config from the '/tmp/flash/pbupd_carddav/curlrc-3'
Warning: file
pbupd_carddav: Printing contacts in VCF format successfully
pbupd_carddav: Converting contacts from VCF to XML successfully
pbupd_carddav: Configuration parsed successfully
pbupd_carddav: XML phone book file '/var/media/ftp/uStor01/tmp/pbupd_carddav-phonebooks.xml' constructed successfully
pbupd_carddav: Import file '/var/media/ftp/uStor01/tmp/pbupd_carddav-phonebooks.xml' includes phone books
pbupd_carddav: Import of CardDAV phone books successful
pbupd_carddav: No issues occured
<?xml version="1.0" encoding="utf-8"?>
<phonebooks>
<phonebook owner="242" name="cib">
</phonebook>
<phonebook owner="243" name="rbm">
</phonebook>
</phonebooks>
Saving pbupd_carddav/carddav_db ... done.
/usr/sbin/pbupd_carddav: .: line 1003: can't open '/mod/etc/pbupd_carddav.conf'
Writing 730 bytes to /var/flash/freetz ... done.
Hallo zusammen,
habe das gleiche Problem wie in #28 schon mal erwähnt und bekomme beim sichern der Telefonbucheinstellungen folgenden Fehler:
Jedoch das Importieren in das telefonbuch funktioniert nicht. Mein Telefonbuch habe ich owncloud genannt.
Wenn ich jetzt in der Fritzbox das telefonbuch anklicke und den Editier-Button klicke bekomme ich folgende Meldung:
Lua Run Runtime ERROR in /usr/www/all//fon_num/fonbook_edit.lua:554: [string "/usr/www/all//fon_num/fonbook_edit.lua:1"]:502: attempt to concatenate field '?' (a nil value)
Lua stack traceback:
[C]: ?
[string "/usr/www/all//fon_num/fonbook_edit.lua:1"]:502: in function 'write_online'
[string "/usr/www/all//fon_num/fonbook_edit.lua:554"]:12: in main chunk