--===============0042873508== Content-Type: multipart/signed; boundary="nextPart3300966.vrqYT7YGD8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3300966.vrqYT7YGD8 Content-Type: multipart/mixed; boundary="Boundary-01=_J/hbK84QR6YWtNq" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_J/hbK84QR6YWtNq Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Since I just had one of the rare occasions of Akonadi getting pretty far=20 before refusing my input (see mail from yesterday), I thought I could share= it=20 with you guys :) The idea of the demo app is like snmp-walk, i.e. walk through the collectio= n=20 tree and list collections and items in a tree. The structure of the output is like this: CollectionName CollectionID (CollectionRemoteID) list of content MIME types (one per line) ItemID (ItemRemoteID) Item MIME type ColletionName is replaced with EntityDisplayAttribute's display name if=20 available. Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --Boundary-01=_J/hbK84QR6YWtNq Content-Type: text/plain; charset="UTF-8"; name="walk.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="walk.txt" kevin@artemis /dvl/local/akonadi-java (git)-[master] % java -cp target/classes:target/test-classes:/dvl/local/maven/org/akonadiproject/akonadi/akonadi-java/0.1/akonadi-java-0.1.jar:/dvl/local/maven/org/freedesktop/xdg/xdg-base-dirs/0.1/xdg-base-dirs-0.1.jar:/usr/share/java/unix.jar org.akonadiproject.akonadi.Walk Creating Akonadi data connection at /home/kevin/.akonadi-test/.local/share/akonadi/akonadiserver.socket Birthdays & Anniversaries 31 (akonadi_birthdays_resource) application/x-vnd.akonadi.calendar.event 156 (b103) application/x-vnd.akonadi.calendar.event 157 (b113) application/x-vnd.akonadi.calendar.event 158 (b136) application/x-vnd.akonadi.calendar.event 159 (b139) application/x-vnd.akonadi.calendar.event 160 (b148) application/x-vnd.akonadi.calendar.event 161 (b149) application/x-vnd.akonadi.calendar.event Contacts 21 (16) inode/directory text/directory application/x-vnd.kde.contactgroup 81 (78) application/x-vnd.kde.contactgroup 82 (80) text/directory 83 (84) text/directory Search 1 () akonadi_googledata_resource_1 29 (google-contacts) text/directory 85 (http://www.google.com/m8/feeds/contacts/anda.skoa%40gmail.com/full/0) text/directory 86 (http://www.google.com/m8/feeds/contacts/anda.skoa%40gmail.com/full/32b8b2c80dd7cb2d) text/directory std.ics 30 (file:///home/kevin/std.ics) text/calendar application/x-vnd.akonadi.calendar.event application/x-vnd.akonadi.calendar.todo application/x-vnd.akonadi.calendar.journal application/x-vnd.akonadi.calendar.freebusy 87 (KOrganizer-874394642.152) application/x-vnd.akonadi.calendar.event 88 (KonsoleKalendar-1123156469.102) application/x-vnd.akonadi.calendar.event 89 (KOrganizer-313723522.982) application/x-vnd.akonadi.calendar.event 90 (KOrganizer-1709699137.995) application/x-vnd.akonadi.calendar.event 91 (KOrganizer-756482139.219) application/x-vnd.akonadi.calendar.event 162 (libkcal-598331247.452) application/x-vnd.akonadi.calendar.todo Kolab 22 (akonadi_kolabproxy_resource_4) inode/directory demo.kolab.org/kevin.krammer@demo.kolab.org 26 (10) inode/directory Inbox 27 (12) inode/directory std.vcf 32 (file:///home/kevin/std.vcf) text/directory 92 (2bpus4eE8c) text/directory 93 (2efjr21aA) text/directory 94 (2uun8V066z) text/directory 95 (3abf3YIm3w) text/directory 96 (4w20Vzaqu) text/directory 97 (566ynkrpNY) text/directory 98 (5JBqjwr9D4) text/directory 99 (6IAKiijIy) text/directory 100 (7lID57QUl) text/directory 101 (8o9QwESrF) text/directory 102 (9HI5KCyHot) text/directory 103 (9e1hAkot3) text/directory 104 (B76K0zPkLp) text/directory 105 (BFT5E7SkS7) text/directory 106 (BVFtnfFr1W) text/directory 107 (BVTfyxNlo) text/directory 108 (DYUEotZvMC) text/directory 109 (DoRDb8sc1) text/directory 110 (FOgGJbtqC) text/directory 111 (H0cBucYmxI) text/directory 112 (H3aLWbG4H) text/directory 113 (IQCXET2Z0) text/directory 114 (JnqSeN4Zw) text/directory 115 (Lc5XvSmsK1) text/directory 116 (MNyvCXylTd) text/directory 117 (N8ojQ5Q5lU) text/directory 118 (NIE859jW1c) text/directory 119 (NnuoPtPNXz) text/directory 120 (O5bTaBlp9) text/directory 121 (PLyQ2N87Q) text/directory 122 (Q7wjdNxPn) text/directory 123 (RpDyOj5YWe) text/directory 124 (Rx2dV2ZsYe) text/directory 125 (S95DUTlWmJ) text/directory 126 (T9J35jPPgZ) text/directory 127 (TY5aMZeH6P) text/directory 128 (WHrHYeZ70O) text/directory 129 (WWqnbqSJoP) text/directory 130 (WYYt7QX1A) text/directory 131 (XNXZPMzWI) text/directory 132 (XV3KX2YYRZ) text/directory 133 (XmxMLsou1) text/directory 134 (XuZJBAlwI) text/directory 135 (Y3bxISNPEz) text/directory 136 (ZEShRAoHG1) text/directory 137 (ZRfSTOCV6J) text/directory 138 (cLwS66bk8) text/directory 139 (dsvZaTq2x) text/directory 140 (fWdyp4sok) text/directory 141 (fk2fiUqAT3) text/directory 142 (hPJkOXeoQu) text/directory 143 (hlB02CO3kN) text/directory 144 (i8oH9kj3d8) text/directory 145 (iCdhFg8A5s) text/directory 146 (kMcRS6sylR) text/directory 147 (mkOD3sOu45) text/directory 148 (nZEKMZxQgf) text/directory 149 (oTbN67JWS) text/directory 150 (r34IeKrqE) text/directory 151 (t3a9fcRHN1) text/directory 152 (uzhNyH3Lu) text/directory 153 (xNPUQqbCN) text/directory 154 (xaDshQX9EC) text/directory 155 (ztkoFvX93h) text/directory demo.kolab.org/kevin.krammer@demo.kolab.org 10 (imap://kevin.krammer@demo.kolab.org@demo.kolab.org/) inode/directory org.akonadiproject.akonadi.ProtocolException: Invalid command argument at org.akonadiproject.akonadi.ItemFetchJob.doRun(ItemFetchJob.java:104) at org.akonadiproject.akonadi.AbstractJob.run(AbstractJob.java:42) at org.akonadiproject.akonadi.Walk.walkItems(Walk.java:73) at org.akonadiproject.akonadi.Walk.walkSubTree(Walk.java:54) at org.akonadiproject.akonadi.Walk.main(Walk.java:67) Exception in thread "main" org.akonadiproject.akonadi.ProtocolException: Invalid command argument at org.akonadiproject.akonadi.ItemFetchJob.doRun(ItemFetchJob.java:104) at org.akonadiproject.akonadi.AbstractJob.run(AbstractJob.java:42) at org.akonadiproject.akonadi.Walk.walkItems(Walk.java:73) at org.akonadiproject.akonadi.Walk.walkSubTree(Walk.java:54) at org.akonadiproject.akonadi.Walk.main(Walk.java:67) --Boundary-01=_J/hbK84QR6YWtNq-- --nextPart3300966.vrqYT7YGD8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKbh/JnKMhG6pzZJIRAvUDAJ9LW60rupcywakcy07NMsUekq7X6ACfbSgT WGwPXIspbyRlwZ/V2cCwSD8= =BFsW -----END PGP SIGNATURE----- --nextPart3300966.vrqYT7YGD8-- --===============0042873508== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KDE PIM mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim KDE PIM home page at http://pim.kde.org/ --===============0042873508==--