Python bindings

2010-02-16 Thread Christoph Holtermann
ideas about this weird behaviour. best regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Python bindings

2010-02-16 Thread Christoph Holtermann
ideas about this weird behaviour. I use Python 2.6 (r26:66714, Feb 3 2009, 20:52:03) and todays svn branch of Gnucash. The latter is r18659. best regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https

Python connect to mysql-gnucash doesn't work anymore with Rev 19209

2010-05-27 Thread Christoph Holtermann
Hello ! My python script ceased to run with a recent version of gnucash (19209). It worked with 18542. session=Session(mysql://localhost:gnucash:USER:PASSWORD) now i get : GnuCashBackendException: call to begin resulted in the following errors, (11,) Can anyone help ? Did the syntax of the

Re: Python connect to mysql-gnucas h doesn't work anymore with Rev 19209

2010-05-28 Thread Christoph Holtermann
Mike Evans mi...@saxicola.idps.co.uk schrieb: Just for info. this works for me, session = Session('mysql://USER:passw...@localhost/gnucash') System is Fedora 12. Thanks for your replies. This works for me. -- Sent from my Android phone with K-9. Please excuse my

Re: Python bindings ( Stack overflow )

2010-06-03 Thread Christoph Holtermann
-- Maybe you have some ideas about this weird behaviour. I used Python 2.6 (r26:66714, Feb 3 2009, 20:52:03) and todays svn branch of Gnucash. The latter is r18659. It's the same with r19209. best regards, Christoph Holtermann ___ gnucash-devel mailing

Re: Python bindings ( Stack overflow )

2010-06-03 Thread Christoph Holtermann
* in the file __init__.py. Weird... bye, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: We need to prevent multi-user access to the SQL backend - What about Python access ?

2010-06-03 Thread Christoph Holtermann
Hello ! I guess a python-script using the python-bindings which accesses the SQL-Database would be the same as another user accessing it ? Gnucash and my script coexist peacefully but i decided to not run them the same time for i feared data destruction. It would be nice, though. bye, C.

Re: [PATCH] python bindings stability by going without guile

2010-06-27 Thread Christoph Holtermann
. Could you explain ? Thanks and Goodby, Christoph Holtermann I also had a similar problem with a more complex python application and even ended up kludging things to the point where I was moving my from gnucash import statements to the inside of functions instead of at the top of programs

Re: Python bindings, Transactions, warnings and crashes

2010-09-03 Thread Christoph Holtermann
. Actually I´m still angry with myself that I told my father ten years ago to use Quicken and to get rid of his DBase-scripts that he wrote himself. It´s so nice to be able to WORK with your data ! best regards, Christoph Holtermann Am 02.08.2010 21:12, schrieb Mark Jenkins: Daniele Varrazzo : I

Re: ParIT's package and Python bindings examples?

2010-09-18 Thread Christoph Holtermann
Hello! Did you use gnucash-env when starting (i)python? I first didn't realise that one had to. I read all your mail ;-) bye, Christoph Holtermann ... offonoffoffon...@gmail.com schrieb: Finally think I have gnucash 2.2.9 built on my ubuntu 9.04 machine. But, i am not sure

Database locked after crash

2010-11-05 Thread Christoph Holtermann
Hello ! It seems that you have made it with the database lock. Unfortunately it´s a bit a tight. For some time gnucash has been crashing when closing reports. I didn´t care so much for that but now I can´t access the database anymore. I guess that´s because it´s locked. The dialogue which

Database locked after crash

2010-11-05 Thread Christoph Holtermann
Hello ! In addition to the previous : I just tried to find out what actually crashes the reports. I put it to some instability in my system. Crash means Segmentation fault. Access to database is also not possible with python anymore. Is there a possibility from there or anywhere to reset the

Re: Database locked after crash - python bindings

2010-11-05 Thread Christoph Holtermann
Hello ! Am 05.11.2010 22:58, schrieb John Ralls: On Nov 5, 2010, at 2:09 PM, Christoph Holtermann wrote: Hello ! Am 05.11.2010 21:46, schrieb John Ralls: On Nov 5, 2010, at 12:58 PM, Christoph Holtermann wrote: Hello ! In addition to the previous : I just tried to find out what

Re: Database locked after crash - python bindings

2010-11-05 Thread Christoph Holtermann
Hello again ! - So gnucash actually starts normal, It´s just a bit surprising that the splash screen doesn´t continue after that window. To answer me myself ;-) I would suggest to always return to the splash-screen after this dialogue. bye, C. Holtermann

