Re: [GNC] Finance::Quote on a Mac with a foreign perl

2024-04-25 Thread Vincent Lucarelli
John,

I run macOS and use Homebrew. How are the user’s running gnc-fq-update? From a 
terminal, if you 

> cd /Applications/Gnucash.app/Contents/Resources/bin
> sudo ./gnc-fq-update

it is going to use /usr/bin/perl from the #! line at the top of the script.

But the script uses the perl CPAN module, so maybe there is something in 
$HOME/.cpan that is causing trouble?

To answer your actual question, I have

> /usr/bin/perl -e 'print(join("\n", @INC));'
/Library/Perl/5.34/darwin-thread-multi-2level
/Library/Perl/5.34
/Network/Library/Perl/5.34/darwin-thread-multi-2level
/Network/Library/Perl/5.34
/Library/Perl/Updates/5.34.1
/System/Library/Perl/5.34/darwin-thread-multi-2level
/System/Library/Perl/5.34
/System/Library/Perl/Extras/5.34/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.34

vs 

> which perl
/Users/acount/perl5/perlbrew/perls/perl-5.32.0/bin/perl

> perl -e 'print(join("\n", @INC));'
/Users/acount/perl5/perlbrew/perls/perl-5.32.0/lib/site_perl/5.32.0/darwin-2level
/Users/acount/perl5/perlbrew/perls/perl-5.32.0/lib/site_perl/5.32.0
/Users/acount/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/darwin-2level
/Users/acount/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0

but - I’m not sure if there are other shell rc file changes that these users 
might have that could alter this, or if there are brew installs that could 
alter this as well.

I’m happy to help sort this out, but need some more information about the 
users’ issues.

Best,

Vince


> On Apr 25, 2024, at 7:15 PM, john  wrote:
> 
> Are there any Mac users who have Homebrew installed and know what @INC is?
> 
> At least two users with the first problem but without knowing the second have 
> gotten themselves cross-threaded trying to install Finance::Quote because 
> Homebrew' screws up their perl installation so that cpan ignores the 
> installed modules and since Homebrew doesn't (at least without help) provide 
> SSLeay, Net::HTTPS, and IO::Sockets::SSL and macOS doesn't put OpenSSL's 
> headers in /usr/include they have to perform all sorts of unnatural acts to 
> get gnc-fq-update to work.
> 
> We need some simple instructions for the wiki for how to work around the 
> problem so that gnc-fq-update uses the system perl (that's after all the only 
> one the app bundle can see, it doesn't read the user's shell environment) and 
> gets the dependencies from /System/Library/Perl instead of trying to build 
> them.
> 
> 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.

___
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] Finance::Quote on a Mac with a foreign perl

2024-04-25 Thread john
Are there any Mac users who have Homebrew installed and know what @INC is?

At least two users with the first problem but without knowing the second have 
gotten themselves cross-threaded trying to install Finance::Quote because 
Homebrew' screws up their perl installation so that cpan ignores the installed 
modules and since Homebrew doesn't (at least without help) provide SSLeay, 
Net::HTTPS, and IO::Sockets::SSL and macOS doesn't put OpenSSL's headers in 
/usr/include they have to perform all sorts of unnatural acts to get 
gnc-fq-update to work.

We need some simple instructions for the wiki for how to work around the 
problem so that gnc-fq-update uses the system perl (that's after all the only 
one the app bundle can see, it doesn't read the user's shell environment) and 
gets the dependencies from /System/Library/Perl instead of trying to build them.

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] Please address broken QIF import

2024-04-25 Thread Adrien Monteleone
What do you find about dropping to an earlier release, not 
'straightforward'? It is a simple matter of removing the current 
release, and installing the older one. (I believe on Windows systems, 
you can safely just install the older release as the installer will do 
the in-place replacement for you)


I also can't fathom exactly how you imagine the developers have 'made 
downgrading harder'. I don't see that they've done any such thing. They 
even make an effort to support reverting to recent older releases for 
just this purpose.


If you have followed the recommended upgrade procedure via the Wiki's 
FAQ, you should be able to easily drop down to the last version of the 
last major release before your current one if necessary, though in most 
cases, simply dropping one or two point-releases within the current 
major version is sufficient. (and in some cases, not even necessary as 
there may be workarounds, albeit with a bit of extra effort)


Yes, there have been a few significant issues over the last year or so 
that have prompted more 'downgrades' than previously. But so far as I 
can tell following the threads, every one of those was caused by outside 
software.


Overall, this is one of the most responsive and helpful development 
teams I've experienced for any software I use. And there's no mega-corp 
behind them, just a handful of gracious folks donating their time and 
effort because they care and they want to see the project they use 
themselves, survive and thrive. (the devs are users too, and they can 
experience the same regressions, and frustrations, along with the rest 
of us.)



Regards,
Adrien

On 4/24/24 5:24 PM, Yann Salmon via gnucash-user wrote:
downgrading is really not a
straightforward route as software managers, for good reasons, make 
upgrading software easy and downgrading it harder


