Re: [GNC] GC crashing after upgrade

2024-07-07 Thread Ernie Wakamatsu
John and Developers,

I tried the new snap release, 5.8, and can communicate that my previous issues 
of GC crashing when I delete an account or try to apply an QIF import are 
fixed.  No need to pull out my old MS laptop or VM now.

Thanks, and best regards,
Ernie


> On 4 Jul 2024, at 6:32 AM, John Ralls  wrote:
>
> No need for a VM on macOS, app bundles are completely self-contained except 
> for Finance::Quote. You can have as many different versions of GnuCash 
> installed as you like as long as they have different names or you put them in 
> different folders.
>
> Regards,
> John Ralls
>
>
>> On Jul 3, 2024, at 09:35, Adrien Monteleone  
>> wrote:
>>
>> Or install an older version in a virtual machine.
>>
>> Regards,
>> Adrien
>>
>> On 7/2/24 6:31 PM, Ernie Wakamatsu wrote:
>>> Thanks again for your help. It sounds like my best option to get around 
>>> this crash and inability to commit QIF import changes is to go back a 
>>> couple of versions and wait for the next stable version of GC for MacOS.
>>> Hmm, or pull out my old MS laptop …
>>
>> ___
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



smime.p7s
Description: S/MIME cryptographic signature
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] GC crashing after upgrade

2024-07-02 Thread Ernie Wakamatsu
Thanks again for your help. It sounds like my best option to get around this 
crash and inability to commit QIF import changes is to go back a couple of 
versions and wait for the next stable version of GC for MacOS. 

Hmm, or pull out my old MS laptop …

Best regards 
Ernie




Sent from my iPhone

> On 3 Jul 2024, at 2:01 AM, John Ralls  wrote:
> 
> Ernie,
> 
> Sorry, no, we don’t have nightly macOS builds. You can build it yourself, 
> there are (possibly out of date) instructions at 
> https://wiki.gnucash.org/wiki/MacOS/Quartz (the way I do it) and 
> https://wiki.gnucash.org/wiki/MacOS/MacPortsDetail (the way Mike Alexander 
> does it). The MacPorts method is more approachable for non-developers. 
> Homebrew isn’t an option, they just package up my release dmgs.
> 
> I don’t think flatpaks will work on macOS but I’ll admit that I’ve never 
> actually tried. One would have to start by porting the flatpak infrastructure 
> to macOS.
> 
> Regards,
> John Ralls
> 
> 
>> On Jul 2, 2024, at 04:22, Ernie Wakamatsu  wrote:
>> 
>> Thanks John,
>> 
>> Is there a MacOS version to try the fix on? Or do I need to download the 
>> flatpack for my Mac?  It’ll be a first time download and a bit hesitant  略 .
>> 
>> Ernie
>> 
>> 
>> 
>>>> On 2 Jul 2024, at 3:19 AM, John Ralls  wrote:
>>>> 
>>>> 
>>>> 
>>>> On Jun 30, 2024, at 21:35, Ernie Wakamatsu  wrote:
>>>> 
>>>> Hi Users,
>>>> 
>>>> I just upgraded my Gnucash to 5.7.1 and it has crashed on me in a couple 
>>>> of instances.  The first is when I try to delete an account and the second 
>>>> instance is when I try to apply changes when importing a QIF.
>>>> 
>>>> I am using Gnucash Version: 5.7, Build ID: 5.7+(2024-06-29), 
>>>> Finance::Quote: 1.62Version: 5.7.  I’m running on an Apple M1 chip and 
>>>> Macos, Sonoma, 14.5.  Not sure if the crash report for Apple helps, but 
>>>> here are the first many lines.
>>> 
>>> Crash reports *always* help.
>>> This turns out to be https://bugs.gnucash.org/show_bug.cgi?id=799347. It 
>>> also crashes if you try to re-parent an account.
>>> 
>>> Regards,
>>> John Ralls
>>> 
>> 
> 
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] GC crashing after upgrade

2024-07-02 Thread Ernie Wakamatsu
Thanks John,

Is there a MacOS version to try the fix on? Or do I need to download the 
flatpack for my Mac?  It’ll be a first time download and a bit hesitant  略 .

Ernie