Re: Database locked after crash - python bindings

2010-11-06 Thread Christoph Holtermann
from my skript but to have all commands running through the python-bindings. Mike E regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Source documentation

2010-11-06 Thread Christoph Holtermann
for example the website XXX or whatever or is it necessary to pick up bits and pieces here and there and even read those forbidden texts ;-)) Thanks, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman

Re: Database locked after crash - python bindings

2010-11-06 Thread Christoph Holtermann
Hello ! The bindings are maintained by Mark Jenkins, perhaps a bug needs to be opened if this is an issue? I have opened a bug /634165 https://bugzilla.gnome.org/show_bug.cgi?id=634165 a/s improvement. Regards, C.Holtermann ___

Re: Database locked after crash - python bindings - simple patch

2010-11-09 Thread Christoph Holtermann
Hello ! I have opened a bug /634165 https://bugzilla.gnome.org/show_bug.cgi?id=634165 a/s improvement. I am proud of having posted my first 3 line patch on bugzilla which suggest a passing through of argument ignore_lock from Session._init__() to qof_session_begin(). ;-) Regards,

Python bindings enhancement proposal : Adding capability of reading namespaces

2010-12-08 Thread Christoph Holtermann
of gnucash.gnucash_core_c._gnc_monetary; proxy of Swig Object of type '_gnc_monetary *' at 0xb5155488 and i don't know how to handle that type. I opened an enhancement bug for this [2]. regards, Christoph Holtermann [1] https://bugzilla.gnome.org/attachment.cgi?id=176094 [2] https://bugzilla.gnome.org

Python bindings doc and doxygen

2010-12-08 Thread Christoph Holtermann
? As far as I can see there is nothing in there yet. regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

gnc-prices has dokumentation but it seems that it doesn't exist anymore

2010-12-09 Thread Christoph Holtermann
Hello ! I just found the documentation for a perl skript calles gnc-prices [1]. It seems to me that it doesn't exist anymore. Maybe the documentation can be deleted then ? regards, Christoph Holtermann [1] http://www.linuxmanpages.com/man1/gnc-prices.1.php in the source tree : doc/gnc-prices

Re: queries on mysql

2010-12-09 Thread Christoph Holtermann
- which is actually not too difficult. bye, Christoph Holtermann Am 27.11.2010 17:40, schrieb Donald Allen: On Sat, Nov 27, 2010 at 11:23 AM, John Ralls jra...@ceridwen.us wrote: On Nov 27, 2010, at 4:40 AM, Donald Allen wrote: On Sat, Nov 27, 2010 at 5:23 AM, Fred Verschueren f...@fremar.be

Re: Python bindings enhancement proposal : Adding capability of reading namespaces

2010-12-15 Thread Christoph Holtermann
Hello ! I just worked out how to access the contents of the glist returned by comm_table.get_namespaces_list(). I added a patch to [1]. Would you be so kind to have a look at it ? regards, Christoph Holtermann [1] https://bugzilla.gnome.org/show_bug.cgi?id=636808 Am 08.12.2010 21:34

Two questions regarding the python-bindings

2010-12-15 Thread Christoph Holtermann
the (namespace)-data which is erraneously declared a gnc_monetary. regards, Christoph Holtermann [1] https://bugzilla.gnome.org/show_bug.cgi?id=636808 ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash

Re: Source documentation

2010-12-15 Thread Christoph Holtermann
Hello ! Am 06.11.2010 16:57, schrieb John Ralls: On Nov 6, 2010, at 4:09 AM, Christoph Holtermann wrote: Could you give me a hint if there is a central starting point for documentation for example the website XXX or whatever or is it necessary to pick up bits and pieces

Re: Two questions regarding the python-bindings

