Re: windows wget location changed (was: Compiling gnucash)

2007-07-19 Thread Christian Stimming
Dear Stephen,

Quoting Stephen Grant Brown [EMAIL PROTECTED]:
 I wish to compile gnucash on my computer.

Great! .-)

 http://svn.gnucash.org/repo/gnucash/trunk/packaging/win32/README

 I read the following

 * Download wget
 from http://www.mingw.org/download.shtml - Current - mingwPORT -   
 (bin, wget-*)
 to $DOWNLOAD_DIR

 I am unable to see a bin file of mingwPORT

 What am I doing worng?

Oh, it's not your fault. The mingw.org page got reorganized recently  
and we haven't been able to adapt our instructions.

The download overview of the MinGW project is now available solely at  
http://sourceforge.net/project/showfiles.php?group_id=2435 ; the wget  
binary package is... hm... well, where is it? Shoot. It somehow  
disappeared.

Maybe the Binaries (zip) of  
http://gnuwin32.sourceforge.net/packages/wget.htm might help you,  
direct link: http://gnuwin32.sourceforge.net/downlinks/wget-bin-zip.php

But maybe you have to experiment a bit. Sorry for that.

Christian

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: SQL Backend?

2007-07-19 Thread Derek Atkins
keith [EMAIL PROTECTED] writes:

 There was a thread going last year on the SQL backend. I'd be interested 
 in testing/helping. I'm currently doing a lot of work in (shudder) 
 Oracle, but I can install pg too. I checked out the svn, but haven't dug 
 much further.

It's the 'gda-dev' branch, but I dont think Phil's put much time
into it recently.

 Keith

-derek

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: dogtail test suite test harness

2007-07-19 Thread Josh Sled
ahmad sayed [EMAIL PROTECTED] writes:
 2 - I'm able to test the register and i compelete a smplified version of 
 tutorial 1  and 2.

This is great. :)

 the bad news is:
 1 - In order to be  able to access some components, I use some raw inputs,  
 according to dogtail  the raw input is to do mouse click using the 
 coordinate, 
 Like
 rawClick(wiget.position[0], widget.position[1])

(As Derek asked:) are these window x,y coordinates, or logical widget
locations?

 2 - I got a problem with expanding the tree in the account pages so i only 
 could create an account like
 Expenses:Taxs
 only parent and child more account like Expense:Taxs:Insurance currently no 
 luck with them

Where does the problem lie?  With dogtail, I imagine...?  It seems somewhat
important that we're able to test files as generated with our Common
Accounts account-template.

 BTW: i tried to play with gnucash register code, and atk but i make a very 
 slight progress, like making dogtail read the  register as table but it will 
 require a lot of time the register code is
 too big.

Yeah. :(

Feel free to completely ignore this, but maybe it makes sense for you to look
at the 'register-rewrite' branch, and see if you can contribute at least a
basic dogtail-based test using that register.  It should be far easier, and
hopefully we'll move to that codeline in the (near) future.

 you suggested some approach like Junit,  I tried pyunit and it looks nice to 
 me,  do you have any issues regarding using it to organize our test cases.

It looks like you've started down that path.  Whatever you're comfortable
using is good, but things that are established and will time (like python's
`unittest` module) are always good to leverage.

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED]


pgpQIaySiouMB.pgp
Description: PGP signature
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: CSV Import Update

2007-07-19 Thread Josh Sled
Benjamin Sperisen [EMAIL PROTECTED] writes:
 What can the importer do now?
 4. It can handle three different column types: Amount, Date, and
 Description. The columns can be in any order.

Other columns you may want to support:

- transaction number
- transaction identifier
- comment

It might be that the easiest thing to do is just concatenate some of those
fields together into the memo of the resultant transaction, rather than try
to get a 1-to-1 mapping to gnucash fields.


 5. This is not necessarily a CSV import issue, but the date parsing
 function does not yet take into account the issue raised by Thomas
 (https://lists.gnucash.org/pipermail/gnucash-devel/2007-July/020954.html).

I'm not sure if the mixed-separator issue is significant outside of QIF
files, or otherwise wide-spread.

I did notice that converting the txt-format downloads I can get from Bank
of America (which look like `lynx -dump`ed versions of their html, honestly)
into CSV left me with just 'mm/dd' dates (no year).  That doesn't seem all
that unreasonable, and should be supported as well.


 Problem 4 will largely take time, but if anyone has any CSV files that
 they'd like to try this with, feel free -- the code should be stable
 enough that it's not totally unusable at this point. As long as you

Another thing I noticed with my manufactured CSV file was that some of the
lines had '$'s before the value, and some had column-based credit/debit value
distinctions; I could imagine other CSV-providers that used +/- for such a
distinction.  This might end up as an RFE building on this project, but
handling these cases seems pretty important.


 encountered that before (though I could be wrong). I'll also have to
 learn some about regular expressions, as I know next to nothing about
 them, to add the functionality.

FWIW, regexp is one of the most useful things I've ever learned, so don't
hesitate! :)


 Anyway, that's where the code is and where it still needs to go. As
 always, let me know if you have any comments or suggestions!

