{"action":"created","issue":{"url":"https://api.github.com/repos/divio/django-cms/issues/4755","labels_url":"https://api.github.com/repos/divio/django-cms/issues/4755/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-cms/issues/4755/comments","events_url":"https://api.github.com/repos/divio/django-cms/issues/4755/events","html_url":"https://github.com/divio/django-cms/issues/4755","id":118178772,"number":4755,"title":"environment can only contain strings","user":{"login":"TheDeadOne","id":5821459,"avatar_url":"https://avatars.githubusercontent.com/u/5821459?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDeadOne","html_url":"https://github.com/TheDeadOne","followers_url":"https://api.github.com/users/TheDeadOne/followers","following_url":"https://api.github.com/users/TheDeadOne/following{/other_user}","gists_url":"https://api.github.com/users/TheDeadOne/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDeadOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDeadOne/subscriptions","organizations_url":"https://api.github.com/users/TheDeadOne/orgs","repos_url":"https://api.github.com/users/TheDeadOne/repos","events_url":"https://api.github.com/users/TheDeadOne/events{/privacy}","received_events_url":"https://api.github.com/users/TheDeadOne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-21T07:31:51Z","updated_at":"2015-12-14T11:27:34Z","closed_at":"2015-11-24T15:49:49Z","body":"C:\\Temp\\mysite>virtualenv env\r\nNew python executable in env\\Scripts\\python2.7.exe\r\nAlso creating executable in env\\Scripts\\python.exe\r\nInstalling setuptools, pip, wheel...done.\r\n\r\nC:\\Temp\\mysite>env\\Scripts\\activate\r\n(env) C:\\Temp\\mysite>pip install djangocms-installer\r\nCollecting djangocms-installer\r\n...\r\n\r\n(env) C:\\Temp\\mysite>djangocms -p . -s mysite\r\nDatabase configuration (in URL format) [default sqlite://localhost/project.db]:\r\ndjango CMS version (choices: 2.4, 3.0, 3.1, stable, develop) [default stable]:\r\nDjango version (choices: 1.4, 1.5, 1.6, 1.7, 1.8, stable) [default stable]:\r\nActivate Django I18N / L10N setting (choices: yes, no) [default yes]:\r\nInstall and configure reversion support (choices: yes, no) [default yes]:\r\nLanguages to enable. Option can be provided multiple times, or as a comma separa\r\nted list. Only language codes supported by Django can be used here: ru-ru\r\nOptional default time zone [default Asia/Irkutsk]:\r\nActivate Django timezone support (choices: yes, no) [default yes]:\r\nActivate CMS permission management (choices: yes, no) [default yes]:\r\nUse Twitter Bootstrap Theme (choices: yes, no) [default no]:\r\nUse custom template set [default no]:\r\nLoad a starting page with examples after installation (english language only). C\r\nhoose \"no\" if you use a custom template set. (choices: yes, no) [default no]:\r\nCreating the project\r\nPlease wait while I install dependencies\r\n...\r\nDependencies installed\r\nCreating the projectFailure occurred. Do you want to cleanup by removing C:\\Temp\r\n\\mysite? [Y/N] N\r\nTraceback (most recent call last):\r\n  File \"C:\\Python\\Lib\\runpy.py\", line 162, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"C:\\Python\\Lib\\runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"C:\\Temp\\mysite\\env\\Scripts\\djangocms.exe\\__main__.py\", line 9, in <modul\r\ne>\r\n  File \"c:\\temp\\mysite\\env\\lib\\site-packages\\djangocms_installer\\main.py\", line\r\n41, in execute\r\n    django.setup_database(config_data)\r\n  File \"c:\\temp\\mysite\\env\\lib\\site-packages\\djangocms_installer\\django\\__init__\r\n.py\", line 404, in setup_database\r\n    env=env\r\n  File \"C:\\Python\\Lib\\subprocess.py\", line 535, in check_call\r\n    retcode = call(*popenargs, **kwargs)\r\n  File \"C:\\Python\\Lib\\subprocess.py\", line 522, in call\r\n    return Popen(*popenargs, **kwargs).wait()\r\n  File \"C:\\Python\\Lib\\subprocess.py\", line 710, in __init__\r\n    errread, errwrite)\r\n  File \"C:\\Python\\Lib\\subprocess.py\", line 958, in _execute_child\r\n    startupinfo)\r\nTypeError: environment can only contain strings\r\n\r\n(env) C:\\Temp\\mysite>python\r\nActivePython 2.7.8.10 (ActiveState Software Inc.) based on\r\nPython 2.7.8 (default, Jul  2 2014, 19:50:44) [MSC v.1500 32 bit (Intel)] on win\r\n32\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import os\r\n>>> os.environ\r\n{'TMP': 'C:\\\\Users\\\\THEDEA~1\\\\AppData\\\\Local\\\\Temp', 'COMPUTERNAME': 'KONRAD', '\r\nUSERDOMAIN': 'Konrad', 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\r\n\\\\v1.0\\\\Modules\\\\', 'COMMONPROGRAMFILES': 'C:\\\\Program Files\\\\Common Files', 'PR\r\nOCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel', 'PROGRAMF\r\nILES': 'C:\\\\Program Files', 'PROCESSOR_REVISION': '0f02', 'SYSTEMROOT': 'C:\\\\Win\r\ndows', 'PATH': 'C:\\\\Python\\\\;C:\\\\Python\\\\Scripts;C:\\\\ProgramData\\\\Oracle\\\\Java\\\\\r\njavapath;C:\\\\Program Files\\\\Common Files\\\\Microsoft Shared\\\\Windows Live;C:\\\\Pro\r\ngram Files\\\\NVIDIA Corporation\\\\PhysX\\\\Common;C:\\\\Windows\\\\system32;C:\\\\Windows;\r\nC:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\r\n\\Program Files\\\\Maven\\\\bin;C:\\\\Program Files\\\\Java\\\\jdk1.8.0_51\\\\bin;C:\\\\Windows\r\n\\\\Microsoft.NET\\\\Framework\\\\v4.0.30319;C:\\\\Program Files\\\\Mercurial\\\\;C:\\\\Progra\r\nm Files\\\\Windows Live\\\\Shared;C:\\\\Scala\\\\bin;C:\\\\Scala\\\\sbt\\\\bin;C:\\\\Program Fil\r\nes\\\\Skype\\\\Phone\\\\;C:\\\\Users\\\\TheDeadOne\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;C:\\\\\r\nProgram Files\\\\OpenVPN\\\\bin;C:\\\\Google\\\\appengine\\\\python\\\\', 'WINDOWS_TRACING_F\r\nLAGS': '3', 'TEMP': 'C:\\\\Users\\\\THEDEA~1\\\\AppData\\\\Local\\\\Temp', 'PROCESSOR_ARCH\r\nITECTURE': 'x86', 'ALLUSERSPROFILE': 'C:\\\\ProgramData', 'LOCALAPPDATA': 'C:\\\\Use\r\nrs\\\\TheDeadOne\\\\AppData\\\\Local', 'HOMEPATH': '\\\\Users\\\\TheDeadOne', 'JAVA_HOME':\r\n 'C:\\\\Program Files\\\\Java\\\\jdk1.8.0_51', 'USERNAME': 'TheDeadOne', 'HGENCODING':\r\n '866', 'LOGONSERVER': '\\\\\\\\KONRAD', 'PROMPT': '$P$G', 'SBT_HOME': 'C:\\\\Scala\\\\s\r\nbt\\\\', 'PROGRAMDATA': 'C:\\\\ProgramData', 'SESSIONNAME': 'Console', 'PATHEXT': '.\r\nCOM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw', 'FP_NO_HOST_CHEC\r\nK': 'NO', 'WINDIR': 'C:\\\\Windows', 'WINDOWS_TRACING_LOGFILE': 'C:\\\\BVTBin\\\\Tests\r\n\\\\installpackage\\\\csilogfile.log', 'HOMEDRIVE': 'C:', 'SYSTEMDRIVE': 'C:', 'COMS\r\nPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe', 'NUMBER_OF_PROCESSORS': '2', 'APPDATA':\r\n'C:\\\\Users\\\\TheDeadOne\\\\AppData\\\\Roaming', 'PROCESSOR_LEVEL': '6', 'HGEDITOR': '\r\n\"C:\\\\Program Files\\\\Far Manager\\\\Far.exe\" -e', 'OS': 'Windows_NT', 'PUBLIC': 'C:\r\n\\\\Users\\\\Public', 'USERPROFILE': 'C:\\\\Users\\\\TheDeadOne'}"},"comment":{"url":"https://api.github.com/repos/divio/django-cms/issues/comments/164414629","html_url":"https://github.com/divio/django-cms/issues/4755#issuecomment-164414629","issue_url":"https://api.github.com/repos/divio/django-cms/issues/4755","id":164414629,"user":{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T11:27:34Z","updated_at":"2015-12-14T11:27:34Z","body":"@daviesattisu have you tried the linked PR?"}}