bugGNU Octave - Bugs: bug #38148, io 1.2.0 package post_install.m...

 
 

bug #38148: io 1.2.0 package post_install.m invalid format specified

Submitted by:  None
Submitted on:  Wed 23 Jan 2013 07:11:15 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: FixedAssigned to: None
Originator Name: F FimbresOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 23 Jan 2013 07:42:37 PM UTC, comment #1:

Thanks for reporting.

Luckily, this has already been fixed in svn a week or so ago.

The underlying bug (as this bug really is about a misformed warning message) is harmless, in that the Java class libs needed for spreadsheet I/O won't be automagically added to the javaclasspath so you'll have to do that manually (or try to invoke chk_spreadsheet_support.m) each time Octave starts.
You can also try to remove PKG_ADD from <octave_install_dir>/lib/octave/packages/io-1.2.0/i686-pc-mingw32-api-48+ and move it to <octave_install_dir>/share/octave/packages/io-1.2.0

IMO postinstall.m is a fragile piece of code and might better be replaced by some stanzas in .octaverc anyway.

An update of the io package is due one of these days.

Philip Nienhuis <philipnienhuis>
Project Member
Wed 23 Jan 2013 07:11:15 AM UTC, original submission:

Trying to re-install io 1.2.0 package from C: the following error is shown.

pkg install "C:\\io-1.2.0.tar.gz" -verbose
mkdir (C:\Users\Fer\AppData\Local\Temp\oct-28)
untar (C:\io-1.2.0.tar.gz, C:\Users\Fer\AppData\Local\Temp\oct-28)
sprintf: invalid format specified
error: called from `post_install' in file C:\Users\Fer\AppData\Local\Temp\oct-28\io\post_install.m near line 12, column 5
error: called from:
error: C:\Program Files (x86)\Octave\Octave3.6.2_gcc4.6.2\share\octave\3.6.2\m\pkg\pkg.m at line 869, column 5
error: C:\Program Files (x86)\Octave\Octave3.6.2_gcc4.6.2\share\octave\3.6.2\m\pkg\pkg.m at line 383, column 9

Looking at post_install.m is easy to find that
must be changed to

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by philipnienhuis (Posted a comment)
  • -unavailable- added by None (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Jan 2013 07:42:37 PM UTCphilipnienhuisStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1