2010-12-15 Thread Christoph Holtermann
Am 15.12.2010 17:04, schrieb Derek Atkins: Hi, Christoph Holtermann c.holterm...@gmx.de writes: Hello ! I have two questions regarding the python-bindings : * What is the difference between src/base-typemaps.i and src/optional/python-bindings/glib.i ? In both the same check

Re: Python bindings doc and doxygen

2010-12-15 Thread Christoph Holtermann
Hello ! Geert Janssens wrote: That would make a nice contribution in my opinion. Since most people that want to use the python bindings are looking for interface documentation, I also agree that doxygen would be a good place to add the it. Thanks for your offer ! Thanks for your support

Re: Python bindings doc and doxygen

2010-12-15 Thread Christoph Holtermann
Hello ! Just now I have finished a first proposal of python-bindings and doxygen meeting. Please have a kind look at [1]. regards, Christoph Holtermann [1] https://bugzilla.gnome.org/show_bug.cgi?id=637346 ___ gnucash-devel mailing list gnucash

Re: Python bindings enhancement proposal : Adding capability of reading namespaces

2010-12-16 Thread Christoph Holtermann
Hello ! Am 16.12.2010 15:25, schrieb Mike Evans: One small thing, patches should be references from the base directory not from src, that's to say the patch path should start with src/blah/blah/ . Things can get confusing if the path is not consistent. I'm sorry for that ! I must have

Re: Python bindings doc and doxygen

2010-12-17 Thread Christoph Holtermann
of python-bindings [4] http://www.gnucash.holtermann7.de/group__python-bindings-examples.html regards, Christoph Holtermann [1] http://www.gnucash.holtermann7.de/index.html [2] http://www.gnucash.holtermann7.de/python-bindings-page.html [3] http://www.gnucash.holtermann7.de/group__python

Re: Python bindings doc and doxygen

2010-12-27 Thread Christoph Holtermann
Merry christmas and a happy new year ! A patch is waiting to be commited [1]. Maybe someone could be so kind and do that or grant me developer privileges so that I could do it by myself ? regards, Christoph Holtermann [1] https://bugzilla.gnome.org/show_bug.cgi?id=637346

Python Shell

2011-01-10 Thread Christoph Holtermann
of the objects that are always called the same way. In the end I would like to have something as easy as print object. Could someone point me something helpful ? regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https

Re: Python Shell

2011-01-18 Thread Christoph Holtermann
(). I will do some sketches at bugzilla, so maybe it would be easier to understand. It's a basic question. Maybe it's better to ask that in a python mailing-list. Does someone know a better fitting one ? regars, Christoph Holtermann ___ gnucash-devel

Re: Python Shell

2011-01-18 Thread Christoph Holtermann
Hello Forest ! Hi Christoph, On Mon, Jan 10, 2011 at 11:04:50PM +0100, Christoph Holtermann wrote: My interest in gnucash is to have a python-shell-environment which lets me easily access and display data. I have written some things for myself like simple functions PrintTransaction

Re: Python Shell

2011-01-18 Thread Christoph Holtermann
Hello ! I thought a bit about about the displaying problem. It seems to me that displaying is a task which could go into a seperate module. This modulecould provide a function for example display(object). It would also add a function object.display() to every object it knows. For example

Re: python binding: getting invoice entry data

2011-01-19 Thread Christoph Holtermann
and the only functions that seems to return a pointer to an GncEntry gncEntryLookup which has to be fed with a book and a guid. But i don't see how to get the guid of an entry. regards, Christoph Holtermann Thanks. -- Brian St. Pierre #!/usr/bin/env python import os import sys from

I can't find working libdbi version

2011-01-25 Thread Christoph Holtermann
gtester --verbose test-qof make[5]: *** [test] Fehler 143 I don't know any further. Maybe someone can help ? regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: I can't find working libdbi version - test-dbi-stuff.c fails

2011-01-26 Thread Christoph Holtermann
‘test_dbi_version_control’: test-dbi-stuff.c:287:5: error: implicit declaration of function ‘gnc_get_svn_version’ Do i have to care ? regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman

