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 PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: DuplicateAssigned to: None
Originator Name: Clemens BuchacherOpen/Closed: Closed
Release: 3.6.4Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich 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 Member
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).

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 File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by drizzd (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Oct 2013 03:18:04 PM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #38270

    Back to the top


    Powered by Savane 3.1-cleanup