> On 2 Jul 2024, at 3:19 AM, John Ralls  wrote:
> 
> 
> 
>> On Jun 30, 2024, at 21:35, Ernie Wakamatsu  wrote:
>> 
>> Hi Users,
>> 
>> I just upgraded my Gnucash to 5.7.1 and it has crashed on me in a couple of 
>> instances.  The first is when I try to delete an account and the second 
>> instance is when I try to apply changes when importing a QIF.
>> 
>> I am using Gnucash Version: 5.7, Build ID: 5.7+(2024-06-29), Finance::Quote: 
>> 1.62Version: 5.7.  I’m running on an Apple M1 chip and Macos, Sonoma, 14.5.  
>> Not sure if the crash report for Apple helps, but here are the first many 
>> lines.
> 
> Crash reports *always* help.
> This turns out to be https://bugs.gnucash.org/show_bug.cgi?id=799347. It also 
> crashes if you try to re-parent an account.
> 
> Regards,
> John Ralls
> 



smime.p7s
Description: S/MIME cryptographic signature
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] GC crashing after upgrade

2024-06-30 Thread Ernie Wakamatsu
Hi Users,

I just upgraded my Gnucash to 5.7.1 and it has crashed on me in a couple of 
instances.  The first is when I try to delete an account and the second 
instance is when I try to apply changes when importing a QIF.

I am using Gnucash Version: 5.7, Build ID: 5.7+(2024-06-29), Finance::Quote: 
1.62Version: 5.7.  I’m running on an Apple M1 chip and Macos, Sonoma, 14.5.  
Not sure if the crash report for Apple helps, but here are the first many lines.

-
Translated Report (Full Report Below)
-

Process:   Gnucash [2757]
Path:  /Applications/Gnucash.app/Contents/MacOS/Gnucash
Identifier:org.gnucash.Gnucash
Version:   5.7-1 (5.7-1)
Code Type: X86-64 (Translated)
Parent Process:launchd [1]
User ID:   501

Date/Time: 2024-07-01 14:30:51.2455 +1000
OS Version:macOS 14.5 (23F79)
Report Version:12
Anonymous UUID:59769A89-7C35-0716-084D-F3B8CF91EE79


Time Awake Since Boot: 470 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x10B4197A3)

Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:   KERN_INVALID_ADDRESS at 0x0030
Exception Codes:   0x0001, 0x0030

Termination Reason:Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [2757]

VM Region Info: 0x30 is not in any region.  Bytes before following region: 
4309135312
  REGION TYPESTART - END [ VSIZE] PRT/MAX 
SHRMOD  REGION DETAIL
  UNUSED SPACE AT START
--->  
  __TEXT  100d83000-100de3000[  384K] r-x/r-x 
SM=COW  /Applications/Gnucash.app/Contents/MacOS/Gnucash

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x10B4197A3)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libgtk-3.0.dylib   0x10b4197a3 
gtk_tree_model_get_valist + 419
1   libgtk-3.0.dylib   0x10b41959e gtk_tree_model_get + 
334
2   libgnc-gnome-utils.dylib   0x10a662b7b sort_by_string + 155
3   libgtk-3.0.dylib   0x10b424867 
gtk_tree_model_sort_compare_func + 151
4   libglib-2.0.0.dylib0x10ed63ed1 
g_sequence_sort_changed_iter + 241
5   libglib-2.0.0.dylib0x10ed63da4 
g_sequence_sort_changed + 84
6   libgtk-3.0.dylib   0x10b423a6f 
gtk_tree_model_sort_row_changed + 399
7   libgobject-2.0.0.dylib 0x10afea80a g_closure_invoke + 
298
8   libgobject-2.0.0.dylib 0x10b003aad 
signal_emit_unlocked_R + 1725
9   libgobject-2.0.0.dylib 0x10b00270b 
signal_emit_valist_unlocked + 2027
10  libgobject-2.0.0.dylib 0x10b002fab g_signal_emit + 171
11  libgtk-3.0.dylib   0x10b419abd 
gtk_tree_model_row_changed + 221
12  libgtk-3.0.dylib   0x10b41db1e 
gtk_tree_model_filter_row_changed + 542
13  libgobject-2.0.0.dylib 0x10afea80a g_closure_invoke + 
298
14  libgobject-2.0.0.dylib 0x10b003aad 
signal_emit_unlocked_R + 1725
15  libgobject-2.0.0.dylib 0x10b00270b 
signal_emit_valist_unlocked + 2027
16  libgobject-2.0.0.dylib 0x10b002fab g_signal_emit + 171
17  libgtk-3.0.dylib   0x10b419abd 
gtk_tree_model_row_changed + 221
18  libgnc-gnome-utils.dylib   0x10a657951 
clear_account_cached_values + 97
19  libgnc-gnome-utils.dylib   0x10a653dd7 
gnc_tree_model_account_event_handler + 551
20  libgnc-engine.dylib0x10e755dc2 
qof_event_generate_internal(QofInstance_s*, int, void*) + 114
21  libgnc-engine.dylib0x10e64e5b6 
gnc_account_remove_child + 262
22  libgnc-engine.dylib0x10e64abc2 
acc_free(QofInstance_s*) + 34
23  libgnc-engine.dylib0x10e758608 
qof_commit_edit_part2 + 232
24  libgnc-gnome.dylib 0x10a174d8b 
do_delete_account(account_s*, account_s*, account_s*, account_s*) + 315
25  libgnc-gnome.dylib 0x10a1742db 
gnc_plugin_page_account_tree_cmd_delete_account(_GSimpleAction*, _GVariant*, 
void*) + 2667
26  libgobject-2.0.0.dylib 0x10afea80a g_closure_invoke + 
298
27  libgobject-2.0.0.dylib 0x10b003aad 
signal_emit_unlocked_R + 1725
28  libgobject-2.0.0.dylib 0x10b00270b 
signal_emit_valist_unlocked + 2027
29  libgobject-2.0.0.dylib 0x10b002fab g_signal_emit + 171
30  libgio-2.0.0.dylib 0x10d9c9374 
g_simple_action_activate + 148
31  