Re: I can't find working libdbi version

2011-01-26 Thread Christoph Holtermann
Am 27.01.2011 02:40, schrieb Philip Tait: On Wed, Jan 26, 2011 at 15:18, John Ralls jra...@ceridwen.us mailto:jra...@ceridwen.us wrote: On Jan 26, 2011, at 3:59 PM, Christoph Holtermann wrote: Am 25.01.2011 17:54, schrieb John Ralls: On Jan 25, 2011, at 8:18 AM, Christoph

Re: I can't find working libdbi version

2011-01-26 Thread Christoph Holtermann
on backend * 04:19:28 CRIT gnc.backend.dbi gnc_dbi_unlock: assertion `dbi_conn_error( dcon, NULL ) == 0' failed I tried that for both (libdbilibdbi-drivers CVS) and (libdbi-0.8.4, drivers 0.8.3-1). regards, Christoph Holtermann ___ gnucash-devel

Re: I can't find working libdbi version

2011-01-27 Thread Christoph Holtermann
. regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: I can't find working libdbi version

2011-01-27 Thread Christoph Holtermann
, 1,797692e+307) is also the string that is passed to MySQL ? This string hold four values : -9223372036854775807, 9223372036854775807, 1, 797692e+307 That would explain the 797692e+307. I leave that open as a question now because I'm hungry ;-) regards, Christoph Holtermann

Re: I can't find working libdbi version

2011-01-27 Thread Christoph Holtermann
Hello ! Curiosity wins over hunger. I found that Mysql does logging ;-) The query log says: 110127 13:40:2821 Connect christoph@localhost on gnucash 21 Query CREATE TEMPORARY TABLE numtest ( test_int BIGINT, test_unsigned BIGINT, test_double FLOAT8 )

Re: I can't find working libdbi version

2011-01-27 Thread Christoph Holtermann
Hello ! I posted that thing also in libdbi-devel mailing list. regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: I can't find working libdbi version

2011-01-28 Thread Christoph Holtermann
Hello ! Am 27.01.2011 14:12, schrieb Christoph Holtermann: Hello ! I posted that thing also in libdbi-devel mailing list. and got two interesting replies : http://www.mail-archive.com/libdbi-devel@lists.sourceforge.net/msg00339.html http://www.mail-archive.com/libdbi-devel

Re: I can't find working libdbi version

2011-01-28 Thread Christoph Holtermann
ROLLBACK 4 Quit 110128 13:15:40 3 Quit IT looks like this time only the part BEFORE the decimal separator has been READ. Because the correct value has been stored as far as i understand the log. ;-) regards, Christoph Holtermann

Re: I can't find working libdbi version

2011-01-29 Thread Christoph Holtermann
to have debug... Regards, Christoph Holtermann Well, it's a dreadful hack, but I've wrapped the dbi_result_get_double() calls with a setlocale() to make the LC_NUMERIC C and then put it back afterwards (r20189). It will have to do for 2.4.1. (dbi wouldn't let me have a string because the field

Re: I can't find working libdbi version

2011-01-29 Thread Christoph Holtermann
Hello ! I forgot : *With the tar-files (in the previous post i wrote rpm, but it's tar-sources ibdbi-drivers-0.8.3-1.tar.gz libdbi-0.8.4.tar.gz:* make check-TESTS make[6]: Entering directory `/home/christoph/Computer/src/gnucash/gnucash_svn/src/backend/dbi/test' Using filename:

Re: I can't find working libdbi version

2011-01-29 Thread Christoph Holtermann
Hello ! I wonder why make check in libdbi-drivers reads floats correctly and GnuCash doesn't. Regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: I can't find working libdbi version

2011-01-29 Thread Christoph Holtermann
is already done while dbi_conn_query. OK ! I can pass the error message. I wonder if my data is correct ;-) regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

I have now found a working libdbi version plus another bug

2011-01-30 Thread Christoph Holtermann
even be that i never had a problem with that fastmath-bug but only suffered from the protection against it ;-) regards, Christoph Holtermann [1] Patch for locale-bug: https://bugzilla.gnome.org/attachment.cgi?id=179633action=diff https://bugzilla.gnome.org/attachment.cgi?id=179633action=diff [2

