Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sabre\VObject\ParseException: Invalid Mimedir file. Line starting at 11 did not follow iCalendar/vCard conventions #2258

Closed
LukasReschke opened this issue Nov 22, 2016 · 2 comments · Fixed by #2266
Assignees
Labels

Comments

@LukasReschke
Copy link
Member

After uploading an avatar:

Sabre\VObject\ParseException: Invalid Mimedir file. Line starting at 11 did not follow iCalendar/vCard conventions
/media/psf/nextcloud/3rdparty/sabre/vobject/lib/Parser/MimeDir.php - line 234: Sabre\VObject\Parser\MimeDir->readProperty('\xFF\xDB\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07...')
/media/psf/nextcloud/3rdparty/sabre/vobject/lib/Parser/MimeDir.php - line 181: Sabre\VObject\Parser\MimeDir->parseLine('\xFF\xDB\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07...')
/media/psf/nextcloud/3rdparty/sabre/vobject/lib/Parser/MimeDir.php - line 89: Sabre\VObject\Parser\MimeDir->parseDocument()
/media/psf/nextcloud/3rdparty/sabre/vobject/lib/Reader.php - line 46: Sabre\VObject\Parser\MimeDir->parse('BEGIN VCARD\r\nVE...', 0)
/media/psf/nextcloud/apps/dav/lib/CardDAV/CardDavBackend.php - line 985: Sabre\VObject\Reader read('BEGIN VCARD\r\nVE...')
/media/psf/nextcloud/apps/dav/lib/CardDAV/CardDavBackend.php - line 944: OCA\DAV\CardDAV\CardDavBackend->readCard('BEGIN VCARD\r\nVE...')
/media/psf/nextcloud/apps/dav/lib/CardDAV/CardDavBackend.php - line 608: OCA\DAV\CardDAV\CardDavBackend->updateProperties('1', 'Database banana...', 'BEGIN VCARD\r\nVE...')
/media/psf/nextcloud/apps/dav/lib/CardDAV/SyncService.php - line 247: OCA\DAV\CardDAV\CardDavBackend->updateCard('1', 'Database banana...', 'BEGIN VCARD\r\nVE...')
/media/psf/nextcloud/apps/dav/lib/HookManager.php - line 120: OCA\DAV\CardDAV\SyncService->updateUser(Object(OC\User\User))
/media/psf/nextcloud/lib/private/legacy/hook.php - line 106: OCA\DAV\HookManager->changeUser(Array)
/media/psf/nextcloud/lib/private/Server.php - line 309: OC_Hook emit('OC_User', 'changeUser', Array)
[internal function] OC\Server->OC\{closure}(Object(OC\User\User), 'avatar', NULL)
/media/psf/nextcloud/lib/private/Hooks/EmitterTrait.php - line 99: call_user_func_array(Object(Closure), Array)
/media/psf/nextcloud/lib/private/Hooks/PublicEmitter.php - line 33: OC\Hooks\BasicEmitter->emit('\\OC\\User', 'changeUser', Array)
/media/psf/nextcloud/lib/private/User/User.php - line 427: OC\Hooks\PublicEmitter->emit('\\OC\\User', 'changeUser', Array)
/media/psf/nextcloud/lib/private/Avatar.php - line 139: OC\User\User->triggerChange('avatar')
/media/psf/nextcloud/core/Controller/AvatarController.php - line 340: OC\Avatar->set('\xFF\xD8\xFF\xE0\x00\x10JFIF\x00\x01\x01\x01\x00...')
[internal function] OC\Core\Controller\AvatarController->postCroppedAvatar(Array)
/media/psf/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)
/media/psf/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OC\Core\Controller\AvatarController), 'postCroppedAvat...')
/media/psf/nextcloud/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OC\Core\Controller\AvatarController), 'postCroppedAvat...')
/media/psf/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('OC\\Core\\Control...', 'postCroppedAvat...', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
/media/psf/nextcloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
/media/psf/nextcloud/lib/base.php - line 1005: OC\Route\Router->match('/avatar/cropped')
/media/psf/nextcloud/index.php - line 40: OC handleRequest()
{main}

cc @icewind1991

@LukasReschke LukasReschke added this to the Nextcloud 11.0 milestone Nov 22, 2016
@LukasReschke
Copy link
Member Author

This also breaks sharing to that user then… 🙈

@LukasReschke
Copy link
Member Author

Also comments don't show the name then anymore etc…

So: Breaks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants