bugGNU Octave - Bugs: bug #54109, error: binary operator '!=' not...


bug #54109: error: binary operator '!=' not implemented for 'cell' by 'scalar' operations

Submitter:  Dmitri A. Sergatskov <dasergatskov>
Submitted:  Wed 13 Jun 2018 04:50:31 AM UTC
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Thu 14 Jun 2018 01:23:20 PM UTC, comment #2: 

This works for me.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Wed 13 Jun 2018 06:33:47 AM UTC, comment #1: 

This regression is due to the recent fix for bug #54067.

After http://hg.savannah.gnu.org/hgweb/octave/rev/1580ceab7f2c, calling text with only property/value pairs (or no arguments) produces a text object that has the string property set to a cell array containing one empty string.  Previously, the string property was set to an empty string, not a cell array.  I believe the previous behavior is correct here.  I pushed the following change for that on stable and merged with default:


In debugging this, I also noticed that the error reported here actually occurs in genpropdoc.m around line 1748.  We probably shouldn't use isscalar there without some other check for data type first.  What happens there if the string property is a single character, for example?  I checked in the following changeset on default for that:


John W. Eaton <jwe>
Group administrator
Wed 13 Jun 2018 04:50:31 AM UTC, original submission:  

while building docs with
hg id
c0bca26d0713 tip @

rm -f doc/interpreter/plot-textproperties.texi-t doc/interpreter/plot-textproperties.texi && /bin/sh run-octave --norc --silent --no-history --path ../doc/interpreter --eval "genpropdoc ('text');" > doc/interpreter/plot-textproperties.texi-t && mv doc/interpreter/plot-textproperties.texi-t doc/interpreter/plot-textproperties.texi
error: binary operator '!=' not implemented for 'cell' by 'scalar' operations
make[2]: *** [Makefile:27960: doc/interpreter/plot-textproperties.texi] Error 1


Dmitri A. Sergatskov <dasergatskov>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by dasergatskov (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-14 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-06-13 jwe StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code