{"action":"created","issue":{"url":"https://api.github.com/repos/opencv/opencv_contrib/issues/967","repository_url":"https://api.github.com/repos/opencv/opencv_contrib","labels_url":"https://api.github.com/repos/opencv/opencv_contrib/issues/967/labels{/name}","comments_url":"https://api.github.com/repos/opencv/opencv_contrib/issues/967/comments","events_url":"https://api.github.com/repos/opencv/opencv_contrib/issues/967/events","html_url":"https://github.com/opencv/opencv_contrib/issues/967","id":202798019,"number":967,"title":"Downloading Wrong version of vgg_generated_XX","user":{"login":"sadegh01","id":7948950,"avatar_url":"https://avatars3.githubusercontent.com/u/7948950?v=4","gravatar_id":"","url":"https://api.github.com/users/sadegh01","html_url":"https://github.com/sadegh01","followers_url":"https://api.github.com/users/sadegh01/followers","following_url":"https://api.github.com/users/sadegh01/following{/other_user}","gists_url":"https://api.github.com/users/sadegh01/gists{/gist_id}","starred_url":"https://api.github.com/users/sadegh01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadegh01/subscriptions","organizations_url":"https://api.github.com/users/sadegh01/orgs","repos_url":"https://api.github.com/users/sadegh01/repos","events_url":"https://api.github.com/users/sadegh01/events{/privacy}","received_events_url":"https://api.github.com/users/sadegh01/received_events","type":"User","site_admin":false},"labels":[{"id":271954868,"url":"https://api.github.com/repos/opencv/opencv_contrib/labels/duplicate","name":"duplicate","color":"000000","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-01-24T11:54:47Z","updated_at":"2017-10-13T11:49:11Z","closed_at":"2017-01-24T11:57:15Z","author_association":"NONE","body":"<!--\r\nIf you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses.\r\nIf you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).\r\n\r\nThis is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.\r\n-->\r\n\r\n##### System information (version)\r\n<!-- Example\r\n- OpenCV => 3.2.0\r\n- Operating System / Platform => Centos7\r\n- Compiler => gcc 4.8.5\r\n-->\r\n\r\n- OpenCV => :3.2.0\r\n- Operating System / Platform => Centos7\r\n- Compiler => gcc 4.8.5\r\n\r\n##### Detailed description\r\nI want to Compile opencv3.2.0 with opencv_contrib3.2.0 . I add these flags \r\n-D OPENCV_EXTRA_MODULES_PATH=../modules/opencv_contrib-3.2.0/modules  \r\n-DINSTALL_CREATE_DISTRIB=ON\r\n -DBUILD_opencv_world=OFF\r\nbut i get these Errors \r\nCMake Warning at cmake/OpenCVUtils.cmake:1020 (message):\r\n  Download: Local copy of vgg_generated_48.i has invalid MD5 hash:\r\n  d41d8cd98f00b204e9800998ecf8427e (expected:\r\n  e8d0dcd54d1bcfdc29203d011a797179)\r\nCall Stack (most recent call first):\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/cmake/download_vgg.cmake:13 (ocv_download)\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/cmake/download_vgg.cmake:20 (vgg_download)\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/CMakeLists.txt:4 (include)\r\n\r\n\r\n-- Downloading vgg_generated_48.i...\r\nCMake Error at cmake/OpenCVUtils.cmake:1043 (file):\r\n  file DOWNLOAD HASH mismatch\r\n\r\n    for file: [/home/sadegh/core/FINAL/opencv-3.2.0/modules/opencv_contrib-3.2.0/modules/xfeatures2d/cmake/.download/e8d0dcd54d1bcfdc29203d011a797179/vgg_generated_48.i]\r\n      expected hash: [e8d0dcd54d1bcfdc29203d011a797179]\r\n        actual hash: [d41d8cd98f00b204e9800998ecf8427e]\r\n\r\nCall Stack (most recent call first):\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/cmake/download_vgg.cmake:13 (ocv_download)\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/cmake/download_vgg.cmake:20 (vgg_download)\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/CMakeLists.txt:4 (include)\r\n\r\n\r\nCMake Error at cmake/OpenCVUtils.cmake:1047 (message):\r\n  Failed to download vgg_generated_48.i.  Status=7;\"Couldn't connect to\r\n  server\"\r\nCall Stack (most recent call first):\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/cmake/download_vgg.cmake:13 (ocv_download)\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/cmake/download_vgg.cmake:20 (vgg_download)\r\n  modules/opencv_contrib-3.2.0/modules/xfeatures2d/CMakeLists.txt:4 (include)\r\nWould you plese help me to fnd out how to correct these errors ?\r\nThanksin Advance\r\n<!-- your description -->\r\n\r\n##### Steps to reproduce\r\n\r\n<!-- to add code example fence it with triple backticks and optional file extension\r\n    ```.cpp\r\n    // C++ code example\r\n    ```\r\n or attach as .txt or .zip file\r\n-->"},"comment":{"url":"https://api.github.com/repos/opencv/opencv_contrib/issues/comments/336429764","html_url":"https://github.com/opencv/opencv_contrib/issues/967#issuecomment-336429764","issue_url":"https://api.github.com/repos/opencv/opencv_contrib/issues/967","id":336429764,"user":{"login":"aleb","id":505582,"avatar_url":"https://avatars1.githubusercontent.com/u/505582?v=4","gravatar_id":"","url":"https://api.github.com/users/aleb","html_url":"https://github.com/aleb","followers_url":"https://api.github.com/users/aleb/followers","following_url":"https://api.github.com/users/aleb/following{/other_user}","gists_url":"https://api.github.com/users/aleb/gists{/gist_id}","starred_url":"https://api.github.com/users/aleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleb/subscriptions","organizations_url":"https://api.github.com/users/aleb/orgs","repos_url":"https://api.github.com/users/aleb/repos","events_url":"https://api.github.com/users/aleb/events{/privacy}","received_events_url":"https://api.github.com/users/aleb/received_events","type":"User","site_admin":false},"created_at":"2017-10-13T11:49:11Z","updated_at":"2017-10-13T11:49:11Z","author_association":"NONE","body":"I downloaded the vgg*.i files to `opencv_contrib/modules/xfeatures2d/src` but when running cmake it tries to download them again. Where exactly did you download them?"}}
{"actor":{"display_login":"aleb"}}