[Top][All Lists]

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

[Octave-bug-tracker] [bug #53591] csv2cell cannot open path containing t

From: Martin Kunz
Subject: [Octave-bug-tracker] [bug #53591] csv2cell cannot open path containing tilde ('~') char
Date: Mon, 9 Apr 2018 09:19:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0


                 Summary: csv2cell cannot open path containing tilde ('~')
                 Project: GNU Octave
            Submitted by: mkunz
            Submitted on: Mon 09 Apr 2018 01:19:26 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux



I just noticed that csv2cell does not work with paths containing a tilde
character. With a file '~/temp/test.csv' written by csvwrite() I get an error
if I pass the path containing a tilde to csv2cell:

>> csv2cell("~/temp/test.csv")
error: csv2cell: cannot open file ~/temp/test.csv for reading

... but not if I expand the tilde first:

>> csv2cell(tilde_expand("~/temp/test.csv"))
ans =
  [1,1] =  0.51339
  [2,1] =  0.23518
  [1,2] =  0.61376
  [2,2] =  0.60752

I am using Octave 4.2.1 with io 2.4.8. Installation of newer versions of io
fails ("csvexplode.cc:41:17: error: ‘const class octave_value’ has no
member named ‘OV_ISCELL’ [...]"). I can file a separate bug about this if
the behaviour is not expected in the transition to a new Octave release.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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