Re: [GNC] new v3.0 install Ubuntu 18.04 LTS

2018-05-05 Thread Dennis Powless
Almost there but not quite. In which directory in your home directory
/home/dennis have you extracted the gnucash-3.1 directory from the tarball
gnucash-3.1.tar.bz2 which you downloaded. Can you tell me the full path to
that directory and the full path to the build-cmake directory you have
created?

I was told to extract it to the Applications folder, certainly, I can move
that to the home folder. I was never told or read to specify a location for
the build-cmake directory.  I'm not real sure where to place that.

Yes that path to the tarball file extracted is the Applications
 /home/dennis/Applications/gnucash-3.1
dennis@dennis:~/Applications$ ls
gnucash-3.1




Next chack that $HOME is defined, type echo $HOME into a shell/terminal. It
should return "/home/dennis".


yes it returned /home/dennis


With the "-DCMAKE_INSTALL_PREFIX=$HOME/.local/gnucash-3.1", the install
process will create the following directory structure:
/home/dennis/.local/gnucash-3.1/bin/gnucash
/home/dennis/.local/gnucash-3.1/etc/gnucash
/home/dennis/.local/gnucash-3.1/lib/gnucash
/home/dennis/.local/gnucash-3.1/share/gnucash

I was under the impression you had to identify the gnucash-3.1 in order for
the 'installer' to find it


It will also create those same four directories underneath a parent folder
for any other application you install with a similar prefix.

If you use the "-DCMAKE_INSTALL_PREFIX=$HOME/.local" as the install location
you will get the structure:
/home/dennis/.local/bin/gnucash
/home/dennis/.local/etc/gnucash
/home/dennis/.local/lib/gnucash
/home/dennis/.local/share/gnucash.

I certainly can use this one.



The latter is normally the preferred arrangement  as when other applications
are installed their files will also go in the same
/home/dennis/.local/bin
/home/dennis/.local/etc
/home/dennis/.local/lib
home/dennis/.local/share
directories.

Both of the above will work as if you want to uninstall Gnucash you issue
"make unistall" command in the build-cmake directory you created and that
uses the contents of a file "install_manifest.txt" which records the
locations in which the files were installed. The latter is the structure
that is normally used by most Linux developers in the system directories
/usr, /usr/local and /opt, so mirroring that makes it a little easier in
translating instructions that are written with a different base location in
mind.

CMake and make are different tools. CMake is a precompiler which checks that
any dependent libraries and headr files are installed and available for the
build system to use. It also creates in the build-cmake directory a parallel
structure to the source directories containing files named Makefile which
are used separately by the make tool to compile the program. It also
contains bin, etc, lib and share directories into which the compiled sources
are placed ready for installation.

Entering the "make" command in the shell/terminal starts the process of
building these directories within the build-cmake file.

The final command "make install" ( or sudo make install if you are
installing to a system location) copies these directories to the install
location specified by the -DCMAKE_INSTALL_PREFIX switch applied to the cmake
command.

In the camke command as you had it specified
"cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/gnucash-3.1 make"

"make" is not a legitimate part of the cmake command. It is a separate
command which follows the cmake command, as explained above. Instead of
make, you need in that position in the cmake command a path reference to the
guncash-3.1 directory. You will remember I aksed you above to tell me the
locations of it in your home directory structure. It may be something like
/home/dennis/Applications/gnucash-3.1. In this case you would simply use the
string "/home/dennis/Applications/gnucash-3.1" (without the quotes) where
you have "make" in the cmake command. That is known as an absolute reference
to the location of the gnucash source directory. That is probably the
easiest to use as relative path from the build-cmake location to the
gnucash-3.1 location can be a little more difficult to work out. Assuming
the above location(substitute the correct path if not) the cmake command
would be:

cmake -DCMAKE_INSTALL_PREFIX=/home/dennis/.local
/home/dennis/Applications/gnucash-3.1


I accidentally wrote the make at the end, I thought the make on the second
to last line was carried over from the previous




The problem with writing instructions is that you generally have to assume a
base level of knowledge on the part of the reader and unfortunately many of
us do not have the assumed base level when we first try something, myself
included. For the Gnucash User list, I think the assumed knowledge when it
comes to building the software itself would be something like (but it is not
clearly defined):

