{"action":"created","issue":{"url":"https://api.github.com/repos/johnpaulett/txHL7/issues/9","labels_url":"https://api.github.com/repos/johnpaulett/txHL7/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/johnpaulett/txHL7/issues/9/comments","events_url":"https://api.github.com/repos/johnpaulett/txHL7/issues/9/events","html_url":"https://github.com/johnpaulett/txHL7/issues/9","id":58741081,"number":9,"title":"Unit tests no more passes","user":{"login":"tizbecool","id":6226797,"avatar_url":"https://avatars.githubusercontent.com/u/6226797?v=3","gravatar_id":"","url":"https://api.github.com/users/tizbecool","html_url":"https://github.com/tizbecool","followers_url":"https://api.github.com/users/tizbecool/followers","following_url":"https://api.github.com/users/tizbecool/following{/other_user}","gists_url":"https://api.github.com/users/tizbecool/gists{/gist_id}","starred_url":"https://api.github.com/users/tizbecool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tizbecool/subscriptions","organizations_url":"https://api.github.com/users/tizbecool/orgs","repos_url":"https://api.github.com/users/tizbecool/repos","events_url":"https://api.github.com/users/tizbecool/events{/privacy}","received_events_url":"https://api.github.com/users/tizbecool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T13:55:37Z","updated_at":"2015-02-24T14:34:56Z","closed_at":null,"body":"Hi,\r\n\r\nI try to run the unit tests with trial and their not passing:\r\n\r\n===============================================================================\r\n[ERROR]\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/unittest/case.py\", line 331, in run\r\n    testMethod()\r\n  File \"/tmp/twisted-hl7/tests/test_mllp.py\", line 59, in testParseMessage\r\n    self.protocol.transport.write.call_args[0][0]))\r\nexceptions.TypeError: 'NoneType' object has no attribute '__getitem__'\r\n\r\ntests.test_mllp.MinimalLowerLayerProtocolTest.testParseMessage\r\n===============================================================================\r\n[ERROR]\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/unittest/case.py\", line 331, in run\r\n    testMethod()\r\n  File \"/tmp/twisted-hl7/tests/test_mllp.py\", line 80, in testParseMessageUnicode\r\n    self.protocol.transport.write.call_args[0][0]))\r\nexceptions.TypeError: 'NoneType' object has no attribute '__getitem__'\r\n\r\ntests.test_mllp.MinimalLowerLayerProtocolTest.testParseMessageUnicode\r\n===============================================================================\r\n[ERROR]\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/unittest/case.py\", line 331, in run\r\n    testMethod()\r\n  File \"/tmp/twisted-hl7/tests/test_mllp.py\", line 69, in testUncaughtError\r\n    self.protocol.transport.write.call_args[0][0]))\r\nexceptions.TypeError: 'NoneType' object has no attribute '__getitem__'\r\n\r\ntests.test_mllp.MinimalLowerLayerProtocolTest.testUncaughtError\r\n===============================================================================\r\n[ERROR]\r\nTraceback (most recent call last):\r\n  File \"/tmp/twisted-hl7/twistedhl7/mllp.py\", line 49, in onError\r\n    reject = message_container.ack(ack_code='AR')\r\n  File \"/tmp/twisted-hl7/tests/test_mllp.py\", line 28, in ack\r\n    return unicode(self.message.create_ack(ack_code, message_id=ACK_ID))\r\nexceptions.AttributeError: 'Message' object has no attribute 'create_ack'\r\n\r\n<not in test>\r\n<not in test>\r\n<not in test>\r\n-------------------------------------------------------------------------------\r\nRan 5 tests in 0.032s\r\n\r\nFAILED (errors=6, successes=2)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/johnpaulett/txHL7/issues/comments/75766844","html_url":"https://github.com/johnpaulett/txHL7/issues/9#issuecomment-75766844","issue_url":"https://api.github.com/repos/johnpaulett/txHL7/issues/9","id":75766844,"user":{"login":"johnpaulett","id":30702,"avatar_url":"https://avatars.githubusercontent.com/u/30702?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpaulett","html_url":"https://github.com/johnpaulett","followers_url":"https://api.github.com/users/johnpaulett/followers","following_url":"https://api.github.com/users/johnpaulett/following{/other_user}","gists_url":"https://api.github.com/users/johnpaulett/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpaulett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpaulett/subscriptions","organizations_url":"https://api.github.com/users/johnpaulett/orgs","repos_url":"https://api.github.com/users/johnpaulett/repos","events_url":"https://api.github.com/users/johnpaulett/events{/privacy}","received_events_url":"https://api.github.com/users/johnpaulett/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T14:34:56Z","updated_at":"2015-02-24T14:34:56Z","body":"I'm unable to reproduce using a fresh checkout.  We had some major changes in the past several months -- package renamed and python-hl7 upgraded  (which had backwards-incompatible changes).\r\n\r\nIt would appear that the old package name is still referenced in this run (\"twistedhl7\" should be txHL7 now in: `File \"/tmp/twisted-hl7/twistedhl7/mllp.py\", line 49, in onError`).  Can you ensure that you have the latest git checkout, update the virtualenv (`make env`, can blow away the `env` folder and have it recreated if needed)?"}}