{"action":"opened","issue":{"url":"https://api.github.com/repos/tqdm/tqdm/issues/130","repository_url":"https://api.github.com/repos/tqdm/tqdm","labels_url":"https://api.github.com/repos/tqdm/tqdm/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/tqdm/tqdm/issues/130/comments","events_url":"https://api.github.com/repos/tqdm/tqdm/issues/130/events","html_url":"https://github.com/tqdm/tqdm/issues/130","id":137650708,"number":130,"title":"Nested bars: Unexpected keyword argument 'position'","user":{"login":"neal-morgansolar","id":14981598,"avatar_url":"https://avatars.githubusercontent.com/u/14981598?v=3","gravatar_id":"","url":"https://api.github.com/users/neal-morgansolar","html_url":"https://github.com/neal-morgansolar","followers_url":"https://api.github.com/users/neal-morgansolar/followers","following_url":"https://api.github.com/users/neal-morgansolar/following{/other_user}","gists_url":"https://api.github.com/users/neal-morgansolar/gists{/gist_id}","starred_url":"https://api.github.com/users/neal-morgansolar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neal-morgansolar/subscriptions","organizations_url":"https://api.github.com/users/neal-morgansolar/orgs","repos_url":"https://api.github.com/users/neal-morgansolar/repos","events_url":"https://api.github.com/users/neal-morgansolar/events{/privacy}","received_events_url":"https://api.github.com/users/neal-morgansolar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T18:29:42Z","updated_at":"2016-03-01T18:29:42Z","closed_at":null,"body":"I'm getting the following error when trying to use nested bars:\r\n\r\n```\r\n    for filename in tqdm(filenames, desc=\"Files\", position=0):\r\nTypeError: __init__() got an unexpected keyword argument 'position'\r\n```\r\n\r\nIf I leave the `position` argument out, the only one bar shows. The code I'm trying to run is below:\r\n```python\r\nfor filename in tqdm(filenames, desc=\"Files\", position=0):\r\n    wb = openpyxl.load_workbook(os.path.join(data_dir, filename))\r\n    sheet = wb.worksheets[0]\r\n    for _, things in blocks.items():\r\n        for row in tqdm(sheet.iter_rows(things), desc=\"cells\", position=1):\r\n            for cell in row:\r\n                # do things\r\n```\r\n\r\n\r\nUsing the following example code from the documentation:\r\n\r\n```python\r\nfrom tqdm import trange\r\nfrom time import sleep\r\n\r\nfor i in trange(10, desc='1st loop'):\r\n    for j in trange(5, desc='2nd loop', leave=False):\r\n        for k in trange(100, desc='3nd loop'):\r\n            sleep(0.01)\r\n```\r\n\r\nProduces this bar only this one bar:\r\n![tqdm-cmder](https://cloud.githubusercontent.com/assets/14981598/13437060/57d9a822-dfb0-11e5-8e55-9339f4797699.png)\r\n\r\nColorama is installed in the same venv. \r\n\r\nUsing python3.4 on windows 7. "}}