Knowledge of the operating system you are using;
Knowledge of its file system and structure;
Knowledge of navigating the above;
General familiararity with 

Re: [GNC] new v3.0 install Ubuntu 18.04 LTS

2018-05-05 Thread DaveC49
Hi Dennis,

Almost there but not quite. In which directory in your home directory
/home/dennis have you extracted the gnucash-3.1 directory from the tarball
gnucash-3.1.tar.bz2 which you downloaded. Can you tell me the full path to
that directory and the full path to the build-cmake directory you have
created? 

Next chack that $HOME is defined, type echo $HOME into a shell/terminal. It
should return "/home/dennis".

With the "-DCMAKE_INSTALL_PREFIX=$HOME/.local/gnucash-3.1", the install
process will create the following directory structure:
/home/dennis/.local/gnucash-3.1/bin/gnucash
/home/dennis/.local/gnucash-3.1/etc/gnucash
/home/dennis/.local/gnucash-3.1/lib/gnucash
/home/dennis/.local/gnucash-3.1/share/gnucash

It will also create those same four directories underneath a parent folder
for any other application you install with a similar prefix.

If you use the "-DCMAKE_INSTALL_PREFIX=$HOME/.local" as the install location
you will get the structure:
/home/dennis/.local/bin/gnucash
/home/dennis/.local/etc/gnucash
/home/dennis/.local/lib/gnucash
/home/dennis/.local/share/gnucash.

The latter is normally the preferred arrangement  as when other applications
are installed their files will also go in the same
/home/dennis/.local/bin
/home/dennis/.local/etc
/home/dennis/.local/lib
home/dennis/.local/share
directories. 

Both of the above will work as if you want to uninstall Gnucash you issue
"make unistall" command in the build-cmake directory you created and that
uses the contents of a file "install_manifest.txt" which records the
locations in which the files were installed. The latter is the structure
that is normally used by most Linux developers in the system directories
/usr, /usr/local and /opt, so mirroring that makes it a little easier in
translating instructions that are written with a different base location in
mind.

CMake and make are different tools. CMake is a precompiler which checks that
any dependent libraries and headr files are installed and available for the
build system to use. It also creates in the build-cmake directory a parallel
structure to the source directories containing files named Makefile which
are used separately by the make tool to compile the program. It also
contains bin, etc, lib and share directories into which the compiled sources
are placed ready for installation. 

Entering the "make" command in the shell/terminal starts the process of
building these directories within the build-cmake file.

The final command "make install" ( or sudo make install if you are
installing to a system location) copies these directories to the install
location specified by the -DCMAKE_INSTALL_PREFIX switch applied to the cmake
command.

In the camke command as you had it specified
"cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/gnucash-3.1 make"

"make" is not a legitimate part of the cmake command. It is a separate
command which follows the cmake command, as explained above. Instead of
make, you need in that position in the cmake command a path reference to the
guncash-3.1 directory. You will remember I aksed you above to tell me the
locations of it in your home directory structure. It may be something like
/home/dennis/Applications/gnucash-3.1. In this case you would simply use the
string "/home/dennis/Applications/gnucash-3.1" (without the quotes) where
you have "make" in the cmake command. That is known as an absolute reference
to the location of the gnucash source directory. That is probably the
easiest to use as relative path from the build-cmake location to the
gnucash-3.1 location can be a little more difficult to work out. Assuming
the above location(substitute the correct path if not) the cmake command
would be:

cmake -DCMAKE_INSTALL_PREFIX=/home/dennis/.local
/home/dennis/Applications/gnucash-3.1

The problem with writing instructions is that you generally have to assume a
base level of knowledge on the part of the reader and unfortunately many of
us do not have the assumed base level when we first try something, myself
included. For the Gnucash User list, I think the assumed knowledge when it
comes to building the software itself would be something like (but it is not
clearly defined):

Knowledge of the operating system you are using;
Knowledge of its file system and structure;
Knowledge of navigating the above;
General familiararity with building software for the OS and the tools used
to do it;

