Re: Bug cleanup #1

2014-05-01 Thread John Ralls

On May 1, 2014, at 6:24 AM, Michalis Kamprianis micha...@linuxmail.org wrote:

 Hi all, 
 
 I checked the following bugs and I believe they can close (use monospaced 
 font for the list):
 
 Bug Nr | Description  | Assigned to
 583520 | Open Budget seems to create a new budget | Chris Shoemaker
| - Tested, doesn't happen anymore |
 644481 | QIF import fails if empty 'L' field  | Charles Day
| - Tested, doesn't happen anymore |
 669217 | Unable to use functions that require ... | Mark Jenkins
| - Tested, isn't applicable anymore   |
 636530 | Get message A bug was detected while ... | Charles Day
| - Tested, doesn't happen anymore |
 719561 | Expenses vs. Days of Week Report ... | reports-maint
| - Tested, doesn't happen anymore |
 577034 | scrolling in ledgers not repainted ...   | Andreas Kohler
| - Tested, doesn't happen anymore |
 688965 | Page Up, Page Down keys cause GnuCash ...| Christian Stimming
| - Tested, doesn't happen anymore |
 699271 | (Sha) Confusing initial Custom Report ...| reports-maint
| - I understand all issues are handled|
| with the final comment  (12) |  
 
 Maybe we should wait a week or so for responce from the initial reporters 
 (specifically in bugs  583520, 644481, 669217, 636530, 719561, 577034, 688965 
 where I have added a comment that the problem seems to be resolved)
 

Great, thanks. Yes, let's give the OPs a few days to respond.

Regards,
John Ralls



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


Re: Official Ubuntu GnuCash package segfaults on Ubuntu 14.04

2014-05-01 Thread Geert Janssens
On Thursday 01 May 2014 17:31:56 Herbert Mühlburger wrote:
 Am 2014-05-01 15:52, schrieb John Ralls:
  On Apr 30, 2014, at 2:07 PM, Herbert Mühlburger
  
  m...@muehlburger.at wrote:
  Hi Colin,
  
  Am 2014-04-29 17:13, schrieb Colin Law:
  Some additional information on what might create this issue:
  
  - the version of libdbi-dev on Ubuntu 13.10 was 0.8.4-6 - the
  version of libdbi-dev on Ubuntu 14.04 is 0.9.0-1
  
  There are some deprecated functions which also prevent
  GnuCash from successfuly running the test suite on the
  current master branch.
  
  I have had no problems compiling and running 2.6.3 on Ubuntu
  14.04 (from the source tarball).  What is it that is causing
  you difficulty?
  
  Compiling the latest version of GnuCash works fine. But if I run
  it I always the the same segmentation fault.
  
  I cloned the official gnucash repository and followed the
  instruction for compiling it for Ubuntu 14.04
  
  ./autogen.sh ./configure --prefix=/opt/gnucash
  --enable-compile-warnings --with-html-engine=webkit --enable-dbi
  make sudo make install
  
  I think opening an sqlite3 gnucash-file results in the segfault.
  In the attached file you can see the full backtrace after the
  segfault. It seems that the libdbi-dir is not set properly by
  gnucash allthough everything (libdbi-dev, ...) is installed
  properly on my ubuntu box.
  
  Try installing one of libdbd-sqlite3, libdbd-mysql, or
  libdbd-pgsql. The problem looks to me like the latest version of
  libdbi, the database backend, doesn't like being initialized with
  no shim library available.
 
 These libraries are installed already. It seems that the problem is
 caused through the not properly set driver_dir-variable in
 gnc-backend-dbi.c:1872 when using libdbi 0.9.x.
 
 After installing libdbi-0.8.3 I could run GnuCash without problems. As
 you mentioned there seems to be a problem with the latest version of
 libdbi. Where is the GNC_DBD_DIR env variable being set?
 
 Regards,
 Herbert.
 ___
 gnucash-devel mailing list
 gnucash-devel@g--with-dbi-dbd-dir=PATHnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel

It would be new that this parameter has to be set. In previous versions of 
libdbi it was not 
needed if the drivers were installed in their default locations.

Anyway you can specify the --with-dbi-dbd-dir=PATH option to GnuCash' configure 
script to 
explicitly set it.

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


