[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32559] get_forge_package cannot read package
From: |
Carlo de Falco |
Subject: |
[Octave-bug-tracker] [bug #32559] get_forge_package cannot read package version |
Date: |
Mon, 21 Feb 2011 16:25:46 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 |
URL:
<http://savannah.gnu.org/bugs/?32559>
Summary: get_forge_package cannot read package version
Project: GNU Octave
Submitted by: cdf
Submitted on: Mon 21 Feb 2011 05:25:45 PM CET
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Other
_______________________________________________________
Details:
This bug was introduced by the following changeset:
changeset: 12465:e4dbfe3019b1
user: Rik <address@hidden>
date: Sat Feb 19 18:21:58 2011 -0800
summary: Use PCRE regular expressions throughout Octave.
in particular a typo in the RE to extract a package version number from the OF
website leads
pkg install -forge <package name>
to fail with the error:
warning: unrecognized escape sequence `d' -- converting to `d'
error: get_forge_pkg: could not read version number from package's page
error: called from:
error: /opt/octave/3.5/share/octave/3.5.0+/m/pkg/get_forge_pkg.m at line 49,
column 7
error: /opt/octave/3.5/share/octave/3.5.0+/m/pkg/pkg.m at line 2384, column
15
error: /opt/octave/3.5/share/octave/3.5.0+/m/pkg/pkg.m at line 345, column
32
The attached (trivial) patch solves the issue for me.
c.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 21 Feb 2011 05:25:45 PM CET Name: getforgepkg.patch Size: 1kB
By: cdf
<http://savannah.gnu.org/bugs/download.php?file_id=22747>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32559>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #32559] get_forge_package cannot read package version,
Carlo de Falco <=