Re: [GNC] Can't download stock prices

2024-05-25 Thread Ernie Wakamatsu
And like magic it works.  Thanks for the help.

Ernie



> On 22 May 2024, at 2:14 PM, John Ralls  wrote:
> 
> Ernie,
> 
> You probably built it for the wrong architecture. GnuCash is x86_64 so all of 
> the perl modules that aren’t pure perl need to be multi-architecture. See 
> https://wiki.gnucash.org/wiki/Online_Quotes#Installing_Finance::Quote_on_macOS_from_a_Terminal_prompt
>  for an explanation.
> 
> Regards,
> John Ralls
> 
>> On May 21, 2024, at 19:16, Ernie Wakamatsu  wrote:
>> 
>> HI John and Gnucash Supporters,
>> 
>> I was afraid you were going to say that.  As far as I can tell, I have 
>> JSON::Parse installed, but gnucash-cli is not finding it.
>> 
>> Ernie-Mac-mini% cpan JSON::Parse
>> Loading internal logger. Log::Log4perl recommended for better logging
>> Reading '/Users/Ernie_1/.cpan/Metadata'
>>   Database was generated on Tue, 21 May 2024 02:17:02 GMT
>> JSON::Parse is up to date (0.62).
>> Ernie-Mac-mini% /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
>> Application Path /Applications/Gnucash.app/Contents/MacOS/gnucash-cli
>> Failed to initialize Finance::Quote: missing_modules JSON::Parse
>> 
>> Sorry to keep troubling you.
>> 
>> Reards,
>> Ernie
>> Just an old FORTRAN programmer
>> 
>> 
>>> On 22 May 2024, at 1:48 AM, John Ralls  wrote:
>>> 
>>> Depends on the bug. Just like every other development team they have more 
>>> bugs than engineers so they have to prioritize. Some things get fixed 
>>> quickly, others take a while, and some never get attention. I don’t know 
>>> who maintains the libc that Apple uses. If it’s FreeBSD then they won’t 
>>> consider it a bug because their file systems are case sensitive.
>>> 
>>> As for what to do, that should be obvious: Spell the path correctly, where 
>>> spell includes case.
>>> You also need to run gnc-update-fq again to get JSON::Parse installed.
>>> 
>>> Regards,
>>> John Ralls
>>> 
>>>> On May 20, 2024, at 22:00, Ernie Wakamatsu  wrote:
>>>> 
>>>> One could hope Apple will fix bugs in a timely manner :-p.  
>>>> 
>>>> So what should I do to workaround this bug or am I hosed?
>>>> 
>>>> Ernie
>>>> 
>>>> 
>>>>> On 21 May 2024, at 1:21 PM, John Ralls  wrote:
>>>>> 
>>>>> Hah! I didn’t even notice that. It’s pretty funny.
>>>>> 
>>>>> The *file system* is by default case-preserving, meaning that you can 
>>>>> create either macOS or MacOS but not both; preserving means that it will 
>>>>> keep whichever one you create first. The shell is too, though Bash 
>>>>> completion is case-sensitive. Apparently dlopen is case-sensitive too: 
>>>>> when we call 
>>>>> `dlopen(/Applications/Gnucash.app/Contents/macOS/lib/gnucash/libgncmod-backend-dbi.dylib,
>>>>>  0x0009)` it fails to find the file. You can see this yourself by running 
>>>>>   /Applications/Gnucash.app/Contents/macOS/gnucash-cli --debug 
>>>>> —logto=stdout -Q info
>>>>> It’s in the first line of output.
>>>>> 
>>>>> I’m going to file a bug with Apple on that if it’s still true when the 
>>>>> first macOS 15 developer beta comes out in 3 weeks. Maybe they’ll fix it.
>>>>> 
>>>>> Regards,
>>>>> John Ralls
>>>>> 
>>>>> 
>>>>>> On May 20, 2024, at 18:07, Ernie Wakamatsu  wrote:
>>>>>> 
>>>>>> Very strange.  I get two results.
>>>>>> 
>>>>>> First, following your instructions, by coping and pasting
>>>>>> Ernie@Ernie-Mac-mini contents % zsh -df
>>>>>> Ernie-Mac-mini% /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q 
>>>>>> info
>>>>>> Application Path /Applications/Gnucash.app/Contents/MacOS/gnucash-cli
>>>>>> Failed to initialize Finance::Quote: missing_modules JSON::Parse
>>>>>> 
>>>>>> But when I type in the command line:
>>>>>> 
>>>>>> Ernie-Mac-mini% /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q 
>>>>>> info
>>>>>> Application Path /Applications/Gnucash.app/Contents/macOS/gnucash-cli
>>>>>> * 11:01:28  WARN  failed to load gncmod-backend-dbi from 
>>>>>> relative path 
>>>>>&