Re: Official Ubuntu GnuCash package segfaults on Ubuntu 14.04

2014-05-01 Thread Derek Atkins
Herbert Mühlburger m...@muehlburger.at writes:

 After installing libdbi-0.8.3 I could run GnuCash without problems. As
 you mentioned there seems to be a problem with the latest version of
 libdbi. Where is the GNC_DBD_DIR env variable being set?

I thought it got set during configure?

 Regards,
 Herbert.

-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
   warl...@mit.eduPGP key available

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


Re: Official Ubuntu GnuCash package segfaults on Ubuntu 14.04

2014-05-01 Thread Colin Law
On 1 May 2014 16:45, Derek Atkins warl...@mit.edu wrote:
 Herbert Mühlburger m...@muehlburger.at writes:

 After installing libdbi-0.8.3 I could run GnuCash without problems. As
 you mentioned there seems to be a problem with the latest version of
 libdbi. Where is the GNC_DBD_DIR env variable being set?

 I thought it got set during configure?

In case it is of relevance it is not set on my system.

Colin

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


Re: Official Ubuntu GnuCash package segfaults on Ubuntu 14.04

2014-05-01 Thread John Ralls

On May 1, 2014, at 8:45 AM, Derek Atkins warl...@mit.edu wrote:

 Herbert Mühlburger m...@muehlburger.at writes:
 
 After installing libdbi-0.8.3 I could run GnuCash without problems. As
 you mentioned there seems to be a problem with the latest version of
 libdbi. Where is the GNC_DBD_DIR env variable being set?
 
 I thought it got set during configure?

It’s actually there to allow post-build override, which is necessary in the 
MacOSX bundle. Try setting it explicitly to the correct path.

Regards,
John Ralls


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


Re: RESULT! (was: Re: Building on Windows from scratch - follow up)

2014-05-01 Thread Geert Janssens
On Thursday 01 May 2014 15:55:07 Geert Janssens wrote:
 Thank you for my feedback. It's nice to hear my effort is appreciated.
 
 Your suggestion to move the installation of html help to the top is
 very useful. I'll check if this is possible and if so will make the
 necessary changes.
 

I have committed a change to move html help installation as close to the 
beginning of the whole process. It depends on pexports which is installed in 
the mingw step. So it can only come after that step.

However everything up until mingw is installed relatively fast. There is no 
compilation happening until then. So hopefully the user stays alert until 
then...

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


Re: RESULT! (was: Re: Building on Windows from scratch - follow up)

2014-05-01 Thread Geert Janssens
On Thursday 01 May 2014 15:55:07 Geert Janssens wrote:
 Thank you for my feedback. It's nice to hear my effort is appreciated.
 
Sometimes I appear to write utter nonsense... Rereading the above I of course 
wanted to 
say
Thank you for *your* feedback.

Oh well... Too many distractions...

Geert

 Your suggestion to move the installation of html help to the top is
 very useful. I'll check if this is possible and if so will make the
 necessary changes.
 
 Geert
 
 On Tuesday 29 April 2014 20:08:59 Wm Tarr wrote:
  On 28/04/2014 10:09, Geert Janssens wrote:
   Lastly, how to use my repository ?
   - Download the bootstrap_win_dev.vbs script. It has some
   documentation at the beginning. Running it is mostly a
   double-click. This will prepare a c:\gcdev directory with the
   minimal tools required to run install.sh - Start msys
   (c:\gcdev\mingw\msys\1.0\msys.bat)
   - cd /c/gcdev/gnucash-on-windows.git
   - install.sh
   
   Please test and provide feedback.
  
  Woh!
  
  I think I may be the first reporting like this, if I am not then I
  happily join others who have reported success.
  
  It works!  I am now proudly running
  ===
  GnuCash 2.6.99
  The GnuCash personal finance manager. The GNU way to manage your
  money! This copy was built from git rev acad5a0+ on 2014-04-29
  ===
  
  First my congratulations and thanks to Geert and anyone else that
  has
  worked on this.  I think you deserve a beer / coffee / beverage of
  choice for the amazing effort you must have put in.
  
  I thank you, personally, and expect others will too once the
  significance of this becomes clear [1]
  
  I do not exaggerate when I say that this experience is an order of
  magnitude different to the last time I attempted to build GnuCash
  under Win.
  
  Note: only one real glitch (attempt to build svn) was encountered
  and
  has already been fixed (thanks for prompt attention, Geert).
  
  Note regarding human interaction: a human needs to get involved in
  specifying gncdev/hh for the HTML Help, but because the build takes
  some time and the HH happens part way through I was busy doing
  something else when the licence, directory choice dialogue, etc.
  came
  up and dismissed them thinking they were to do with something else.
  My suggestion is that if there are no other dependencies the
  ===
  add_step inst_hh
  ===
  is done right at the beginning / as soon as possible in install.sh
  while the human is still paying attention.  Everything after that
  will run by itself unless there is an error (in my experience).
  
  
  
  Some timings for those interested.
  
  12:48 downloaded bootstrap_win_dev.vbs and started it off
  
  (it wouldn't run by itself here so I started it in a
  
  console with cscript.exe path-to-this-script as mentioned in the
  script itself which worked fine)
  18:58 I had a working GnuCash 2.6.99
  
  that is 6 hours and 10 minutes and would have been less if I hadn't
  come across the svn problem (now fixed as mentioned above) and gone
  through the inst_hh section 3 times because I'm a dumb human and
  wasn't reading the instructions properly -- though my excuse is that
  inst_hh should be near the top because I'd have been paying
  attention
  then!  That is my excuse and I am sticking to it :)
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Official Ubuntu GnuCash package segfaults on Ubuntu 14.04

