This could be a problem in the actual file line endings. Can you link to a
file that has the problem? What operating system?

On Sat, May 2, 2020, 9:22 AM AD <[email protected]> wrote:

> Thank you so much for replying.  I posted more details in a stack overflow
> question since my question was not showing up here.
>
> The behaviour is:
>
>    - the editor shows a red line above each occurence of #%%
>    - press Ctrl-Enter in any cell N
>    - console shows runcell(0,...
>    - the whole file runs as if no cells were defined
>
> Everything is installed using conda
>
>   spyder                                       4.0.1-py37_0 --> 4.1.2-py37_0
>   spyder-kernels                               1.8.1-py37_0 --> 1.9.0-py37_0
>
>
> It's very puzzling on top of being annoying!
>
>
>
> On Wednesday, April 29, 2020 at 10:23:19 PM UTC+2, bcolsen wrote:
>>
>> Also if you're running 4.1.x from git you need the latest version of
>> spyder-kernels as well
>>
>> On Wednesday, April 29, 2020 at 1:41:48 PM UTC-6, AD wrote:
>>>
>>> I am a heavy user of code cells, but something has gone strange in
>>> Spyder 4.1.x.  I have multiple script files where the editor shows the cell
>>> boundaries with lines, but no matter which cell I try to run, it always
>>> tries to run cell 0.
>>>
>>> When I try to create a new file to demonstrate the problem, of course it
>>> works perfectly, and I can't figure out what's throwing Spyder off.  Has
>>> anything changed in the cell handling since version 4.0.1?
>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/spyderlib/57015e13-8619-4f6f-90a6-2f088f595de0%40googlegroups.com
> <https://groups.google.com/d/msgid/spyderlib/57015e13-8619-4f6f-90a6-2f088f595de0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/CACx0QwPwL5_ZP%3D3sH3tKZC9Qi6%3Dk_TTWVjOZ9FLhHz3RV4%3D8Gw%40mail.gmail.com.

Reply via email to