pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gnucash/finance-quote broken again? (fwd)
> (sending to mailing list)
>
> I just rebuilt all my packages from scratch the usual mksandbox way
> and gnucash won't start. It displays the "splash box" and then hangs
> when initializing finance-quote. The following errors appear in my
> .xsession-errors after I destroy the gnucash splash window.
>
> Traceback (most recent call last):
> File "/usr/pkg/share/gnucash/python/init.py", line 6, in <module>
> from gi import require_version
> ModuleNotFoundError: No module named 'gi'
At first glance it looks like you need devel/py-gobject.
Gary Duzan
> FWIW, I tried to remove the installed package, rebuild with PKGOPTIONS
> set to -gnucash-finance-quote (to disable), and re-install. It didn't
> help - still hangs during initialization.
>
> And, loooking at the init.py file, it starts with
>
> import sys
> from gnucash import *
> from gnucash import _sw_app_utils
> from gnucash import _sw_core_utils
> from gnucash._sw_core_utils import gnc_prefs_is_extra_enabled,
> gnc_prefs_is_debugging_enabled
> 6 >>> from gi import require_version
> require_version('Gtk', '3.0')
> from gi.repository import Gtk
> import os
>
> sys.path.append(os.path.dirname(__file__))
> ...
>
> There are no further references to gi in the file.
>
> The init.py is time-stamped from August 2021 so hasn't been updated
> for a while, and the same file would havve been used whether or not
> the finance-quote option was enabled.
>
> Any clues on how to fix? :)
>
>
> +--------------------+--------------------------+----------------------+
> | Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
> | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
> | & Network Engineer | | pgoyette99%gmail.com@localhost |
> +--------------------+--------------------------+----------------------+
>
Home |
Main Index |
Thread Index |
Old Index