octave-maintainers
[Top][All Lists]
Advanced

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

Re: hgsave weirdness


From: Rik
Subject: Re: hgsave weirdness
Date: Mon, 23 Sep 2019 12:00:00 -0700

On 09/23/2019 11:46 AM, Dmitri A. Sergatskov wrote:
> > > On Mon, Sep 23, 2019 at 1:14 PM Dmitri A. Sergatskov <address@hidden> wrote: > > > > This is repeatable 100% on 2 different computers with Fedora 31. I will try clang compile next. > > > And clang compile has the same problem. >
Try the debugger.

debug_on_error (1)
t2

According to the backtrace published earlier,

error: hgload: unable to locate file t2.ofig
error: called from
    hgload at line 60 column 7
    t2 at line 5 column 3

the problem is in hgload at line 60.  If I look at that code, I see

if (isempty (file_in_loadpath (filename)))
  error ("hgload: unable to locate file %s", filename);
endif

So, I would start with the debugger and when you reach line 60 take a look at your path variable.  Maybe something is removing '.' from the search path (.octaverc configuration file?).

--Rik


reply via email to

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