2014-05-01 Thread Herbert Mühlburger
Am 2014-05-01 17:43, schrieb Colin Law:
 On 1 May 2014 16:31, Herbert Mühlburger m...@muehlburger.at
 wrote:
 Am 2014-05-01 15:52, schrieb John Ralls:
...
 After installing libdbi-0.8.3 I could run GnuCash without
 problems. As you mentioned there seems to be a problem with the
 latest version of libdbi. Where is the GNC_DBD_DIR env variable
 being set?
 
 I don't think you have yet told us whether the problem you are
 seeing is with 2.6.3 or HEAD.  As I said I have had no trouble with
 compiled 2.6.3 with xml, sqlite or mysql on 14.04.  This is with
 lidbi-dev 0.9.0.  I presume it is libdbi-dev that you are talking
 about.

I'm talking about HEAD.

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


libdbi-0.9.0 vs. libdbi-0.8.4 on Ubuntu 14.04 Issue

2014-05-01 Thread Herbert Mühlburger
Am 2014-05-01 17:55, schrieb John Ralls:
 
 On May 1, 2014, at 8:45 AM, Derek Atkins warl...@mit.edu wrote:
 
 Herbert Mühlburger m...@muehlburger.at writes:
 
 After installing libdbi-0.8.3 I could run GnuCash without
 problems. As you mentioned there seems to be a problem with the
 latest version of libdbi. Where is the GNC_DBD_DIR env variable
 being set?
 
 I thought it got set during configure?
 
 It’s actually there to allow post-build override, which is
 necessary in the MacOSX bundle. Try setting it explicitly to the
 correct path.

There is an interesting behaviour:

1) Installing libdbi-0.8.4, compiling gnucash and running it using a
sqlite3 GnuCash-file works as expected.

I downloaded the official tar.gz from
http://sourceforge.net/projects/libdbi/files/libdbi/libdbi-0.8.4/libdbi-0.8.4.tar.gz/download
compiled and installed it on my system.

2) Installing libdbi-0.9.0 from source and compiling GnuCash results
in the following output:

checking dbi/dbi.h usability... yes
checking dbi/dbi.h presence... yes
checking for dbi/dbi.h... yes
checking Looking for at least one supported DBD module... configure:
error:
Unable to find any of the supported dbd modules
(libdbdsqlite3, libdbdmysql, or libdbdpgsql) needed to actually use
the SQL
backend.

If you do have them installed the problem is either that dlopen cannot
find them or that dlopen itself is not getting linked. Check config.log
to find out which.  You can add the option --with-dbi-dbd-dir pointing to
the directory in which they are located.

If you do not actually want to build with libdi add --disable-dbi
to the configure argument list and run it again.

./configure --prefix=/opt/gnucash --enable-compile-warnings
--enable-dbi  5,35s user 2,96s system 103% cpu 8,009 total

