Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread Bruce Schuck
On 10/5/24 8:07 PM, John Ralls wrote: Interesting, I didn’t know that MyCpan.pm defaulted make install to run under sudo. FWIW I’ve been running sudo cpan on macOS for almost 20 years with no ill effects. If it's the only way you use it, not a problem. But I'm often switching between local:

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread John Ralls
Bruce, Interesting, I didn’t know that MyCpan.pm defaulted make install to run under sudo. FWIW I’ve been running sudo cpan on macOS for almost 20 years with no ill effects. I just tested to make sure it worked without sudo (after chowning ~/.cpan), and it didn’t; it wouldn’t have worked with

Re: [GNC] macOS change (Intel to Silicon)

2024-10-05 Thread R Losey
Thank you. Well, that'll make it simple. On Sat, Oct 5, 2024 at 12:27 PM John Ralls wrote: > GnuCash.app isn’t installed, it’s a drag-and-drop application bundle that > contains everything it needs that the OS doesn’t provide. Consequently you > can have as many versions of GnuCash installed as

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread Bruce Schuck
On 10/5/24 5:39 PM, John Ralls wrote: As I explained in my previous, cpan needs to write to /Library/ Perl/3.40/, a system directory, so it need to be run with sudo. Of course doing that causes the ownership of ~/.cpan to be root. John, I *know* how CPAN works. Typically the default MyConfig.

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread John Ralls
Bruce, As I explained in my previous, cpan needs to write to /Library/Perl/3.40/, a system directory, so it need to be run with sudo. Of course doing that causes the ownership of ~/.cpan to be root. Regards, John Ralls > On Oct 5, 2024, at 16:27, Bruce Schuck wrote: > > On 10/5/24 2:35 PM,

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread Bruce Schuck
On 10/5/24 2:35 PM, Boniforti Flavio wrote: Ah! These lines are a clue. Warning: You are not allowed to write into directory "/Users/me/.cpan/ sources/authors". I'll continue, but if you encounter problems, they may be due to insufficient permissions. It appears that the directory perm

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread John Ralls
Flavio, Ah, you followed the instructions on https://www.gnucash.org/docs/v5/C/gnucash-manual/fq-install.html, so you used gnc-fq-update. Perl does come with macOS, but it’s not the latest release and some people use Homebrew to get it. The Quote.pms you’ve got aren’t Finance::Quote, so the a

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread Boniforti Flavio
Hi Bruce. The output of the find command: /usr/bin/perl /usr/share/file/magic/perl The command "brew list" doesn't show any Perl at all. The cpan command output: me@FMacBook-Pro ~ % cpan Finance::Quote Loading internal logger. Log::Log4perl recommended for better logging Reading '/Users/me/

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread Boniforti Flavio
Hi John. In fact I followed the instructions on that page, but nothing tells me how to install JSON::Parse. I verified that I had Perl installed and then I proceeded to install Finance::Quote as explained there in the Mac paragraph. I ran the find command you suggested, except for the fact that I

[GNC] Convert xml <-> sqlite on command line

2024-10-05 Thread Eberhard Beilharz
Hi, is there a way to convert a Gnucash file in XML format to SQLite format on the command line and the reverse? I know I can do Save As in the Gnucash UI, but I would like to do it from the command line so that I can automate it. Thanks,     Eberhard __

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread John Ralls
Bruce, Flavio has an Apple Silicon mac. On those machines Homebrew installs to /opt/homebrew. See https://docs.brew.sh/Installation, second sentence in the second paragraph. Regards, John Ralls > On Oct 5, 2024, at 12:54 PM, Bruce Schuck wrote: > > On 10/5/24 01:29, Boniforti Flavio wrote:

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread Bruce Schuck
On 10/5/24 01:29, Boniforti Flavio wrote: The output of the short script you've pointed at: Searching: /Library/Perl/5.34 Searching: /Network/Library/Perl/5.34 Searching: /System/Library/Perl/5.34 Searching: /System/Library/Perl/Extras/5.34 BTW: I don't remember installing Perl vi

Re: [GNC] Negative stock dividend

2024-10-05 Thread Michael or Penny Novack via gnucash-user
On 10/5/2024 11:36 AM, sunfish62--- via gnucash-user wrote: How does a negative dividend work? I've never heard of one. Does the company force shareholders to pay more money to keep their shares? ⁣David T. ​ Well I suspect this is a terminology matter. Dividend probably the wrong term. Here