python-bindings partially broken Re: r20189 - gnucash/trunk/src/backend/dbi - Handle localization-ignorance bug in libdbi by setting LC_NUMERIC locale

2011-01-30 Thread Christoph Holtermann
help ? regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: python-bindings partially broken Re: r20189 - gnucash/trunk/src/backend/dbi - Handle localization-ignorance bug in libdbi by setting LC_NUMERIC locale

2011-01-30 Thread Christoph Holtermann
that you did that for the test file ;-) I tried to mimick but i didn't make it: Here is my try [1]: Regards, John Ralls regards, Christoph Holtermann [1] https://bugzilla.gnome.org/show_bug.cgi?id=640962 ___ gnucash-devel mailing list gnucash-devel

Re: python-bindings partially broken Re: r20189 - gnucash/trunk/src/backend/dbi - Handle localization-ignorance bug in libdbi by setting LC_NUMERIC locale

2011-01-30 Thread Christoph Holtermann
of something else. But it didn't help. regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: python-bindings partially broken - fixed

2011-01-30 Thread Christoph Holtermann
Am 30.01.2011 23:22, schrieb Christoph Holtermann: Hello ! Try adding $(top_builddir)/src/app-utils/libgncmod-app-utils.la to the libgncmod_backend_dbi_la_LIBADD at src/backends/dbi/Makefile.am line 37; that should probably replace r20192. Regards, John Ralls I saw that i misunderstood

python-bindings: Transaction.destroy() and Split.destroy() fail

2011-05-26 Thread Christoph Holtermann
= segmentation fault) with the script and the python interpreter dying. regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

python-bindings: script to export invoices to LaTeX

2011-05-26 Thread Christoph Holtermann
Hello all ! I wrote a script to export invoices to LaTeX. It's attached as patch to Bugzilla [1]. regards, Christoph Holtermann [1] https://bugzilla.gnome.org/show_bug.cgi?id=651175 ___ gnucash-devel mailing list gnucash-devel@gnucash.org https

python-bindings: improvements to str_methods

2011-05-26 Thread Christoph Holtermann
methods_return_instance_lists for method Invoice.GetEntries The patch is [1] for bug [2]. regards, Christoph Holtermann [1] https://bugzilla.gnome.org/attachment.cgi?id=188696action=diff [2] https://bugzilla.gnome.org/show_bug.cgi?id=639906 ___ gnucash-devel

python-bindings: Adding some convenience functions

2011-05-28 Thread Christoph Holtermann
Hello ! I put some functions which i use for convenience to bugzilla [1]. regards, Christoph Holtermann [1] https://bugzilla.gnome.org/show_bug.cgi?id=651329 ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman

Re: python-bindings: Transaction.destroy() and Split.destroy() fail

2011-05-30 Thread Christoph Holtermann
: When i do things with a freshly loaded session i have no problem with Split.Destroy() Transaction.Destroy() Transaction.Clone() They all work well. regards, Christoph Holtermann Am 26.05.2011 11:22, schrieb Christoph Holtermann: Hello ! Has someone of you ever tried to remove a transaction

python-bindings: importing docstrings from doxygen

2011-05-30 Thread Christoph Holtermann
Hello ! I found a way to import the docstrings from doxygen to swig. A proof of concept is at Bugzilla [1]. regards, Christoph Holtermann [1] https://bugzilla.gnome.org/show_bug.cgi?id=651491 ___ gnucash-devel mailing list gnucash-devel@gnucash.org

svn rev 20730 make fails

