Re: [GNC] Fwd: The two modules

2018-06-20 Thread Stephen M. Butler
Found libofx7 and installed that instead of libofx6 and libofx4.

After a few other missed steps I now have completed the "cmake
../gnucash-3.1" step  However the "make" step has problems:

...

[ 29%] Built target test-core-guile
Scanning dependencies of target scm-test-core
[ 29%] Generating
../../lib/gnucash/scm/ccache/2.0/gnucash/unittest-support.go
wrote
`/home/steve/Projects/GnuCash/mybuild/lib/gnucash/scm/ccache/2.0/gnucash/unittest-support.go'
[ 29%] Built target scm-test-core
Scanning dependencies of target gtest
[ 29%] Building CXX object
common/test-core/CMakeFiles/gtest.dir/usr/src/gtest/src/gtest-all.cc.o
In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
/usr/src/gtest/src/gtest.cc: In destructor ‘virtual testing::Test::~Test()’:
/usr/src/gtest/src/gtest.cc:1897:10: error: type ‘const class
testing::internal::scoped_ptr’
argument given to ‘delete’, expected pointer
   delete gtest_flag_saver_;
  ^
/usr/src/gtest/src/gtest.cc: At global scope:
/usr/src/gtest/src/gtest.cc:2177:1: error: prototype for
‘testing::TestInfo::TestInfo(const string&, const string&, const char*,
const char*, testing::internal::TypeId,
testing::internal::TestFactoryBase*)’ does not match any in class
‘testing::TestInfo’
 TestInfo::TestInfo(const std::string& a_test_case_name,
 ^~~~
In file included from
/home/steve/Projects/googletest/googletest/include/gtest/internal/gtest-internal.h:39:0,
 from
/home/steve/Projects/googletest/googletest/include/gtest/gtest.h:58,
 from /usr/src/gtest/src/gtest-all.cc:39:
/home/steve/Projects/googletest/googletest/include/gtest/gtest.h:801:35:
error: candidates are: testing::TestInfo::TestInfo(const testing::TestInfo&)
   GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
   ^
/home/steve/Projects/googletest/googletest/include/gtest/internal/gtest-port.h:918:3:
note: in definition of macro ‘GTEST_DISALLOW_COPY_AND_ASSIGN_’
   type(type const &) GTEST_CXX11_EQUALS_DELETE_; \
   ^~~~
In file included from /usr/src/gtest/src/gtest-all.cc:39:0:
/home/steve/Projects/googletest/googletest/include/gtest/gtest.h:756:3:
error: testing::TestInfo::TestInfo(const string&, const
string&, const char*, const char*, testing::internal::CodeLocation,
testing::internal::TypeId, testing::internal::TestFactoryBase*)
   TestInfo(const std::string& test_case_name,
   ^~~~
In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
/usr/src/gtest/src/gtest.cc: In function ‘testing::TestInfo*
testing::internal::MakeAndRegisterTestInfo(const char*, const char*,
const char*, const char*, testing::internal::TypeId,
testing::internal::SetUpTestCaseFunc,
testing::internal::TearDownTestCaseFunc,
testing::internal::TestFactoryBase*)’:
/usr/src/gtest/src/gtest.cc:2227:45: error: no matching function for
call to ‘testing::TestInfo::TestInfo(const char*&, const char*&, const
char*&, const char*&, const void*&, testing::internal::TestFactoryBase*&)’
    fixture_class_id, factory);
 ^
In file included from /usr/src/gtest/src/gtest-all.cc:39:0:
/home/steve/Projects/googletest/googletest/include/gtest/gtest.h:756:3:
note: candidate: testing::TestInfo::TestInfo(const string&, const
string&, const char*, const char*, testing::internal::CodeLocation,
testing::internal::TypeId, testing::internal::TestFactoryBase*)
   TestInfo(const std::string& test_case_name,
   ^~~~
/home/steve/Projects/googletest/googletest/include/gtest/gtest.h:756:3:
note:   candidate expects 7 arguments, 6 provided
In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
/usr/src/gtest/src/gtest.cc: At global scope:
/usr/src/gtest/src/gtest.cc:3486:76: error: definition of
‘testing::ScopedTrace::ScopedTrace(const char*, int, const
testing::Message&)’ is not in namespace enclosing ‘testing::ScopedTrace’
[-fpermissive]
 ScopedTrace::ScopedTrace(const char* file, int line, const Message&
message)
   
^
/usr/src/gtest/src/gtest.cc:3486:1: error: prototype for
‘testing::ScopedTrace::ScopedTrace(const char*, int, const
testing::Message&)’ does not match any in class ‘testing::ScopedTrace’
 ScopedTrace::ScopedTrace(const char* file, int line, const Message&
message)
 ^~~
In file included from
/home/steve/Projects/googletest/googletest/include/gtest/internal/gtest-internal.h:39:0,
 from
/home/steve/Projects/googletest/googletest/include/gtest/gtest.h:58,
 from /usr/src/gtest/src/gtest-all.cc:39:
/home/steve/Projects/googletest/googletest/include/gtest/gtest.h:2182:35:
error: candidates are: testing::ScopedTrace::ScopedTrace(const
testing::ScopedTrace&)
   GTEST_DISALLOW_COPY_AND_ASSIGN_(ScopedTrace);
   ^
/home/steve/Projects/googletest/googletest/include/gtest/internal/gtest-port.h:918:3:
note: in definition of macro 

Re: [GNC] Fwd: The two modules

2018-06-20 Thread Stephen M. Butler
Thank you.  Found those entries and also found I had missed to OFX
portion -- but apt-get complains on that one:

$ sudo apt-get install libofx6 libofx4 libofx-dev
Reading package lists... Done
Building dependency tree  
Reading state information... Done
Package libofx6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libofx6' has no installation candidate
E: Unable to locate package libofx4

Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

On 06/20/2018 01:32 PM, nvsoar wrote:
> Seems to me that I read recently that gwenhywfar is an AQ Banking
> package.  On the same google page is an entry that it can be
> downloaded from Source Forge.
> nvsoar
>
> On 06/20/18 13:17, Stephen M. Butler wrote:
>> Then I ran into this problem.  Researching.
>>
>> I don't see 'gwenhywfar' listed on the installation page.  Attempting to
>> install says package not found.
>>
>> $ cmake -D CMAKE_INStALL_PREFIX=/usr/local ../gnucash-3.1
>> -- The C compiler identification is GNU 7.3.0
>> -- The CXX compiler identification is GNU 7.3.0
>> -- Check for working C compiler: /usr/bin/cc
>> -- Check for working C compiler: /usr/bin/cc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Detecting C compile features
>> -- Detecting C compile features - done
>> -- Check for working CXX compiler: /usr/bin/c++
>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> -- Detecting CXX compile features
>> -- Detecting CXX compile features - done
>> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
>> -- Checking for module 'glib-2.0>=2.40'
>> --   Found glib-2.0, version 2.56.1
>> -- Checking for module 'gio-2.0'
>> --   Found gio-2.0, version 2.56.1
>> -- Checking for module 'gobject-2.0>=2.20'$ cmake -D
>> CMAKE_INStALL_PREFIX=/usr/local ../gnucash-3.1
>> -- The C compiler identification is GNU 7.3.0
>> -- The CXX compiler identification is GNU 7.3.0
>> -- Check for working C compiler: /usr/bin/cc
>> -- Check for working C compiler: /usr/bin/cc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Detecting C compile features
>> -- Detecting C compile features - done
>> -- Check for working CXX compiler: /usr/bin/c++
>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> -- Detecting CXX compile features
>> -- Detecting CXX compile features - done
>> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
>> -- Checking for module 'glib-2.0>=2.40'
>> --   Found glib-2.0, version 2.56.1
>> -- Checking for module 'gio-2.0'
>> --   Found gio-2.0, version 2.56.1
>> -- Checking for module 'gobject-2.0>=2.20'
>> --   Found gobject-2.0, version 2.56.1
>> -- Checking for module 'gmodule-2.0>=2.20'
>> --   Found gmodule-2.0, version 2.56.1
>> -- Checking for module 'gthread-2.0>=2.20'
>> --   Found gthread-2.0, version 2.56.1
>> -- Checking for module 'libxml-2.0>=2.7.0'
>> --   Found libxml-2.0, version 2.9.4
>> -- Checking for module 'libxslt'
>> --   Found libxslt, version 1.1.29
>> -- Checking for module 'webkit2gtk-4.0'
>> --   Found webkit2gtk-4.0, version 2.20.3
>> -- Checking for module 'gtk+-3.0>=3.10.0'
>> --   Found gtk+-3.0, version 3.22.30
>> -- Checking for module 'zlib'
>> --   Found zlib, version 1.2.11
>> -- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1",
>> minimum required is "0.19.6")
>> -- Using guile-2.0.x
>> -- Using guile SRFI-64
>> -- Checking for module 'gwenhywfar'
>> --   No package 'gwenhywfar' found
>> CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415
>> (message):
>>    A required package was not found
>> Call Stack (most recent call first):
>>    /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593
>> (_pkg_check_modules_internal)
>>    common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
>>    CMakeLists.txt:347 (GNC_PKG_CHECK_MODULES)
>>
>>
>> -- Configuring incomplete, errors occurred!
>> See also
>> "/home/steve/Projects/GnuCash/mybuild/CMakeFiles/CMakeOutput.log".
>>
>> --   Found gobject-2.0, version 2.56.1
>> -- Checking for module 'gmodule-2.0>=2.20'
>> --   Found gmodule-2.0, version 2.56.1
>> -- Checking for module 'gthread-2.0>=2.20'
>> --   Found gthread-2.0, version 2.56.1
>> -- Checking for module 'libxml-2.0>=2.7.0'
>> --   Found libxml-2.0, version 2.9.4
>> -- Checking for module 'libxslt'
>> --   Found libxslt, version 1.1.29
>> -- Checking for module 'webkit2gtk-4.0'
>> --   Found webkit2gtk-4.0, version 2.20.3
>> -- Checking for module 'gtk+-3.0>=3.10.0'
>> --   Found gtk+-3.0, version 

Re: [GNC] Fwd: The two modules

2018-06-20 Thread nvsoar
Seems to me that I read recently that gwenhywfar is an AQ Banking 
package.  On the same google page is an entry that it can be downloaded 
from Source Forge.

nvsoar

On 06/20/18 13:17, Stephen M. Butler wrote:

Then I ran into this problem.  Researching.

I don't see 'gwenhywfar' listed on the installation page.  Attempting to
install says package not found.

$ cmake -D CMAKE_INStALL_PREFIX=/usr/local ../gnucash-3.1
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'glib-2.0>=2.40'
--   Found glib-2.0, version 2.56.1
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.56.1
-- Checking for module 'gobject-2.0>=2.20'$ cmake -D
CMAKE_INStALL_PREFIX=/usr/local ../gnucash-3.1
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'glib-2.0>=2.40'
--   Found glib-2.0, version 2.56.1
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.56.1
-- Checking for module 'gobject-2.0>=2.20'
--   Found gobject-2.0, version 2.56.1
-- Checking for module 'gmodule-2.0>=2.20'
--   Found gmodule-2.0, version 2.56.1
-- Checking for module 'gthread-2.0>=2.20'
--   Found gthread-2.0, version 2.56.1
-- Checking for module 'libxml-2.0>=2.7.0'
--   Found libxml-2.0, version 2.9.4
-- Checking for module 'libxslt'
--   Found libxslt, version 1.1.29
-- Checking for module 'webkit2gtk-4.0'
--   Found webkit2gtk-4.0, version 2.20.3
-- Checking for module 'gtk+-3.0>=3.10.0'
--   Found gtk+-3.0, version 3.22.30
-- Checking for module 'zlib'
--   Found zlib, version 1.2.11
-- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1",
minimum required is "0.19.6")
-- Using guile-2.0.x
-- Using guile SRFI-64
-- Checking for module 'gwenhywfar'
--   No package 'gwenhywfar' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415
(message):
   A required package was not found
Call Stack (most recent call first):
   /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593
(_pkg_check_modules_internal)
   common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
   CMakeLists.txt:347 (GNC_PKG_CHECK_MODULES)


-- Configuring incomplete, errors occurred!
See also "/home/steve/Projects/GnuCash/mybuild/CMakeFiles/CMakeOutput.log".

--   Found gobject-2.0, version 2.56.1
-- Checking for module 'gmodule-2.0>=2.20'
--   Found gmodule-2.0, version 2.56.1
-- Checking for module 'gthread-2.0>=2.20'
--   Found gthread-2.0, version 2.56.1
-- Checking for module 'libxml-2.0>=2.7.0'
--   Found libxml-2.0, version 2.9.4
-- Checking for module 'libxslt'
--   Found libxslt, version 1.1.29
-- Checking for module 'webkit2gtk-4.0'
--   Found webkit2gtk-4.0, version 2.20.3
-- Checking for module 'gtk+-3.0>=3.10.0'
--   Found gtk+-3.0, version 3.22.30
-- Checking for module 'zlib'
--   Found zlib, version 1.2.11
-- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1",
minimum required is "0.19.6")
-- Using guile-2.0.x
-- Using guile SRFI-64
-- Checking for module 'gwenhywfar'
--   No package 'gwenhywfar' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415
(message):
   A required package was not found
Call Stack (most recent call first):
   /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593
(_pkg_check_modules_internal)
   common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
   CMakeLists.txt:347 (GNC_PKG_CHECK_MODULES)


-- Configuring incomplete, errors occurred!
See also "/home/steve/Projects/GnuCash/mybuild/CMakeFiles/CMakeOutput.log".

Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

On 06/20/2018 12:34 PM, Stephen M. Butler wrote:

I decided to pull down the latest 

Re: [GNC] Fwd: The two modules

2018-06-20 Thread Stephen M. Butler
Then I ran into this problem.  Researching.

I don't see 'gwenhywfar' listed on the installation page.  Attempting to
install says package not found. 

$ cmake -D CMAKE_INStALL_PREFIX=/usr/local ../gnucash-3.1
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'glib-2.0>=2.40'
--   Found glib-2.0, version 2.56.1
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.56.1
-- Checking for module 'gobject-2.0>=2.20'$ cmake -D
CMAKE_INStALL_PREFIX=/usr/local ../gnucash-3.1
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'glib-2.0>=2.40'
--   Found glib-2.0, version 2.56.1
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.56.1
-- Checking for module 'gobject-2.0>=2.20'
--   Found gobject-2.0, version 2.56.1
-- Checking for module 'gmodule-2.0>=2.20'
--   Found gmodule-2.0, version 2.56.1
-- Checking for module 'gthread-2.0>=2.20'
--   Found gthread-2.0, version 2.56.1
-- Checking for module 'libxml-2.0>=2.7.0'
--   Found libxml-2.0, version 2.9.4
-- Checking for module 'libxslt'
--   Found libxslt, version 1.1.29
-- Checking for module 'webkit2gtk-4.0'
--   Found webkit2gtk-4.0, version 2.20.3
-- Checking for module 'gtk+-3.0>=3.10.0'
--   Found gtk+-3.0, version 3.22.30
-- Checking for module 'zlib'
--   Found zlib, version 1.2.11
-- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1",
minimum required is "0.19.6")
-- Using guile-2.0.x
-- Using guile SRFI-64
-- Checking for module 'gwenhywfar'
--   No package 'gwenhywfar' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415
(message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593
(_pkg_check_modules_internal)
  common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
  CMakeLists.txt:347 (GNC_PKG_CHECK_MODULES)


-- Configuring incomplete, errors occurred!
See also "/home/steve/Projects/GnuCash/mybuild/CMakeFiles/CMakeOutput.log".

--   Found gobject-2.0, version 2.56.1
-- Checking for module 'gmodule-2.0>=2.20'
--   Found gmodule-2.0, version 2.56.1
-- Checking for module 'gthread-2.0>=2.20'
--   Found gthread-2.0, version 2.56.1
-- Checking for module 'libxml-2.0>=2.7.0'
--   Found libxml-2.0, version 2.9.4
-- Checking for module 'libxslt'
--   Found libxslt, version 1.1.29
-- Checking for module 'webkit2gtk-4.0'
--   Found webkit2gtk-4.0, version 2.20.3
-- Checking for module 'gtk+-3.0>=3.10.0'
--   Found gtk+-3.0, version 3.22.30
-- Checking for module 'zlib'
--   Found zlib, version 1.2.11
-- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1",
minimum required is "0.19.6")
-- Using guile-2.0.x
-- Using guile SRFI-64
-- Checking for module 'gwenhywfar'
--   No package 'gwenhywfar' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415
(message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593
(_pkg_check_modules_internal)
  common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
  CMakeLists.txt:347 (GNC_PKG_CHECK_MODULES)


-- Configuring incomplete, errors occurred!
See also "/home/steve/Projects/GnuCash/mybuild/CMakeFiles/CMakeOutput.log".

Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

On 06/20/2018 12:34 PM, Stephen M. Butler wrote:
> I decided to pull down the latest version (I know a new one is coming in
> just a few days) to be sure I could compile it and utilize the latest
> versions of the reports for this mock company.
>
> But, I ran into a slight problem installing the packages 

Re: [GNC] Fwd: The two modules

2018-06-20 Thread Stephen M. Butler
I decided to pull down the latest version (I know a new one is coming in
just a few days) to be sure I could compile it and utilize the latest
versions of the reports for this mock company.

But, I ran into a slight problem installing the packages and hope I made
the right choice:  $ sudo apt-get install swig2.0
Reading package lists... Done
Building dependency tree  
Reading state information... Done
Package swig2.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  swig:i386 swig

E: Package 'swig2.0' has no installation candidate


$ sudo apt-get install swig
Reading package lists... Done
Building dependency tree  
Reading state information... Done
The following additional packages will be installed:
  swig3.0


Someone may wish to update the
https://wiki.gnucash.org/wiki/BuildUbuntu16.04 page I was following. 
I'm on Ubuntu 18.04.

--Steve

Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

On 06/18/2018 03:32 PM, Christopher Lam wrote:
<>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Re: [GNC] Updated to 3.1 - lost lots & report

2018-06-20 Thread Geert Janssens
Thanks for the response.

The trace indeed has no messages related to migration. In retrospect it 
couldn't have :(

The migration code itself runs before logging is set up. So any message 
printed during migration would be sent to the console, but on windows that is 
not available.

There are several other clues though the migration didn't run:
- no pop-up window summarizing the migration results
- missing saved report configurations
- warnings about missing .gcm file

I dug into the code and found I already fixed one issue that would prevent the 
migration right after the release of gnucash 3.1. Can you retry the procedure 
with a recent nightly build ? For example this one;
https://code.gnucash.org/builds/win32/maint/gnucash-3.1-2018-06-18-git-3.1-171-g1e3a44500+.setup.exe

Make a backup of your active gnucash book, install this version, move c:\Users
\\AppData\Roaming\GnuCash out of the way and start gnucash. Do you 
see a migration summary window in this case ?

Regards,

Geert


Op zondag 17 juni 2018 03:18:02 CEST schreef Ethan Swint:
> My response at bottom of post.
> 
> Message: 3
> Date: Sat, 16 Jun 2018 10:53:06 +0200
> From: Geert Janssens 
> To: gnucash-user@gnucash.org
> Cc: John Bonnett 
> Subject: Re: [GNC] Updated to 3.1 - lost lots & report
> Message-ID: <1761733.q6rmsms...@legolas.kobaltwit.lan>
> Content-Type: text/plain; charset="us-ascii"
> 
> Op donderdag 14 juni 2018 10:37:31 CEST schreef John Bonnett:
> > I found it at this path
> > 
> > "C:\Users\\.gnucash"
> 
> Gnucash 3.1 is supposed to migrate from this directory to
> c:\Users\\AppData\Roaming\GnuCash
> 
> I don't know why this didn't happen for you.
> 
> > in it I found this file
> > 
> > "C:\Users\\.gnucash\saved-reports-2.4"
> > 
> > which looked a bit suspicious. In it I found Scheme code for my missing
> > reports.
> > 
> > Another folder I found in my search was
> > 
> > "C:\Users\\AppData\Roaming\GnuCash"
> > 
> > Now this Roaming folder often holds configuration information on Windows.
> 
> It
> 
> > also had recently dated files in it so was probably related to my recent
> > installation of GnuCash 3.1.
> 
> This directory should be generated as part of the first-time run of gnucash
> 3.1.
> 
> Can you do an experiment to help evaluate the migration step ?
> Can you
> 1. quit gnucash if it's still running
> 2. rename
> "C:\Users\\AppData\Roaming\GnuCash"
> to
> "C:\Users\\AppData\Roaming\GnuCash.bkp"
> That moves it out of the way of gnucash.
> 3. Start gnucash
> => Does it report a migration of meta data ?
> 4. Quit gnucash
> 5. Locate the most recent trace file [1] and post it here.
> 
> > I copied the above mentioned saved reports file to
> > 
> > "C:\Users\\AppData\Roaming\GnuCash\saved-reports-2.4"
> > 
> > and next time I opened GnuCash my reports had returned.
> 
> Indeed. You manually completed the migration. I would like to figure out
> why
> this didn't happen in the first place.
> 
> Thanks,
> 
> Geert
> 
> ---
> 
> Geert -
> 
> Thanks for the suggestion - trace file contents below. I didn't see any
> note about migration of metadata, and Gnucash did not migrate my old
> reports or lots. The manual migration works, however. Thanks for the
> responses!
> 
> Regards,
> Ethan
> 
> 
> * 15:42:37  WARN  error reading group Page 12 key ShowUnused: Key
> file does not have key “ShowUnused” in group “Page 12”
> * 15:42:41  WARN  [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:42:41  WARN  [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:42:41  WARN  [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:42:41  WARN  [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:42:41  WARN  [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:43:59  CRIT  [gnc_state_save()] Error: Failure saving
> state file.
>   Cannot open file
> C:\Users\XX\AppData\Roaming\GnuCash\books\XXX.gnucash.gcm: No such
> file or directory
> * 15:43:59  CRIT  Cannot open file
> C:\Users\X\AppData\Roaming\GnuCash\expressions-2.0: No such file or
> directory
> * 15:43:59  WARN  Can't save style sheet
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.




___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see