Re: [GNC] Notes (few other) fields should be editable even after posting invoice

2019-10-18 Thread Amish

Hi,

Thank you very much for merging the PR.

On a side note, any idea why the following is being done?

Source: gnucash/gnome/dialog-invoice.c

1921: gtk_widget_set_sensitive (iw->id_entry, FALSE); /* XXX: why set 
FALSE and then TRUE? */

1922: gtk_widget_set_sensitive (iw->id_entry, TRUE);

It is first set to FALSE and then set to TRUE? (I had put XXX note in my PR)

Also may be you can change a note on line like this:

- 1919: /* Setup viewer for read-only access*/
+ 1919: /* Setup viewer for read-only access. Allow editing of notes and 
some other items*/


Thanks and regards,

Amish.

On 18/10/19 2:28 am, Geert Janssens wrote:

Hi,

I agree unconditionally on the notes field.

And I can see how being able to pull up job or customer/vendor details
directly from the invoice window could be a big time saver.

So I have merged your PR to revert the read-only status of these three fields
as I find the old behavior's use case is stronger than the current behavior's
one.

Having said that, I believe we can do much better still in the user interface
area. I had made a few suggestions in bug 797168, but currently have other
priorities. So for now this will have to do.

Best regards,

Geert

Op maandag 14 oktober 2019 15:08:55 CEST schreef Amish:

Hello,

There was this fix implemented in Gnucash which inadvertently created
issue for me.

This was the bug report which was marked RESOLVED FIXED.
https://bugs.gnucash.org/show_bug.cgi?id=797168

But this fix created issue with respect to my GST filing and tracking.
So I counter opened a bug report last month to fix this, by partially
reverting it.
https://bugs.gnucash.org/show_bug.cgi?id=797400

I also created pull request on Github for the same:
https://github.com/Gnucash/gnucash/pull/580

Its been one month but since bug report or PR are not reviewed and my
GST tracking is affected completely. Hence I am posting the same here in
mailing list.

Here is copy-paste of the description from the bug report that I had filed.

Before Gnucash 3.6, I used to track customer/vendor conversations/issues
OR GST related and other important points via Notes field of invoice / bill.

Now since Gnucash 3.6 these fields are no more editable, unless I unpost
the bill.

This does not make sense. Why cant I add notes after bill was posted? It
does not cause any harm in invoice values. So locking the field is
unnecessary.

It was so helpful for GST (India) tracking too.

Once I report the invoice to Government portal, I would simply add
#GSTFILED in Notes. Similarly when my vendors upload their invoices
(where I am buyer), I would mark those bills as #GSTMATCHED too.

Anytime in future if I wanted to check if there is any invoice / bill
that is not reported by me (or by my vendor) - I would simply "Find bill
/ invoice" where notes did not contain #GSTFILED or #GSTMATCHED

This made tracking of my GST returns and GST government filing very easy.

But now that Notes field is un-editable... every time I have to unpost
the invoice / bill and add note and then post the invoice / bill again.
(messing up customer payment too). This is not really needed.

Similarly under "Billing information"  - Edit button under Customer /
Vendor was clickable. This "Edit" also does not affect actual Invoice OR
bill values. But it helped me find GST number, Phone numbers, Email
address (and other details) of Customer / Vendor easily and instantly.

Otherwise just to find customer detail - I have to go all the way to
Customers Overview - Search customer, right click and then Edit.
(unnecessary three or more clicks and scrolling of screen)

Since Notes field and Edit customer under posted Invoice / bill - does
not change anything related to Invoice or bill values.. they should be
made Editable. So that adding notes (after posting) becomes easy and
obtaining customer information is also fast.

Please re-consider the change and make them editable again. Otherwise it
handicaps few nice features.

Please review PR, the link is given above.

Thank you,

Amish.

___
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] Understanding Transaction Report options

2019-10-18 Thread David Cousens
George,