The transition to GnuCash 3.1 is a bit more difficult than usual as the
developers have made changes to how the software is built, introducing cmake
instead of the configure script used by the autotools system so that it is
more flexible and more easily maintained in the future. make itself is one
component of the autotools used for building software on Linux systems.  
Add to that that there are many varieties of Linux which are all evolving
along different paths with different sequential versions within each
variety. Each variety often has its own system tools with different names.

Re: [GNC] new v3.0 install Ubuntu 18.04 LTS

2018-05-05 Thread Dennis Powless
So, in my case

home/dennis
as my  is dennis, thusly home/dennis

I have this
$HOME/.local/

And this
$HOME/.local/share


So..  given the variables

I type >


mkdir build-cmake


cd build-cmake


cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/gnucash-3.1 make

make

sudo make install




I'll have to look at the directions again with the new information I have
now.  Sometimes the directions make sense to the author, often background
prerequisites are needed to understand the directions.


Thanks,

Dennis










On Fri, May 4, 2018 at 9:28 PM, DaveC49  wrote:

> Hi Dennis,
>
> I updated the BuildUbuntu16.04 page after having similar problems while
> building Gnucash3.0. My apologies for any errors and lack of clarity in a
> few areas and thanks for reporting the problems. I will edit the page to
> try
> and make some issues clearer as I or other users uncover my mistakes.
>
> $HOME is usually defined in Ubuntu and Linux Mint distributions as
> /home/ where  is the logged in user name. If you want to
> install
> in $HOME/.local/ you may need to check that these directories
> $HOME/.local/bin, $HOME/.local/etc, $HOME/.local/lib, $HOME/.local/share
> exist. This was John Ralls preference for an install for a single user to
> avoid creating bin, etc, lib and share directories directly in the users
> home directories. The use of a hidden directory avoids these appearing in
> by
> default  and cluttering up your file browser (unless you enable  hidden
> directories).
>
> The correct option switch for Cmake is
>
> -DCMAKE_INSTALL_PREFIX=$HOME/.local.
>
> My understanding is that the default value for this switch is /usr/local
> and
> if you use cmake without the switch at all that is where it will install.
> This along with /opt is the location most Linux distributors place their
> packaged versions of applications like GnuCash in. In these locations
> GnuCash would be available to all users with accounts on the computer and
> not just the user installing it, but this requires administrator privileges
> during installation. The distributors versions are often considerably out
> of
> date which is the primary reason for building GnuCash yourself. If you use
> the Software Manager or apt to install the Ubuntu distribution version for
> example, it will overwrite your up to date built version if it is in this
> location. I use this location, but I take care not to install the packaged
> version from Linux MInt. (I have done so in the past while getting more
> familiar with Linux, distributions , repositories etc.).
>
> I have tried to fix the issues with the build instructions. I would
> appreciate any comment on the changes to see if they have clarified the
> issues you had.
>
> Cheers
>
> David
>
>
>
>
>
> -
> David Cousens
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> ___
> 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 
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] help setting accounts to track contributions

2018-05-05 Thread Adrien Monteleone
   I would think, for the OPs original purpose, a variation of something
   like what is described here:
   https://wiki.gnucash.org/wiki/Using_GnuCash#GnuCash_on_Holidays_with_yo
   ur_friend, would be the easiest to implement and keep up with—no income
   considerations at all.
   Regards,
   Adrien

 On May 5, 2018, at 8:06 AM, Mike or Penny Novack
  wrote:
 On 5/4/2018 9:24 AM, Matthew Pounsett wrote:

 This doesn't sound straightforward at all.  What's complicated about
 treating joint contributions to the household coffers as "income" to
 the household?  Treating that income as ever-increasing equity would
 confuse P and cashflow calculations, wouldn't it?

 AS DESCRIBED this apartment/house partnership has no income. The P
 report not so strange if you consider some of the alternative names
 for this report that not or profit entities use. Thus "Income and
 Expenses" except that as described, no income.
 BUT --- there COULD be income. Let's say that this were a house or
 large apartment, and in addition to the partners living there and
 sharing expenses they sometimes rented out a room to a non-partner.
 THAT would be income to the partnership.
 BTW -- there might be other, actual business partnerships, even ones
 intended to make a profit, that initially and perhaps for some time
 would have no income. Imagine a partnership that came together for
 the purpose of buying some real estate with currently un-inhabitable
 buildings, fixing this up, and later selling it for a profit. Could
 be a project that took a couple of years to complete. Do you not see
 that pretty much until the end there would be no income?
 Michael D Novack
 ___
 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 
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] ofx/qfx import to V3

