conda update spyder
(or pip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
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.
I expect to see code folding options. It was working in a previous iteration of spyder.
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)
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)
To add onto this issue - the go to definition option is not working as well. Both of these options really improved my productivity :(
Hey @RSKothari, thanks for reporting. Please open a terminal, run the following command:
spyder --debug-info verbose --debug-output file
and upload here the file called spyder-debug.log
, which is created in the same directory where you ran the command above.
Interesting, I feel like I'm missing something essential
Sorry, this is caused by a bug that we haven't noticed before and we'll fix it in our next version (4.2.0), to be released in a few days.
Please run instead
spyder --debug-info verbose
and look for errors in the output.
Interesting, it seems to be a Kite thing. I ran the program with Sorry, I take that back. I'll dig a bit.debug
on and switched code folding ON and OFF.
For starters, I received this error
pkg_resources.VersionConflict: (ujson 1.35 (/home/rakshit/.local/lib/python3.7/site-packages), Requirement.parse('ujson>=3.0.0; python_version > "3"'))
Ok, that looks promising. Please run
conda install ujson=3
to fix it.
That did not help :(
On Mon, Nov 9, 2020 at 8:45 AM Carlos Cordoba notifications@github.com
wrote:
Ok, that looks promising. Please run
conda install ujson=3
to fix it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/14166#issuecomment-724022469,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPIEKTEAEEHGQ4QU3RCKTTSO7W7BANCNFSM4TNSWWJQ
.
--
Rakshit Kothari
Research & Teaching Assistant
Perception for Action and Motion lab (PerForM)
Center for Imaging Science
Rochester Institute of Technology
Ok, I didn't read your error message correctly. Please remove this directory
/home/rakshit/.local/lib/python3.7/
Then your error should be fixed.
I built an env totally via pip, and see the same issue--no code folding. The column appears / disappears when the option is selected / deselected, but no folding.
```
Dependencies:
atomicwrites >=1.2.0 : 1.4.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.3.0 (OK)
diff_match_patch >=20181111 : 20181111 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.19.0 (OK)
jedi =0.17.1 : 0.17.1 (OK)
nbconvert >=4.0 : 5.6.1 (OK)
numpydoc >=0.6.0 : 0.9.2 (OK)
paramiko >=2.4.0 : 2.7.2 (OK)
parso =0.7.0 : 0.7.0 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.7.3 (OK)
pygments >=2.0 : 2.5.2 (OK)
pylint >=1.0 : 1.9.4 (OK)
pyls >=0.34.0;<1.0.0 : 0.36.1 (OK)
qdarkstyle >=2.8 : 2.8.1 (OK)
qtawesome >=0.5.7 : 0.7.3 (OK)
qtconsole >=4.6.0 : 4.7.7 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
sphinx >=0.6.6 : 1.8.5 (OK)
spyder_kernels >=1.9.4;<1.10.0 : 1.9.4 (OK)
watchdog : None (OK)
zmq >=17 : 19.0.2 (OK)
cython >=0.21 : 0.29.14 (OK)
matplotlib >=2.0.0 : 3.3.2 (OK)
numpy >=1.7 : 1.19.3 (OK)
pandas >=0.13.1 : 1.1.4 (OK)
scipy >=0.17.0 : 1.5.4 (OK)
sympy >=0.7.3 : None (OK)
```
Please see my https://github.com/spyder-ide/spyder/issues/14166#issuecomment-723523256 above on how to get debug output and look for errors.
Please see my #14166 (comment) above on how to get debug output and look for errors.
For me this issue was also fixed by updating to Spyder 4.2.0
OK. I'll get to do this after an upcoming submission. A little hesitant to mess with my state at this juncture.
Closing due to lack of response.
@ccordoba12 This fixed the issue, thanks a lot.