In the QIF import process, there is a step at which you can map the Quicken
Accounts onto the GnuCash accounts. The Quicken Expense and Income
categories should automatically be assigned as sub accounts of the GnuCash
top level Income and Expense accounts.
(https://www.gnucash.org/docs/v3/C/gnucash-help/trans-import.html). The
Asset and Liability and any of the created accounts should be able to be
renamed and/or reassigned at this point by double clicking on the rows to
bring up an account selection dialog.  The current documentation is not too
expansive about this though.  It has been rewritten recently but won't make
it into the docs until v4.

The Account tab features can usually be accessed while you are in the middle
of the import process and you can create new accounts from this even while
the import is in process if you need to. The accounts can usually be readily
reorganized/renamed after the importing as required. If you try to delete an
account with transactions into it GnuCash will usually ask if you wish to
reassign them to another account.

Rather than hiding accounts in the longer term you could also reorganize the
existing records into a new account structure that meets your current needs.

David Cousens



-
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] Relocating user specific application data to another directory

2019-10-18 Thread Geert Janssens
Op zondag 29 september 2019 13:11:30 CEST schreef mark101:
> Hi Geert
> 
> Since my last post, and after scouring the forums, I've had some success.
> 
> I found that the following syntax worked in relocating my user data/config
> files to: C:\Users\Mark\AppData\Roaming\GnuCash\GnuCash
> GNC_DATA_HOME={Appdata}/Gnucash/GnuCash
> GNC_CONFIG_HOME={Appdata}/Gnucash/GnuCash
> Here's the enviroment.local file   environment.local
> 
> 
> 
> I also found that this syntax worked in relocating my user data/config files
> to: C:\Users\Mark\OneDrive\Documents\Gnucash_data\GnuCash
> GNC_DATA_HOME=C:/Users/Mark/OneDrive/Documents/Gnucash_data/GnuCash
> GNC_CONFIG_HOME=C:/Users/Mark/OneDrive/Documents/Gnucash_data/GnuCash
> Here's the enviroment.local fileenvironment.local
> 
> 
> 
> Whilst the syntax worked, do you have any suggestions on how this syntax may
> be simplified/improved or references/links to help my understanding of it?
> 
Hi Mark,

I'm glad it worked.

I'm not sure what you mean by "how this syntax may be simplified/improved".

As for references, the file format is based on GLib's Key File format
https://developer.gnome.org/glib/stable/glib-Key-value-file-parser.html#glib-Key-value-file-parser.description

It's simplified in that it won't use translated strings and GnuCash will 
currently only interpret values in a "Variables" section.

Other than that, as the variables should be able to depend on system 
environment variables, we have added a simple syntax extension to include the 
names for system environment variables. Any bit of text enclosed in { and }
is interpreted as a system environment variable and will be expanded to the 
value of that variable. On Windows there's the variable APPDATA (or appdata is 
it's case insensitive). This variable is set by default by the system, and on 
your system with user Mark will be set to
C:\Users\Mark\AppData\Roaming

Other variables could be used in the same way as well if they exist and make 
sense. You'll find examples in the environment file itself, including a short 
intro on what this file does and how to use it.

Note also that file paths on Windows can use either \ or / as path separator.
So as far as Windows is concerned
C:\Users\Mark\AppData\Roaming\GnuCash\GnuCash
and
C:/Users/Mark/AppData/Roaming/GnuCash/GnuCash
are the same directory.

And you can use either format in the environment file as well with one 
important caveat: \ acts as escape character for the key file parser. So if 
you want to use \ as path separator, you'll need to use its escaped form \\. 
That is explained in the link I have pasted above as well.
So in the environment file these two are equivalent and both refer to 
C:\Users\Mark\AppData\Roaming\GnuCash\GnuCash

* GNC_DATA_HOME={Appdata}\\Gnucash\\GnuCash
* GNC_DATA_HOME={Appdata}/Gnucash/GnuCash

