Unable to save .py files

28 views
Skip to first unread message

Brett Cowan

unread,
Jun 20, 2023, 7:43:41 PM6/20/23
to spyder
Hello - first post.

I have just completed a full update of a Conda/Spyder (5.4.3) environment and I can save a python script file as txt, MATLAB, C etc, but when I select 'Python files' or 'Supported Text Files' to save to the same directory, the spinning wheel goes forever and nothing is saved. Went back to 5.3.3 - no different.

Was working fine prior to the general conda update. Windows 11 Intel machine, nothing obvious in Win 11 virus protection (controlled folder access is OFF).

Appreciate your thoughts.

Brett

# packages in environment at D:\anaconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0            py39haa95532_0  
aiofiles                  22.1.0           py39haa95532_0  
aiosqlite                 0.18.0           py39haa95532_0  
alabaster                 0.7.12             pyhd3eb1b0_0  
anaconda-client           1.11.3           py39haa95532_0  
anaconda-navigator        2.4.1            py39haa95532_0  
anyio                     3.5.0            py39haa95532_0  
argon2-cffi               21.3.0             pyhd3eb1b0_0  
argon2-cffi-bindings      21.2.0           py39h2bbff1b_0  
arrow                     1.2.3            py39haa95532_1  
astroid                   2.14.2           py39haa95532_0  
asttokens                 2.0.5              pyhd3eb1b0_0  
atomicwrites              1.4.0                      py_0  
attrs                     22.1.0           py39haa95532_0  
autopep8                  1.6.0              pyhd3eb1b0_1  
babel                     2.11.0           py39haa95532_0  
backcall                  0.2.0              pyhd3eb1b0_0  
backports                 1.1                pyhd3eb1b0_0  
backports.functools_lru_cache 1.6.4              pyhd3eb1b0_0  
backports.tempfile        1.0                pyhd3eb1b0_1  
backports.weakref         1.0.post1                  py_1  
bcrypt                    3.2.0            py39h2bbff1b_1  
beautifulsoup4            4.12.2           py39haa95532_0  
binaryornot               0.4.4              pyhd3eb1b0_1  
black                     23.3.0           py39haa95532_0  
bleach                    4.1.0              pyhd3eb1b0_0  
boltons                   23.0.0           py39haa95532_0  
brotlipy                  0.7.0           py39h2bbff1b_1003  
bzip2                     1.0.8                he774522_0  
ca-certificates           2023.05.30           haa95532_0  
certifi                   2023.5.7         py39haa95532_0  
cffi                      1.15.1           py39h2bbff1b_3  
chardet                   4.0.0           py39haa95532_1003  
charset-normalizer        2.0.4              pyhd3eb1b0_0  
click                     8.0.4            py39haa95532_0  
cloudpickle               2.2.1            py39haa95532_0  
clyent                    1.2.2            py39haa95532_1  
colorama                  0.4.6            py39haa95532_0  
comm                      0.1.2            py39haa95532_0  
conda                     23.5.0           py39haa95532_0  
conda-build               3.24.0           py39haa95532_0  
conda-content-trust       0.1.3            py39haa95532_0  
conda-env                 2.6.0                haa95532_1  
conda-package-handling    2.1.0            py39haa95532_0  
conda-package-streaming   0.8.0            py39haa95532_0  
conda-repo-cli            1.0.41           py39haa95532_0  
conda-token               0.4.0              pyhd3eb1b0_0  
conda-verify              3.4.2                      py_1  
console_shortcut          0.1.1                         4  
cookiecutter              1.7.3              pyhd3eb1b0_0  
cryptography              39.0.1           py39h21b164f_0  
debugpy                   1.5.1            py39hd77b12b_0  
decorator                 5.1.1              pyhd3eb1b0_0  
defusedxml                0.7.1              pyhd3eb1b0_0  
diff-match-patch          20200713           pyhd3eb1b0_0  
dill                      0.3.6            py39haa95532_0  
docstring-to-markdown     0.11             py39haa95532_0  
docutils                  0.18.1           py39haa95532_3  
entrypoints               0.4              py39haa95532_0  
executing                 0.8.3              pyhd3eb1b0_0  
filelock                  3.9.0            py39haa95532_0  
flake8                    6.0.0            py39haa95532_0  
freetype                  2.12.1               ha860e81_0  
future                    0.18.3           py39haa95532_0  
giflib                    5.2.1                h8cc25b3_3  
glib                      2.69.1               h5dc1a3c_2  
glob2                     0.7                pyhd3eb1b0_0  
gst-plugins-base          1.18.5               h9e645db_0  
gstreamer                 1.18.5               hd78058f_0  
icu                       58.2                 ha925a31_3  
idna                      3.4              py39haa95532_0  
imagesize                 1.4.1            py39haa95532_0  
importlib-metadata        6.0.0            py39haa95532_0  
importlib_metadata        6.0.0                hd3eb1b0_0  
inflection                0.5.1            py39haa95532_0  
intervaltree              3.1.0              pyhd3eb1b0_0  
ipykernel                 6.19.2           py39hd4e2768_0  
ipython                   7.31.1           py39haa95532_1  
ipython_genutils          0.2.0              pyhd3eb1b0_1  
ipywidgets                8.0.4            py39haa95532_0  
isort                     5.9.3              pyhd3eb1b0_0  
jaraco.classes            3.2.1              pyhd3eb1b0_0  
jedi                      0.18.1           py39haa95532_1  
jellyfish                 0.9.0            py39h2bbff1b_0  
jinja2                    3.1.2            py39haa95532_0  
jinja2-time               0.2.0              pyhd3eb1b0_3  
jpeg                      9e                   h2bbff1b_1  
json5                     0.9.6              pyhd3eb1b0_0  
jsonpatch                 1.32               pyhd3eb1b0_0  
jsonpointer               2.1                pyhd3eb1b0_0  
jsonschema                4.17.3           py39haa95532_0  
jupyter_client            7.4.9            py39haa95532_0  
jupyter_core              5.3.0            py39haa95532_0  
jupyter_events            0.6.3            py39haa95532_0  
jupyter_server            2.5.0            py39haa95532_0  
jupyter_server_fileid     0.9.0            py39haa95532_0  
jupyter_server_terminals  0.4.4            py39haa95532_1  
jupyter_server_ydoc       0.8.0            py39haa95532_1  
jupyter_ydoc              0.2.4            py39haa95532_0  
jupyterlab                3.6.3            py39haa95532_0  
jupyterlab_pygments       0.1.2                      py_0  
jupyterlab_server         2.22.0           py39haa95532_0  
jupyterlab_widgets        3.0.5            py39haa95532_0  
keyring                   23.13.1          py39haa95532_0  
krb5                      1.19.4               h5b6d351_0  
lazy-object-proxy         1.6.0            py39h2bbff1b_0  
lerc                      3.0                  hd77b12b_0  
libarchive                3.6.2                h2033e3e_1  
libclang                  14.0.6          default_hb5a9fac_1  
libclang13                14.0.6          default_h8e68704_1  
libdeflate                1.17                 h2bbff1b_0  
libffi                    3.4.4                hd77b12b_0  
libiconv                  1.16                 h2bbff1b_2  
liblief                   0.12.3               hd77b12b_0  
libogg                    1.3.5                h2bbff1b_1  
libpng                    1.6.39               h8cc25b3_0  
libsodium                 1.0.18               h62dcd97_0  
libspatialindex           1.9.3                h6c2663c_0  
libtiff                   4.5.0                h6c2663c_2  
libvorbis                 1.3.7                he774522_0  
libwebp                   1.2.4                hbc33d0d_1  
libwebp-base              1.2.4                h2bbff1b_1  
libxml2                   2.10.3               h0ad7f3c_0  
libxslt                   1.1.37               h2bbff1b_0  
lxml                      4.9.2            py39h2bbff1b_0  
lz4-c                     1.9.4                h2bbff1b_0  
m2-msys2-runtime          2.5.0.17080.65c939c               3  
m2-patch                  2.7.5                         2  
markupsafe                2.1.1            py39h2bbff1b_0  
matplotlib-inline         0.1.6            py39haa95532_0  
mccabe                    0.7.0              pyhd3eb1b0_0  
menuinst                  1.4.19           py39h59b6b97_0  
mistune                   0.8.4           py39h2bbff1b_1000  
more-itertools            8.12.0             pyhd3eb1b0_0  
msys2-conda-epoch         20160418                      1  
mypy_extensions           0.4.3            py39haa95532_1  
navigator-updater         0.4.0            py39haa95532_0  
nbclassic                 0.5.5            py39haa95532_0  
nbclient                  0.5.13           py39haa95532_0  
nbconvert                 6.5.4            py39haa95532_0  
nbformat                  5.7.0            py39haa95532_0  
nest-asyncio              1.5.6            py39haa95532_0  
notebook                  6.5.4            py39haa95532_0  
notebook-shim             0.2.2            py39haa95532_0  
numpydoc                  1.5.0            py39haa95532_0  
openssl                   1.1.1u               h2bbff1b_0  
packaging                 23.0             py39haa95532_0  
pandocfilters             1.5.0              pyhd3eb1b0_0  
paramiko                  2.8.1              pyhd3eb1b0_0  
parso                     0.8.3              pyhd3eb1b0_0  
pathlib                   1.0.1              pyhd3eb1b0_1  
pathspec                  0.10.3           py39haa95532_0  
pcre                      8.45                 hd77b12b_0  
pexpect                   4.8.0              pyhd3eb1b0_3  
pickleshare               0.7.5           pyhd3eb1b0_1003  
pillow                    9.4.0            py39hd77b12b_0  
pip                       23.1.2           py39haa95532_0  
pkginfo                   1.9.6            py39haa95532_0  
platformdirs              2.5.2            py39haa95532_0  
pluggy                    1.0.0            py39haa95532_1  
ply                       3.11             py39haa95532_0  
powershell_shortcut       0.0.1                         3  
poyo                      0.5.0              pyhd3eb1b0_0  
prometheus_client         0.14.1           py39haa95532_0  
prompt-toolkit            3.0.36           py39haa95532_0  
psutil                    5.9.0            py39h2bbff1b_0  
ptyprocess                0.7.0              pyhd3eb1b0_2  
pure_eval                 0.2.2              pyhd3eb1b0_0  
py-lief                   0.12.3           py39hd77b12b_0  
pycodestyle               2.10.0           py39haa95532_0  
pycosat                   0.6.4            py39h2bbff1b_0  
pycparser                 2.21               pyhd3eb1b0_0  
pydocstyle                6.3.0            py39haa95532_0  
pyflakes                  3.0.1            py39haa95532_0  
pygments                  2.15.1           py39haa95532_1  
pyjwt                     2.4.0            py39haa95532_0  
pylint                    2.16.2           py39haa95532_0  
pylint-venv               2.3.0            py39haa95532_0  
pyls-spyder               0.4.0              pyhd3eb1b0_0  
pynacl                    1.5.0            py39h8cc25b3_0  
pyopenssl                 23.0.0           py39haa95532_0  
pyqt                      5.15.7           py39hd77b12b_0  
pyqt5-sip                 12.11.0          py39hd77b12b_0  
pyqtwebengine             5.15.7           py39hd77b12b_0  
pyrsistent                0.18.0           py39h196d8e1_0  
pysocks                   1.7.1            py39haa95532_0  
python                    3.9.16               h6244533_2  
python-dateutil           2.8.2              pyhd3eb1b0_0  
python-fastjsonschema     2.16.2           py39haa95532_0  
python-json-logger        2.0.7            py39haa95532_0  
python-libarchive-c       2.9                pyhd3eb1b0_1  
python-lsp-black          1.2.1            py39haa95532_0  
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0  
python-lsp-server         1.7.2            py39haa95532_0  
python-slugify            5.0.2              pyhd3eb1b0_0  
pytoolconfig              1.2.5            py39haa95532_1  
pytz                      2022.7           py39haa95532_0  
pywin32                   305              py39h2bbff1b_0  
pywin32-ctypes            0.2.0           py39haa95532_1000  
pywinpty                  2.0.10           py39h5da7b33_0  
pyyaml                    6.0              py39h2bbff1b_1  
pyzmq                     25.1.0           py39hd77b12b_0  
qdarkstyle                3.0.2              pyhd3eb1b0_0  
qstylizer                 0.2.2            py39haa95532_0  
qt-main                   5.15.2               he8e5bd7_8  
qt-webengine              5.15.9               hb9a9bb5_5  
qtawesome                 1.2.2            py39haa95532_0  
qtconsole                 5.4.2            py39haa95532_0  
qtpy                      2.2.0            py39haa95532_0  
qtwebkit                  5.212                h2bbfb41_5  
requests                  2.29.0           py39haa95532_0  
requests-toolbelt         0.9.1              pyhd3eb1b0_0  
rfc3339-validator         0.1.4            py39haa95532_0  
rfc3986-validator         0.1.1            py39haa95532_0  
rope                      1.7.0            py39haa95532_0  
rtree                     1.0.1            py39h2eaa2aa_0  
ruamel.yaml               0.17.21          py39h2bbff1b_0  
ruamel.yaml.clib          0.2.6            py39h2bbff1b_1  
send2trash                1.8.0              pyhd3eb1b0_1  
setuptools                67.8.0           py39haa95532_0  
sip                       6.6.2            py39hd77b12b_0  
six                       1.16.0             pyhd3eb1b0_1  
sniffio                   1.2.0            py39haa95532_1  
snowballstemmer           2.2.0              pyhd3eb1b0_0  
sortedcontainers          2.4.0              pyhd3eb1b0_0  
soupsieve                 2.4              py39haa95532_0  
sphinx                    5.0.2            py39haa95532_0  
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0  
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0  
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0  
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0  
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0  
sphinxcontrib-serializinghtml 1.1.5              pyhd3eb1b0_0  
spyder                    5.4.3            py39haa95532_1  
spyder-kernels            2.4.3            py39haa95532_0  
sqlite                    3.41.2               h2bbff1b_0  
stack_data                0.2.0              pyhd3eb1b0_0  
terminado                 0.17.1           py39haa95532_0  
text-unidecode            1.3                pyhd3eb1b0_0  
textdistance              4.2.1              pyhd3eb1b0_0  
three-merge               0.1.1              pyhd3eb1b0_0  
tinycss2                  1.2.1            py39haa95532_0  
tk                        8.6.12               h2bbff1b_0  
toml                      0.10.2             pyhd3eb1b0_0  
tomli                     2.0.1            py39haa95532_0  
tomlkit                   0.11.1           py39haa95532_0  
toolz                     0.12.0           py39haa95532_0  
tornado                   6.2              py39h2bbff1b_0  
tqdm                      4.65.0           py39hd4e2768_0  
traitlets                 5.7.1            py39haa95532_0  
typing-extensions         4.6.3            py39haa95532_0  
typing_extensions         4.6.3            py39haa95532_0  
tzdata                    2023c                h04d1e81_0  
ujson                     5.4.0            py39hd77b12b_0  
unidecode                 1.2.0              pyhd3eb1b0_0  
urllib3                   1.26.16          py39haa95532_0  
vc                        14.2                 h21ff451_1  
vs2015_runtime            14.27.29016          h5e58377_2  
watchdog                  2.1.6            py39haa95532_0  
wcwidth                   0.2.5              pyhd3eb1b0_0  
webencodings              0.5.1            py39haa95532_1  
websocket-client          0.58.0           py39haa95532_4  
whatthepatch              1.0.2            py39haa95532_0  
wheel                     0.38.4           py39haa95532_0  
widgetsnbextension        4.0.5            py39haa95532_0  
win_inet_pton             1.1.0            py39haa95532_0  
winpty                    0.4.3                         4  
wrapt                     1.14.1           py39h2bbff1b_0  
xz                        5.4.2                h8cc25b3_0  
y-py                      0.5.9            py39hb6bf4ef_0  
yaml                      0.2.5                he774522_0  
yapf                      0.31.0             pyhd3eb1b0_0  
ypy-websocket             0.8.2            py39haa95532_0  
zeromq                    4.3.4                hd77b12b_0  
zipp                      3.11.0           py39haa95532_0  
zlib                      1.2.13               h8cc25b3_0  
zstandard                 0.19.0           py39h2bbff1b_0  
zstd                      1.5.5                hd43e919_0 




Brett Cowan

unread,
Jun 24, 2023, 5:14:42 PM6/24/23
to spyder
Update - it turns out the problem is caused by using Black as a linting solution. When the 'Autoformat files on save' is unchecked in 'Code style and formatting', saving is completed normally. Swapping to autopep8 is also fine.

Brett
Reply all
Reply to author
Forward
0 new messages