2011-06-01 Thread Christoph Holtermann
Hello ! I just checked out a fresh Rev 20730 and ./autogen.sh fails with configure.ac:1195: required file `src/gnome/glade/Makefile.in' not found regards, Christoph Holtermann ___ gnucash-devel mailing list gnucash-devel@gnucash.org https

Re: Python bindings: patch, documentation, examples

2014-01-19 Thread Christoph Holtermann
data. regards, Christoph Holtermann * Who is maintaining the Python bindings and is there any roadmap to improve them? IMHO the Python bindings are a really great way of enhancing the GnuCash functionality without having to code C/C++ (I would not be very productive with it...) I

Working example of kvp acess in Python

2014-06-08 Thread Christoph Holtermann
and kvp_frame stuff for python it would be nice to cooperate. My branch on github about this is https://github.com/c-holtermann/gnucash/tree/python-kvp regards, Christoph Holtermann -- --- Nachricht gesendet von C. Holtermann --- - - - Verschlüsselte Nachrichten

Re: Working example of kvp acess in Python

2014-06-12 Thread Christoph Holtermann
Am 10.06.2014 18:02, schrieb John Ralls: On Jun 10, 2014, at 8:24 AM, David Osguthorpe wrote: On Mon, Jun 09, 2014 at 12:53:38AM +0200, Christoph Holtermann wrote: Hello, for my python latex invoice script I tried to access the owners data. I tried to work my way to it and came across

Re: Python API, book options

2014-06-20 Thread Christoph Holtermann
that data has yet to be found before I ask it to be pulled into master. regards, Christoph Holtermann Am 12.05.2014 12:32, schrieb Jonny: Hi, I'm running GnuCash 2.6.3 on Fedora and have written some python code to export/import transactions and accounts in a special format that is used

Re: Python API, book options - GObject, QofInstance etc.

2014-06-22 Thread Christoph Holtermann
Am 21.06.2014 00:10, schrieb John Ralls: On Jun 20, 2014, at 2:23 PM, Christoph Holtermann c.holterm...@gmx.de wrote: Hello, I had just the same question for a while. I have been successful to access that data. I had to make some modifications which I put in a branch on github: https

Python list all invoices

2014-11-10 Thread Christoph Holtermann
is not yet open to python, is it ? Is there another way to get all invoices ? regards, Christoph Holtermann -- --- Nachricht gesendet von C. Holtermann --- - - - Verschlüsselte Nachrichten können über - - den öffentlichen Schlüssel auf folgendem

Re: Python list all invoices

2014-11-11 Thread Christoph Holtermann
Hello Tom, thanks. That seems to be exactly what I've been looking for. If I get it right for the REST API you have made accessible (parts?) of the query framework. I'll give it a try and also have a look at your unpublished work. regards, Christoph Holtermann Am 10.11.2014 um 20:57 schrieb

Re: Python list all invoices

2014-11-11 Thread Christoph Holtermann
in progress version of this function is also attached. If you have any queries please let me know. Kind regards, Tom On 10/11/14 15:10, Christoph Holtermann wrote: Dear developers, to get my invoices to LaTeX I went to jinja2 templating engine which works quite fine. src/optional/python

Re: Working example of kvp acess in Python

2014-11-12 Thread Christoph Holtermann
in c. regards, Christoph Holtermann Am 12.06.2014 um 23:42 schrieb John Ralls: On Jun 12, 2014, at 2:17 PM, Christoph Holtermann c.holterm...@gmx.de wrote: Even now i find it a bit difficult to get to the kvp layer. I tried to get to the transactions kvps ( https://github.com/c-holtermann

Company data and KVP, was Re: Working example of kvp acess in Python

2014-11-12 Thread Christoph Holtermann
miss that information ? At least on invoices that I write I have a footline with my bank account information. regards, Christoph Holtermann Am 12.11.2014 um 18:46 schrieb Christoph Holtermann: Hello, so KVPs should be accessed by objects they belong to and not from the outside. Some

Re: Working example of kvp acess in Python

2014-11-12 Thread Christoph Holtermann
Hello, for my part i answered some of the questions myself: Am 12.11.2014 um 18:46 schrieb Christoph Holtermann: Hello, so KVPs should be accessed by objects they belong to and not from the outside. Some questions: * Is it legitimate to have KVP representation in Python at all

Re: Working example of kvp acess in Python

2014-11-13 Thread Christoph Holtermann
Hello, Am 13.11.2014 um 03:05 schrieb John Ralls: On Nov 12, 2014, at 3:56 PM, Christoph Holtermann c.holterm...@gmx.de wrote: Hello, for my part i answered some of the questions myself: Am 12.11.2014 um 18:46 schrieb Christoph Holtermann: Hello, so KVPs should be accessed by objects

Re: Working example of kvp acess in Python

2014-11-13 Thread Christoph Holtermann
Am 13.11.2014 um 18:55 schrieb Christoph Holtermann: Am 13.11.2014 um 17:50 schrieb Christian Stimming (mobil): From my understanding, there are two separate issues here: 1. You are proposing a new object Company because you have reasons for needing new data fields. I think that's a good

Re: Working example of kvp acess in Python

2014-11-14 Thread Christoph Holtermann
Hello, Am 13.11.2014 um 19:56 schrieb John Ralls: On Nov 13, 2014, at 10:46 AM, Christoph Holtermann c.holterm...@gmx.de wrote: Am 13.11.2014 um 18:55 schrieb Christoph Holtermann: Am 13.11.2014 um 17:50 schrieb Christian Stimming (mobil): From my understanding, there are two separate

Change Customer Address failing

2014-11-15 Thread Christoph Holtermann
to find out where it lives. regards, Christoph Holtermann -- --- Nachricht gesendet von C. Holtermann --- - - - Verschlüsselte Nachrichten können über - - den öffentlichen Schlüssel auf folgendem - - Keyserver an mich gesendet werden: - http

Re: Change Customer Address failing

2014-11-15 Thread Christoph Holtermann
Am 15.11.2014 um 18:45 schrieb John Ralls: On Nov 15, 2014, at 7:32 AM, Christoph Holtermann c.holterm...@gmx.de wrote: Hello, some time ago I found that changes to customer data in the GUI are not being saved. When working on a company object i made qof_instance_set_dirty return a debug

make fails

2014-12-15 Thread Christoph Holtermann
-lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lm -pthread -Wl,-rpath -Wl,/usr/lib/gnucash ../../src/engine/.libs/libgncmod-engine.so: undefined reference to `pwr64' collect2: error: ld returned 1 exit status regards, Christoph Holtermann -- --- Nachricht gesendet von C