Hope that helps,

Geert


___
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] Understanding Transaction Report options

2019-10-18 Thread Liz
On Fri, 18 Oct 2019 02:34:18 -0500 (CDT)
David Cousens  wrote:

> Rather than hiding accounts in the longer term you could also
> reorganize the existing records into a new account structure that
> meets your current needs.

Just bear in mind that you can move accounts around and back again if
you got it wrong.
If you have something under the wrong type eg an Asset account as a
Liability, you need some extra tricks to move it. Just coome back here
and ask.

Liz
___
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] Font problem

2019-10-18 Thread Paul de Vries
On 17 Oct 2019, at 20:28, Adrien Monteleone  
wrote:

> So not a bad font after all, hmm…


>> I do accounting for all my family members, they each have different logo's 
>> etc> I made personal modifications to a copy of these reports. no problem at 
>> all.
> 
> But did you specify a custom or modified stylesheet for those reports?

I specified  a dedicated css in Tax Invoice/Options/Display/CSS stylesheet file.


> What is the stylesheet assigned to the invoice report in Options > General?

Stylesheet>Default.

> What is the font assignment for non-headings in Edit > Style Sheets > Default?

All are None, only font sizes. I didn't change it.


> Are headings assigned the same font?

Same as Edit/Style Sheets/default.

>>> I’m not clear what you mean by ‘error messages, etc.’ Dialogs are 
>>> controlled by the UI and that *should* be affected by a `*` CSS selector. 
>>> (though GTK3 CSS doesn’t always play nice like web CSS)
>> 
>> I have a new screenshot: https://imgur.com/a/JW2kTrh
>> It shows my css-specified font menlo but the error message has the same 
>> problem font.
> 
> *Where* are you specifying ‘menlo’?

HOME/Library/Application Support/GnuCash/gtk-3.0.css 
HOME/Library/Application Support/GnuCash/config/gtk-3.0/gtk.css
(No difference between them).

> If in the gtk CSS file, that will *only* affect the UI, so the toolbar, the 
> tabs, and the content of the CoA and the Register.
> 
> It *will not* affect reports - so you are seeing two different fonts on the 
> screen in that shot. (and a third - the system font in the window’s title bar)
> 
> That screenshot I presume also is an example of what you mean by ‘error 
> messages.’ While it does function that way, the message is printed out as 
> text of the report. (essentially it is a report with an error message rather 
> than your data) But that is different than a pop-up dialog error message. 
> (which *would* be affected by the gtk CSS file)
> 
> That screenshot then is affected by the assigned report stylesheet, which is 
> at least – ‘default’, if you haven’t changed it. (see above questions on 
> stylesheets)

And since I didn't change any css setting, it would be the default font.
And we don't know what the default font is …

___
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] GnuCash v2.6.19-1 has started freezing on Ubuntu 18.04 after a recent system update

2019-10-18 Thread Tommy Trussell
On Thu, Oct 17, 2019 at 10:14 PM Parke  wrote:

> On Thu, Oct 17, 2019 at 1:03 PM Tommy Trussell 
> wrote:
>
> > I haven't launched GnuCash today, but my Bionic 18.04 LTS
> > system with 3Gb RAM has not been freezing.
>
> The freeze does not affect the entire system.  Only the GnuCash
> process (and/or its X window) freezes.
>
>
I apologize; I was too terse. I have not had GnuCash 2.6.19 freeze on my
Ubuntu Bionic 18.04 system (fully updated). Yesterday I opened two of my
seven active GnuCash books without error.


> > Before going farther on the diagnostics, has the OP tried creating a new
> > data file?
>
> I have not created a new, fresh data file.
>
> I do not know how to quickly reproduce a freeze.  Unfortunately,
> therefore, I do not have the time to pursue investigating this issue.
>

Whatever you do, be sure to keep your file backups. You may need them!

