{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/6344","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/6344/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/6344/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/6344/events","html_url":"https://github.com/spyder-ide/spyder/issues/6344","id":293055495,"number":6344,"title":"ValueError: unknown locale: az_IR","user":{"login":"aerosadegh","id":5039032,"avatar_url":"https://avatars1.githubusercontent.com/u/5039032?v=4","gravatar_id":"","url":"https://api.github.com/users/aerosadegh","html_url":"https://github.com/aerosadegh","followers_url":"https://api.github.com/users/aerosadegh/followers","following_url":"https://api.github.com/users/aerosadegh/following{/other_user}","gists_url":"https://api.github.com/users/aerosadegh/gists{/gist_id}","starred_url":"https://api.github.com/users/aerosadegh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerosadegh/subscriptions","organizations_url":"https://api.github.com/users/aerosadegh/orgs","repos_url":"https://api.github.com/users/aerosadegh/repos","events_url":"https://api.github.com/users/aerosadegh/events{/privacy}","received_events_url":"https://api.github.com/users/aerosadegh/received_events","type":"User","site_admin":false},"labels":[{"id":781498661,"url":"https://api.github.com/repos/spyder-ide/spyder/labels/resolution:NotSpyder","name":"resolution:NotSpyder","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-31T07:24:17Z","updated_at":"2018-02-02T14:10:43Z","closed_at":"2018-01-31T15:47:33Z","author_association":"NONE","body":"## Description\r\nI using kubuntu 17.10.1\r\n**What steps will reproduce the problem?**\r\nI get this error for spyder 3.2.5 and 3.2.6 and 3.2.0!\r\n\r\n**What is the expected output? What do you see instead?**\r\nI installed spyder using pip3 and then start it. i show below error and IPython console not connected. \r\nusing install from apt install spyder, install version 3.1.4+dfsg1-1 and when it start i see a black window for spyder!\r\n\r\n**Please provide any additional information below**\r\n```\r\n  File \"/usr/local/lib/python3.6/dist-packages/spyder/plugins/__init__.py\", line 511, in <lambda>\r\n    toggled=lambda checked: self.toggle_view(checked),\r\n  File \"/usr/local/lib/python3.6/dist-packages/spyder/plugins/ipythonconsole.py\", line 725, in toggle_view\r\n    self.create_new_client(give_focus=False)\r\n  File \"/usr/local/lib/python3.6/dist-packages/spyder/plugins/ipythonconsole.py\", line 1033, in create_new_client\r\n    self.connect_client_to_kernel(client)\r\n  File \"/usr/local/lib/python3.6/dist-packages/spyder/plugins/ipythonconsole.py\", line 1059, in connect_client_to_kernel\r\n    stderr_file)\r\n  File \"/usr/local/lib/python3.6/dist-packages/spyder/plugins/ipythonconsole.py\", line 1477, in create_kernel_manager_and_kernel_client\r\n    config=None, autorestart=True)\r\n  File \"/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py\", line 958, in __new__\r\n    inst.setup_instance(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py\", line 986, in setup_instance\r\n    super(HasTraits, self).setup_instance(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py\", line 977, in setup_instance\r\n    value.instance_init(self)\r\n  File \"/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py\", line 1691, in instance_init\r\n    self._resolve_classes()\r\n  File \"/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py\", line 1696, in _resolve_classes\r\n    self.klass = self._resolve_string(self.klass)\r\n  File \"/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py\", line 1507, in _resolve_string\r\n    return import_item(string)\r\n  File \"/usr/local/lib/python3.6/dist-packages/traitlets/utils/importstring.py\", line 34, in import_item\r\n    module = __import__(package, fromlist=[obj])\r\n  File \"/usr/local/lib/python3.6/dist-packages/jupyter_client/session.py\", line 61, in <module>\r\n    from jupyter_client.jsonutil import extract_dates, squash_dates, date_default\r\n  File \"/usr/local/lib/python3.6/dist-packages/jupyter_client/jsonutil.py\", line 28, in <module>\r\n    datetime.strptime(\"1\", \"%d\")\r\n  File \"/usr/lib/python3.6/_strptime.py\", line 280, in <module>\r\n    _TimeRE_cache = TimeRE()\r\n  File \"/usr/lib/python3.6/_strptime.py\", line 194, in __init__\r\n    self.locale_time = LocaleTime()\r\n  File \"/usr/lib/python3.6/_strptime.py\", line 72, in __init__\r\n    self.lang = _getlang()\r\n  File \"/usr/lib/python3.6/_strptime.py\", line 31, in _getlang\r\n    return locale.getlocale(locale.LC_TIME)\r\n  File \"/usr/lib/python3.6/locale.py\", line 581, in getlocale\r\n    return _parse_localename(localename)\r\n  File \"/usr/lib/python3.6/locale.py\", line 490, in _parse_localename\r\n    raise ValueError('unknown locale: %s' % localename)\r\nValueError: unknown locale: az_IR\r\n```\r\n\r\n## Version and main components\r\n\r\n* Spyder Version: 3.2.5 \r\n* Python Version: 3.6.3\r\n* Qt Versions: 5.10.0, PyQt5 5.10 on Linux\r\n\r\n## Dependencies\r\n```\r\npyflakes >=0.6.0 :  1.6.0 (OK)\r\npycodestyle >=2.3:  2.3.1 (OK)\r\npygments >=2.0   :  2.2.0 (OK)\r\npandas >=0.13.1  :  None (NOK)\r\nnumpy >=1.7      :  1.14.0 (OK)\r\nsphinx >=0.6.6   :  1.6.6 (OK)\r\nrope >=0.9.4     :  0.10.7 (OK)\r\njedi >=0.9.0     :  0.11.1 (OK)\r\npsutil >=0.3     :  5.4.3 (OK)\r\nnbconvert >=4.0  :  5.3.1 (OK)\r\nsympy >=0.7.3    :  None (NOK)\r\ncython >=0.21    :  None (NOK)\r\nqtconsole >=4.2.0:  4.3.1 (OK)\r\nIPython >=4.0    :  6.2.1 (OK)\r\npylint >=0.25    :  1.8.2 (OK)\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/362596395","html_url":"https://github.com/spyder-ide/spyder/issues/6344#issuecomment-362596395","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/6344","id":362596395,"user":{"login":"aerosadegh","id":5039032,"avatar_url":"https://avatars1.githubusercontent.com/u/5039032?v=4","gravatar_id":"","url":"https://api.github.com/users/aerosadegh","html_url":"https://github.com/aerosadegh","followers_url":"https://api.github.com/users/aerosadegh/followers","following_url":"https://api.github.com/users/aerosadegh/following{/other_user}","gists_url":"https://api.github.com/users/aerosadegh/gists{/gist_id}","starred_url":"https://api.github.com/users/aerosadegh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerosadegh/subscriptions","organizations_url":"https://api.github.com/users/aerosadegh/orgs","repos_url":"https://api.github.com/users/aerosadegh/repos","events_url":"https://api.github.com/users/aerosadegh/events{/privacy}","received_events_url":"https://api.github.com/users/aerosadegh/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T14:10:43Z","updated_at":"2018-02-02T14:10:43Z","author_association":"NONE","body":"@ccordoba12 \r\n\r\nthe correct of that is:\r\n`export LC_ALL=\"en\"`"}}
{"actor":{"display_login":"aerosadegh"}}