[Top][All Lists]

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

[Octave-bug-tracker] [bug #62515] error: ignoring const execution_except

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62515] error: ignoring const execution_exception& while preparing to exit
Date: Sat, 2 Jul 2022 07:14:00 -0400 (EDT)

Update of bug #62515 (project octave):

                Category:                    None => Interpreter            
              Item Group:                    None => Segfault, Bus Error, etc.


Follow-up Comment #9:

The first comment wasn't specific to which platform it applies. The later
comments hint that this is an issue on Mac OS X (or whatever that OS is called

IIUC, XDG_CONFIG_HOME and XDG_DATA_HOME aren't set (at least by default) on
that platform. The fallbacks that Octave is using in that case don't seem to
match Apple's recommendations:

We currently use XDG_DATA_HOME to store the history. We use XDG_CONFIG_HOME
for things like `.octaverc` or the GUI settings.
If I understand Apples recommendations correctly, better fallbacks for both
for that platform would be "~/Library/Application Support".
However, I've never actually worked with that OS. So, please let me know if
different fallbacks would be better.

I'm attaching a tentative patch that uses that fallback on that platform.
IIUC, that would fix the issue on Mac OS X.

An "actual" fix for all platforms might involve creating those directories
recursively (not sure how to do that in a cross-platform compatible way) if
they don't exist. (Maybe we should do that when those paths are requested?)
That is assuming that the original report is also caused by a missing

(file #53389)


Additional Item Attachment:

File name: bug62515-XDG-fallback-on-mac.patch Size:2 KB


Reply to this item at:


Message sent via Savannah

reply via email to

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