I vaguely recall a bug from years ago that affected GnuCash files with some
particular exact byte sizes. I cannot find it so I presume it was PROBABLY
fixed well before 2.6.19. If that were the bug you were experiencing then
the upgrade would fix it.

All that said -- because this freeze is not being widely experienced I
would first suspect something in your PARTICULAR environment. Again this
MIGHT be fixed in an upgrade because whatever crufty files have accumulated
might get blown away in the upgrade.

If you have not yet done the upgrade, remember to get from 18.04 to 19.10
you are supposed to first upgrade to 18.10 and then 19.04 and then 19.10.
Alternatively you could do a "clean install" of 19.10 rather than an
upgrade. But whatever you do go back to my earlier point above -- keep your
current and previous data backups until you know things are working OK.

Good luck! I know on my old system it takes me many hours to finish an OS
upgrade because I have old hardware and I have to find the latest tricks to
get the old scanner and printer and etc. working. That's the main reason I
stick with LTS releases on it. At some point (soon?) I'll probably ditch
the old CPU because nowadays 3Gb doesn't go so far. But it still works...

That reminds me it's time to make a data backup and carry it to my off-site
lockbox.

P.S.: It's easy to get the latest GnuCash package to compile on Bionic.
Maybe I'll post it as a separate message.
___
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.


[GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-18 Thread Tommy Trussell
I requested an "official" backport of GnuCash 3.7. If it gets a sponsor it
should quickly become available to Bionic as well as all the distros that
use it (such as Mint).

https://bugs.launchpad.net/bionic-backports/+bug/1847547

If you're registered on Launchpad and want to have an official backport,
please click the "pencil" below the bug number at the top and indicate
"This bug affects me" to vote for it.

IN THE MEANTIME, if you urgently want 3.7 on your system, here's a
procedure that worked for me. I apologize if I've omitted any steps.
(Likely! Please let me know.)

REQUIREMENTS
An Ubuntu Bionic (or derived) installation with bionic-backports activated
and the source code lines activated. To verify, open the Software and
Updates tool, and look in the Ubuntu Software tab to activate "Source code"
and the Updates tab to verify "bionic-backports" is active. Close the
Software & Updates window and let it update the cache.

PROCEDURE

1) Install the needed development files.

  $ sudo apt install build-essentials devscripts
  $ sudo apt build-dep gnucash
  $ sudo apt install debhelper/bionic-backports

(The first command should pull in lots of packages needed for building
sortware. The second should bring in lots more specific packages for
building GnuCash. The last command pulls an upgraded version of debhelper
from the backports repository.)

2) Create a source directory

  $ mkdir bionic37
  $ cd bionic37

3) Get the latest Ubuntu package.

  $ dget
http://archive.ubuntu.com/ubuntu/pool/universe/g/gnucash/gnucash_3.7-1ubuntu1.dsc

If the link above "breaks" in this email, get the correct link from the
"Download Gnucash" section here:
https://packages.ubuntu.com/source/eoan/gnucash

3b) Move into the directory created by dget from the source package

  $ cd gnucash-3.7

4) Comment out a build flag line in debian/rules so the package will build
in Bionic.

  $ sed -i 's/export DEB_CXXFLAGS/#export DEB_CXXFLAGS/' debian/rules

5) Make this your custom version (so any "official" release should
supersede it).

  $ dch --nmu

5b) Edit the version at the top so it reads something like:

  gnucash (1:3.7-1ubuntu18.04~1)

5c) Add a comment under your name and email in the first comment saying
something like:

  "Commented out DEB_CXXFLAGS instruction in debian/rules"

5d) Save and exit the editor.

6) Build the package.

  $ dpkg-buildpackage

(NOTE: this takes many minutes. At the end there should be a line saying
the build "completed.")

7) Once the build has completed, you will see the package files in the
bionic37 directory, ready to install.

  $ cd ..
  [to the directory you created in step 2]

  $ sudo dpkg -i *.deb *.ddeb

  $ sudo apt install -f

