Re: QIF importer: allow new commodity namespaces?

2008-04-17 Thread Charles Day
On Thu, Apr 17, 2008 at 3:22 PM, Derek Atkins <[EMAIL PROTECTED]> wrote: > Charles, > > > Quoting Charles Day <[EMAIL PROTECTED]>: > > When a user imports a QIF file containing a new security, a dialog is > > presented that asks which GnuCash namespace and symbol to use (for > > example, > > Red

Re: QIF importer: allow new commodity namespaces?

2008-04-17 Thread Derek Atkins
Charles, Quoting Charles Day <[EMAIL PROTECTED]>: > When a user imports a QIF file containing a new security, a dialog is > presented that asks which GnuCash namespace and symbol to use (for example, > Red Hat would be "NYSE" and "RHT"). > > Currently the user is not allowed to enter a new namesp

Re: QIF importer cleanup patch (qif-parse.scm)

2008-02-21 Thread Derek Atkins
"Charles Day" <[EMAIL PROTECTED]> writes: > On Sun, Jan 20, 2008 at 9:30 PM, Charles Day <[EMAIL PROTECTED]> wrote: > >> Here's a patch of miscellaneous updates to whitespace, comments, and >> "display" text for qif-parse.scm (part of the QIF importer). I have >> also corrected the default return

Re: QIF importer cleanup patch (qif-parse.scm)

2008-02-21 Thread Charles Day
On Sun, Jan 20, 2008 at 9:30 PM, Charles Day <[EMAIL PROTECTED]> wrote: > Here's a patch of miscellaneous updates to whitespace, comments, and > "display" text for qif-parse.scm (part of the QIF importer). I have > also corrected the default return value in the date parsing procedure, > qif-parse:

Re: QIF Importer

2008-02-04 Thread Ian Lewis
2008/2/5, Charles Day <[EMAIL PROTECTED]>: > > On Feb 4, 2008 1:20 PM, Derek Atkins <[EMAIL PROTECTED]> wrote: > > > Ahh, I believe our current base gtk requirement is gtk-2.6. MAYBE > > gtk-2.8. But we don't require gtk-2.10 yet... Maybe we will for > > GnuCash 2.4, but I'd prefer to keep it l

Re: QIF Importer

2008-02-04 Thread Charles Day
On Feb 4, 2008 1:20 PM, Derek Atkins <[EMAIL PROTECTED]> wrote: > Quoting Charles Day <[EMAIL PROTECTED]>: > > >> Well, the current implementation uses GnomeDruid. I don't know > anything > >> about GtkAssistant so I can't answer that. > > > > GtkAssistant is the official replacement for GnomeDru

Re: QIF Importer

2008-02-04 Thread Derek Atkins
Quoting Charles Day <[EMAIL PROTECTED]>: >> Well, the current implementation uses GnomeDruid. I don't know anything >> about GtkAssistant so I can't answer that. > > GtkAssistant is the official replacement for GnomeDruid, starting with Gtk+ > 2.10. I haven't looked at it closely. It's supposed t

Re: QIF Importer

2008-02-04 Thread Charles Day
On Feb 4, 2008 9:18 AM, Derek Atkins <[EMAIL PROTECTED]> wrote: > "Charles Day" <[EMAIL PROTECTED]> writes: > > > That sounds pretty nice to me. There certainly should be some benefits > in > > terms of consistency of the user experience and in code sharing > (duplicate > > checking in particular)

Re: QIF Importer

2008-02-04 Thread Derek Atkins
"Charles Day" <[EMAIL PROTECTED]> writes: > That sounds pretty nice to me. There certainly should be some benefits in > terms of consistency of the user experience and in code sharing (duplicate > checking in particular). Any opinion on whether to switch from GnomeDruid to > GtkAssistant? GnomeDru

Re: QIF Importer

2008-01-29 Thread Charles Day
On Jan 29, 2008 4:16 PM, Charles Day <[EMAIL PROTECTED]> wrote: > On Jan 29, 2008 6:52 AM, Derek Atkins <[EMAIL PROTECTED]> wrote: > > > "Ian Lewis" <[EMAIL PROTECTED]> writes: > > > > > Charles, > > > > > > I've mostly been playing with the generic importer and seeing how that > > could > > > be

Re: QIF Importer

2008-01-29 Thread Andreas Köhler
Hi, On Di, 2008-01-29 at 09:52 -0500, Derek Atkins wrote: 8< > Charles, you could get fix this by using > something like svk, where you could commit your changes to a local > branch, or using git-svn (where you can commit your changes to a local > branch). > > Just a suggestion. I'm not

Re: QIF Importer

2008-01-29 Thread Charles Day
On Jan 29, 2008 6:52 AM, Derek Atkins <[EMAIL PROTECTED]> wrote: > "Ian Lewis" <[EMAIL PROTECTED]> writes: > > > Charles, > > > > I've mostly been playing with the generic importer and seeing how that > could > > be applied to the QIF importer. Nothing practical really. At least at > this > > poin

Re: QIF Importer

2008-01-29 Thread Derek Atkins
"Ian Lewis" <[EMAIL PROTECTED]> writes: > Charles, > > I've mostly been playing with the generic importer and seeing how that could > be applied to the QIF importer. Nothing practical really. At least at this > point. While the generic importer would allow the reuse of dialogs, the QIF > importer

Re: QIF Importer

2008-01-28 Thread Charles Day
On Jan 28, 2008 6:10 PM, Ian Lewis <[EMAIL PROTECTED]> wrote: > Charles, > > I've mostly been playing with the generic importer and seeing how that > could be applied to the QIF importer. Nothing practical really. At least at > this point. While the generic importer would allow the reuse of dialog

Re: QIF Importer

2008-01-28 Thread Ian Lewis
Charles, I've mostly been playing with the generic importer and seeing how that could be applied to the QIF importer. Nothing practical really. At least at this point. While the generic importer would allow the reuse of dialogs, the QIF importer requires a relatively high amount of user interactio

Re: QIF Importer

2008-01-28 Thread Charles Day
On Jan 3, 2008 6:03 PM, Ian Lewis <[EMAIL PROTECTED]> wrote: > Charles, > > You mentioned in some other e-mails that you were working on fixing some > problems with the QIF importer. What exactly are you working on? I'm looking > at trying to improve the importer myself and would like to coordinat

Re: QIF importer treatment of zero-sum split transactions

2008-01-10 Thread Charles Day
On Jan 9, 2008 9:29 PM, Ian Lewis <[EMAIL PROTECTED]> wrote: > 2008/1/8, Derek Atkins <[EMAIL PROTECTED]>: > > > Quoting Ian Lewis <[EMAIL PROTECTED]>: > > > > >> Would it make sense to provide a boolean checkbox somewhere in the > > >> druid if we find one of these transactions to ask the user ho

Re: QIF importer treatment of zero-sum split transactions

2008-01-09 Thread Ian Lewis
2008/1/8, Derek Atkins <[EMAIL PROTECTED]>: > > Quoting Ian Lewis <[EMAIL PROTECTED]>: > > >> Would it make sense to provide a boolean checkbox somewhere in the > >> druid if we find one of these transactions to ask the user how to > >> treat them? > > > > Unfortunately, I'm not sure the user would

Re: QIF importer treatment of zero-sum split transactions

2008-01-09 Thread Charles Day
On Jan 8, 2008 5:02 AM, Derek Atkins <[EMAIL PROTECTED]> wrote: > "Charles Day" <[EMAIL PROTECTED]> writes: > > > For your consideration, I've attached a patch that allows QIF split > > transactions with zero in the "T" line to pass through without sign > reversal > > (also described above). > > W

Re: QIF importer treatment of zero-sum split transactions

2008-01-08 Thread William D. Hamblen
Sorry about the misattribution - I think Derek suggested the checkbox. And yes, I am offering to collect at least the issues I am running across and write them up for posterity. There is nothing earth shattering (my biggest problems were fixed by patches that have already been committed). -

Re: QIF importer treatment of zero-sum split transactions

2008-01-08 Thread Derek Atkins
Quoting "William D. Hamblen" <[EMAIL PROTECTED]>: > Maybe recording the fact that this issue (and others like it) exist > would be worthy of an entry in the wiki? I imagine one of the more > common uses of the QIF importer is people coming from other > applications and while that will almost n

Re: QIF importer treatment of zero-sum split transactions

2008-01-08 Thread Derek Atkins
Quoting Ian Lewis <[EMAIL PROTECTED]>: >> Would it make sense to provide a boolean checkbox somewhere in the >> druid if we find one of these transactions to ask the user how to >> treat them? > > Unfortunately, I'm not sure the user would know unless you start asking > stuff like, "Was this QIF c

Re: QIF importer treatment of zero-sum split transactions

2008-01-08 Thread William D. Hamblen
On Tue, 8 Jan 2008, Ian Lewis wrote: >> "Charles Day" <[EMAIL PROTECTED]> writes: >> >> Would it make sense to provide a boolean checkbox somewhere in the >> druid if we find one of these transactions to ask the user how to >> treat them? > > Unfortunately, I'm not sure the user would know unless

Re: QIF importer treatment of zero-sum split transactions

2008-01-08 Thread Ian Lewis
2008/1/8, Derek Atkins <[EMAIL PROTECTED]>: > > "Charles Day" <[EMAIL PROTECTED]> writes: > > > For your consideration, I've attached a patch that allows QIF split > > transactions with zero in the "T" line to pass through without sign > reversal > > (also described above). > > Would it make sense

Re: QIF importer treatment of zero-sum split transactions

2008-01-08 Thread Derek Atkins
"Charles Day" <[EMAIL PROTECTED]> writes: > For your consideration, I've attached a patch that allows QIF split > transactions with zero in the "T" line to pass through without sign reversal > (also described above). Would it make sense to provide a boolean checkbox somewhere in the druid if we f

Re: QIF importer treatment of zero-sum split transactions

2008-01-07 Thread Charles Day
On Jan 6, 2008 1:33 AM, Charles Day <[EMAIL PROTECTED]> wrote: > On Jan 4, 2008 2:54 PM, Charles Day <[EMAIL PROTECTED]> wrote: > > > On Jan 4, 2008 9:37 AM, William D. Hamblen < > > [EMAIL PROTECTED]> wrote: > > > > > Hi everyone, > > > > > > On Fri, 4 Jan 2008, Derek Atkins wrote: > > > > > > >

Re: QIF Importer

2008-01-07 Thread Derek Atkins
Tom Brown <[EMAIL PROTECTED]> writes: > I'm (very slowly) making progress on a unit test for > import-export/import-backend.c and will use the test to improve how it > finds matches for reconciling. For example /* Memo heuristics */ leaves a lot > to > be desired. Cool.. -derek -- Derek

Re: QIF Importer

2008-01-07 Thread Tom Brown
On Thu, Jan 03, 2008 at 07:13:40PM -0800, Charles Day wrote: > On Jan 3, 2008 6:03 PM, Ian Lewis <[EMAIL PROTECTED]> wrote: > > > Charles, > > > > You mentioned in some other e-mails that you were working on fixing some > > problems with the QIF importer. What exactly are you working on? I'm looki

Re: QIF importer bug in GC 2.2.2: stocks -> commodities

2008-01-06 Thread Charles Day
On Jan 4, 2008 5:08 AM, William D. Hamblen <[EMAIL PROTECTED]> wrote: > Hi everyone, > > This seems to only affect importing commodities and only if you have > records in the "map from QIF stock name to GNC commodity" section of the > qif-accounts-map file. If it's empty, no problem. > > When you

Re: QIF importer treatment of zero-sum split transactions

2008-01-06 Thread Charles Day
On Jan 4, 2008 2:54 PM, Charles Day <[EMAIL PROTECTED]> wrote: > On Jan 4, 2008 9:37 AM, William D. Hamblen < > [EMAIL PROTECTED]> wrote: > > > Hi everyone, > > > > On Fri, 4 Jan 2008, Derek Atkins wrote: > > > > > Quoting Charles Day <[EMAIL PROTECTED]>: > > > > > >> There is some code in the QIF

Re: QIF importer treatment of zero-sum split transactions

2008-01-05 Thread Charles Day
On Jan 5, 2008 12:18 AM, Thomas Baumgart <[EMAIL PROTECTED]> wrote: > Hi all, > > on Friday 04 January 2008 23:54, Charles Day wrote: > > > > The biggest problem with QIF is that there really is no standard. > > > > > > > There are so many different ways to doing it that getting it right > > > > 1

Re: QIF importer treatment of zero-sum split transactions

2008-01-05 Thread Thomas Baumgart
Hi all, on Friday 04 January 2008 23:54, Charles Day wrote: > > The biggest problem with QIF is that there really is no standard. > > > > > There are so many different ways to doing it that getting it right > > > 100% of the time is impossible. > > I'd hazard to say that how Quicken uses QIF is t

Re: QIF importer treatment of zero-sum split transactions

2008-01-04 Thread Charles Day
On Jan 4, 2008 9:37 AM, William D. Hamblen <[EMAIL PROTECTED]> wrote: > Hi everyone, > > On Fri, 4 Jan 2008, Derek Atkins wrote: > > > Quoting Charles Day <[EMAIL PROTECTED]>: > > > >> There is some code in the QIF importer which says that if a QIF split > >> transaction adds up to zero, then the

Re: QIF importer treatment of zero-sum split transactions

2008-01-04 Thread William D. Hamblen
Hi everyone, On Fri, 4 Jan 2008, Derek Atkins wrote: > Quoting Charles Day <[EMAIL PROTECTED]>: > >> There is some code in the QIF importer which says that if a QIF split >> transaction adds up to zero, then the signs of all of its split lines >> must get reversed. It looks very deliberate. Doe

Re: QIF importer treatment of zero-sum split transactions

2008-01-04 Thread Derek Atkins
Hi, Quoting Charles Day <[EMAIL PROTECTED]>: > There is some code in the QIF importer which says that if a QIF split > transaction adds up to zero, then the signs of all of its split lines must > get reversed. It looks very deliberate. Does anyone know why this would > be? It is causing a probl

Re: QIF Importer

2008-01-03 Thread Charles Day
On Jan 3, 2008 6:03 PM, Ian Lewis <[EMAIL PROTECTED]> wrote: > Charles, > > You mentioned in some other e-mails that you were working on fixing some > problems with the QIF importer. What exactly are you working on? I'm looking > at trying to improve the importer myself and would like to coordinat

Re: QIF importer bug in GC 2.2.2 - split transactions

2008-01-01 Thread Charles Day
On Dec 31, 2007 7:32 PM, William D. Hamblen < [EMAIL PROTECTED]> wrote: > Hi Charles, > > On Mon, 31 Dec 2007, Charles Day wrote: > > > Andrew, I looked over the QIF file and tried importing it and this is > > definitely a bug. I seem to recall having the very same problem > > recently, but I have

Re: QIF importer bug in GC 2.2.2 - split transactions

2007-12-31 Thread William D. Hamblen
Hi Charles, On Mon, 31 Dec 2007, Charles Day wrote: > Andrew, I looked over the QIF file and tried importing it and this is > definitely a bug. I seem to recall having the very same problem > recently, but I haven't followed up on it because the number of > affected transactions was tiny (I th

Re: QIF importer bug in GC 2.2.2 - split transactions

2007-12-31 Thread Charles Day
On Dec 31, 2007 1:10 PM, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > On Mon, Dec 31, 2007 at 01:11:22PM -0500, [EMAIL PROTECTED]: > > Hi, > > > > I think it'll be easier to explain with a little context. I have > hundreds > > of paycheck entries in Quicken 2004 each of which is a split tra

Re: QIF importer bug in GC 2.2.2 - split transactions

2007-12-31 Thread Andrew Sackville-West
On Mon, Dec 31, 2007 at 01:11:22PM -0500, [EMAIL PROTECTED] wrote: > Hi, > > I think it'll be easier to explain with a little context. I have hundreds > of paycheck entries in Quicken 2004 each of which is a split transaction > that has (among other things) two transfers from a checking account

Re: QIF importer crashes in gnucash-1.5.3

2001-02-27 Thread Bill Gribble
On Tue, Feb 27, 2001 at 07:58:03PM +, Nigel Titley wrote: > Attempting to import my (huge) Quicken QIF file gives me the following > error (about 88% into the import). It worked with 1.4.10. This is probably my fault. I'll check into it. b.g. _

Re: QIF Importer code: unused (or underused) variables

2001-02-19 Thread Derek Atkins
[EMAIL PROTECTED] (Bill Gribble) writes: > On Mon, Feb 19, 2001 at 02:59:40PM -0500, Derek Atkins wrote: > > Indeed, you do this in a couple of places, where you define a local > > variable and use it for some things but not for others. > > Clean away. You are encouraged to make whatever improv

Re: QIF Importer code: unused (or underused) variables

2001-02-19 Thread Bill Gribble
On Mon, Feb 19, 2001 at 02:59:40PM -0500, Derek Atkins wrote: > Indeed, you do this in a couple of places, where you define a local > variable and use it for some things but not for others. Clean away. You are encouraged to make whatever improvements to the QIF importer you have the time and ene

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-11 Thread Greg Stark
Rob Browning <[EMAIL PROTECTED]> writes: > Derek Atkins <[EMAIL PROTECTED]> writes: > > One thing that might be worth surveying is how many banks support OFX > and QIF now? My bank only supports OFX :( I suspect that will be the direction other banks will take in the future since it lets the

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-02 Thread Derek Atkins
Currently, only one of my (at least 3) online banks supports OFX. All three (that I check regularly) support QIF. -derek Rob Browning <[EMAIL PROTECTED]> writes: > One thing that might be worth surveying is how many banks support OFX > and QIF now? If it's most of them, and the others are movi

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-02 Thread Rob Browning
Derek Atkins <[EMAIL PROTECTED]> writes: > Thats fine. I'm not really complaining that the functionality > doesn't exist, just that I think it should happen. Clearly others > think it should happen, too. Personally, I want to work on the next > step (because it's what *I* want to do with GnuCa

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Stanley Long
- one Anchorage vote to keep QIF importer discussions on list :-) Dave Peticolas wrote: > > Derek Atkins writes: > > Should we take this to private mail and stop deluging the list? > > ... I'm finding the discussion very > informative. This is a devel list after all, so I think it's

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Derek Atkins
Dave Peticolas <[EMAIL PROTECTED]> writes: > Derek Atkins writes: > > > I suppose I see the QIF importer (and a future OFX importer, but I'm > > not as interested in doing that work right now) as more than just a > > means to convert from using Quicken to using GnuCash. I'd like to use > > it t

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Dave Peticolas
Derek Atkins writes: > I suppose I see the QIF importer (and a future OFX importer, but I'm > not as interested in doing that work right now) as more than just a > means to convert from using Quicken to using GnuCash. I'd like to use > it to be able to continuously download information from my o

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Derek Atkins
Dave Peticolas <[EMAIL PROTECTED]> writes: > Derek Atkins writes: > > > b.g. > > > > So, how can I help? > > > > Should we take this to private mail and stop deluging the list? > > I, for one, am enjoying the discussion :) I've never really looked at > the qif importer in detail, so I'm findin

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Dave Peticolas
Derek Atkins writes: > > b.g. > > So, how can I help? > > Should we take this to private mail and stop deluging the list? I, for one, am enjoying the discussion :) I've never really looked at the qif importer in detail, so I'm finding the discussion very informative. This is a devel list after

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Derek Atkins
[EMAIL PROTECTED] (Bill Gribble) writes: > On Wed, Nov 01, 2000 at 01:56:53PM -0500, Derek Atkins wrote: > > Um, I think this may be a bug, and it certainly explains why things > > are failing for me. The QIF names do NOT match across all my QIF > > files, because they all came from different so

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Bill Gribble
On Wed, Nov 01, 2000 at 01:56:53PM -0500, Derek Atkins wrote: > Um, I think this may be a bug, and it certainly explains why things > are failing for me. The QIF names do NOT match across all my QIF > files, because they all came from different sources. It's not a bug, but it is a sign of incom

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Derek Atkins
[EMAIL PROTECTED] (Bill Gribble) writes: > On Wed, Nov 01, 2000 at 01:35:51PM -0500, Derek Atkins wrote: > > > Make sure that you are entering the proper default account name for > > > each file. "moneymarket" is different from "MoneyMarket", and to > > > match the transactions the account names

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Derek Atkins
[EMAIL PROTECTED] (Bill Gribble) writes: > On Tue, Oct 17, 2000 at 07:40:59PM -0400, Derek Atkins wrote: > > Make sure you have gnucash with two accounts (call them "Checking" and > > "Money Market"). To show the bug, import the two QIF files below. > > [...] > > As you can see, the date, amount

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Bill Gribble
On Wed, Nov 01, 2000 at 01:35:51PM -0500, Derek Atkins wrote: > > Make sure that you are entering the proper default account name for > > each file. "moneymarket" is different from "MoneyMarket", and to > > match the transactions the account names must be identical. > > In the dialog I match the

Re: QIF importer in 1.4.7 fails to detect duplicate transactions

2000-11-01 Thread Bill Gribble
On Tue, Oct 17, 2000 at 07:40:59PM -0400, Derek Atkins wrote: > Make sure you have gnucash with two accounts (call them "Checking" and > "Money Market"). To show the bug, import the two QIF files below. > [...] > As you can see, the date, amount, source, and destinations all match. > This seems l

Re: QIF importer dies

2000-11-01 Thread Bill Gribble
On Tue, Oct 31, 2000 at 06:12:34PM -0500, Derek Atkins wrote: > I tried to import two QIF files (with the same transactions but from > different accounts, one account per file). I got through the whole > process and then Gnucash died with this error: > > /var/tmp/gnucash/share/gnucash/scm/qif-im

Re: QIF Importer Category mapping

2000-05-09 Thread Bill Gribble
hab <[EMAIL PROTECTED]> writes: > My personal experience from GNUCash 1.3.4-1.3.7 is that it is always the > > third option. Even though the ~/.gnucash/qif-accounts-map is in > existence > and seems to have the historical mappings. > > Is this the correct operation? Or what could be causing m