octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40307] miscellaneous: units.m cannot parse ou


From: Clemens Buchacher
Subject: [Octave-bug-tracker] [bug #40307] miscellaneous: units.m cannot parse output of units 2.01
Date: Sat, 19 Oct 2013 10:48:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?40307>

                 Summary: miscellaneous: units.m cannot parse output of units
2.01
                 Project: GNU Octave
            Submitted by: drizzd
            Submitted on: Sat 19 Oct 2013 10:48:17 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Clemens Buchacher
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40307>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]