The dpkg -i command above attempts to install gnucash .deb files (and the
optional .ddeb debugging files). In a fresh installation, "dpkg -i" may
fail because of missing dependencies, so the "apt install -f" command will
install the missing dependencies and finish installing gnucash.
___
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.


[GNC] Build error ver 3.7 on mint 19.2

2019-10-18 Thread NOSTOP
nostop@tutanota.comGreetings!I'm trying to build on mint 19.2.I ran David
Cousens Script to get libs, dependencies, etc for a build of ver 3.7.
Confirmed all were successful.Running
:~/Applications_building/gnucash-3.7/gnucash-build$ cmake -GNinja
-DCMAKE_INSTALL_PREFIX=/usr/local ..Always gets the error :CMake Error at
common/cmake_modules/GncAddTest.cmake:139 (message):  GTEST not found. 
Please install it or set GTEST_ROOT or GMOCK_ROOTCall Stack (most recent
call first):  CMakeLists.txt:625 (gnc_gtest_configure)Tried the following
with no success:build dir below  source dir  FAILbuild same level as source
FAILAbsolute path FAILRelative path FAILinstalled googlemock FAILHas anyone
a suggestion/solution?Thank you



--
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.


[GNC] mint 19.2 build error re GTEST

2019-10-18 Thread NOSTOP
nos...@tutanota.com

Greetings!

I'm trying to build on mint 19.2.

I ran David Cousens Script to get libs, dependencies, etc for a build of ver
3.7. Confirmed all were successful.

Running :

~/Applications_building/gnucash-3.7/gnucash-build$ cmake -GNinja
-DCMAKE_INSTALL_PREFIX=/usr/local ..

Always gets the error in terminal :

CMake Error at common/cmake_modules/GncAddTest.cmake:139 (message):
  GTEST not found.  Please install it or set GTEST_ROOT or GMOCK_ROOT
Call Stack (most recent call first):
  CMakeLists.txt:625 (gnc_gtest_configure)

Tried the following with no success:

build dir below  source dir  FAIL
build same level as source FAIL
Absolute path FAIL
Relative path FAIL
installed googlemock FAIL

Has anyone a suggestion/solution?

Thank you



--
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] Build error ver 3.7 on mint 19.2

2019-10-18 Thread Tommy Trussell
On Fri, Oct 18, 2019 at 11:04 AM NOSTOP  wrote:

> nostop@tutanota.comGreetings!I'm trying to build on mint 19.2.I ran David
> Cousens Script to get libs, dependencies, etc for a build of ver 3.7.
> Confirmed all were successful.Running
> :~/Applications_building/gnucash-3.7/gnucash-build$ cmake -GNinja
> -DCMAKE_INSTALL_PREFIX=/usr/local ..Always gets the error :CMake Error at
> common/cmake_modules/GncAddTest.cmake:139 (message):  GTEST not found.
> Please install it or set GTEST_ROOT or GMOCK_ROOTCall Stack (most recent
> call first):  CMakeLists.txt:625 (gnc_gtest_configure)Tried the following
> with no success:build dir below  source dir  FAILbuild same level as source
> FAILAbsolute path FAILRelative path FAILinstalled googlemock FAILHas anyone
> a suggestion/solution?Thank you
>

I had a lot of trouble building GnuCash on Bionic UNTIL I used the source
for Ubuntu Eoan 19.10. See the directions I just posted for a procedure.
But the biggest help is that the Ubuntu eoan package includes a bunch of
John Ralls' patches that make it much more easily buildable.



> 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] Can not insert text on transaction after import QIF

