{"action":"created","issue":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1646","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1646/labels{/name}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1646/comments","events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1646/events","html_url":"https://github.com/camptocamp/c2cgeoportal/issues/1646","id":108332087,"number":1646,"title":"CoverageException when running the unit tests","user":{"login":"elemoine","id":76594,"avatar_url":"https://avatars.githubusercontent.com/u/76594?v=3","gravatar_id":"","url":"https://api.github.com/users/elemoine","html_url":"https://github.com/elemoine","followers_url":"https://api.github.com/users/elemoine/followers","following_url":"https://api.github.com/users/elemoine/following{/other_user}","gists_url":"https://api.github.com/users/elemoine/gists{/gist_id}","starred_url":"https://api.github.com/users/elemoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemoine/subscriptions","organizations_url":"https://api.github.com/users/elemoine/orgs","repos_url":"https://api.github.com/users/elemoine/repos","events_url":"https://api.github.com/users/elemoine/events{/privacy}","received_events_url":"https://api.github.com/users/elemoine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones/31","html_url":"https://github.com/camptocamp/c2cgeoportal/milestones/2.0","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones/31/labels","id":1156553,"number":31,"title":"2.0","description":"","creator":{"login":"sbrunner","id":353872,"avatar_url":"https://avatars.githubusercontent.com/u/353872?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrunner","html_url":"https://github.com/sbrunner","followers_url":"https://api.github.com/users/sbrunner/followers","following_url":"https://api.github.com/users/sbrunner/following{/other_user}","gists_url":"https://api.github.com/users/sbrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrunner/subscriptions","organizations_url":"https://api.github.com/users/sbrunner/orgs","repos_url":"https://api.github.com/users/sbrunner/repos","events_url":"https://api.github.com/users/sbrunner/events{/privacy}","received_events_url":"https://api.github.com/users/sbrunner/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":54,"state":"open","created_at":"2015-06-09T09:54:18Z","updated_at":"2015-09-25T15:29:22Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-09-25T13:58:16Z","updated_at":"2015-09-25T15:30:27Z","closed_at":null,"body":"I just tried to run the c2cgeoportal unit tests using\r\n\r\n```\r\n.build/venv/bin/python setup.py nosetests -a '!functional'\r\n```\r\n\r\nas indicated in the `server_side.html` documentation, but it fails with a CoverageException:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 128, in <module>\r\n    \"geomapfish-angular = c2cgeoportal.lib.lingua_extractor:GeoMapfishAngularExtractor\",\r\n  File \"/usr/lib/python2.7/distutils/core.py\", line 151, in setup\r\n    dist.run_commands()\r\n  File \"/usr/lib/python2.7/distutils/dist.py\", line 953, in run_commands\r\n    self.run_command(cmd)\r\n  File \"/usr/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nose/commands.py\", line 158, in run\r\n    TestProgram(argv=argv, config=self.__config)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nose/core.py\", line 121, in __init__\r\n    **extra_args)\r\n  File \"/usr/lib/python2.7/unittest/main.py\", line 94, in __init__\r\n    self.parseArgs(argv)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nose/core.py\", line 145, in parseArgs\r\n    self.config.configure(argv, doc=self.usage())\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nose/config.py\", line 346, in configure\r\n    self.plugins.configure(options, self)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nose/plugins/manager.py\", line 284, in configure\r\n    cfg(options, config)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nose/plugins/manager.py\", line 99, in __call__\r\n    return self.call(*arg, **kw)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nose/plugins/manager.py\", line 167, in simple\r\n    result = meth(*arg, **kw)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nosexcover/nosexcover.py\", line 53, in configure\r\n    super(XCoverage, self).configure(options, config)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/nose/plugins/cover.py\", line 155, in configure\r\n    self.coverInstance.load()\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/coverage/control.py\", line 657, in load\r\n    self.data_files.read(self.data)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/coverage/data.py\", line 631, in read\r\n    data.read_file(self.filename)\r\n  File \"/home/elemoine/c2cgeoportal/.build/venv/local/lib/python2.7/site-packages/coverage/data.py\", line 293, in read_file\r\n    filename, exc.__class__.__name__, exc,\r\ncoverage.misc.CoverageException: Couldn't read data from '/home/elemoine/c2cgeoportal/.coverage': CoverageException: Doesn't seem to be a coverage.py data file\r\n```\r\n\r\nAny idea?"},"comment":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/comments/143252811","html_url":"https://github.com/camptocamp/c2cgeoportal/issues/1646#issuecomment-143252811","issue_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1646","id":143252811,"user":{"login":"elemoine","id":76594,"avatar_url":"https://avatars.githubusercontent.com/u/76594?v=3","gravatar_id":"","url":"https://api.github.com/users/elemoine","html_url":"https://github.com/elemoine","followers_url":"https://api.github.com/users/elemoine/followers","following_url":"https://api.github.com/users/elemoine/following{/other_user}","gists_url":"https://api.github.com/users/elemoine/gists{/gist_id}","starred_url":"https://api.github.com/users/elemoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemoine/subscriptions","organizations_url":"https://api.github.com/users/elemoine/orgs","repos_url":"https://api.github.com/users/elemoine/repos","events_url":"https://api.github.com/users/elemoine/events{/privacy}","received_events_url":"https://api.github.com/users/elemoine/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T15:30:27Z","updated_at":"2015-09-25T15:30:27Z","body":"I could just close this isuse, but I am  curious to know why I hit that problem."}}