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


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

Submitted by:  Dmitri A. Sergatskov <dasergatskov>
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

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

Rik <rik5>
Project 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>
Project 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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5