2019-10-18 Thread dmeece
Tax season is over , now back to the original problem of having on 3.7
version on my LM 19.2 box and by necessity, a Windows 10 box.  I reviewed
all of David Cousens notes and suggestions.  I spent any series of hours
spanning days, rooting out all known locations where gnucash may have been
installed via snynaptic, flatpak, stickylife ppa or deb installer.  They
were spread around.  Today I felt accomplished enough with the cleanup/purge
that I got a fresh fresh download of ver 3.7 and followed the procedure
outline by David.  This time I went for an install in the /usr/local
locations and basically followed his procedures to the letter.  I used his
dependency script also because I noted a number of dependencies that are not
on the “official website dependencies”.  One small change to the script I
made was that that I found LM 19.2 does not recognize “libsecret-1-0-dev”. 
In the snynaptic, I found the whole sequence for the libsecret goup and just
select to manually installed libsecret-1-dev.  I setup the build directories
and ran it in the latest cmake version available.  This time round I used
the Kitware ppa (developers of cmake) and allowed two updates in the last
month without any errors.  I felt I had a good installer this time. 

Cmake did compile and “make file” with absolutely no errors showing
whatsoever.  Thought I had a winner, but alas, fired up the executable via
the terminal I got a pile of errors and I was back to the force close action
I had a month ago. I’ve attached a Gdb debug error message.  The trace fie
did not work there was nothing in the file The full error msg ran for over
10 pages – I have to assume the same error was running over and over.

In the Debug, shows errors just as soon as the program was booting up.  In
essence there were about 10 pages of errors all relating to “bad header in
object file”, ie in the C files an object library is not working correctly. 
The trace at the end of the file initially contained a host of issues with
guile2.0.  So I tried to add guile 2.2 libraries to this with its GoObjects
libraries – still no joy and no change in error code.  There are a number of
honorable mentions in the file that contain words like “gnome util,
libgtk-3, libobjects-2”, etc.  I’m going to try to put this up on the
bugzilla also to see what the developers have to say about it.

Incidentally as to the original inquiry about the transportability of QIF
importing from Win 10 ver 3.7 back to Linuxmint ver 2.19, all was well. 
Error rate was minor, about 5 corrections per 1000 transactions.  Editing
was OK in the ver 2.19 and the file trip back to the Win 10 ver 3.7 for
reporting purposes came off without a hitch.
I've uploaded the debug below - hopefully it make its.


DebugGdb_Gnucash3.txt
  




--
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] GnuCash v2.6.19-1 has started freezing on Ubuntu 18.04 after a recent system update

2019-10-18 Thread Adrien Monteleone



> On Oct 18, 2019 w42d291, at 9:41 AM, Tommy Trussell 
>  wrote:
> 
> 
> If you have not yet done the upgrade, remember to get from 18.04 to 19.10 you 
> are supposed to first upgrade to 18.10 and then 19.04 and then 19.10. 
> Alternatively you could do a "clean install" of 19.10 rather than an upgrade. 
> But whatever you do go back to my earlier point above -- keep your current 
> and previous data backups until you know things are working OK.
> 
> Good luck! I know on my old system it takes me many hours to finish an OS 
> upgrade because I have old hardware and I have to find the latest tricks to 
> get the old scanner and printer and etc. working. That's the main reason I 
> stick with LTS releases on it. At some point (soon?) I'll probably ditch the 
> old CPU because nowadays 3Gb doesn't go so far. But it still works... 

Also, if the OP waits for 20.04, they can upgrade directly from 18.04. (and if 
they can stand the interim possible freezes, is likely the cleaner option)

Regards,
Adrien.
___
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] mint 19.2 build error re GTEST

2019-10-18 Thread Adrien Monteleone
See the wiki linux build instructions about installing GTEST/GMOCK.

Then try to build again.

Regards,
Adrien

