{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/pywinpty/issues/59","repository_url":"https://api.github.com/repos/spyder-ide/pywinpty","labels_url":"https://api.github.com/repos/spyder-ide/pywinpty/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/pywinpty/issues/59/comments","events_url":"https://api.github.com/repos/spyder-ide/pywinpty/issues/59/events","html_url":"https://github.com/spyder-ide/pywinpty/issues/59","id":263112744,"number":59,"title":"Access violation writing 0x0000000000000000 on Windows 7","user":{"login":"andfoy","id":1878982,"avatar_url":"https://avatars1.githubusercontent.com/u/1878982?v=4","gravatar_id":"","url":"https://api.github.com/users/andfoy","html_url":"https://github.com/andfoy","followers_url":"https://api.github.com/users/andfoy/followers","following_url":"https://api.github.com/users/andfoy/following{/other_user}","gists_url":"https://api.github.com/users/andfoy/gists{/gist_id}","starred_url":"https://api.github.com/users/andfoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andfoy/subscriptions","organizations_url":"https://api.github.com/users/andfoy/orgs","repos_url":"https://api.github.com/users/andfoy/repos","events_url":"https://api.github.com/users/andfoy/events{/privacy}","received_events_url":"https://api.github.com/users/andfoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"blink1073","id":2096628,"avatar_url":"https://avatars2.githubusercontent.com/u/2096628?v=4","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"assignees":[{"login":"blink1073","id":2096628,"avatar_url":"https://avatars2.githubusercontent.com/u/2096628?v=4","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/spyder-ide/pywinpty/milestones/15","html_url":"https://github.com/spyder-ide/pywinpty/milestone/15","labels_url":"https://api.github.com/repos/spyder-ide/pywinpty/milestones/15/labels","id":3054018,"number":15,"title":"v0.5.2","description":null,"creator":{"login":"ccordoba12","id":365293,"avatar_url":"https://avatars3.githubusercontent.com/u/365293?v=4","gravatar_id":"","url":"https://api.github.com/users/ccordoba12","html_url":"https://github.com/ccordoba12","followers_url":"https://api.github.com/users/ccordoba12/followers","following_url":"https://api.github.com/users/ccordoba12/following{/other_user}","gists_url":"https://api.github.com/users/ccordoba12/gists{/gist_id}","starred_url":"https://api.github.com/users/ccordoba12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccordoba12/subscriptions","organizations_url":"https://api.github.com/users/ccordoba12/orgs","repos_url":"https://api.github.com/users/ccordoba12/repos","events_url":"https://api.github.com/users/ccordoba12/events{/privacy}","received_events_url":"https://api.github.com/users/ccordoba12/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2018-01-22T14:23:09Z","updated_at":"2018-02-07T16:51:27Z","due_on":null,"closed_at":null},"comments":42,"created_at":"2017-10-05T12:48:58Z","updated_at":"2018-02-07T23:38:16Z","closed_at":null,"author_association":"MEMBER","body":"@jxrossel commented on [Wed Oct 04 2017](https://github.com/spyder-ide/spyder-terminal/issues/115)\r\n\r\n## Description of your problem\r\n\r\nWhen starting spyder, I get an error message with \"Terminal server could not be located (...)\" and something about starting spyder in debugging mode (which I don't know how to do).\r\n\r\n**What steps will reproduce the problem?**\r\n\r\n1. starting spyder\r\n2.\r\n3.\r\n\r\n**What is the expected output? What do you see instead?**\r\nerror message and no terminal in the consoles\r\n\r\n**Please provide any additional information below**\r\n\r\n\r\n## Versions and main components\r\n\r\n* Terminal Version: 0.2.2\r\n* Spyder Version: 3.2.3\r\n* Python Version:  python-3.6.2.amd64 (from [WinPython](https://sourceforge.net/projects/winpython/files/WinPython_3.6/3.6.2.0/), then I just updated spyder and spyder-terminal)\r\n* Operating system: Windows 7\r\n\r\n## pip list\r\n\r\n<details>\r\nadodbapi (2.6.0.7)\r\nalabaster (0.7.10)\r\nalgopy (0.5.5)\r\naltair (1.2.0)\r\naltair-widgets (0.1.2)\r\nargh (0.26.2)\r\nasgi-redis (1.4.3)\r\nasgiref (1.1.2)\r\nastroid (1.5.3)\r\nastroML (0.3)\r\nattrs (17.2.0)\r\nautobahn (17.9.3)\r\nAutomat (0.6.0)\r\nBabel (2.4.0)\r\nbackports-abc (0.5)\r\nbackports.weakref (1.0rc1)\r\nbaresql (0.7.4)\r\nbcolz (1.1.2)\r\nbeautifulsoup4 (4.6.0)\r\nbkcharts (0.2)\r\nblaze (0.10.1)\r\nbleach (2.0.0)\r\nblosc (1.5.1)\r\nbloscpack (0.11.0)\r\nbokeh (0.12.9)\r\nboto3 (1.4.1)\r\nbotocore (1.4.36)\r\nBottleneck (1.2.1)\r\nbqplot (0.9.0)\r\nbrewer2mpl (1.4.1)\r\nBrotli (0.6.0)\r\ncertifi (2017.7.27.1)\r\ncffi (1.10.0)\r\nchannels (1.1.8)\r\nchardet (3.0.4)\r\ncircus (0.14.0)\r\nclick (6.7)\r\ncloudpickle (0.3.1)\r\nclrmagic (0.0.1a2)\r\ncolorama (0.3.9)\r\ncolorcet (0.9.1)\r\ncoloredlogs (7.3)\r\ncomtypes (1.1.3)\r\nconstantly (15.1.0)\r\nCVXcanon (0.1.1)\r\ncvxopt (1.1.9)\r\ncvxpy (0.4.10)\r\ncx-Freeze (5.0.2)\r\ncycler (0.10.0)\r\ncyordereddict (1.0.0)\r\nCython (0.26)\r\ncytoolz (0.8.2)\r\ndaphne (1.3.0)\r\ndask (0.15.1)\r\ndatashader (0.5.0)\r\ndatashape (0.5.2)\r\ndb.py (0.5.3)\r\ndecorator (4.1.2)\r\ndill (0.2.7.1)\r\ndistributed (1.18.0)\r\nDjango (1.11.5)\r\ndjango-debug-toolbar (1.7)\r\ndjango-modeltranslation (0.12.1)\r\ndjango-redis (4.8.0)\r\ndjango-spaghetti-and-meatballs (0.2.2)\r\ndjango-su (0.5.2)\r\ndocopt (0.6.2)\r\ndocrepr (0.1.0)\r\ndocutils (0.14)\r\necos (2.0.4)\r\nedward (1.3.3)\r\nemcee (2.2.1)\r\nentrypoints (0.2.3)\r\nenum34 (1.1.6)\r\nfast-histogram (0.2.1)\r\nfastcache (1.0.2)\r\nfasteners (0.14.1)\r\nfastparquet (0.1.1)\r\nfeather-format (0.3.1)\r\nFlask (0.12.2)\r\nFlask-Cors (3.0.3)\r\nformlayout (1.1.0)\r\nfuzzywuzzy (0.15.0)\r\ngeopy (1.11.0)\r\ngitdb2 (2.0.0)\r\nGitPython (2.1.3)\r\ngmpy2 (2.0.8)\r\ngreenlet (0.4.12)\r\nguidata (1.7.6)\r\nguiqwt (3.0.3)\r\nh5py (2.7.0)\r\nHeapDict (1.0.0)\r\nholoviews (1.8.2)\r\nhtml5lib (1.0b10)\r\nhumanfriendly (4.4.1)\r\nhusl (4.0.3)\r\nhyperlink (17.3.1)\r\nidna (2.5)\r\nimageio (2.2.0)\r\nimagesize (0.7.1)\r\nincremental (17.5.0)\r\niowait (0.2)\r\nipykernel (4.6.1)\r\nipyleaflet (0.3.0)\r\nipympl (0.0.5)\r\nipyparallel (6.0.2)\r\nipython (6.1.0)\r\nipython-genutils (0.2.0)\r\nipython-sql (0.3.8)\r\nipywidgets (6.0.0)\r\nisort (4.2.15)\r\nitsdangerous (0.24)\r\njedi (0.10.2)\r\nJinja2 (2.9.6)\r\njmespath (0.9.3)\r\njoblib (0.11)\r\njsonschema (2.6.0)\r\njulia (0.1.2)\r\njupyter (1.0.0)\r\njupyter-client (5.1.0)\r\njupyter-console (5.1.0)\r\njupyter-core (4.3.0)\r\njupyter-sphinx (0.1.1)\r\njupyterlab (0.26.5)\r\njupyterlab-launcher (0.3.1)\r\nKeras (2.0.6)\r\nkeras-vis (0.4.1)\r\nLasagne (0.2.dev1)\r\nlazy-object-proxy (1.3.1)\r\nlivereload (2.5.1)\r\nllvmlite (0.19.0)\r\nlmfit (0.9.7)\r\nlocket (0.2.0)\r\nlxml (3.8.0)\r\nMarkdown (2.6.8)\r\nMarkupSafe (1.0)\r\nmatplotlib (2.0.2)\r\nmccabe (0.6.1)\r\nmetakernel (0.20.4)\r\nmistune (0.7.4)\r\nmizani (0.3.2)\r\nmkl-service (1.1.2)\r\nmonotonic (1.3)\r\nmoviepy (0.2.3.2)\r\nmpl-scatter-density (0.2)\r\nmpld3 (0.3)\r\nmpldatacursor (0.6.2)\r\nmpmath (0.19)\r\nmsgpack-python (0.4.8)\r\nmultipledispatch (0.4.9)\r\nmultiprocess (0.70.5)\r\nmypy (0.521)\r\nmysql-connector-python (2.0.4)\r\nnbconvert (5.2.1)\r\nnbconvert-reportlab (0.1)\r\nnbdime (0.3.0)\r\nnbformat (4.3.0)\r\nnetCDF4 (1.2.9)\r\nnetworkx (1.11)\r\nnltk (3.2.4)\r\nnotebook (5.1.0rc1)\r\nnumba (0.34.0)\r\nnumdifftools (0.9.20)\r\nnumexpr (2.6.2)\r\nnumpy (1.13.1+mkl)\r\nnumpydoc (0.7.0)\r\noct2py (4.0.6)\r\noctave-kernel (0.26.2)\r\nodo (0.5.0)\r\nolefile (0.44)\r\npalettable (3.0.0)\r\npandas (0.20.3)\r\npandas-datareader (0.5.0)\r\npandocfilters (1.4.2)\r\nparam (1.5.1)\r\npartd (0.3.8)\r\npathtools (0.1.2)\r\npatsy (0.4.1)\r\npdfrw (0.3)\r\npep8 (1.7.0)\r\npexpect (4.2.1)\r\npg8000 (1.10.5)\r\npickleshare (0.7.4)\r\nPillow (4.2.1)\r\npip (9.0.1)\r\npkginfo (1.4.1)\r\nplotnine (0.2.1)\r\nply (3.10)\r\nport-for (0.3.1)\r\nprettytable (0.7.2)\r\nprompt-toolkit (1.0.15)\r\nprotobuf (3.3.0)\r\npsutil (5.2.2)\r\nptpython (0.41)\r\nptyprocess (0.5.2)\r\nPuLP (1.6.8)\r\nPweave (0.30.0a1)\r\npy (1.4.34)\r\npyarrow (0.5.0)\r\nPyAudio (0.2.11)\r\npybars3 (0.9.3)\r\npybind11 (2.1.1)\r\npycodestyle (2.3.1)\r\npycparser (2.17)\r\npyflakes (1.6.0)\r\npyflux (0.4.15)\r\npygame (1.9.3)\r\nPygments (2.2.0)\r\npylint (1.7.2)\r\npymc (2.3.6)\r\npymc3 (3.1)\r\nPyMeta3 (0.5.1)\r\npymongo (3.5.0)\r\npyodbc (4.0.17)\r\nPyOpenGL (3.1.1)\r\npypandoc (1.3.2)\r\npyparsing (2.2.0)\r\nPyQt5 (5.9)\r\npyqtgraph (0.10.0)\r\npyreadline (2.0)\r\npyserial (3.4)\r\npystache (0.5.4)\r\npytest (3.2.0)\r\npython-dateutil (2.6.1)\r\npython-hdf4 (0.9)\r\npython-Levenshtein (0.12.0)\r\npython-snappy (0.5.1)\r\npythonnet (2.4.0.dev0)\r\nPythonQwt (0.5.5)\r\npytz (2017.2)\r\nPyWavelets (0.5.2)\r\npywin32 (221)\r\npywinpty (0.2.1)\r\npywinusb (0.4.2)\r\nPyYAML (3.12)\r\npyzmq (16.0.2)\r\nQtAwesome (0.4.4)\r\nqtconsole (4.3.0)\r\nQtPy (1.3.0)\r\nredis (2.10.6)\r\nreportlab (3.4.0)\r\nrequests (2.18.3)\r\nrequests-file (1.4.2)\r\nrequests-ftp (0.3.1)\r\nrequests-toolbelt (0.8.0)\r\nrope (0.10.5)\r\nrpy2 (2.8.6)\r\nRx (1.5.9)\r\ns3fs (0.1.2)\r\ns3transfer (0.1.10)\r\nscikit-fuzzy (0.3.dev0)\r\nscikit-image (0.13.0)\r\nscikit-learn (0.18.2)\r\nscikit-neuralnetwork (0.7)\r\nscikit-optimize (0.3)\r\nscilab2py (0.6)\r\nscipy (0.19.1)\r\nscs (1.2.6)\r\nseaborn (0.8.0)\r\nsetuptools (36.2.7)\r\nsimplegeneric (0.8.1)\r\nsimplejson (3.11.1)\r\nsip (4.19.3)\r\nsix (1.10.0)\r\nsmmap2 (2.0.3)\r\nsnakeviz (0.4.1)\r\nsnowballstemmer (1.2.1)\r\nsortedcontainers (1.5.7)\r\nsounddevice (0.3.8)\r\nSphinx (1.6.3)\r\nsphinx-autobuild (0.7.1)\r\nsphinx-rtd-theme (0.2.4)\r\nsphinxcontrib-websupport (1.0.1)\r\nspyder (3.2.3)\r\nspyder-notebook (0.2.0.dev0)\r\nspyder-reports (0.1.1)\r\nspyder-terminal (0.2.2)\r\nSQLAlchemy (1.1.13)\r\nsqlite-bro (0.8.11)\r\nsqlparse (0.2.3)\r\nstatsmodels (0.8.0)\r\nsupersmoother (0.4)\r\nsympy (1.1.1)\r\ntables (3.4.2)\r\ntblib (1.3.2)\r\ntensorflow (1.2.1)\r\ntestpath (0.3.1)\r\nTheano (0.9.0)\r\nthriftpy (0.3.9)\r\ntoolz (0.8.2)\r\ntornado (4.5.1)\r\ntqdm (4.15.0)\r\ntraitlets (4.3.2)\r\ntraittypes (0.0.6)\r\ntri.declarative (0.34.0)\r\ntri.form (5.0.1)\r\ntri.named-struct (0.12.0)\r\ntri.query (4.0.0)\r\ntri.struct (2.5.4)\r\ntri.table (5.0.0)\r\ntwine (1.9.1)\r\nTwisted (17.9.0)\r\ntwitter (1.17.1)\r\ntxaio (2.8.2)\r\ntyped-ast (1.0.4)\r\nurllib3 (1.21.1)\r\nvega (0.5.0)\r\nViTables (3.0.0)\r\nwatchdog (0.8.3)\r\nwcwidth (0.1.7)\r\nwebencodings (0.5.1)\r\nWerkzeug (0.12.2)\r\nwheel (0.29.0)\r\nwhitenoise (3.3.1)\r\nwidgetsnbextension (2.0.0)\r\nwinpython (1.9.20170812)\r\nwordcloud (1.3.2)\r\nwrapt (1.10.10)\r\nxarray (0.9.6)\r\nxlrd (1.0.0)\r\nXlsxWriter (0.9.8)\r\nxlwings (0.11.4)\r\nzarr (2.1.4)\r\nzict (0.1.2)\r\nzope.interface (4.4.3)\r\n</details>\r\n\r\n---\r\n\r\n@andfoy commented on [Wed Oct 04 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334277756)\r\n\r\nHi @jxrossel, to start Spyder on debugging mode you must need to set the ``SPYDER_DEV`` variable, as it follows, the following commands must be executed from a system terminal, which corresponds to ``cmd.exe`` on Windows:\r\n\r\n```batch\r\nset SPYDER_DEV=True\r\nspyder\r\n```\r\nAfter the execution, the file ``spyder_terminal_err.log`` must appear on your current working directory, which is this case must be the directory of the current terminal. Please post the contents of this file, so we can help you to trace the error.\r\n\r\n---\r\n\r\n@jxrossel commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334395169)\r\n\r\nHi, when starting spyder like that, I first had another error message \"The Jupyter Notebook server failed to start...\" and then the same message as above. The error log doesn't seem very helpful:\r\n\r\n```\r\n2017-10-05 10:15:14 ETACH-W113024 __main__[8060] INFO Server is now at: 127.0.0.1:8071\r\n2017-10-05 10:15:14 ETACH-W113024 __main__[8060] INFO Shell: C:\\Windows\\system32\\cmd.exe\r\n```\r\n\r\nI then tried to open a new terminal in spyder, and the error log became:\r\n\r\n```\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /?path=C:/Users/rosselj/PythonDev/satemo (127.0.0.1) 4.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/css/ubuntu.css (127.0.0.1) 133.95ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/xterm.js/dist/xterm.css (127.0.0.1) 6.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/xterm.js/dist/addons/fullscreen/fullscreen.css (127.0.0.1) 2.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/css/style.css (127.0.0.1) 3.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/promise-polyfill/promise.js (127.0.0.1) 6.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/fetch/fetch.js (127.0.0.1) 6.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/xterm.js/dist/addons/attach/attach.js (127.0.0.1) 5.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/xterm.js/dist/addons/fit/fit.js (127.0.0.1) 5.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/xterm.js/dist/addons/fullscreen/fullscreen.js (127.0.0.1) 4.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/jquery/dist/jquery.min.js (127.0.0.1) 13.99ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/js/main.js (127.0.0.1) 5.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/components/xterm.js/dist/xterm.js (127.0.0.1) 48.98ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/css/fonts/ubuntumono-regular-webfont.woff2 (127.0.0.1) 5.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 GET /static/css/fonts/ubuntumono-bold-webfont.woff2 (127.0.0.1) 4.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 __main__[8060] INFO CWD: C:/Users/rosselj/PythonDev/satemo\r\n2017-10-05 10:18:05 ETACH-W113024 __main__[8060] INFO Size: (56, 33)\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 POST /api/terminals?cols=56&rows=33 (127.0.0.1) 105.96ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] WARNING 404 GET /favicon.ico (127.0.0.1) 26.99ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 101 GET /terminals/0f5853 (127.0.0.1) 0.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 __main__[8060] INFO WebSocket opened: 0f5853\r\n2017-10-05 10:18:05 ETACH-W113024 __main__[8060] INFO TTY On!\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 POST /api/terminals/0f5853/size?cols=67&rows=31 (127.0.0.1) 4.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 POST /api/terminals/0f5853/size?cols=61&rows=31 (127.0.0.1) 3.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 POST /api/terminals/0f5853/size?cols=67&rows=31 (127.0.0.1) 3.00ms\r\n2017-10-05 10:18:05 ETACH-W113024 tornado.access[8060] INFO 200 POST /api/terminals/0f5853/size?cols=61&rows=31 (127.0.0.1) 3.00ms\r\n```\r\n\r\nThe prompt in the terminal doesn't respond though\r\n\r\n\r\n---\r\n\r\n@andfoy commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334447775)\r\n\r\n@jxrossel, can you open a browser tab on the server URL, as shown on the log file? On this case, 127.0.0.1:8071? Does a terminal appears there?\r\n\r\nAlso, I invite you to open an issue on spyder-notebook if you have notebook-related issues.\r\n\r\n---\r\n\r\n@jxrossel commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334448044)\r\n\r\nThanks for the answer, but pywinpty v0.2.1 is the last available version on pypi and its the one I have, so I can't update it...\r\n\r\nI've stopped doing blind upgrades (with -U) since it tends to break installations (typically when upgrading a package which depends on the upgrade of another compiled package whose compilation fails...). Usually, I do a 2-step upgrade (with -U --no-deps first, then a simple install)\r\n\r\n---\r\n\r\n@jxrossel commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334449127)\r\n\r\n... and I've checked the 127.0.0.1:8071 in my browser after opening Spyder. Nothing is shown on that page, but the tab title \"OS Web terminal\" is displayed (better than nothing, I guess!)\r\n\r\n---\r\n\r\n@andfoy commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334449354)\r\n\r\n@jxrossel Is there any message on the developer Web console?\r\n\r\n---\r\n\r\n@jxrossel commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334450732)\r\n\r\n```\r\nSCRIPT445: Object doesn't support this action\r\nFile: main.js, Line: 11, Column: 1\r\nvar promptEvent = new Event('promptReady'); \r\n```\r\n\r\n---\r\n\r\n@andfoy commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334451910)\r\n\r\n@jxrossel Can you test if pywinpty is working as expected? Please post the output of the following commands (From a Python prompt):\r\n\r\n```python\r\nfrom winpty import PTY\r\n\r\n# Start a new winpty-agent process of size (cols, rows)\r\ncols, rows = 80, 25\r\nprocess = PTY(cols, rows)\r\n\r\n# Spawn a new console process, e.g., CMD\r\nprocess.spawn(r'C:\\windows\\system32\\cmd.exe')\r\n\r\n# Read console output (Unicode)\r\nprocess.read()\r\n```\r\n\r\n---\r\n\r\n@jxrossel commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334452922)\r\n\r\n`process.spawn(r'C:\\windows\\system32\\cmd.exe')\r\n`--> True\r\n\r\n```\r\nprocess.read()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"C:\\PortableSoftware\\WinPython3-6\\python-3.6.2.amd64\\lib\\site-packages\\winpty\\winpty_wrapper.py\", line 55, in read\r\n    None, None)\r\nOSError: exception: access violation writing 0x0000000000000000\r\n```\r\n\r\n---\r\n\r\n@andfoy commented on [Thu Oct 05 2017](https://github.com/spyder-ide/spyder-terminal/issues/115#issuecomment-334454057)\r\n\r\n@jxrossel Finally an error! Let me check, it seems that this belongs to pywinpty rather than spyder-terminal. However, let me investigate more about it, this is the first instance of such issue.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spyder-ide/pywinpty/issues/comments/363949606","html_url":"https://github.com/spyder-ide/pywinpty/issues/59#issuecomment-363949606","issue_url":"https://api.github.com/repos/spyder-ide/pywinpty/issues/59","id":363949606,"user":{"login":"dhirschfeld","id":881019,"avatar_url":"https://avatars1.githubusercontent.com/u/881019?v=4","gravatar_id":"","url":"https://api.github.com/users/dhirschfeld","html_url":"https://github.com/dhirschfeld","followers_url":"https://api.github.com/users/dhirschfeld/followers","following_url":"https://api.github.com/users/dhirschfeld/following{/other_user}","gists_url":"https://api.github.com/users/dhirschfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/dhirschfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhirschfeld/subscriptions","organizations_url":"https://api.github.com/users/dhirschfeld/orgs","repos_url":"https://api.github.com/users/dhirschfeld/repos","events_url":"https://api.github.com/users/dhirschfeld/events{/privacy}","received_events_url":"https://api.github.com/users/dhirschfeld/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T23:38:16Z","updated_at":"2018-02-07T23:38:16Z","author_association":"NONE","body":"Calling `p.read()` does give the access violation:\r\n```python\r\n>>> from winpty import PTY\r\n>>> p = PTY(80,25)\r\n>>> p.spawn('C:\\\\windows\\\\system32\\\\cmd.exe')\r\nTrue\r\n>>> p.read()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"C:\\Miniconda3\\lib\\site-packages\\winpty\\winpty_wrapper.py\", line 73, in read\r\n    ReadFile(self.conout_pipe, data, length, None, None)\r\nOSError: exception: access violation writing 0x0000000000000000\r\n>>> p.read()\r\nb''\r\n>>> p.close()\r\n>>> del p\r\n```\r\n\r\nThe latter test results in `valid=False` for me:\r\n```python\r\n>>> from winpty import PTY\r\n>>> p = PTY(80,25)\r\n>>> valid = False\r\n>>> p.spawn('C:\\\\windows\\\\system32\\\\cmd.exe')\r\nTrue\r\n>>> try:\r\n...     p.read()\r\n...     valid = True\r\n... except OSError:\r\n...     pass\r\n...\r\n>>> p.close()\r\n>>> del p\r\n>>> print('valid?', valid)\r\nvalid? False\r\n```"}}
{"actor":{"display_login":"dhirschfeld"}}