Re: make fails

2014-12-22 Thread Christoph Holtermann
Am 15.12.2014 um 23:30 schrieb John Ralls: On Dec 15, 2014, at 2:26 PM, Christoph Holtermann c.holterm...@gmx.de wrote: Hello, for some days make of master branch fails for me. It breaks with ../../src/engine/.libs/libgncmod-engine.so: undefined reference to `pwr64' collect2: error: ld

Re: Report wrapper to call python scripts?

2014-12-25 Thread Christoph Holtermann
Hello, using python and jinjaII templating as I tried for invoices could be an interesting thing (just for linux). For reports SciPy would also be tempting. regards, Christoph Holtermann Am 24.12.2014 um 12:49 schrieb Dmitry Pavlov: Geert, thank you for a very detailed comments. I did't

Re: Report wrapper to call python scripts?

2014-12-25 Thread Christoph Holtermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Am 24.12.2014 um 10:20 schrieb Marcus Wellnitz: Hello Dimity, we discussed that at the german mailinglist more than once ;-) I have made solution wirth python-bindings and latex for my invoices and the output is much better.

make fails - typo ?

2014-12-25 Thread Christoph Holtermann
Hello, make master fails with ../../../src/engine/Transaction.c:61:26: fatal error: SchedXAction.h: No such file or directory #include SchedXAction.h That seems to be a typo and should be SchedXaction.h which compiles fine. regards, Christoph Holtermann -- --- Nachricht gesendet von C

Re: Report wrapper to call python scripts?

2015-01-03 Thread Christoph Holtermann
be distributed separately. To ease such process something like a plugin-system for gnucash could be introduced. Having the option to insert a button to start this program or preferences dialog in the gui. regards, Christoph Holtermann Am 24.12.2014 um 12:25 schrieb Geert Janssens: On Wednesday 24

Re: Report wrapper to call python scripts?

2015-01-03 Thread Christoph Holtermann
Am 03.01.2015 um 16:37 schrieb John Ralls: On Jan 3, 2015, at 2:44 AM, Christoph Holtermann c.holterm...@gmx.de wrote: Hello, Having read this thread I wondered if there could be some sort of interface to export data from gnucash so that any kind of external report generator could work

business problems

2015-05-02 Thread Christoph Holtermann
. Then when I enter a new invoice it's always number 1 and not counting up anymore. I'm using the latest git build. regards, Christoph Holtermann -- --- Nachricht gesendet von C. Holtermann --- - - - Verschlüsselte Nachrichten können über - - den

Saving settings for extensions

2015-05-11 Thread Christoph Holtermann
Dear developers, I have been wondering for some while if it is possible for extensions like in the python bindings to save settings in the place gnucash does. regards, Christoph Holtermann -- --- Nachricht gesendet von C. Holtermann

build failure

2015-05-11 Thread Christoph Holtermann
' to 'bool' in return return (dst_calc_rules_); //if calc_rule is set the tz has dst ^ cc1plus: warning: unrecognized command line option -Wno-deprecated-register [enabled by default] regards, Christoph Holtermann -- --- Nachricht gesendet von C

Re: build failure

2015-05-11 Thread Christoph Holtermann
Hello, Am 11.05.2015 um 16:26 schrieb Derek Atkins: Hi, Christoph Holtermann c.holterm...@gmx.de writes: Hello, can't make the current gnucash libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../src/libqof/qof -I../../.. -I../../../../lib/libc -I../../../../src -pthread -I/usr

Re: build failure

2015-05-12 Thread Christoph Holtermann
Am 11.05.2015 um 21:35 schrieb John Ralls: On May 11, 2015, at 11:55 AM, Christoph Holtermann c.holterm...@gmx.de wrote: Am 11.05.2015 um 16:26 schrieb John Ralls: On May 11, 2015, at 2:43 AM, Christoph Holtermann c.holterm...@gmx.de wrote: Hello, can't make the current gnucash

Re: business problems - transactions, lots and invoices

2015-06-20 Thread Christoph Holtermann
these transactions with lots pointing at itself. I wonder if I can make things work if I manually assing the transaction to the lot. regards, Christoph Holtermann Am 23.05.2015 um 21:04 schrieb John Ralls: On May 23, 2015, at 8:41 AM, Geert Janssens geert.gnuc...@kobaltwit.be wrote: On Saturday 23

Re: business problems - transactions, lots and invoices

2015-06-21 Thread Christoph Holtermann
Hello, just found the transaction repair button in gnucash. I will test if it fixes the described problems. I made a backup as xml. Usually I use MySQL. regards, Christoph Am 21.06.2015 um 07:59 schrieb Christoph Holtermann: Hello, I'd like to use gncInvoiceAttachToLot to try to fix

Re: business problems - transactions, lots and invoices

2015-06-20 Thread Christoph Holtermann
links by creating new invoices/transactions. regards, Christoph Holtermann Am 21.06.2015 um 05:47 schrieb Christoph Holtermann: Hello, I'm cleaning up my invoices. When I wanted to assign a payment to an invoice there were some invoices missing in the dialogue. Those invoices have transactions

Re: business problems

2015-05-23 Thread Christoph Holtermann
Am 23.05.2015 um 11:47 schrieb Geert Janssens: On Saturday 02 May 2015 17:10:39 Christoph Holtermann wrote: Hello, for some months it seems to me that some business reports don't work right. For example there's the Kundenbericht (customer report). It shows only one invoice where

Re: Saving settings for extensions

2015-05-23 Thread Christoph Holtermann
, Christoph Am 23.05.2015 um 11:16 schrieb Geert Janssens: On Monday 11 May 2015 10:29:17 Christoph Holtermann wrote: Dear developers, I have been wondering for some while if it is possible for extensions like in the python bindings to save settings in the place gnucash does. regards

[GNC-dev] backend character encoding (related to python 2 to 3 )

2018-09-21 Thread Christoph Holtermann
Dear developers, thinking about moving from python2 to 3 I wonder how character encoding in the backend is done. Can you point me to some docs about that ? Which encoding in sqlite, mysql, xml ? Where does encoding take place, where is it being controlled ? I don't need an extensive answer, just