2018-05-05 Thread Geert Janssens


dekenb...@netscape.net schreef op 28 april 2018 22:31:10 CEST:
>
> David,
>Thanks!
>I was able to get and install the April 28 build.
>(https://code.gnucash.org/builds/win32/maint/gnucash-3.0-2018-04-28-git-3.0-116-gb761b5a0d+.setup.exe)
>Avast AV doesn't like either the installer or the installed executable
>to begin with but satisfies itself that both are malware free.
>
>This version does import a QFX file, however I did still see some
>issues:
>- the "Select an OFX/QFX file to process" dialog box had no apparent
>means of browsing to the file, nor of entering any sort of path to the
>file.  It did open the last location I imported from. So, to test, I
>moved the current import to that location - no problem.

This is indeed a new issue on Windows:
https://bugzilla.gnome.org/show_bug.cgi?id=795653

>- the import process seemed to be less adept at matching transactions
>than it has been previously, though without going back and testing a
>previous version I can't be completely certain.  However, I've been
>using Gnucash and this feature in particular for a long time and I'm
>pretty sure.  (I just went to check how long by opening an old Gnucash
>archive - the "File/Open" dialog box also does not allow browsing to
>another directory or entry of a path) (opened the oldest gnucash file I
>have available.  I've been using it since at least 2007 and this is the
>first issue I've experienced - huge thank you to all that have made
>that possible!)
>

There have been a few reports of this recently. Can you please open a bugreport 
at https://bugzilla.gnome.org with your findings so we can track this ? 

>- I believe that a couple of transactions that were matched were also
>duplicated in the register.  The file auto-saved so I can't readily
>back out the changes to confirm this...

You can mention this as well in the report though I don't know if this is 
related.

Geert

Sent from my smartphone. Please excuse my brevity.
___
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] locale setting

2018-05-05 Thread Jose Lello
Hi Frank,

Thank you for answering. I couldn't find newer version in repositories,
so I'll have to refresh my memory how to install from source when I'll
have some time available. I think this is the best path to fix things
and I'll let you know how it went.

Thanks again. Best regards,

José