___
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] Please address broken QIF import

2024-04-25 Thread Joseph Keithley
I tried the -1 but it doesn't import my qif's either.  I had to go back to
version 5.5.

On Thu, Apr 25, 2024 at 12:28 AM sunfish62--- via gnucash-user <
gnucash-user@gnucash.org> wrote:

> While I am uncomfortable with Jim's overall tone, he makes valid points to
> consider.
>
> Also,
> https://code.gnucash.org/builds/win32/releases/gnucash-5.6-1.setup.exe
> was pushed out a couple of weeks ago and announced as a fix to an import
> problem, I believe. I admit I don't pay too much attention to discussions
> about importing, since I stopped using import features a long time ago.
> Maybe it will remedy your troubles.
>
> ⁣David T. ​
>
> On Apr 25, 2024, 3:13 AM, at 3:13 AM, Jim DeLaHunt 
> wrote:
> >On 2024-04-23 14:31, Yann Salmon via gnucash-user wrote:
> >> Since there is, if I understand correctly, a fix to this major bug, I
> >
> >> really think a 5.6.1 release would be helpful.…
> >On 2024-04-24 15:24, Yann Salmon via gnucash-user wrote:
> >> …the one thing I learned is : you do not break things, and if you do,
> >
> >> you unbreak them as quickly as possible.…
> >>
> >> …I would be interested to know the bigger picture that I am obviously
> >
> >> missing in the decision not to publish a .1 that fixes a regression
> >> (especially on a stable release) and allows Otto Normaluser and his
> >> Grandma to quickly get back on their feet by simpling doing what they
> >
> >> know and have been educated to do : upgrading their software.
> >
> >Oh, I think I can help you see the bigger picture.
> >
> >Please run a report on your financial records in GnuCash. Look for all
> >the payments you made to the GnuCash developers, in order to have the
> >use of GnuCash software.  If your records are like mine, the total
> >amount will be:
> >
> >0.00 EUR (approximately 0.00 CAD, 0.00 USD, 0.00 CNY, at current
> >exchange rates)
> >
> >I suspect that the GnuCash team has spent at least double that amount,
> >and applied it to making a 5.6.1 release. It was sufficient for them to
> >
> >reach 0% of the way to completion. (I am being sarcastic. I don't know
> >the internals of the GnuCash project.)
> >
> >Putting aside sarcasm, please remember that the GnuCash developers are
> >volunteers. They are donating their time and expertise to develop
> >GnuCash. There are not many of them. Yet they deliver regular releases,
> >
> >complete with bug fixes, and ever-increasing capabilities.  The
> >appropriate tone to take with them is one of gratitude.
> >
> >At the same time, the GnuCash developers have granted you a license to
> >GnuCash's source code. You are permitted to see the source code, to
> >diagnose the problem yourself, and to come up with a fix. If you wish,
> >you can donate the fix back to the GnuCash developers. Or, you could
> >make your own 5.6.1 release with the fix (but this is "forking", and
> >you
> >should give the new software a different name).  If you own skills do
> >not extend to diagnosing and fixing the problem, you are free to hire a
> >
> >skilled software engineer, and have them diagnose, fix, and release a
> >version of the software for you. If you want to pay the software
> >engineer for an extended time, so that they can build up a relationship
> >
> >with the GnuCash developers, they might be able to take on the task of
> >making bug-fix releases. It could be your contribution to GnuCash.
> >Please, go right ahead!
> >
> >However, you may discover that this costs you more in time and money
> >than the 0.00 EUR which you have paid for GnuCash so far.
> >
> >Best regards,
> >  —Jim DeLaHunt
> >
> >
> >On 2024-04-24 15:24, Yann Salmon via gnucash-user wrote:
> >> Hello,
> >>
> >> Le 23/04/2024 à 23:48, David Carlson a écrit :
> >>> Sir,
> >>>
> >>> In my experience most financial institutions that offer QIF exports
> >>> also offer OFX format which will often go under a similar name.
> >>
> >> Alas, a hundred times alas, not always. Not in France, at least. They
> >
> >> should…
> >>
> >> I was able, however, to use . I
> >
> >> had to reverse all transactions (which is easier to do in the QIF,
> >> btw) because my bank seems to directly produce a QIF for my point of
> >> view while GnuCash seems to expect a QIF with transactions from the
> >> bank's point of view, but that is another story.
> >>
> >>
> >>> If you need the QIF format then you will probably be stuck either
> >>> waiting for the 5.7 windows release or reverting either to an
> >earlier
> >>> 5 series or maybe even 4 series if you have an older Linux based
> >>> machine as I do.
> >>
> >> Even though the Gnucash team has been releasing new versions at a
> >> steady and formidable rythm of one every 3 to 4 months, that still
> >> makes 4 months of non-working QIF import — downgrading is really not
> >a
> >> straightforward route as software managers, for good reasons, make
> >> upgrading software easy and downgrading it harder (and one would have
> >
> >> to get the idea of doing so).
> >>
> >>