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

Import of Outlook VCARD failing #389

Closed
escoand opened this issue Oct 6, 2017 · 9 comments
Closed

Import of Outlook VCARD failing #389

escoand opened this issue Oct 6, 2017 · 9 comments
Labels
needs info Not enough information provided

Comments

@escoand
Copy link

escoand commented Oct 6, 2017

Steps to reproduce

  1. Import VCARD file from Outlook

Expected behaviour

Import as expected

Actual behaviour

Error: [$rootScope:inprog] $apply already in progress
http://errors.angularjs.org/1.5.8/$rootScope/inprog?p0=%24apply
minErr/<@https://.../apps/contacts/js/vendor/angular/angular.js?v=2557ae068e3e71fe945cdc3ebc594876:68:12
beginPhase@https://.../apps/contacts/js/vendor/angular/angular.js?v=2557ae068e3e71fe945cdc3ebc594876:18042:15
$digest@https://.../apps/contacts/js/vendor/angular/angular.js?v=2557ae068e3e71fe945cdc3ebc594876:17472:9
$apply@https://.../apps/contacts/js/vendor/angular/angular.js?v=2557ae068e3e71fe945cdc3ebc594876:17790:13
link/</</</</<@https://.../apps/contacts/js/public/script.js?v=2557ae068e3e71fe945cdc3ebc594876:716:9
this.import@https://.../apps/contacts/js/public/script.js?v=2557ae068e3e71fe945cdc3ebc594876:2321:6
link/</</</<@https://.../apps/contacts/js/public/script.js?v=2557ae068e3e71fe945cdc3ebc594876:693:8
$eval@https://.../apps/contacts/js/vendor/angular/angular.js?v=2557ae068e3e71fe945cdc3ebc594876:17682:16
$apply@https://.../apps/contacts/js/vendor/angular/angular.js?v=2557ae068e3e71fe945cdc3ebc594876:17782:20
link/</</<@https://.../apps/contacts/js/public/script.js?v=2557ae068e3e71fe945cdc3ebc594876:686:7
 2 angular.js:13920:18

General server configuration

Operating system: Linux raspberrypi 4.9.43-v7+ #1026 SMP Wed Aug 16 22:35:51 BST 2017 armv7l

Web server: Apache/2.4.25 (Raspbian) (fpm-fcgi)

Database: mysql 10.1.23

PHP version: 7.0.19-1

PHP-modules loaded
 - Core
 - date
 - libxml
 - openssl
 - pcre
 - zlib
 - filter
 - hash
 - Reflection
 - SPL
 - session
 - standard
 - cgi-fcgi
 - mysqlnd
 - PDO
 - xml
 - apcu
 - calendar
 - ctype
 - curl
 - dom
 - mbstring
 - fileinfo
 - ftp
 - gd
 - gettext
 - iconv
 - json
 - exif
 - mysqli
 - pdo_mysql
 - Phar
 - posix
 - readline
 - shmop
 - SimpleXML
 - smbclient
 - sockets
 - sysvmsg
 - sysvsem
 - sysvshm
 - tokenizer
 - wddx
 - xmlreader
 - xmlwriter
 - xsl
 - zip
 - libsmbclient
 - Zend OPcache

Nextcloud configuration

Nextcloud version: 12.0.3 - 12.0.3.3

Updated from an older Nextcloud/ownCloud or fresh install: update

Where did you install Nextcloud from: NextcloudPi