> On Oct 18, 2019 w42d291, at 11:08 AM, NOSTOP  wrote:
> 
> nos...@tutanota.com
> 
> Greetings!
> 
> I'm trying to build on mint 19.2.
> 
> I ran David Cousens Script to get libs, dependencies, etc for a build of ver
> 3.7. Confirmed all were successful.
> 
> Running :
> 
> ~/Applications_building/gnucash-3.7/gnucash-build$ cmake -GNinja
> -DCMAKE_INSTALL_PREFIX=/usr/local ..
> 
> Always gets the error in terminal :
> 
> CMake Error at common/cmake_modules/GncAddTest.cmake:139 (message):
>  GTEST not found.  Please install it or set GTEST_ROOT or GMOCK_ROOT
> Call Stack (most recent call first):
>  CMakeLists.txt:625 (gnc_gtest_configure)
> 
> Tried the following with no success:
> 
> build dir below  source dir  FAIL
> build same level as source FAIL
> Absolute path FAIL
> Relative path FAIL
> installed googlemock FAIL
> 
> Has anyone a suggestion/solution?
> 
> Thank you


___
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] mint 19.2 build error re GTEST

2019-10-18 Thread David Cousens
You can  install googletest1.8.0-6 using apt. The instructions on the Wiki
(https://wiki.gnucash.org/wiki/Google_Test) came from before googletest was
available in apt.

The script should have done that but to check it is properly installed.

apt list --installed | grep google  

should return 
googletest/bionic,now 1.8.0-6 amd64 [installed]

or

dpkg -l | grep google

which will re

ii  googletest:amd64 1.8.0-6
   
amd64Google's C++ test framework

will tell you if it is installed on your system

whereis googletest

should give: googletest: /usr/src/googletest/googletest

whereis gtest

will give: gtest: /usr/include/gtest

and 
whereis gmock 

should return: gmock: /usr/include/gmock /usr/share/gmock

David Cousens





-
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] Build error ver 3.7 on mint 19.2

2019-10-18 Thread David Cousens
Tommy,

Not sure what the differences between Linux Mint 19.2 (Ubuntu 18.04 based)
and Ubuntu 18.04 18.10 and 19.10 are that cause problems building directly
from the sources but as your procedure seems considerably different from
what is on the wiki you might want to add it to the wiki build instructions
even though it is more related to producing the debian package for
installation than a direct build of GnuCash from the tarball. Let me know if
you don't have wiki edit privileges and I will include it there as well.

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] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-18 Thread Jon Schewe

Note that you can also use flatpak to get it.

sudo apt install flatpak
flatpak install flathub org.gnucash.GnuCash


On 10/18/19 10:47 AM, Tommy Trussell wrote:

I requested an "official" backport of GnuCash 3.7. If it gets a sponsor it
should quickly become available to Bionic as well as all the distros that
use it (such as Mint).

https://bugs.launchpad.net/bionic-backports/+bug/1847547

If you're registered on Launchpad and want to have an official backport,
please click the "pencil" below the bug number at the top and indicate
"This bug affects me" to vote for it.

IN THE MEANTIME, if you urgently want 3.7 on your system, here's a
procedure that worked for me. I apologize if I've omitted any steps.
(Likely! Please let me know.)

REQUIREMENTS
An Ubuntu Bionic (or derived) installation with bionic-backports activated
and the source code lines activated. To verify, open the Software and
Updates tool, and look in the Ubuntu Software tab to activate "Source code"
and the Updates tab to verify "bionic-backports" is active. Close the
Software & Updates window and let it update the cache.

PROCEDURE

1) Install the needed development files.

   $ sudo apt install build-essentials devscripts
   $ sudo apt build-dep gnucash
   $ sudo apt install debhelper/bionic-backports

(The first command should pull in lots of packages needed for building
sortware. The second should bring in lots more specific packages for
building GnuCash. The last command pulls an upgraded version of debhelper
from the backports repository.)

2) Create a source directory

   $ mkdir bionic37
   $ cd bionic37

3) Get the latest Ubuntu package.

   $ dget
http://archive.ubuntu.com/ubuntu/pool/universe/g/gnucash/gnucash_3.7-1ubuntu1.dsc

If the link above "breaks" in this email, get the correct link from the
"Download Gnucash" section here:
https://packages.ubuntu.com/source/eoan/gnucash

