libasys / contactsplus

A Contacts App for version ownCloud 8.1 or later, lower version not supported
23 stars 4 forks source link

Contacts+ hangs after importing contacts #100

Open ThomasDaheim opened 9 years ago

ThomasDaheim commented 9 years ago

Hi,

I have migrated my Outlook contacts (~150) to contacts+. No error messages in the process, entries can be found in the database and can be synced from Thunderbird as well. So that seems to be OK. When I try to view the contacts in ownCloud I see the following behavior:

I can see the following error in the log (not sure if related but timestamps match):

Exception: {"Exception":"Sabre\VObject\EofException","Message":"End of document reached prematurely","Code":0,"Trace":"#0 \/volume1\/web\/owncloud\/3rdparty\/sabre\/vobject\/lib\/Parser\/MimeDir.php(133): Sabre\VObject\Parser\MimeDir->readLine()\n#1 \/volume1\/web\/owncloud\/3rdparty\/sabre\/vobject\/lib\/Parser\/MimeDir.php(63): Sabre\VObject\Parser\MimeDir->parseDocument()\n#2 \/volume1\/web\/owncloud\/3rdparty\/sabre\/vobject\/lib\/Reader.php(44): Sabre\VObject\Parser\MimeDir->parse('BEGIN:VCARD\r\nVE...', 0)\n#3 \/volume1\/web\/owncloud\/apps\/contactsplus\/lib\/app.php(889): Sabre\VObject\Reader::read('BEGIN:VCARD\r\nVE...')\n#4 \/volume1\/web\/owncloud\/apps\/contactsplus\/controller\/contactscontroller.php(1027): OCA\ContactsPlus\App::renderOutput(4, 'all')\n#5 [internal function]: OCA\ContactsPlus\Controller\ContactsController->getContactCards()\n#6 \/volume1\/web\/owncloud\/lib\/private\/appframework\/http\/dispatcher.php(159): call_user_func_array(Array, Array)\n#7 \/volume1\/web\/owncloud\/lib\/private\/appframework\/http\/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\ContactsPlus\Controller\ContactsController), 'getContactCards')\n#8 \/volume1\/web\/owncloud\/lib\/private\/appframework\/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\ContactsPlus\Controller\ContactsController), 'getContactCards')\n#9 \/volume1\/web\/owncloud\/lib\/private\/appframework\/routing\/routeactionhandler.php(45): OC\AppFramework\App::main('ContactsControl...', 'getContactCards', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#10 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#11 \/volume1\/web\/owncloud\/lib\/private\/route\/router.php(274): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#12 \/volume1\/web\/owncloud\/lib\/base.php(873): OC\Route\Router->match('\/apps\/contactsp...')\n#13 \/volume1\/web\/owncloud\/index.php(40): OC::handleRequest()\n#14 {main}","File":"\/volume1\/web\/owncloud\/3rdparty\/sabre\/vobject\/lib\/Parser\/MimeDir.php","Line":250}

Any idea how to fix this?

Thanks, Thomas

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26816821-contacts-hangs-after-importing-contacts?utm_campaign=plugin&utm_content=tracker%2F19713444&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19713444&utm_medium=issues&utm_source=github).
ThomasDaheim commented 9 years ago

Anyone?