Are you using external storage, if yes which one: Array
(
[0] => \OC\Files\Storage\Local
[1] => \OCA\Files_External\Lib\Storage\FTP
[2] => \OC\Files\Storage\DAV
[3] => \OCA\Files_External\Lib\Storage\OwnCloud
[4] => \OCA\Files_External\Lib\Storage\SFTP
[5] => \OCA\Files_External\Lib\Storage\AmazonS3
[6] => \OCA\Files_External\Lib\Storage\Dropbox
[7] => \OCA\Files_External\Lib\Storage\Google
[8] => \OCA\Files_External\Lib\Storage\Swift
[9] => \OCA\Files_External\Lib\Storage\SFTP
[10] => \OCA\Files_External\Lib\Storage\SMB
[11] => \OCA\Files_External\Lib\Storage\SMB
)

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Signing status
[]
Enabled apps
 - activity: 2.5.2
 - admin_notifications: 1.0.0
 - bruteforcesettings: 1.0.2
 - calendar: 1.5.5
 - contacts: 2.0.1
 - dav: 1.3.0
 - federatedfilesharing: 1.2.0
 - files: 1.7.2
 - files_external: 1.3.0
 - files_pdfviewer: 1.1.1
 - files_sharing: 1.4.0
 - files_texteditor: 2.4.1
 - files_trashbin: 1.2.0
 - files_versions: 1.5.0
 - files_videoplayer: 1.1.0
 - firstrunwizard: 2.1
 - gallery: 17.0.0
 - impersonate: 1.0.1
 - issuetemplate: 0.2.2
 - logreader: 2.0.0
 - lookup_server_connector: 1.0.0
 - metadata: 0.5.0
 - news: 11.0.5
 - nextcloud_announcements: 1.1
 - notifications: 2.0.0
 - oauth2: 1.0.5
 - password_policy: 1.2.2
 - previewgenerator: 1.0.7
 - provisioning_api: 1.2.0
 - ransomware_protection: 1.0.4
 - sharebymail: 1.2.0
 - socialsharing_email: 1.0.1
 - twofactor_backupcodes: 1.1.1
 - twofactor_totp: 1.3.1
 - updatenotification: 1.2.0
 - workflowengine: 1.2.0
Disabled apps
 - admin_audit
 - comments
 - encryption
 - federation
 - radio
 - serverinfo
 - survey_client
 - systemtags
 - theming
 - user_external
 - user_ldap
Content of config/config.php
{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": {
        "0": "localhost",
        "1": "192.168.1.25",
        "4": "..."
    },
    "datadirectory": "\/media\/NextCloudData\/nextcloud",
    "overwrite.cli.url": "https:\/\/...",
    "dbtype": "mysql",
    "version": "12.0.3.3",
    "dbname": "nextcloud",
    "dbhost": "localhost",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "ocup3agyjd4f",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "overwriteprotocol": "https",
    "maintenance": false,
    "mail_from_address": "admin",
    "mail_smtpmode": "php",
    "mail_smtpauthtype": "LOGIN",
    "mail_domain": "...",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "...",
    "mail_smtpport": "25",
    "mail_smtpsecure": "tls",
    "theme": "",
    "loglevel": 2
}

Client configuration

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Operating system: Ubuntu 17.10


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@skjnldsv
Copy link
Member

skjnldsv commented Oct 6, 2017

@irgendwie. It looks like the issue we were talking about?

@irgendwie
Copy link
Member

@escoand can you give us an example vcard, which isn't working?
@skjnldsv I assume no vcard is detected in the file leading to the error, yeah

@irgendwie irgendwie added the needs info Not enough information provided label Oct 6, 2017
@escoand
Copy link
Author

escoand commented Oct 6, 2017

IssueExample.txt

@irgendwie
Copy link
Member

irgendwie commented Oct 6, 2017

@skjnldsv "VERSION:2.1" - we don't allow a version lower than 3, right?
Edit: Thanks for the example

@j-ed
Copy link

j-ed commented Oct 6, 2017

I would recommend to add a VCard version check to the import function if at least v3 is required. If the requirement is not met an error could be shown Minimum VCard version 3.0 requirement not met. ...

@escoand You can try to convert your file using an external tool like e.g. http://vcardgrid.lima-city.de/

@skjnldsv
Copy link
Member

skjnldsv commented Oct 6, 2017

@j-ed we have.

@NWiBGRsK
Copy link

@escoand you can also try this small python script I created, when I faced the same problem :) https://github.com/NWiBGRsK/vcard

@escoand
Copy link
Author

escoand commented Oct 13, 2017

@NWiBGRsK thanks for the script, I've found an issue NWiBGRsK/vcard#1

@escoand
Copy link
Author

escoand commented Oct 13, 2017

Issue was fixed and script is working very well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Not enough information provided
Projects
None yet
Development

No branches or pull requests

5 participants