On 05/05/2018 01:45 PM, Frank H. Ellenberger wrote:
> Hello Jose,
>
> Am 02.05.2018 um 23:22 schrieb Jose Lello:
>> GnuCash 2.6.12 - rev ed11f6d+ on 2016-04-18
>>
>> Linux Mint 18.3 Sylvia
> You should search for a more recent version because you are missing two
> years of bug fixing.
>
>> Instead of the euro simbol, I get ???. I tried:
>>
>> ~$ LANG=en_GB.UTF-8 LANGUAGE=en_GB.UTF8 LC_ALL=en_GB.UTF-8 /usr/bin/gnucash
>
>> (process:18886): GLib-CRITICAL **: g_setenv: assertion 'value != NULL'
>> failed
>>
>> (process:18886): gnc.core-utils-WARNING **: Couldn't properly override
>> environment variable "LANGUAGE". This may lead to unexpected results
> Something went wrong here.
> Are the respective language packages installed?
>
>> Traceback (most recent call last):
>>   File "/usr/share/gnucash/python/init.py", line 3, in 
>>     from gnucash import *
>> ImportError: No module named gnucash
>> Found Finance::Quote version 1.38
>> [PIPELIGHT:LIN:unknown] attached to process.
>> [PIPELIGHT:LIN:unknown] checking environment variable
>> PIPELIGHT_SILVERLIGHT5_1_CONFIG.
>> [PIPELIGHT:LIN:unknown] searching for config file pipelight-silverlight5.1.
>> [PIPELIGHT:LIN:unknown] trying to load config file from
>> '/home/jlello/.config/pipelight-silverlight5.1'.
>> [PIPELIGHT:LIN:unknown] trying to load config file from
>> '/etc/pipelight-silverlight5.1'.
>> [PIPELIGHT:LIN:unknown] trying to load config file from
>> '/usr/share/pipelight/configs/pipelight-silverlight5.1'.
>> [PIPELIGHT:LIN:unknown] sandbox not found or not installed!
>> [PIPELIGHT:LIN:silverlight5.1] using wine prefix directory
>> /home/jlello/.wine-pipelight.
>> [PIPELIGHT:LIN:silverlight5.1] checking plugin installation - this might
>> take some time.
>> [install-dependency] wine-silverlight5.1-installer is already installed
>> in '/home/jlello/.wine-pipelight'.
>> [install-dependency] wine-mpg2splt-installer is already installed in
>> '/home/jlello/.wine-pipelight'.
>> fixme:winediag:start_process Wine Staging 1.9.7 is a testing version
>> containing experimental patches.
>> fixme:winediag:start_process Please mention your exact version when
>> filing bug reports on winehq.org.
>> wine: DLL not found.
>> err:wineboot:ProcessRunKeys Error running cmd
>> L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (1157)
>> [PIPELIGHT:WIN:silverlight5.1] embedded mode is on.
>> [PIPELIGHT:WIN:silverlight5.1] windowless mode   is off.
>> [PIPELIGHT:WIN:silverlight5.1] linux windowless mode is off.
>> [PIPELIGHT:WIN:silverlight5.1] force SetWindow   is off.
>> [PIPELIGHT:WIN:silverlight5.1] window class hook is on.
>> [PIPELIGHT:WIN:silverlight5.1] strict draw ordering  is off.
>> [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExA.
>> [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExW.
>> [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenuEx.
>> [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenu.
>> fixme:ntdll:EtwRegisterTraceGuidsW (0x7b8d21a7, 0x7b970120,
>> {aa087e0e-0b35-4e28-8f3a-440c3f51eef1}, 1, 0x71f478, (null), (null),
>> 0x7b970120): stub
>> fixme:ntdll:EtwRegisterTraceGuidsW   register trace class
>> {aa087e0e-0b35-4e28-8f3a-440c3f51eef1}
>> [PIPELIGHT:WIN:silverlight5.1] init successful!
>> [PIPELIGHT:WIN:silverlight5.1] OpenGL Vendor: Intel Open Source
>> Technology Center
>> [PIPELIGHT:WIN:silverlight5.1] OpenGL Renderer: Mesa DRI Intel(R) 965GM
>> x86/MMX/SSE2
>> [PIPELIGHT:WIN:silverlight5.1] Your GPU is in the whitelist, hardware
>> acceleration should work.
>> [PIPELIGHT:LIN:silverlight5.1] using thread asynccall event handling.
>> openjdk version "1.8.0_162"
>> OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-0ubuntu0.16.04.2-b12)
>> OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)
>> ^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
>> fixme:advapi:UnregisterTraceGuids deadbeef: stub
> I don't know, why PIPELIGHT, wine, ntdll ... apear here. AFAIK they are
> not related to gnucash
>
>> ---
>>
>> An instance of GnuCash opened with the problem fixed, but opening
>> GnuCash from the Menu showed the same problem again
> To get the settings in the instance started by the menu, you need to
> adjust the gnucash.desktop or preferred the gnucash environment file.
>
>> Thank you,
>>
>> José
> Regards
> Frank

___
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 

Re: [GNC] help setting accounts to track contributions

2018-05-05 Thread Mike or Penny Novack

On 5/4/2018 9:24 AM, Matthew Pounsett wrote:







This doesn't sound straightforward at all.  What's complicated about 
treating joint contributions to the household coffers as "income" to 
the household?  Treating that income as ever-increasing equity would 
confuse P and cashflow calculations, wouldn't it?


AS DESCRIBED this apartment/house partnership has no income. The P 
report not so strange if you consider some of the alternative names for 
this report that not or profit entities use. Thus "Income and Expenses" 
except that as described, no income.


BUT --- there COULD be income. Let's say that this were a house or large 
apartment, and in addition to the partners living there and sharing 
expenses they sometimes rented out a room to a non-partner. THAT would 
be income to the partnership.


BTW -- there might be other, actual business partnerships, even ones 
intended to make a profit, that initially and perhaps for some time 
would have no income. Imagine a partnership that came together for the 
purpose of buying some real estate with currently un-inhabitable 
buildings, fixing this up, and later selling it for a profit. Could be a 
project that took a couple of years to complete. Do you not see that 
pretty much until the end there would be no income?


Michael D Novack
___
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] locale setting

2018-05-05 Thread Frank H. Ellenberger
Hello Jose,

Am 02.05.2018 um 23:22 schrieb Jose Lello:
> GnuCash 2.6.12 - rev ed11f6d+ on 2016-04-18
> 
> Linux Mint 18.3 Sylvia

You should search for a more recent version because you are missing two
years of bug fixing.

> Instead of the euro simbol, I get ???. I tried:
> 
> ~$ LANG=en_GB.UTF-8 LANGUAGE=en_GB.UTF8 LC_ALL=en_GB.UTF-8 /usr/bin/gnucash


> (process:18886): GLib-CRITICAL **: g_setenv: assertion 'value != NULL'
> failed
> 
> (process:18886): gnc.core-utils-WARNING **: Couldn't properly override
> environment variable "LANGUAGE". This may lead to unexpected results

Something went wrong here.
Are the respective language packages installed?

> Traceback (most recent call last):
>   File "/usr/share/gnucash/python/init.py", line 3, in 
>     from gnucash import *
> ImportError: No module named gnucash
> Found Finance::Quote version 1.38
> [PIPELIGHT:LIN:unknown] attached to process.
> [PIPELIGHT:LIN:unknown] checking environment variable
> PIPELIGHT_SILVERLIGHT5_1_CONFIG.
> [PIPELIGHT:LIN:unknown] searching for config file pipelight-silverlight5.1.
> [PIPELIGHT:LIN:unknown] trying to load config file from
> '/home/jlello/.config/pipelight-silverlight5.1'.
> [PIPELIGHT:LIN:unknown] trying to load config file from
> '/etc/pipelight-silverlight5.1'.
> [PIPELIGHT:LIN:unknown] trying to load config file from
> '/usr/share/pipelight/configs/pipelight-silverlight5.1'.
> [PIPELIGHT:LIN:unknown] sandbox not found or not installed!
> [PIPELIGHT:LIN:silverlight5.1] using wine prefix directory
> /home/jlello/.wine-pipelight.
> [PIPELIGHT:LIN:silverlight5.1] checking plugin installation - this might
> take some time.
> [install-dependency] wine-silverlight5.1-installer is already installed
> in '/home/jlello/.wine-pipelight'.
> [install-dependency] wine-mpg2splt-installer is already installed in
> '/home/jlello/.wine-pipelight'.
> fixme:winediag:start_process Wine Staging 1.9.7 is a testing version
> containing experimental patches.
> fixme:winediag:start_process Please mention your exact version when
> filing bug reports on winehq.org.
> wine: DLL not found.
> err:wineboot:ProcessRunKeys Error running cmd
> L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (1157)
> [PIPELIGHT:WIN:silverlight5.1] embedded mode is on.
> [PIPELIGHT:WIN:silverlight5.1] windowless mode   is off.
> [PIPELIGHT:WIN:silverlight5.1] linux windowless mode is off.
> [PIPELIGHT:WIN:silverlight5.1] force SetWindow   is off.
> [PIPELIGHT:WIN:silverlight5.1] window class hook is on.
> [PIPELIGHT:WIN:silverlight5.1] strict draw ordering  is off.
> [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExA.
> [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExW.
> [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenuEx.
> [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenu.
> fixme:ntdll:EtwRegisterTraceGuidsW (0x7b8d21a7, 0x7b970120,
> {aa087e0e-0b35-4e28-8f3a-440c3f51eef1}, 1, 0x71f478, (null), (null),
> 0x7b970120): stub
> fixme:ntdll:EtwRegisterTraceGuidsW   register trace class
> {aa087e0e-0b35-4e28-8f3a-440c3f51eef1}
> [PIPELIGHT:WIN:silverlight5.1] init successful!
> [PIPELIGHT:WIN:silverlight5.1] OpenGL Vendor: Intel Open Source
> Technology Center
> [PIPELIGHT:WIN:silverlight5.1] OpenGL Renderer: Mesa DRI Intel(R) 965GM
> x86/MMX/SSE2
> [PIPELIGHT:WIN:silverlight5.1] Your GPU is in the whitelist, hardware
> acceleration should work.
> [PIPELIGHT:LIN:silverlight5.1] using thread asynccall event handling.
> openjdk version "1.8.0_162"
> OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-0ubuntu0.16.04.2-b12)
> OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)
> ^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
> fixme:advapi:UnregisterTraceGuids deadbeef: stub

I don't know, why PIPELIGHT, wine, ntdll ... apear here. AFAIK they are
not related to gnucash

> ---
> 
> An instance of GnuCash opened with the problem fixed, but opening
> GnuCash from the Menu showed the same problem again

To get the settings in the instance started by the menu, you need to
adjust the gnucash.desktop or preferred the gnucash environment file.

> Thank you,
> 
> José

Regards
Frank
___
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] new v3.0 install Ubuntu 18.04 LTS

2018-05-05 Thread DaveC49
Hi Dennis,

I updated the BuildUbuntu16.04 page after having similar problems while
building Gnucash3.0. My apologies for any errors and lack of clarity in a
few areas and thanks for reporting the problems. I will edit the page to try
and make some issues clearer as I or other users uncover my mistakes.

$HOME is usually defined in Ubuntu and Linux Mint distributions as
/home/ where  is the logged in user name. If you want to install
in $HOME/.local/ you may need to check that these directories
$HOME/.local/bin, $HOME/.local/etc, $HOME/.local/lib, $HOME/.local/share
exist. This was John Ralls preference for an install for a single user to
avoid creating bin, etc, lib and share directories directly in the users
home directories. The use of a hidden directory avoids these appearing in by
default  and cluttering up your file browser (unless you enable  hidden
directories).

The correct option switch for Cmake is

-DCMAKE_INSTALL_PREFIX=$HOME/.local.

My understanding is that the default value for this switch is /usr/local and
if you use cmake without the switch at all that is where it will install.
This along with /opt is the location most Linux distributors place their
packaged versions of applications like GnuCash in. In these locations
GnuCash would be available to all users with accounts on the computer and
not just the user installing it, but this requires administrator privileges
during installation. The distributors versions are often considerably out of
date which is the primary reason for building GnuCash yourself. If you use
the Software Manager or apt to install the Ubuntu distribution version for
example, it will overwrite your up to date built version if it is in this
location. I use this location, but I take care not to install the packaged
version from Linux MInt. (I have done so in the past while getting more
familiar with Linux, distributions , repositories etc.).

I have tried to fix the issues with the build instructions. I would
appreciate any comment on the changes to see if they have clarified the
issues you had. 

Cheers

David





-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
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] new v3.0 install Ubuntu 18.04 LTS

2018-05-05 Thread DaveC49
Hi Dennis,

I recently updated the Ubuntu 16.04 build instructions so I am glad to get
your feedback on issues which may be unclear and any errors I may have
incorporated. I will try to modify the instructions to make it clearer and
eliminate errors. If you find any issues that are specific to Ubuntu 18.04
please flag them as I am running Linux Mint based on 16.04 and I will add
them as specific notes for 18.04. I started this after my own difficulties
building Gnucash 3.0 from the original page. I have added a couple of
breakout pages which give more detail about the build directory location. I
noted that there is an inconsistency between the notation in the main page
and the breakout page re using  in two contexts so I will fix that. 

There is a breakoutpage also listing the CMAKE option switches.
Unfortunately you do have to type the whole CMAKE_INSTALL_PREFIX=... .
Fortunately most of the option defaults are sensible. I think for
CMAKE_INSTALL_PREFIX the default is /usr/local so if you use the command
without  that switch it should install in that location. 

$HOME is usually defined as /home/ where  is the logged in
username.
Adding the $HOME/.local/bin is best done with 

$export PATH=$PATH:$HOME/.local/bin. My apologies I copied that from another
page and stuffed it up.  This only changes the PATH variable as defined in
the currently open terminal/shell. To make the changes permanent, they
should be included in either the .profile file or the .bashrc file in your
home directory. 

Cheers

David




-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
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.