Re: [GNC] Can't download stock prices

2024-05-21 Thread Ernie Wakamatsu
HI John and Gnucash Supporters,

I was afraid you were going to say that.  As far as I can tell, I have 
JSON::Parse installed, but gnucash-cli is not finding it.

Ernie-Mac-mini% cpan JSON::Parse
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/Users/Ernie_1/.cpan/Metadata'
  Database was generated on Tue, 21 May 2024 02:17:02 GMT
JSON::Parse is up to date (0.62).
Ernie-Mac-mini% /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
Application Path /Applications/Gnucash.app/Contents/MacOS/gnucash-cli
Failed to initialize Finance::Quote: missing_modules JSON::Parse

Sorry to keep troubling you.

Reards,
Ernie
Just an old FORTRAN programmer


> On 22 May 2024, at 1:48 AM, John Ralls  wrote:
> 
> Depends on the bug. Just like every other development team they have more 
> bugs than engineers so they have to prioritize. Some things get fixed 
> quickly, others take a while, and some never get attention. I don’t know who 
> maintains the libc that Apple uses. If it’s FreeBSD then they won’t consider 
> it a bug because their file systems are case sensitive.
> 
> As for what to do, that should be obvious: Spell the path correctly, where 
> spell includes case.
> You also need to run gnc-update-fq again to get JSON::Parse installed.
> 
> Regards,
> John Ralls
> 
>> On May 20, 2024, at 22:00, Ernie Wakamatsu  wrote:
>> 
>> One could hope Apple will fix bugs in a timely manner :-p.  
>> 
>> So what should I do to workaround this bug or am I hosed?
>> 
>> Ernie
>> 
>> 
>>> On 21 May 2024, at 1:21 PM, John Ralls  wrote:
>>> 
>>> Hah! I didn’t even notice that. It’s pretty funny.
>>> 
>>> The *file system* is by default case-preserving, meaning that you can 
>>> create either macOS or MacOS but not both; preserving means that it will 
>>> keep whichever one you create first. The shell is too, though Bash 
>>> completion is case-sensitive. Apparently dlopen is case-sensitive too: when 
>>> we call 
>>> `dlopen(/Applications/Gnucash.app/Contents/macOS/lib/gnucash/libgncmod-backend-dbi.dylib,
>>>  0x0009)` it fails to find the file. You can see this yourself by running 
>>>   /Applications/Gnucash.app/Contents/macOS/gnucash-cli --debug 
>>> —logto=stdout -Q info
>>> It’s in the first line of output.
>>> 
>>> I’m going to file a bug with Apple on that if it’s still true when the 
>>> first macOS 15 developer beta comes out in 3 weeks. Maybe they’ll fix it.
>>> 
>>> Regards,
>>> John Ralls
>>> 
>>> 
>>>> On May 20, 2024, at 18:07, Ernie Wakamatsu  wrote:
>>>> 
>>>> Very strange.  I get two results.
>>>> 
>>>> First, following your instructions, by coping and pasting
>>>> Ernie@Ernie-Mac-mini contents % zsh -df
>>>> Ernie-Mac-mini% /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q 
>>>> info
>>>> Application Path /Applications/Gnucash.app/Contents/MacOS/gnucash-cli
>>>> Failed to initialize Finance::Quote: missing_modules JSON::Parse
>>>> 
>>>> But when I type in the command line:
>>>> 
>>>> Ernie-Mac-mini% /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q 
>>>> info
>>>> Application Path /Applications/Gnucash.app/Contents/macOS/gnucash-cli
>>>> * 11:01:28  WARN  failed to load gncmod-backend-dbi from 
>>>> relative path 
>>>> * 11:01:28 ERROR  required library gncmod-backend-dbi not 
>>>> found.
>>>> * 11:01:28  WARN  failed to load gncmod-backend-xml from 
>>>> relative path 
>>>> * 11:01:28 ERROR  required library gncmod-backend-xml not 
>>>> found.
>>>> * 11:01:28 ERROR  g_settings_schema_source_lookup: assertion 
>>>> 'source != NULL' failed
>>>> * 11:01:28 ERROR  g_settings_new_full: assertion 'schema != 
>>>> NULL' failed
>>>> * 11:01:28  WARN  
>>>> [gnc_gsettings_get_settings_obj()] Ignoring attempt to access unknown 
>>>> gsettings schema org.gnucash.GnuCash.general
>>>> zsh: segmentation fault  
>>>> /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q info
>>>> 
>>>> The two command lines are seemingly the same, but the difference is macOS 
>>>> and MacOS.  I thought the shell was not case sensitive.  h  The 
>>>> behavior is the same when I exit from the default shell.
>>>> 
>>>> I did check the directory and it is MacOS.
>>>> 
>>>> Ernie-Mac-mini% cd /Applications/Gnucash.ap

