{"action":"created","issue":{"url":"https://api.github.com/repos/mementum/backtrader/issues/205","repository_url":"https://api.github.com/repos/mementum/backtrader","labels_url":"https://api.github.com/repos/mementum/backtrader/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/mementum/backtrader/issues/205/comments","events_url":"https://api.github.com/repos/mementum/backtrader/issues/205/events","html_url":"https://github.com/mementum/backtrader/issues/205","id":191081654,"number":205,"title":"Crashe after upgrade","user":{"login":"parthasrinivasan","id":7433525,"avatar_url":"https://avatars.githubusercontent.com/u/7433525?v=3","gravatar_id":"","url":"https://api.github.com/users/parthasrinivasan","html_url":"https://github.com/parthasrinivasan","followers_url":"https://api.github.com/users/parthasrinivasan/followers","following_url":"https://api.github.com/users/parthasrinivasan/following{/other_user}","gists_url":"https://api.github.com/users/parthasrinivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/parthasrinivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parthasrinivasan/subscriptions","organizations_url":"https://api.github.com/users/parthasrinivasan/orgs","repos_url":"https://api.github.com/users/parthasrinivasan/repos","events_url":"https://api.github.com/users/parthasrinivasan/events{/privacy}","received_events_url":"https://api.github.com/users/parthasrinivasan/received_events","type":"User","site_admin":false},"labels":[{"id":164799753,"url":"https://api.github.com/repos/mementum/backtrader/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-22T18:03:29Z","updated_at":"2016-11-30T19:42:05Z","closed_at":"2016-11-30T19:42:05Z","body":"Hi,\r\nI finally upgraded from 1.24.88 to the latest version and an existing program that worked before crashed.\r\nHere is the traceback ..  Any idea why ?\r\n\r\nThanks,\r\nPartha\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\partha\\GitHub\\PyTrade\\nlgen.py\", line 280, in <module>\r\n    runstrat()\r\n  File \"C:\\Users\\partha\\GitHub\\PyTrade\\nlgen.py\", line 228, in runstrat\r\n    cerebro.run()\r\n  File \"C:\\Python27\\lib\\site-packages\\backtrader\\cerebro.py\", line 788, in run\r\n    runstrat = self.runstrategies(iterstrat)\r\n  File \"C:\\Python27\\lib\\site-packages\\backtrader\\cerebro.py\", line 850, in runstrategies\r\n    strat = stratcls(*sargs, **skwargs)\r\n  File \"C:\\Python27\\lib\\site-packages\\backtrader\\metabase.py\", line 87, in __call__\r\n    _obj, args, kwargs = cls.doinit(_obj, *args, **kwargs)\r\n  File \"C:\\Python27\\lib\\site-packages\\backtrader\\metabase.py\", line 77, in doinit\r\n    _obj.__init__(*args, **kwargs)\r\nTypeError: __init__() takes exactly 7 arguments (1 given)\r\n```"},"comment":{"url":"https://api.github.com/repos/mementum/backtrader/issues/comments/263973631","html_url":"https://github.com/mementum/backtrader/issues/205#issuecomment-263973631","issue_url":"https://api.github.com/repos/mementum/backtrader/issues/205","id":263973631,"user":{"login":"parthasrinivasan","id":7433525,"avatar_url":"https://avatars.githubusercontent.com/u/7433525?v=3","gravatar_id":"","url":"https://api.github.com/users/parthasrinivasan","html_url":"https://github.com/parthasrinivasan","followers_url":"https://api.github.com/users/parthasrinivasan/followers","following_url":"https://api.github.com/users/parthasrinivasan/following{/other_user}","gists_url":"https://api.github.com/users/parthasrinivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/parthasrinivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parthasrinivasan/subscriptions","organizations_url":"https://api.github.com/users/parthasrinivasan/orgs","repos_url":"https://api.github.com/users/parthasrinivasan/repos","events_url":"https://api.github.com/users/parthasrinivasan/events{/privacy}","received_events_url":"https://api.github.com/users/parthasrinivasan/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T19:42:05Z","updated_at":"2016-11-30T19:42:05Z","body":"Daniel,\r\nHere is a standalone test program that reproduces the issue.  If you feed both streams - 5min and daily bars - the program exhibits the issue.  Comment out either of the feeds and its fine.\r\ntestgen.py, AAPL_5min.csv and AAPL_daily.csv enclosed in the zip file.  Unzip and just run it.\r\nOutput:\r\nC:\\Users\\partha\\GitHub\\PyTrade>.\\testgen.py\r\nTypeError in Cerebro Run:  __init__() takes exactly 7 arguments (1 given)\r\n\r\n\r\n[testgen.zip](https://github.com/mementum/backtrader/files/622798/testgen.zip)\r\n"}}
{"actor":{"display_login":"parthasrinivasan"}}