Everything I change is the version of libdbi from 0.8.4 to 0.9.0. Are
the dbd-modules for libdbi-0.9.0 located somewhere else and GnuCash
does not search there?

Thank you very much and kind regards,
Herbert.
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: libdbi-0.9.0 vs. libdbi-0.8.4 on Ubuntu 14.04 Issue

2014-05-01 Thread Colin Law
On 1 May 2014 20:23, Herbert Mühlburger m...@muehlburger.at wrote:
 Am 2014-05-01 17:55, schrieb John Ralls:

 On May 1, 2014, at 8:45 AM, Derek Atkins warl...@mit.edu wrote:

 Herbert Mühlburger m...@muehlburger.at writes:

 After installing libdbi-0.8.3 I could run GnuCash without
 problems. As you mentioned there seems to be a problem with the
 latest version of libdbi. Where is the GNC_DBD_DIR env variable
 being set?

 I thought it got set during configure?

 It’s actually there to allow post-build override, which is
 necessary in the MacOSX bundle. Try setting it explicitly to the
 correct path.

 There is an interesting behaviour:

 1) Installing libdbi-0.8.4, compiling gnucash and running it using a
 sqlite3 GnuCash-file works as expected.

 I downloaded the official tar.gz from
 http://sourceforge.net/projects/libdbi/files/libdbi/libdbi-0.8.4/libdbi-0.8.4.tar.gz/download
 compiled and installed it on my system.

 2) Installing libdbi-0.9.0 from source and compiling GnuCash results
 in the following output:

 checking dbi/dbi.h usability... yes
 checking dbi/dbi.h presence... yes
 checking for dbi/dbi.h... yes
 checking Looking for at least one supported DBD module... configure:
 error:
 Unable to find any of the supported dbd modules
 (libdbdsqlite3, libdbdmysql, or libdbdpgsql) needed to actually use
 the SQL
 backend.

 If you do have them installed the problem is either that dlopen cannot
 find them or that dlopen itself is not getting linked. Check config.log
 to find out which.  You can add the option --with-dbi-dbd-dir pointing to
 the directory in which they are located.

 If you do not actually want to build with libdi add --disable-dbi
 to the configure argument list and run it again.

 ./configure --prefix=/opt/gnucash --enable-compile-warnings
 --enable-dbi  5,35s user 2,96s system 103% cpu 8,009 total

 Everything I change is the version of libdbi from 0.8.4 to 0.9.0. Are
 the dbd-modules for libdbi-0.9.0 located somewhere else and GnuCash
 does not search there?

What does
apt-cache policy libdbd-mysql
show?

Colin

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


Re: libdbi-0.9.0 vs. libdbi-0.8.4 on Ubuntu 14.04 Issue

2014-05-01 Thread Herbert Mühlburger
Am 2014-05-01 21:40, schrieb Colin Law:
 apt-cache policy libdbd-mysql

libdbd-mysql:
  Installiert:   0.9.0-2ubuntu2
  Installationskandidat: 0.9.0-2ubuntu2
  Versionstabelle:
 *** 0.9.0-2ubuntu2 0
500 http://at.archive.ubuntu.com/ubuntu/ trusty/main amd64
Packages
100 /var/lib/dpkg/status

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


Re: libdbi-0.9.0 vs. libdbi-0.8.4 on Ubuntu 14.04 Issue

2014-05-01 Thread Colin Law
On 1 May 2014 21:33, Herbert Mühlburger m...@muehlburger.at wrote:
 Am 2014-05-01 21:40, schrieb Colin Law:
 apt-cache policy libdbd-mysql

 libdbd-mysql:
   Installiert:   0.9.0-2ubuntu2
   Installationskandidat: 0.9.0-2ubuntu2
   Versionstabelle:
  *** 0.9.0-2ubuntu2 0
 500 http://at.archive.ubuntu.com/ubuntu/ trusty/main amd64
 Packages
 100 /var/lib/dpkg/status


That looks ok, though I meant libdbd-sqlite3 since I see that is what
you are using, I presume that shows the same thing.  I am using 32
bit. Have you checked with the 2.6.3 tag that it also fails?  I have a
64 bit machine but I am not sure I have not tried it with sqlite.  I
will give it a go.

Colin

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