Re: [GNC] Can't download stock prices

2024-05-20 Thread Ernie Wakamatsu
One could hope Apple will fix bugs in a timely manner :-p.  

So what should I do to workaround this bug or am I hosed?

Ernie


> On 21 May 2024, at 1:21 PM, John Ralls  wrote:
> 
> Hah! I didn’t even notice that. It’s pretty funny.
> 
> The *file system* is by default case-preserving, meaning that you can create 
> either macOS or MacOS but not both; preserving means that it will keep 
> whichever one you create first. The shell is too, though Bash completion is 
> case-sensitive. Apparently dlopen is case-sensitive too: when we call 
> `dlopen(/Applications/Gnucash.app/Contents/macOS/lib/gnucash/libgncmod-backend-dbi.dylib,
>  0x0009)` it fails to find the file. You can see this yourself by running 
>   /Applications/Gnucash.app/Contents/macOS/gnucash-cli --debug —logto=stdout 
> -Q info
> It’s in the first line of output.
> 
> I’m going to file a bug with Apple on that if it’s still true when the first 
> macOS 15 developer beta comes out in 3 weeks. Maybe they’ll fix it.
> 
> Regards,
> John Ralls
> 
> 
>> On May 20, 2024, at 18:07, Ernie Wakamatsu  wrote:
>> 
>> Very strange.  I get two results.
>> 
>> First, following your instructions, by coping and pasting
>> Ernie@Ernie-Mac-mini contents % zsh -df
>> Ernie-Mac-mini% /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
>> Application Path /Applications/Gnucash.app/Contents/MacOS/gnucash-cli
>> Failed to initialize Finance::Quote: missing_modules JSON::Parse
>> 
>> But when I type in the command line:
>> 
>> Ernie-Mac-mini% /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q info
>> Application Path /Applications/Gnucash.app/Contents/macOS/gnucash-cli
>> * 11:01:28  WARN  failed to load gncmod-backend-dbi from 
>> relative path 
>> * 11:01:28 ERROR  required library gncmod-backend-dbi not found.
>> * 11:01:28  WARN  failed to load gncmod-backend-xml from 
>> relative path 
>> * 11:01:28 ERROR  required library gncmod-backend-xml not found.
>> * 11:01:28 ERROR  g_settings_schema_source_lookup: assertion 
>> 'source != NULL' failed
>> * 11:01:28 ERROR  g_settings_new_full: assertion 'schema != NULL' 
>> failed
>> * 11:01:28  WARN  
>> [gnc_gsettings_get_settings_obj()] Ignoring attempt to access unknown 
>> gsettings schema org.gnucash.GnuCash.general
>> zsh: segmentation fault  
>> /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q info
>> 
>> The two command lines are seemingly the same, but the difference is macOS 
>> and MacOS.  I thought the shell was not case sensitive.  h  The behavior 
>> is the same when I exit from the default shell.
>> 
>> I did check the directory and it is MacOS.
>> 
>> Ernie-Mac-mini% cd /Applications/Gnucash.app/Contents
>> Ernie-Mac-mini% ls
>> Info.plist   MacOS   PkgInfo Resources   _CodeSignature
>> Ernie-Mac-mini% 
>> 
>> Odd that it would behave differently.
>> 
>> Thoughts?
>> 
>> Ernie
>> 
>> 
>> 
>> 
>>> On 21 May 2024, at 2:50 AM, John Ralls  wrote:
>>> 
>>> Ernie,
>>> 
>>> The double slash is present in my output too, and it’s harmless. 
>>> 
>>> That shows that the app bundle is complete and uncorrupted. Something is 
>>> getting in the way of dlopen finding those two libraries.
>>> 
>>> Try getting a purely default shell environment by running 
>>>zsh -df
>>> That opens a new sub shell with no environment variables set and ignoring 
>>> all of your zsh config files. You can quit back to your regular shell with 
>>> d, but first try running 
>>>   /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
>>> 
>>> Regards,
>>> John Ralls
>>> 
>>>> On May 19, 2024, at 22:22, Ernie Wakamatsu  wrote:
>>>> 
>>>> Thanks John,
>>>> 
>>>> I ran the below commands and this is what I got.
>>>> 
>>>> Ernie@Ernie-Mac-mini contents % spctl --assess -vv 
>>>> /applications/gnucash.app
>>>> /applications/gnucash.app: accepted
>>>> source=Notarized Developer ID
>>>> origin=Developer ID Application: John D Ralls (Y9EHT5WMK7)
>>>> Ernie@Ernie-Mac-mini contents % otool -L 
>>>> /Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-dbi.dylib
>>>> /Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-dbi.dylib:
>>>>@executable_path/../Resources//lib/gnucash/libgncmod-backend-dbi.dylib 
>>>> (compatibility version 0.0.0, cu

Re: [GNC] Can't download stock prices

2024-05-20 Thread Ernie Wakamatsu
Very strange.  I get two results.

First, following your instructions, by coping and pasting
Ernie@Ernie-Mac-mini contents % zsh -df
Ernie-Mac-mini% /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
Application Path /Applications/Gnucash.app/Contents/MacOS/gnucash-cli
Failed to initialize Finance::Quote: missing_modules JSON::Parse

But when I type in the command line:

Ernie-Mac-mini% /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q info
Application Path /Applications/Gnucash.app/Contents/macOS/gnucash-cli
* 11:01:28  WARN  failed to load gncmod-backend-dbi from relative 
path 
* 11:01:28 ERROR  required library gncmod-backend-dbi not found.
* 11:01:28  WARN  failed to load gncmod-backend-xml from relative 
path 
* 11:01:28 ERROR  required library gncmod-backend-xml not found.
* 11:01:28 ERROR  g_settings_schema_source_lookup: assertion 'source 
!= NULL' failed
* 11:01:28 ERROR  g_settings_new_full: assertion 'schema != NULL' 
failed
* 11:01:28  WARN  [gnc_gsettings_get_settings_obj()] 
Ignoring attempt to access unknown gsettings schema org.gnucash.GnuCash.general
zsh: segmentation fault  /Applications/Gnucash.app/Contents/macOS/gnucash-cli 
-Q info

The two command lines are seemingly the same, but the difference is macOS and 
MacOS.  I thought the shell was not case sensitive.  h  The behavior is the 
same when I exit from the default shell.

I did check the directory and it is MacOS.

Ernie-Mac-mini% cd /Applications/Gnucash.app/Contents
Ernie-Mac-mini% ls
Info.plist  MacOS   PkgInfo Resources   _CodeSignature
Ernie-Mac-mini% 

Odd that it would behave differently.

Thoughts?

Ernie




> On 21 May 2024, at 2:50 AM, John Ralls  wrote:
> 
> Ernie,
> 
> The double slash is present in my output too, and it’s harmless. 
> 
> That shows that the app bundle is complete and uncorrupted. Something is 
> getting in the way of dlopen finding those two libraries.
> 
> Try getting a purely default shell environment by running 
>zsh -df
> That opens a new sub shell with no environment variables set and ignoring all 
> of your zsh config files. You can quit back to your regular shell with 
> d, but first try running 
>   /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
> 
> Regards,
> John Ralls
> 
>> On May 19, 2024, at 22:22, Ernie Wakamatsu  wrote:
>> 
>> Thanks John,
>> 
>> I ran the below commands and this is what I got.
>> 
>> Ernie@Ernie-Mac-mini contents % spctl --assess -vv /applications/gnucash.app
>> /applications/gnucash.app: accepted
>> source=Notarized Developer ID
>> origin=Developer ID Application: John D Ralls (Y9EHT5WMK7)
>> Ernie@Ernie-Mac-mini contents % otool -L 
>> /Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-dbi.dylib
>> /Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-dbi.dylib:
>>  @executable_path/../Resources//lib/gnucash/libgncmod-backend-dbi.dylib 
>> (compatibility version 0.0.0, current version 0.0.0)
>>  @executable_path/../Resources/lib/libgnc-backend-sql.dylib 
>> (compatibility version 0.0.0, current version 0.0.0)
>>  @executable_path/../Resources/lib/libgnc-engine.dylib (compatibility 
>> version 0.0.0, current version 0.0.0)
>>  @executable_path/../Resources/lib/libdbi.3.dylib (compatibility version 
>> 4.0.0, current version 4.0.0)
>>  @executable_path/../Resources/lib/libgnc-core-utils.dylib 
>> (compatibility version 0.0.0, current version 0.0.0)
>>  @executable_path/../Resources/lib/libboost_regex.dylib (compatibility 
>> version 0.0.0, current version 0.0.0)
>>  @executable_path/../Resources/lib/libboost_date_time.dylib 
>> (compatibility version 0.0.0, current version 0.0.0)
>>  @executable_path/../Resources/lib/libicui18n.73.dylib (compatibility 
>> version 73.0.0, current version 73.2.0)
>>  @executable_path/../Resources/lib/libicuuc.73.dylib (compatibility 
>> version 73.0.0, current version 73.2.0)
>>  @executable_path/../Resources/lib/libicudata.73.dylib (compatibility 
>> version 73.0.0, current version 73.2.0)
>>  @executable_path/../Resources/lib/libgmodule-2.0.0.dylib (compatibility 
>> version 7601.0.0, current version 7601.3.0)
>>  @executable_path/../Resources/lib/libglib-2.0.0.dylib (compatibility 
>> version 7601.0.0, current version 7601.3.0)
>>  @executable_path/../Resources/lib/libintl.8.dylib (compatibility 
>> version 13.0.0, current version 13.0.0)
>>  @executable_path/../Resources/lib/libgobject-2.0.0.dylib (compatibility 
>> version 7601.0.0, current version 7601.3.0)
>>  /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 
>> 1300.36.0)
>>  

