Re: [GNC] Adding Transactions From Another Program

2020-05-08 Thread Michael or Penny Novack
On 5/8/2020 12:29 PM, John Ralls wrote: GNU BASH, a.k.a. the Bourne Again Shell (because it was originally a Free clean room clone of SysV's Bourne Shell) is the default shell (terminal command processor) on many Linux systems. . It has nothing at all to do with GnuCash and discussing

Re: [GNC] Adding Transactions From Another Program

2020-05-08 Thread John Ralls
les directly. Regards, John Ralls > On May 7, 2020, at 10:44 PM, Hal Vaughan wrote: > > > >> Begin forwarded message: >> >> From: Hal Vaughan >> Subject: Re: [GNC] Adding Transactions From Another Program >> Date: May 8, 2020 at 1:42:28 AM ED

Re: [GNC] Adding Transactions From Another Program

2020-05-07 Thread david whiting
e GnuCash dmg for its installation. That dmg > > does not include python bindings, so the answer to your question is "No, > > Homebrew does not include python. You would need to clozapine GnuCash > > yourself." > > > > David T. > > > > > > --

Re: [GNC] Adding Transactions From Another Program

2020-05-07 Thread John Ralls
es the GnuCash dmg for its installation. That dmg >> does not include python bindings, so the answer to your question is "No, >> Homebrew does not include python. You would need to clozapine GnuCash >> yourself." >> >> David T. >> >> >>

Re: [GNC] Adding Transactions From Another Program

2020-05-07 Thread Hal Vaughan
; From: Hal Vaughan > Sent: Fri May 01 01:32:14 GMT+05:30 2020 > To: Gnucash > Subject: Re: [GNC] Adding Transactions From Another Program > > Actually, this has me looking over what I am and am not still using. > > Since Mac is still using Python 2.7, but Catalina is c

Re: [GNC] Adding Transactions From Another Program

2020-05-01 Thread david whiting
> Sent: Fri May 01 10:34:54 GMT+05:30 2020 > To: "D." > Cc: Hal Vaughan , "D. via gnucash-user" > > Subject: Re: [GNC] Adding Transactions From Another Program > > Maybe one supplied by a drug manufacturer. Google tells me that Clozapine is > an antipsyc

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread D. via gnucash-user
That somehow seems to be an entirely justified substitution in my case! Original Message From: John Ralls Sent: Fri May 01 10:34:54 GMT+05:30 2020 To: "D." Cc: Hal Vaughan , "D. via gnucash-user" Subject: Re: [GNC] Adding Transactions From Anothe

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread David Cousens
> > that Homebrew simply uses the GnuCash dmg > > for its installation. That dmg does not include python bindings, so the > > answer to your question is "No, Homebrew > > does not include python. You would need to clozapine GnuCash yourself." > > &g

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread John Ralls
ng! > > > Original Message > From: "D. via gnucash-user" > Sent: Fri May 01 09:21:46 GMT+05:30 2020 > To: Hal Vaughan > Cc: "D. via gnucash-user" > Subject: Re: [GNC] Adding Transactions From Another Program > > Hal, > &g

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread D. via gnucash-user
"clozapine"="compile" Not sure what dictionary my machine is using! Original Message From: "D. via gnucash-user" Sent: Fri May 01 09:21:46 GMT+05:30 2020 To: Hal Vaughan Cc: "D. via gnucash-user" Subject: Re: [GNC] Adding Transa

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread D. via gnucash-user
apine GnuCash yourself." David T. Original Message From: Hal Vaughan Sent: Fri May 01 01:32:14 GMT+05:30 2020 To: Gnucash Subject: Re: [GNC] Adding Transactions From Another Program Actually, this has me looking over what I am and am not still using. Since Mac is still us

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread David H
Newsflash "Catalina is already here" :-) Python 2.7.16 is retained as "python" when upgrading to Catalina and Python 3.8.1 is also installed as "python3" so you can presumably use both in parallel. davidhalverson@Davids-MBP ~ % python3 --version Python 3.8.1 davidhalverson@Davids-MBP ~ %

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread John Ralls
We don't build the python bindings in the MacOS or Windows bundles because they must be linked to libpython, and it obviously has to be the same libpython to which the python executing the user's program is linked to. You can see where that's going: We'd have to include an entire python

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread Stu Perlman
David, are the Python bindings not supported in Windows? I don't see any mention of Windows setup on this page: https://wiki.gnucash.org/wiki/Python_Bindings#Setting_things_up I do have Python 3.8 on my Win 10 system. My second question is with regard to budgets. If I don't see anything

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread Adrien Monteleone
Have you investigated Homebrew vs. MacPorts? Just curious if the Perl issues are the same. Regards, Adrien > On Apr 30, 2020 w18d121, at 12:29 AM, Hal Vaughan wrote: > > I’ve checked out the bindings - as I mentioned in my original post, the > problem is that using the bindings on a Mac

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread Hal Vaughan
Interesting! Did you consider having GC use XML in your save file instead of SQL? If I do pursue this, I’ll be glad to make the code available and let people know what happens. Hal > On Apr 28, 2020, at 5:41 PM, Stu Perlman wrote: > > Hal, > > I'm sort of doing a liter version of what you

Re: [GNC] Adding Transactions From Another Program

2020-04-30 Thread Hal Vaughan
CVS works fine. I can still read the data I need to by opening the GC file with my script, checking to see what entries I’ve already added, and add the ones that are still needed to a temporary CSV file I import. That works fine. I just want don’t want to have to do the math. Eventually,

Re: [GNC] Adding Transactions From Another Program

2020-04-29 Thread Hal Vaughan
I’ve checked out the bindings - as I mentioned in my original post, the problem is that using the bindings on a Mac requires MacPorts. I’ve had issues before, since MacPorts (and other similar systems) usurp some of the normal paths for things like Perl and Python. I don’t use Perl for coding

Re: [GNC] Adding Transactions From Another Program

2020-04-28 Thread Stu Perlman
David, I did look at the Python bindings info a while back but at the time did not feel like getting started with Python because I just wanted to get done what I wanted to get done. I'm mostly a .NET & SQL guy so I stuck with what I knew. Fast forward a few months and add in the bounty of extra

Re: [GNC] Adding Transactions From Another Program

2020-04-28 Thread David H
Have you checked out the GnuCash Python Bindings - https://code.gnucash.org/docs/MAINT/python_bindings_page.html - no point in re-inventing the wheel :-) Cheers David H. What can Python Bindings be used for ? The python bindings supply the ability to access a wide range of the core functions of

Re: [GNC] Adding Transactions From Another Program

2020-04-28 Thread Stu Perlman
Hal, I'm sort of doing a liter version of what you are describing. I do manipulate some GC data from outside of GC. I have GC setup with the MySQL backend and while I don't create any new transactions from outside of GC I do manipulate them. I have some SQL routines that I created to clean up

Re: [GNC] Adding Transactions From Another Program

2020-04-28 Thread Adrien Monteleone
My understanding is it isn’t exactly ’safe’ to directly edit the data file outside of the app. (this doesn’t mean you can’t, but don’t expect much support if something breaks or data is destroyed) Since you are generating additional transactions, I’d just do that, in the form of a CSV file for

[GNC] Adding Transactions From Another Program

2020-04-28 Thread Hal Vaughan
I’ve done some research on this issue and I’m trying to determine if it’s worth doing more or if I’d just spend time on this topic and find it won’t work. I have a situation I’ve been told GnuCash can’t handle, but I have a Python library that can handle it. (It has to do with calculating