Spyder code folding not working on 4.1.5
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole
(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset
- Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Code folder does not work. It shows an extra column but the option to fold does not appear. Attempted this solution but does not work. Created a new issue to not open up the old one.
What steps reproduce the problem?
- Install conda
- conda install spyder==4.1.5
What is the expected output? What do you see instead?
I expect to see code folding options. It was working in a previous iteration of spyder.
Versions
- Spyder version: 4.1.5
- Python version: 3.7.6
- Qt version: 5.9.7
- PyQt version: 5.9.2
- Operating System name/version: Ubuntu 16.04
Dependencies
Mandatory:
atomicwrites >=1.2.0 : 1.3.0 (OK) chardet >=2.0.0 : 3.0.4 (OK) cloudpickle >=0.5.0 : 1.2.2 (OK) diff_match_patch >=20181111 : 20181111 (OK) intervaltree : None (OK) IPython >=4.0 : 7.11.1 (OK) jedi =0.17.1 : 0.17.1 (OK) keyring : None (OK) nbconvert >=4.0 : 5.6.1 (OK) numpydoc >=0.6.0 : 0.9.2 (OK) parso =0.7.0 : 0.7.0 (OK) pexpect >=4.4.0 : 4.7.0 (OK) pickleshare >=0.4 : 0.7.5 (OK) psutil >=5.3 : 5.6.7 (OK) pygments >=2.0 : 2.5.2 (OK) pylint >=1.0 : 2.4.4 (OK) pyls >=0.34.0;<1.0.0 : 0.35.1 (OK) qdarkstyle >=2.8 : 2.8.1 (OK) qtawesome >=0.5.7 : 0.6.1 (OK) qtconsole >=4.6.0 : 4.6.0 (OK) qtpy >=1.5.0 : 1.9.0 (OK) rtree >=0.8.3 : 0.9.4 (OK) sphinx >=0.6.6 : 2.3.1 (OK) spyder_kernels >=1.9.4;<1.10.0 : 1.9.4 (OK) watchdog : None (OK) xdg >=0.26 : 0.26 (OK) zmq >=17 : 18.1.1 (OK)
Optional:
cython >=0.21 : 0.29.16 (OK) matplotlib >=2.0.0 : 3.1.2 (OK) numpy >=1.7 : 1.18.1 (OK) pandas >=0.13.1 : 1.0.3 (OK) scipy >=0.17.0 : 1.4.1 (OK) sympy >=0.7.3 : None (OK)
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (6 by maintainers)
I had the same problem and solved it by upgrading toml package from 0.10.0 to 0.10.2. Found this problem through debug information @ccordoba12 suggested.
I am on spyder 4.2.3 and Ubuntu 20.04
@ccordoba12 This fixed the issue, thanks a lot.