Re: [GNC] Building Gnucash on Fedora 37 - "No package 'glib-2.0' found" error

2023-04-29 Thread Vivek Gani
I'm pretty sure it was a git checkout via `git clone
g...@github.com:Gnucash/gnucash.git`
. I was sorta pressed for time and ended up just installing the rpm package
of gnucash which met my needs for python bindings - see
https://discussion.fedoraproject.org/t/trying-to-build-gnucash-from-source-cmake-getting-no-package-glib-2-0-found/79234
for another discussion thread I started at the time.

-Vivek

On Tue, Apr 25, 2023 at 4:45 AM Geert Janssens 
wrote:

> Hi,
>
> A late reply...
>
> I'm on Fedora 37 as well, but can't reproduce the error.
>
> I'm currently building the current stable branch though, not 4.13. Where
> does your gnucash-4.13 come from ? Is that a release tarball, or a git
> checkout ?
>
> Regards,
>
> Geert
>
> Op donderdag 9 maart 2023 23:52:52 CEST schreef Vivek Gani:
>
> > Hi,
>
> >
>
> > I'm trying to build gnucash from source (rather than the rpm package or
>
> > flatpak for python bindings) on Linux (Fedora 37) and keep running into
> an
>
> > issue where on build I get the error:
>
> >
>
> > ```
>
> > -- Checking for module 'glib-2.0>=2.56.1'
>
> > --   No package 'glib-2.0' found
>
> > ```
>
> >
>
> > What I've tried so far:
>
> > - I've installed glib2.0-devel via `sudo dnf install glib2-devel`
>
> > - I've checked via `yum provides */glib2.0.pc` which shows it is in the
>
> > `/usr/lib64/pkgconfig` directory.
>
> > - I've checked the contents of `echo $PKG_CONFIG_PATH` which shows
>
> > directories like `/usr/lib64/pkgconfig` are listed.
>
> > - I've tried building gnucash with various different arguments, but
> similar
>
> > to the directions in
>
> > https://wiki.gnucash.org/wiki/CMake#GnuCash_Configuration_Variables &
>
> >
> https://wiki.gnucash.org/wiki/Building_On_Linux#Build_using_CMake_and_Ninja
>
> > I've tried in my build directory:
>
> > `cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt
>
> > -DCMAKE_PREFIX_PATH=$PKG_CONFIG_PATH  -DCMAKE_VERBOSE_MAKEFILE=on
>
> > ../gnucash-4.13`
>
> >
>
> > and get the glib error. It happens also without the CMAKE_PREFIX_PATH,
> just
>
> > running plain `cmake .` in the gnucash source directory, etc.
>
> >
>
> > Any idea what I'm missing to get things to build?
>
> >
>
> > Thanks in advance,
>
> > Vivek
>
> > ___
>
> > 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.


Re: [GNC] QuickBooks to GnuCash Migration Script improvements

2023-03-26 Thread Vivek Gani
 be any professional
> bookkeepers in the United States that work with GnuCash, even just as an
> option (based on the lack of response to Bob Treumann's ask on this list
> on March 1, 2023). I don't know how many GnuCash users there are that
> started with QB and were able to successfully migrate their data to
> GnuCash (?), but after trying to read that LWN article, I'm guessing
> that most GnuCash users either migrated their data 'manually' or just
> started fresh with GnuCash...? Ouch!
>
> Still it is super helpful to even understand the issues involved more
> fully - thanks again!
>
> Brad
>
>
> On 3/22/23 08:05, Vivek Gani wrote:
> > Hi,
> >
> > I recently made some improvements to the migrations scripts that might
> help
> > those trying to migrate from Quickbooks to GnuCash:
> > https://github.com/erikmack/qb-escape
> >
> >
> > Even if you're not using GnuCash the instructions for Quickbooks data
> > export might be helpful if you're trying to have a backup of data in a
> way
> > that's more accessible (i.e. for use in Excel, Libreoffice, etc.)
> >
> >
> > If anyone has time available, I think a possible improvement would be to
> > find a way to make a packaged 'download and run' migration tool so
> > non-technical folks can have an easier path for migrating data to gnucash
> > without trying to install gnucash with python bindings, etc.. This might
> be
> > possible with pyinstaller though the complicated part will likely be
> trying
> > to also bundle a gnucash with python bindings setup within there too, and
> > for each different operating system.
> >
> > Linkbacks - these scripts were based on the LWN article 'Escape from
> > Quickbooks (with data in hand)' -https://lwn.net/Articles/729087/
> > ___
> > 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.
>
___
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] QuickBooks to GnuCash Migration Script improvements

2023-03-22 Thread Vivek Gani
Hi,

I recently made some improvements to the migrations scripts that might help
those trying to migrate from Quickbooks to GnuCash:
https://github.com/erikmack/qb-escape


Even if you're not using GnuCash the instructions for Quickbooks data
export might be helpful if you're trying to have a backup of data in a way
that's more accessible (i.e. for use in Excel, Libreoffice, etc.)


If anyone has time available, I think a possible improvement would be to
find a way to make a packaged 'download and run' migration tool so
non-technical folks can have an easier path for migrating data to gnucash
without trying to install gnucash with python bindings, etc.. This might be
possible with pyinstaller though the complicated part will likely be trying
to also bundle a gnucash with python bindings setup within there too, and
for each different operating system.

Linkbacks - these scripts were based on the LWN article 'Escape from
Quickbooks (with data in hand)' - https://lwn.net/Articles/729087/
___
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 help

2023-03-14 Thread Vivek Gani
Can you try opening up a file browser (File Explorer on windows, Files on
macos, etc.) in the directory you have your gnucash accounting file in and
see if there's a .LCK file prepended with the name of your accounting file?

You could try:
- closing gnucash (make sure all windows of it are closed)
- deleting the LCK file
- re-opening gnucash.


P.S. For anyone else migrating from quickbooks, I'm working on an improved
script + better instructions for migration based on the LWN 'Escape from
Quickbooks' article, though it's still going to be a rather technical
process for now.

On Tue, Mar 14, 2023 at 11:12 PM Chip Reid  wrote:

> I am totally fed up with Quickbooks so I spent some time investigating
> other options.  I really liked what I saw with GNUCash, so I downloaded and
> installed it.  I spent ALL day yesterday inputting all my 2023 transactions
> for 2 bank accounts and 3 credit cards.  I try to open the program today
> and I get a message about GNUCash not being able to get a lock on the
> file.  I know it was not in use because I had just booted up the laptop, so
> I clicked open anyway.  All my work from yesterday is gone.  Nothing.  Can
> someone please help.  This is very discouraging.
>
> Thanks
>
> Charles
> ___
> 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] Building Gnucash on Fedora 37 - "No package 'glib-2.0' found" error

2023-03-09 Thread Vivek Gani
Hi,

I'm trying to build gnucash from source (rather than the rpm package or
flatpak for python bindings) on Linux (Fedora 37) and keep running into an
issue where on build I get the error:

```
-- Checking for module 'glib-2.0>=2.56.1'
--   No package 'glib-2.0' found
```

What I've tried so far:
- I've installed glib2.0-devel via `sudo dnf install glib2-devel`
- I've checked via `yum provides */glib2.0.pc` which shows it is in the
`/usr/lib64/pkgconfig` directory.
- I've checked the contents of `echo $PKG_CONFIG_PATH` which shows
directories like `/usr/lib64/pkgconfig` are listed.
- I've tried building gnucash with various different arguments, but similar
to the directions in
https://wiki.gnucash.org/wiki/CMake#GnuCash_Configuration_Variables &
https://wiki.gnucash.org/wiki/Building_On_Linux#Build_using_CMake_and_Ninja
I've tried in my build directory:
`cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt
-DCMAKE_PREFIX_PATH=$PKG_CONFIG_PATH  -DCMAKE_VERBOSE_MAKEFILE=on
../gnucash-4.13`

and get the glib error. It happens also without the CMAKE_PREFIX_PATH, just
running plain `cmake .` in the gnucash source directory, etc.

Any idea what I'm missing to get things to build?

Thanks in advance,
Vivek
___
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.