Discussion:
[Pyzo] "Run cell and advance" does not work
a***@gmail.com
2017-04-17 04:25:08 UTC
Permalink
I am running Pyzo 4.3.1 on Ubuntu 16.04. There seems to be a bug with the "run cell and advance" command. The same bug results when using the keyboard shortcut (Ctrl + Shift + Enter/Return) or the menu option.

Behaviour:
----------
When executing "run cell and advance", the editor executes the current cell, but does NOT advance the cursor to the next cell. Instead, it advances the cursor by one line.

Possible source of problem:
---------------------------
I looked in pyzo/core/menu.py and found the code for _runCellAdvance() to be as follows:

def _runCellAdvance(self):
self._runCell()
self._advance()

However, there is no _advance() method anywhere in menu.py.

Anyone else seeing the same behavior? Any suggestions for fixing this?

For now, I reverted back to 3.7 that has an older version of the _runCellAdvance() method, which works perfectly well.

--
Amar
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
a***@gmail.com
2017-04-17 12:48:12 UTC
Permalink
Hi Amar,

Thanks for reporting this. Fortunately, this has already been fixed (https://github.com/pyzo/pyzo/pull/460), though there has not been a release yet since then. (I hope to do so in the next few weeks)

- Almar

From: ***@gmail.com
Sent: 17 April 2017 14:43
To: Pyzo
Subject: [Pyzo] "Run cell and advance" does not work

I am running Pyzo 4.3.1 on Ubuntu 16.04. There seems to be a bug with the "run cell and advance" command. The same bug results when using the keyboard shortcut (Ctrl + Shift + Enter/Return) or the menu option.

Behaviour:
----------
When executing "run cell and advance", the editor executes the current cell, but does NOT advance the cursor to the next cell. Instead, it advances the cursor by one line.

Possible source of problem:
---------------------------
I looked in pyzo/core/menu.py and found the code for _runCellAdvance() to be as follows:

def _runCellAdvance(self):
self._runCell()
self._advance()

However, there is no _advance() method anywhere in menu.py.

Anyone else seeing the same behavior? Any suggestions for fixing this?

For now, I reverted back to 3.7 that has an older version of the _runCellAdvance() method, which works perfectly well.

--
Amar
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...