3b) Move into the directory created by dget from the source package

   $ cd gnucash-3.7

4) Comment out a build flag line in debian/rules so the package will build
in Bionic.

   $ sed -i 's/export DEB_CXXFLAGS/#export DEB_CXXFLAGS/' debian/rules

5) Make this your custom version (so any "official" release should
supersede it).

   $ dch --nmu

5b) Edit the version at the top so it reads something like:

   gnucash (1:3.7-1ubuntu18.04~1)

5c) Add a comment under your name and email in the first comment saying
something like:

   "Commented out DEB_CXXFLAGS instruction in debian/rules"

5d) Save and exit the editor.

6) Build the package.

   $ dpkg-buildpackage

(NOTE: this takes many minutes. At the end there should be a line saying
the build "completed.")

7) Once the build has completed, you will see the package files in the
bionic37 directory, ready to install.

   $ cd ..
   [to the directory you created in step 2]

   $ sudo dpkg -i *.deb *.ddeb

   $ sudo apt install -f

The dpkg -i command above attempts to install gnucash .deb files (and the
optional .ddeb debugging files). In a fresh installation, "dpkg -i" may
fail because of missing dependencies, so the "apt install -f" command will
install the missing dependencies and finish installing gnucash.
___
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.


--
http://mtu.net/~jpschewe

___
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] Can not insert text on transaction after import QIF

2019-10-18 Thread David Cousens
Thanks for the update on libsecret. I think I created the script originally
on 18.3 I usually run it if i do a fresh OS install and update it if I get
any errors but i obviously missed fixing that one. When i went to 19.2 I
used the upgrade rather than a fresh install.

apt-cache search 

lists

libsecret-1-0 - Secret store
libsecret-1-dev - Secret store (development files)
libsecret-common - Secret store (common files)
libsecret-tools - tool for storing and retrieving GObject passwords

I have modified the script to reflect this. 

It may be worth checking that the library files are installed correctly.
Does
/usr/local/lib/gnucash/scm/ccache/2.0/gnucash/utilities.go  exist?

I am using cmake version 3.13.4 which should be the version from the
software manager and/or apt on Linux Mint 19.  I've included the output from
cmake and make on my system it may help locating the problem,
GC3.txt   
the make run 
$ make > GC3.7_make_output.txt
CMakeFiles/gnc-backend-xml-utils.dir/gnc-xml-backend.cpp.o: In function
`GncXmlBackend::write_to_file(bool)':
gnc-xml-backend.cpp:(.text+0x11e6): warning: the use of `mktemp' is
dangerous, better use `mkstemp' or `mkdtemp'

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.

(process:31963): gnc.module-WARNING **: 08:10:07.679: Could not locate
module gnucash/tax/de_DE interface v.0
GC3.txt   

sudo make install output was
GC3.txt    
anywhere it says "Up-to-date:" should have "Installing:"
if you have deleted any previos installs before reinstalling (usually a good
idea).

GnuCash then runs with no errors

Hope this helps locate the problem on your system.

David Cousens
 



-
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] Can not insert text on transaction after import QIF

2019-10-18 Thread dmeece
Thanks David

For the look see on this.  I will give it another go tomorrow after I do
another clean out uninstall/purge.  As to the make and make install
feedback, as I mentioned I had no errors nor any warnings what-so-ever in
the compile process.  I had the full libsecret files with its GoObjects
also.  But - somehow or another, the debug indicates that the object headers
are not getting made at runtime. I'm running cmake version 3.15.4 - the most
current version.

No I do not see the file:
/usr/local/lib/gnucash/scm/ccache/2.0/gnucash/utilities.go 
But I will make another rebuild attempt tomorrow and check into that also. 
When I jumped up to LM19.1, I did a fresh install.  LM19.2 was a manager
upgrade only - but I didn't think that upgrade was extreme.

David



--
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.