Re: [GNC] Can't download stock prices

2024-05-19 Thread Ernie Wakamatsu
Thanks John,

I ran the below commands and this is what I got.

Ernie@Ernie-Mac-mini contents % spctl --assess -vv /applications/gnucash.app
/applications/gnucash.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: John D Ralls (Y9EHT5WMK7)
Ernie@Ernie-Mac-mini contents % otool -L 
/Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-dbi.dylib
/Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-dbi.dylib:
@executable_path/../Resources//lib/gnucash/libgncmod-backend-dbi.dylib 
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libgnc-backend-sql.dylib 
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libgnc-engine.dylib (compatibility 
version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libdbi.3.dylib (compatibility version 
4.0.0, current version 4.0.0)
@executable_path/../Resources/lib/libgnc-core-utils.dylib 
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libboost_regex.dylib (compatibility 
version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libboost_date_time.dylib 
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libicui18n.73.dylib (compatibility 
version 73.0.0, current version 73.2.0)
@executable_path/../Resources/lib/libicuuc.73.dylib (compatibility 
version 73.0.0, current version 73.2.0)
@executable_path/../Resources/lib/libicudata.73.dylib (compatibility 
version 73.0.0, current version 73.2.0)
@executable_path/../Resources/lib/libgmodule-2.0.0.dylib (compatibility 
version 7601.0.0, current version 7601.3.0)
@executable_path/../Resources/lib/libglib-2.0.0.dylib (compatibility 
version 7601.0.0, current version 7601.3.0)
@executable_path/../Resources/lib/libintl.8.dylib (compatibility 
version 13.0.0, current version 13.0.0)
@executable_path/../Resources/lib/libgobject-2.0.0.dylib (compatibility 
version 7601.0.0, current version 7601.3.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 
1300.36.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1319.0.0)
Ernie@Ernie-Mac-mini contents % 

Compared to your output, the only difference I can find is in the first line 
where I have a double slash:

@executable_path/../Resources//lib/gnucash/libgncmod-backend-dbi.dylib 
(compatibility version 0.0.0, current version 0.0.0)

Just eyeballing, everything else looks the same. Could this double slash be 
causing me troubles?

Ernie





> On 20 May 2024, at 1:52 PM, John Ralls  wrote:
> 
> 
> 
>> On May 19, 2024, at 18:03, Ernie Wakamatsu  wrote:
>> 
>> Hi,
>> 
>> First time user of this mailing list and just starting to use gnucash.  Been 
>> transferring information over from Quicken and I am getting things close to 
>> the way I would like.
>> 
>> I am trying to download stock prices, but getting the following errors.
>> 
>> Ernie@Ernie-Mac-mini ~ % 
>> /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q info
>> Application Path /Applications/Gnucash.app/Contents/macOS/gnucash-cli
>> * 11:59:02  WARN  failed to load gncmod-backend-dbi from 
>> relative path 
>> * 11:59:02 ERROR  required library gncmod-backend-dbi not found.
>> * 11:59:02  WARN  failed to load gncmod-backend-xml from 
>> relative path 
>> * 11:59:02 ERROR  required library gncmod-backend-xml not found.
>> * 11:59:02 ERROR  g_settings_schema_source_lookup: assertion 
>> 'source != NULL' failed
>> * 11:59:02 ERROR  g_settings_new_full: assertion 'schema != NULL' 
>> failed
>> * 11:59:02  WARN  
>> [gnc_gsettings_get_settings_obj()] Ignoring attempt to access unknown 
>> gsettings schema org.gnucash.GnuCash.general
>> zsh: segmentation fault  
>> /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q info
>> Ernie@Ernie-Mac-mini ~ % 
>> 
>> As you can tell, I am on a Mac Mini running Sonoma 14.4.1 (latest?).  Looks 
>> like I may be missing some files.  Tried the wiki and other search engines 
>> but not finding any answers.  How can I resolve the above?
>> 
>> Thanks in advance for any assistance.
> 
> Not quite the latest macOS version, 14.5 dropped last week. That’s unlikely 
> to matter.
> 
> The two files that it can’t find, libgncmon-backend-dbi.dylib and 
> libgncmod-backend-xml.dylib, should be in 
> /Applications/Gnucash.app/Contents/Rsources/lib/gnucash. If you have Xcode or 
> Xcode command line tools installed and they’re present you can run e.g.
>  otool -L 
> /Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-d

[GNC] Can't download stock prices

2024-05-19 Thread Ernie Wakamatsu
Hi,

First time user of this mailing list and just starting to use gnucash.  Been 
transferring information over from Quicken and I am getting things close to the 
way I would like.

I am trying to download stock prices, but getting the following errors.

Ernie@Ernie-Mac-mini ~ % /Applications/Gnucash.app/Contents/macOS/gnucash-cli 
-Q info
Application Path /Applications/Gnucash.app/Contents/macOS/gnucash-cli
* 11:59:02  WARN  failed to load gncmod-backend-dbi from relative 
path 
* 11:59:02 ERROR  required library gncmod-backend-dbi not found.
* 11:59:02  WARN  failed to load gncmod-backend-xml from relative 
path 
* 11:59:02 ERROR  required library gncmod-backend-xml not found.
* 11:59:02 ERROR  g_settings_schema_source_lookup: assertion 'source 
!= NULL' failed
* 11:59:02 ERROR  g_settings_new_full: assertion 'schema != NULL' 
failed
* 11:59:02  WARN  [gnc_gsettings_get_settings_obj()] 
Ignoring attempt to access unknown gsettings schema org.gnucash.GnuCash.general
zsh: segmentation fault  /Applications/Gnucash.app/Contents/macOS/gnucash-cli 
-Q info
Ernie@Ernie-Mac-mini ~ % 

As you can tell, I am on a Mac Mini running Sonoma 14.4.1 (latest?).  Looks 
like I may be missing some files.  Tried the wiki and other search engines but 
not finding any answers.  How can I resolve the above?

Thanks in advance for any assistance.

Best regards,
Ernie



smime.p7s
Description: S/MIME cryptographic signature
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.