bugGNU Octave - Bugs: bug #40307, miscellaneous: units.m cannot...


bug #40307: miscellaneous: units.m cannot parse output of units 2.01

Submitted by:  Clemens Buchacher <drizzd>
Submitted on:  Sat 19 Oct 2013 10:48:17 AM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Duplicate Assigned to:  None
Originator Name:  Clemens Buchacher Open/Closed:  Closed
Release:  3.6.4 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.


Sat 19 Oct 2013 03:18:04 PM UTC, comment #2: 

Hi guys, closing as a duplicate since this has already been reported. See bug #38270.

Mike Miller <mtmiller>
Project Administrator
Sat 19 Oct 2013 03:08:27 PM UTC, comment #1: 

I can't reproduce this using units 1.8.8 in Debian Wheezy (currently stable release).

octave> units ("cm", "in", 183.3)
ans =  72.165

Carnë Draug <carandraug>
Project Member
Sat 19 Oct 2013 10:48:17 AM UTC, original submission:  

I received this bug report from an Arch Linux user and am forwarding it here. I can reproduce it, and looking at the code it seems that units.m does not expect the units command to output "Currency exchange rates ..." as the first line, and would work correctly otherwise.

% pacman -Q units octave-miscellaneous
units 2.01-2
octave-miscellaneous 1.2.0-1

When attempting to use the units() function (which uses the GNU Units program), I get the following. I'm guessing this is an issue with the version of GNU Units that ArchLinux currently ships, but I have no other Linux distros installed in order to validate this.

octave:1> pkg load miscellaneous
octave:2> units("cm", "in", 183.3)
error: parsing units output "Currency exchange rates from 2012-10-24

  • 0.39370079

/ 2.54
error: called from:
error: /usr/share/octave/packages/miscellaneous-1.2.0/units.m at line 49, column 18

Clemens Buchacher <drizzd>


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

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by drizzd (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
    2013-10-19 mtmiller StatusNone => Duplicate
        Open/ClosedOpen => Closed
        Dependencies- => Depends on bugs #38270

    Back to the top

    Powered by Savane 3.5