Re: [GNC] installer build failure, libgnc-html The specified module could not be found, on MINGW32

2024-08-14 Thread Hai Liang Wang
Try to set GUILE_EXTENSIONS_PATH, but still not work. As the root case seems to be - *In procedure dynamic-link: file: "libgnc-html", message: "The specified module could not be found."* I find out GUILE_EXTENSIONS_PATH

[GNC] two instances on different books

2024-08-14 Thread Brook Milligan via gnucash-user
Is it safe for a single user to run simultaneously two different instances of GC on two different books? If so, what settings are shared between them and therefore must be the same? I can think of all the general settings, which mostly seem to be preferences about overall features like whether

Re: [GNC] two instances on different books

2024-08-14 Thread Michael or Penny Novack via gnucash-user
On 8/14/2024 8:46 AM, Brook Milligan via gnucash-user wrote: Is it safe for a single user to run simultaneously two different instances of GC on two different books? There is also a work flow/error consideration. I  think working with two sets of books open would be a very bad idea because of

Re: [GNC] two instances on different books

2024-08-14 Thread Brook Milligan via gnucash-user
> On Aug 14, 2024, at 7:58 AM, Michael or Penny Novack via gnucash-user > wrote: > > On 8/14/2024 8:46 AM, Brook Milligan via gnucash-user wrote: >> Is it safe for a single user to run simultaneously two different instances >> of GC on two different books? >> > There is also a work flow/erro

Re: [GNC] two instances on different books

2024-08-14 Thread Ken Pyzik
Just out of curiosity, what is the difference between what you are wanting to do and just doing a FILE - OPEN - BOOK2 from a single instance? Seems to me that the only real difference is that when GnuCash opens, it automatically opens the last book it was working from. So, that being the case,

Re: [GNC] two instances on different books

2024-08-14 Thread Brook Milligan via gnucash-user
> On Aug 14, 2024, at 9:29 AM, Ken Pyzik wrote: > > Just out of curiosity, what is the difference between what you are wanting to > do and just doing a FILE - OPEN - BOOK2 from a single instance? > > Seems to me that the only real difference is that when GnuCash opens, it > automatically o

Re: [GNC] two instances on different books

2024-08-14 Thread Stan Brown (using GC 4.14)
FSVO "safe", yes it is, at least in Windows. Caution: reports, preferences, and most-recently used (with geometry of the window) are per user and not per book(*). Therefore, depending on the sequence in which you make changes and close files, you may find that some or all of the changes you made

Re: [GNC] two instances on different books

2024-08-14 Thread Stan Brown (using GC 4.14)
On 2024-08-14 08:35, Brook Milligan via gnucash-user wrote: > I have a situation in which I have to manage a pair of books, one from the > perspective of each side of some of the transactions. An example would be if > I am managing books for both a company and a customer, but in my case the two

Re: [GNC] Keybinding to find txn by Value?

2024-08-14 Thread Stan Brown (using GC 4.14)
On 2024-08-07 18:54, Mike Morrison wrote: > I frequently want to find a transaction by its value amount, for example > "find all transactions having a credit or debit equal to $2.50". Currently > I do this by typing Ctrl-F and then some keyboard and/or mouse actions to > change "Description" in the

Re: [GNC] two instances on different books

2024-08-14 Thread Brook Milligan via gnucash-user
> On Aug 14, 2024, at 9:58 AM, Stan Brown (using GC 4.14) > wrote: > > On 2024-08-14 08:35, Brook Milligan via gnucash-user wrote: >> I have a situation in which I have to manage a pair of books, one from the >> perspective of each side of some of the transactions. An example would be >> if

Re: [GNC] Python bindings issue

2024-08-14 Thread Gere Kiss Zsolt
Thanks, Nate. I don't want to purge the `python3-gnucash` package for fear that it will remove my GnuCash settings. Python 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import gnucash > >>> dir() > ['__anno

Re: [GNC] Python bindings issue

2024-08-14 Thread Gere Kiss Zsolt
Hi Jim, Did you succeed to import the Python bindings with `import gnucash`? > That has succeeded sometimes, and failed sometimes, but presently it > succeeds. Could this happen because the book was sometimes locked ? (just a question) Thanks for the code bits. You helped me in the way that it

Re: [GNC] Python bindings issue

2024-08-14 Thread Jim DeLaHunt
On 2024-08-14 10:56, Gere Kiss Zsolt wrote: Hi Jim, Did you succeed to import the Python bindings with `import gnucash`? On Wed, 14 Aug 2024 at 02:16, Jim DeLaHunt wrote: That has succeeded sometimes, and failed sometimes, but presently it succeeds. Could this happen because the book was

Re: [GNC] two instances on different books

2024-08-14 Thread G R Hewitt
I agree with Stan's scenario. In a former life, the company I was working for had two companies in the same set of books. One was to do with running a holiday park, the other the entertainment side - there was a tax advantage to this. So I had separate nominals for the entertainment part with their

Re: [GNC] two instances on different books

2024-08-14 Thread Michael or Penny Novack via gnucash-user
Yes, I agree. However, there are always potential human mistakes that can occur, even with a single book. Many of those can be mitigated in various ways. For the moment, I am wondering if there are any technical reasons that simply preclude the option and make all those possible challenges

Re: [GNC] two instances on different books