This is looking very good... very nice work, so far. :)

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED]


pgpsUIhrzPrGu.pgp
Description: PGP signature
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r16282 - gnucash/branches/csv-import - Fixed some bugs, attempted to get STF code working with goffice 0.2

2007-07-19 Thread Josh Sled
Benjamin Sperisen [EMAIL PROTECTED] writes:
 Trac: http://svn.gnucash.org/trac/changeset/16282

 Modified: gnucash/branches/csv-import/src/import-export/csv/gnc-csv-import.c
 ===
 --- gnucash/branches/csv-import/src/import-export/csv/gnc-csv-import.c
 2007-07-08 18:42:22 UTC (rev 16281)
 +++ gnucash/branches/csv-import/src/import-export/csv/gnc-csv-import.c
 2007-07-08 20:21:49 UTC (rev 16282)
 @@ -751,13 +754,8 @@
   * user gives up. */
  while(!((parse_data-error_lines == NULL) || user_canceled))
  {
 -  /* TODO remove printfs */
 -  printf(start %d %d\n, g_list_length(parse_data-transactions),
 - g_list_length(parse_data-error_lines));
 -  gnc_csv_preview_errors(preview);
 -  user_canceled = gnc_parse_to_trans(parse_data, account, TRUE);
 -  printf(end %d %d\n, g_list_length(parse_data-transactions),
 - g_list_length(parse_data-error_lines));

A good alternative to printf is
g_(debug|message|info|warning|critical|error).  They have the same
formatting/varags support as printf, but with conditional effect.  And with
our logging framework [1], they can be made visible at (the start of) runtime 
via
config, without re-compiling.

[1] http://cvs.gnucash.org/docs/HEAD/group__Logging.html

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED]


pgploaowSPw25.pgp
Description: PGP signature
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: SQL Backend?

2007-07-19 Thread Nathan Buchanan
On 7/19/07, Derek Atkins [EMAIL PROTECTED] wrote:

 keith [EMAIL PROTECTED] writes:

  There was a thread going last year on the SQL backend. I'd be interested
  in testing/helping. I'm currently doing a lot of work in (shudder)
  Oracle, but I can install pg too. I checked out the svn, but haven't dug
  much further.

 It's the 'gda-dev' branch, but I dont think Phil's put much time
 into it recently.


I know this is a feature I'm eager to have as well, but I can't devote any
time to it right now. If you can help Phil with what he's got, that would be
great!
Nathan

 Keith

 -derek

 --
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board  (SIPB)
URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
[EMAIL PROTECTED]PGP key available
 ___
 gnucash-devel mailing list
 gnucash-devel@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel




-- 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Got Mole problems? Call Avogadro at 6.02 x 10^23.
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: SQL Backend?

2007-07-19 Thread Albert Lash
Is the data model that is / was used for the SQL backend around anywhere?

On 7/19/07, Nathan Buchanan [EMAIL PROTECTED] wrote:

 On 7/19/07, Derek Atkins [EMAIL PROTECTED] wrote:
 
  keith [EMAIL PROTECTED] writes:
 
   There was a thread going last year on the SQL backend. I'd be
 interested
   in testing/helping. I'm currently doing a lot of work in (shudder)
   Oracle, but I can install pg too. I checked out the svn, but haven't
 dug
   much further.
 
  It's the 'gda-dev' branch, but I dont think Phil's put much time
  into it recently.


 I know this is a feature I'm eager to have as well, but I can't devote any
 time to it right now. If you can help Phil with what he's got, that would
 be
 great!
 Nathan

  Keith
 
  -derek
 
  --
 Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
 Member, MIT Student Information Processing Board  (SIPB)
 URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
 [EMAIL PROTECTED]PGP key available
  ___
  gnucash-devel mailing list
  gnucash-devel@gnucash.org
  https://lists.gnucash.org/mailman/listinfo/gnucash-devel
 



 --
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 Got Mole problems? Call Avogadro at 6.02 x 10^23.
 ___
 gnucash-devel mailing list
 gnucash-devel@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel




-- 
My Blogs:
http://www.docunext.com/
http://www.albertlash.com/
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel