python-bindings: coredump whil executing gnucash.Session

Marcus Wellnitz marcus at wellnitzfamily.de
Mon Dec 15 02:20:47 EST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello John,

I've never used the git repoitory. It's all plain Ubuntu code plus
micha's repository:
deb http://ppa.launchpad.net/micha/libaqbanking/ubuntu trusty main

I'll check if a self-build GnuCash will eleminate the error.

Thanks

Marcus

Am 14.12.2014 um 17:02 schrieb John Ralls:
>
>> On Dec 14, 2014, at 1:52 AM, Marcus Wellnitz
<marcus at wellnitzfamily.de> wrote:
>>
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello,
>>
>> I've made some improvements with the latex-invoice examples and got it
>> working for my Ubuntu 14.04 LTS environment. (Mostly adapted to new
>> python version)
>>
>> It worked until some updates between November 3 and November 10. I could
>> not handle to revert all of the involving upgrades so can't say which
>> one did the minor changes that lead to the error. :-(
>>
>> In file: latex_invoice.py (gnucash-python-examples)
>> session = gnucash.Session(input_url,ignore_lock=ignore_lock)
>>
>> ==> Coredump, no Stacktrace!
>>
>> Error:
>> * 01:02:18  CRIT <GLib> g_date_time_format: assertion 'datetime !=
>> NULL' failed
>> * 01:02:18  CRIT <GLib> g_date_time_unref: assertion 'datetime !=
>> NULL' failed
>> Segmentation fault (core dumped)
>>
>>
>> I can follow the error up to:
>> /usr/lib/python2.7/dist-packages/gnucash/gnucash_core_c.py
>> def qof_session_load(*args):
>>  """qof_session_load(QofSession * session, QofPercentageFunc
>> percentage_func)"""
>>  return _gnucash_core_c.qof_session_load(*args)
>>
>> After executing _gnucash_core_c.qof_session_load(*args)
>> The error appears.
>>
>> Until the upgrades all was working like a charme.
>>
>> Mo, 03. Nov 2014 17:09:47 +0200
>> [AKTUALISIERUNG] libglib2.0-0:amd64 2.40.0-2 -> 2.40.2-0ubuntu1
>> [AKTUALISIERUNG] libglib2.0-0:i386 2.40.0-2 -> 2.40.2-0ubuntu1
>> [AKTUALISIERUNG] libglib2.0-bin:amd64 2.40.0-2 -> 2.40.2-0ubuntu1
>> [AKTUALISIERUNG] libglib2.0-data:amd64 2.40.0-2 -> 2.40.2-0ubuntu1
>> [AKTUALISIERUNG] python3-software-properties:amd64 0.92.37.1 -> 0.92.37.2
>>
>> Mo, 10. Nov 2014 20:11:40 +0200
>> [AKTUALISIERUNG] python3-uno:amd64 1:4.2.6.3-0ubuntu1 -> 1:4.2.7-0ubuntu1
>>
>>
>> Maybe someone can help me?
>
> Since the only changes on maint between 3 and 10 November were
translations and in Guile, I suppose that you're using master.
> We landed Aaron's KvpFrame reimplementation on 3 November and nothing
much else through the 10th.
>
> Did you regenerate the swig files? You'll need to do that often on
master. If you build in a separate directory you'll need to `git clean
-fdx` in your source directory then re-run autogen.sh and configure. If
you build in-source `make distclean` should do it.
>
> Do the tests in src/optional/python-bindings pass? If they do, is your
reporting code in a public repo somewhere?
>
> `git bisect` automatically runs a binary search on a range of commits
to help you find the exact commit that broke something.
>
> Regards,
> John Ralls
>
>


- -- 
Marcus Wellnitz
Tel Hai 18
3314228 Haifa
Israel
Mob: +972  58 444 2420
Tel: +972   4 631 4959
Fax: +972 153 631 4959

Germany:
Clevelandstraße 28
35394 Gießen
0170-632-8808

Skype: mwe-dw
GPG Fingerprint: 07D4 C8D7 F5FB CC00 EDF1 0FCB DEED 2417 9BF6 4022
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUjovOAAoJEN7tJBeb9kAit7QQAMJehUdtZVvrR71UZkBn3BXL
a9ve0dBKkUMkDut9W/b2KiOh7Gx6kf1xkJDZfQD8GRhqj8p/YZ0PxXrXetBpO/jC
3E9nOoywd7s9N+ZWzusvUUTokVAN4NGG9p/Hp5U6xq7cVKxdRLjaJ2HUzX+wq8Qq
Vt99QyIs5kMWBnEeMmdb501CORcAI82wkPg49G6z+bo0yPJqxQvPSRjHvxRQI995
hXfrk78HaMRFrXDGC2rRZOYqTXgiA8H2vGvecGSg+r41xzOnw6konjxLc+oQWi30
eDiPrKme6ATmMKp8z6zAmjTTxsKQIquukoIfFwIhQGCtU7ReH+cZ0tJGgf0/IdF5
LZ9gnmgeCNdUcmUrqXylR2fnY1lpS2tdV+tVYPzaGrSZobkept6ouh3Yd7ZvuuGd
4lgffFvsrcoXi9HpTKf3qD5wj2z5bjMPPBIRGGdE9CQEuoKtyOjD+cPKyR2PQ/e3
WmzhPrgXWcuZ6dFUv4W1XLDNsdXPcNlUq5U+WLwx0Z2kEXrGSslwv7P7el+HL5jt
jJp/5HlUeBUus/xnNBXcdz5H3qNeULNCRBWuSF62XKYuMcgSOkWHcKNasri1kMVQ
leMSHKuH/fcqZy8M05bgMZ6y8JszDh42NcuU7Q1+ASVTAHau8XBFQO4qgKVZYy6U
NO4ZeYzsQgpKxgNBBOfK
=xcgl
-----END PGP SIGNATURE-----



More information about the gnucash-devel mailing list