2024-08-14 Thread Fred Tydeman
On Wed, Aug 14, 2024 at 7:47 AM Brook Milligan via gnucash-user < gnucash-user@gnucash.org> wrote: > Is it safe for a single user to run simultaneously two different instances > of GC on two different books? > How about this case: Run the command line interface to get stock quotes for one book

Re: [GNC] two instances on different books

2024-08-14 Thread David Cousens
Brook, I have in the past run multiple instances on different books with no major problems apart from the workflow issues Michael bought up. All sets of books are then subject to the same set of user preferences and changing them for one changes them for all. The other way is to run multiple u

Re: [GNC] two instances on different books

2024-08-14 Thread John Layman via gnucash-user
There is no problem with having multiple instances of GnuCash running at the same time. I do so rather frequently for personal and business books. My wife and I are self-employed and transactions such as capital contributions and draws or guaranteed distributions have related entries in both book

Re: [GNC] two instances on different books

2024-08-14 Thread Michael or Penny Novack via gnucash-user
The other way is to run multiple users and switch between the users when you need to use a different set of books. Then the user preferences are unique to each user and therefor each set of books. Requires a logoff/login as the new user. . of course if you can afford multiple computers and

Re: [GNC] two instances on different books

2024-08-14 Thread Liz
On Wed, 14 Aug 2024 09:58:17 -0400 Michael or Penny Novack via gnucash-user wrote: > On 8/14/2024 8:46 AM, Brook Milligan via gnucash-user wrote: > > Is it safe for a single user to run simultaneously two different > > instances of GC on two different books? > There is also a work flow/error con

Re: [GNC] two instances on different books

2024-08-14 Thread Liz
On Wed, 14 Aug 2024 09:35:39 -0600 Brook Milligan via gnucash-user wrote: > > Fair question. > > I have a situation in which I have to manage a pair of books, one > from the perspective of each side of some of the transactions. An > example would be if I am managing books for both a company an

Re: [GNC] two instances on different books

2024-08-14 Thread Liz
On Wed, 14 Aug 2024 08:47:46 -0700 "Stan Brown (using GC 4.14)" wrote: > I echo Ken's question: Why do you want to do this? If your jurisdiction's tax agency says you keep the books separately that would be a very powerful reason. Liz ___ gnucash-user

Re: [GNC] two instances on different books

2024-08-14 Thread David Cousens
Brook  Where you may possibly encounter problems in having two related entities within the one set of books will be with the business features which AFAIK are designed with only a single entity in mind. I keep my and my wife's personal finances in one set of books but use subaccounts to keep our

Re: [GNC] two instances on different books

2024-08-14 Thread David Cousens
I was being a bit facetious with the comment about multiple computers. I have used my laptop as a terminal to my desktop with reflection of the display of what was running on the desktop to the laptop (both Linux) although I no longer have any real need to do so. It was many years ago now and i

Re: [GNC] installer build failure, libgnc-html The specified module could not be found, on MINGW32

2024-08-14 Thread Hai Liang Wang
Problem solved, fixed by adjust file: gnucash\stable\src\gnucash-git\common\cmake_modules\GncAddSchemeTargets.cmake. * if(NOT MINGW64 OR ${GUILE_EFFECTIVE_VERSION} VERSION_LESS 2.2)* *make_unix_path_list(_GUILE_LOAD_PATH)* *make_unix_path_list(_GUILE_LOAD_COMPILED_PATH)* *

Re: [GNC] Error during phase build of gnucash-git: # Error running ninja, build on MINGW32

2024-08-14 Thread John Ralls
The actual error is [286/875] Generating gnucash.appdata.xml.in FAILED: gnucash/gnome/gnucash.appdata.xml.in C:/gcdev64/gnucash/stable/build/gnucash-git/gnucash/gnome/gnucash.appdata.xml.in C:\WINDOWS\system32\cmd.exe /C "cd /D C:\gcdev64\gnucash\stable\build\gnucash-git\gnucash\gnome && C:\g

Re: [GNC] Error during phase build of gnucash-git: # Error running ninja, build on MINGW32

2024-08-14 Thread Hai Liang Wang
Yep, gettext package of x86_64 version is installed, need to remove it manually. Thanks, I also nailed down to this clue yesterday and provided the solution in this thread. Cheers. Hai Liang W. On Thu, Aug 15, 2024 at 10:54 AM John Ralls wrote: > The actual error is > [286/875] Generating gnu

[GNC] Windows installer build failure, cmath error: 'copysign' has not been declared in '::' on MINGW32

2024-08-14 Thread Hai Liang Wang
hi, folks Run script `TARGET=gnucash-stable jhbuild -f jhbuildrc build` to build windows installer, come to an error - *gnucash.dir/gnucash-core-app.cpp.obj -c C:/gcdev64/gnucash/stable/src/gnucash-git/gnucash/gnucash-core-app.cpp* *In file included from C:/gcdev64/msys2/mingw32/include/boost/cor

Re: [GNC] Windows installer build failure, cmath error: 'copysign' has not been declared in '::' on MINGW32

2024-08-14 Thread Hai Liang Wang
So far, I know more about the problem, but haven't find a solution yet. `cmath:2106:11: error: 'copysign' has not been declared in '::'`, this link explain the error cause - https://stackoverflow.com/questions/1216878/cmath-functions-generating-compiler-error And in, `gnucash\stable\src\gnucash-g