Re: [GNC] macOS change (Intel to Silicon)

2024-10-05 Thread John Ralls
GnuCash.app isn’t installed, it’s a drag-and-drop application bundle that contains everything it needs that the OS doesn’t provide. Consequently you can have as many versions of GnuCash installed as you like. The only restriction is that they can’t have the same name in the same directory. When

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread John Ralls
Flavio, That page says the you need perl, JSON::Parse, and Finance::Quote, but it doesn’t say anything about how to get them. What did you do? At this point I think it’s worthwhile to see if you installed Finance::Quote at all. Run find / -x -name Quote.pm It will take a while, it’s going to

Re: [GNC] Negative stock dividend

2024-10-05 Thread sunfish62--- via gnucash-user
Actually, now that you describe it, I've had many such transactions, although the brokerage called them "adjustments". I've always just entered them the same as other dividends, with the amounts reversed. It's never caused any problems. ⁣David T. ​ On Oct 5, 2024, 7:19 PM, at 7:19 PM, R Losey

Re: [GNC] Negative stock dividend

2024-10-05 Thread sunfish62--- via gnucash-user
How does a negative dividend work? I've never heard of one. Does the company force shareholders to pay more money to keep their shares? ⁣David T. ​ On Oct 5, 2024, 5:51 PM, at 5:51 PM, Fred Tydeman wrote: >Will Gnucash work with a stock dividend that is negative? >

Re: [GNC] Negative stock dividend

2024-10-05 Thread R Losey
Wow. Amazing. The online articles only talk about a negative yield. On Sat, Oct 5, 2024 at 11:04 AM Fred Tydeman wrote: > The actual dividend is negative. Money is taken from my cash account. > On 9/27 a positive dividend was paid (I got money). > On 10/2 a negative dividend was "paid" (I had

Re: [GNC] Negative stock dividend

2024-10-05 Thread Fred Tydeman
The actual dividend is negative. Money is taken from my cash account. On 9/27 a positive dividend was paid (I got money). On 10/2 a negative dividend was "paid" (I had money taken from me) On Sat, Oct 5, 2024 at 5:57 PM R Losey wrote: > While there is such a thing as a "negative stock dividend

Re: [GNC] Negative stock dividend

2024-10-05 Thread R Losey
While there is such a thing as a "negative stock dividend", it is a term for when a company pays a dividend even though they they lost money -- that is, their net income was negative. This makes the dividend yield negative, not the actual dividend. In reality, the dividend itself is still a paid d

Re: [GNC] Negative stock dividend

2024-10-05 Thread Ken Farley
I don't know, why don't you just try it? If it works it works, if you get an error it doesn't. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/g

[GNC] Negative stock dividend

2024-10-05 Thread Fred Tydeman
Will Gnucash work with a stock dividend that is negative? ___ 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

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread Boniforti Flavio
The output of the short script you've pointed at: Searching: /Library/Perl/5.34 Searching: /Network/Library/Perl/5.34 Searching: /System/Library/Perl/5.34 Searching: /System/Library/Perl/Extras/5.34 BTW: I don't remember installing Perl via Homebrew, how would I verify that? Thanks, F. htt

Re: [GNC] Finance::Quote failed to initialize

2024-10-05 Thread Boniforti Flavio
Hi John. I followed the instructions at: https://www.gnucash.org/docs/v5/C/gnucash-manual/finance-quote.html I also found this: me@FMacBook-Pro ~ % ls -la /Library/Perl total 0 drwxr-xr-x 4 root wheel 128 Aug 4 12:31 . drwxr-xr-x 69 root wheel 2208 Aug 18 16:38 .. drwxr-xr-x 3 root

Re: [GNC] How to track receipts for a job.

2024-10-05 Thread Geoff Jankowski via gnucash-user
Hi all, I am also interested in solving this as I cannot find a way to post or link a supplier invoice to a chargeable client. (Like Jacob’s materials). When I open a new bill, as soon as I use the job or chargeable options, it says it is a bill but then opens as an invoice and I cannot post t

Re: [GNC] gnucash stackoverflow tag

2024-10-05 Thread sunfish62--- via gnucash-user
Just noting that the referenced page was created 15 years ago and states that it has 250 views over that time. The "recent" hot topic is on envelope budgeting, which is a corner use case for GnuCash. And it's 15 months old. While it's commendable to increase information flow, I wonder whether t