Re: [GNC] create desktop icons for GNC 4.9 Flatpak on Ubuntu
I'll note the "no suitable backend" is complaining it can't interpret the file "/home/jeffrey/Desktop/Dad.desktop". That is the desktop entry file itself and I find it very suspicious this one is passed to gnucash in flatpak. According to the contents of the desktop file Jeffrey posted gnucash should have received the following file to open: /media/jeffrey/'Mac Drive'/Ledgers/Dad/Dad.gnucash That doesn't make sense to me. And if that's what is happening that's not a bug in flatpak, but a bug in desktop file handling. Somehow I doubt that though. So we are probably missing something else here. Perhaps we are missing minor details that are different in how we do things vs how Jeffrey does them. As I'm late in this thread I'm first adding some clarifications and remarks to older messages. I'll defer more questions to the end. Regards, Geert Op woensdag 30 maart 2022 03:39:16 CEST schreef Adrien Monteleone: > The 'no suitable backend' is clueing me to an issue with that particular > file and not having the right backend installed/enabled. > > But Jeffrey already said opening the file directly works fine and is > using XML. (usually one sees that error when trying to use one of the db > backends since XML is not an issue) > > I'm going to hazard there is some weird flatpak bug at play and it seems > to have been resolved as of 21.10. > > Maybe there is a solution or workaround, or maybe upgrading to the next > LTS (22.04, due out next month) will do the trick. > > Regards, > Adrien > > On 3/29/22 5:51 PM, David H wrote: > > Jeffery, > > > > I have the Gnucash flatpak "user" version installed. The gnucash flatpak > > wiki desktop shortcut (https://wiki.gnucash.org/wiki/Flatpak) works for me > > on Ubuntu 21.10 after updating my file location (see below) The one step > > not mentioned is to right click the desktop shortcut and select "Allow > > launching" - this updates the desktop shortcut icon and if you don't do > > this it just opens in text editor. > > ___ > 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] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Op zaterdag 2 april 2022 07:09:32 CEST schreef Jeff: > Okay, finally got a new keyboard. They make great toys for parrots. > > I have tried all of the suggestions presented and I can still not make a > desktop icon for the GNC Flatpak version to load a specific set of > books. I did get one icon to work but I do not trust it, it does not > place the GNC icon on the desktop, just a generic CSV, and it also > places all log files on the desktop ( I use uncompressed XML). I did > not have any issues creating icons prior to using Flatpak. > We can use more detailed responses :) - If you have one desktop file that works, what's it's contents ? - And what's different from the other desktop files that don't work ? - Where have you stored that .desktop file ? - What set of books does it open on launch ? - Can you move the log files away from the desktop, launch gnucash from your desktop icon have it generate some log files (by making some changes to your books) and then pass the names of the generated log files here ? Regards, 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] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Op zaterdag 2 april 2022 07:24:52 CEST schreef Jeff: > Step 1 and 2 work. The rest does not work. I still get the no suitable > backend error. It has to be a compatibility issue with Flatpak and my > computer. > And the "no suitable backend" error continues to point at the Dad.desktop file rather than Dad.gnucash ? As said before, that's very odd and not a flatpak bug. Can you repost your desktop file as you currently have it here ? Also I'm curious to more details on the parts that do work: - After running step 2, which version of gnucash does start ? - Did it properly open the correct set of books at startup ? - If you run the same command but with another of your existing books as argument, will that properly open that book at startup ? - In both cases, if you make changes to your books, where do the log files end up ? Lastly, you briefly mentioned somewhere it works when you double-click directly on your gnucash data file (that is Dad.gnucash, instead of Dad.desktop). If you do that, what version of gnucash gets opened ? Where does it store its log files if you make changes ? Regards, Geert > > Ha! Best of luck with the keyboard! Check into (Ubuntu) Settings > > > Universal Access > Typing > Screen Keyboard. > > > > This will pop-up an on-screen keyboard when a typing field has focus. > > That's not the best workaround, but it will help a bit. > > > > - > > > > As for GnuCash, what about the USB access info from the Wiki? > > > > If you've never gotten the flatpak to work right, I'd suspect that is > > the issue. > > > > So try this in order from a terminal: > > > > 1. sudo flatpak override org.gnucash.GnuCash > > --filesystem=$PATH_TO_USB_DRIVE > > > > (that is all one line) > > > > 2. flatpak run org.gnucash.GnuCash /media/jeffrey/'Mac > > Drive'/Ledgers/Dad/Dad.gnucash > > > > (again all one line) > > > > If that works, close GnuCash and try clicking your desktop shortcut > > again. You should be good to go. > > > > If that doesn't work, try moving a copy of the file to your Home > > folder, then trying from a terminal: > > > > flatpak run org.gnucash.GnuCash /home/jeffrey/Dad.gnucash > > > > If that doesn't work either, something else is wrong. > > > > Regards, > > Adrien > > > > On 3/31/22 1:46 AM, Jeff wrote: > >> Pardn any unreadable wrds, my cockatu decided my keybard was a ty, > >> and I have yet t find all f the pieces nd mae them all work at th > >> riht time. I am ging after a new kybrad tda Adrein. prir t mving t > >> flatPak installs I never had a prblem with upgrades r installs. > >> Desktp icns dn't seem t be an issue with anything except Flatpak. > >> > >> I'll cmplain but the failure t be able t build frm surce later. But I > >> am begging t suspect the 2 issues are related n my netwrk. > > > > ___ > > 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. ___ 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] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Op dinsdag 29 maart 2022 08:18:58 CEST schreef Jeff: > Permissions are set to run as executable for the desktop icon. Icon does > not show up, just the generic blank icon. If I hit "Okay" I end up with > a new, empty, set of books. If I manually open Dad.gnucash from the > link it opens the correct set of books but; Please clarify with what you mean with "manually opening the book from the link" ? > wants to create scheduled transactions going back to 2019. This may be a separate issue. I don't know of the top of my head where the last run date for scheduled transactions is stored. I'd expect in the gnucash data file, but if it's in metadata, you may have to copy your metadata to a location where flatpaks actually look for it. If you want to pursue this further I suggest to start a new mailing list thread for this to avoid trying to handle too much in one go. > And I also simply installed GNC as a Flatpak. I also don't understand what you mean with this. I thought the whole experiment was with using the gnucash flatpak. So I presumed it to be installed already ? So what exactly is the difference you're trying to point out with this ? Regards, 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] create desktop icons for GNC 4.9 Flatpak on Ubuntu
Op woensdag 30 maart 2022 04:36:27 CEST schreef Adrien Monteleone: > For the icon issue, while Flatpak apps are sandboxed and might not have > access to that icon location, have you tried copying it to somewhere in > your home folder and seeing if that works? (it is the Desktop file using > it, so this would be weird, but I guess worth a shot) > I agree this would be weird, but not impossible. I haven't seen a reply to this yet. Jeffrey, for clarity, Adrien's suggestion here will not necessarily make your desktop file function better. It is only meant to rule out permission issues with the icon you wish to show on your desktop. You write it currently presents a generic icon instead of the gnucash icon. We want to test if that is fixed by using an icon that's stored somewhere in your home directory. So can you - copy /var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/ share/gnucash/pixmaps/gnucash-icon.ico to to somewhere in your home directory - adjust the "Icon" line in your Dad.desktop file to point to this file in your home dir - refresh your desktop and see if it now shows the appropriate icon for your desktop file ? > https://wiki.gnucash.org/wiki/Flatpak#Desktop_Icon > gives the example of making a desktop icon and it specifies a /.local > location in your home folder. That page might be assuming you installed > the app for one user (you) and not the system. This might be why the > icon file is in /var/lib instead of /jeffrey/.local. Though why that > matters, I'm stumped. It shouldn't matter, but obviously you have to go and use the icon where it's installed. If the gnucash flatpak was installed system wide, the icon will be in /var/lib, if it's installed for a user only it will be in the user's .local/share directory. > > I also find it strange that GnuCash is storing backups on the desktop > when it is opening the file from the USB drive. But you can try adding a > "Path" to your desktop file to indicate the 'working' directory: > > path=/media/jeffrey/'Mac Drive'/Ledgers/Dad/Dad.gnucash > That should be without the trailing Dad.gnucash, otherwise it's not a directory. However I rather share with your initial surprise this would matter or even whether it would help. Jeffrey, have you tried this and did it have any effect ? It suggests to me gnucash seems to fail to write to the usb stick and instead defaults to the desktop. A trace file could give us some insight but that in itself is currently a challenge under flatpak. > Finally, are you 100% certain you don't have GnuCash installed either > from a build or .deb? > > When you double-click a data file to open GnuCash (which you say works) > what version is reported? > > What happens when you run your Exec command from the .desktop file in a > terminal? > Jeffrey, can you answer these questions individually rather than a generic "I tried all suggestions and nothing worked". That helps us establish nothing was forgotten. Regards, 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] create desktop icons for GNC 4.9 Flatpak on Ubuntu
I have had a bit more time to play with this. I have set up an Ubuntu 20.04LTS VM, installed flatpak and installed the current gnucash flatpak from flathub.org. I then first tested to see if I could use that to open an existing test book as follows (on the command line): flatpak run org.gnucash.GnuCash /home/janssege/testfile.gnucash That worked fine. So next I created a desktop file /home/janssege/Desktop/Dad.desktop with this contents: [Desktop Entry] Type=Application Terminal=false Exec=flatpak run org.gnucash.GnuCash /home/janssege/testfile.gnucash Name=GnuCash 4.9 FLATPAK Dad Comment=Manage home and small business accounts Icon=/var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/active/files/ share/gnucash/pixmaps/gnucash-icon.ico Note that at this point the icon on my desktop still shows a generic gear icon and double-clicking it won't do anything. That only changes **after** I use RightClick->Allow Launching. Jeffrey, you never explicitly confirmed you have effectively right-clicked the destktop file and selected "Allow launching". I only find you mention "execute permissions are correctly set". So I did the test and made a second desktop file in which I only corrected the execute permissions but don't use the "Allow Launching" option. This second desktop icon will still not run gnucash on double-click, nor will it change icon. It remains the generic gear icon. So to me that suggests having execute permissions is not sufficient on Ubuntu 20.04 LTS. You do need to use the menu item "Allow Launching". Anyway, with that out of the way double-clicking the icon on the desktop will run gnucash and it will open my testfile. So for the final test I mounted a USB drive named 'MAC DRIVE' with my test file on it and changed the desktop file's exec line to Exec=flatpak run org.gnucash.GnuCash /media/janssege/'MAC DRIVE'/ testfile.gnucash (all in a single line) That launches gnucash without any issues, opening testfile.gnucash from my USB stick. At no point did it create log files on the desktop, nor did I ever have to use flatpak override to give flatpak permissions to read/write the USB drive. So we're probably chasing the wrong tails here. Jeffrey, at this point my most important suggestion would be to use the "Allow Launching" menu option. If that doesn't work still, I think it's best you send us a link a few screenshots (for example on ImgUr, Google drive, Nextcloud,...) showing the icon on your desktop, the contents of the desktop file, the error messages that appear and so on. We may be assuming things that get lost in words but show up on images. Regards, Geert Op zaterdag 2 april 2022 07:24:52 CEST schreef Jeff: > Step 1 and 2 work. The rest does not work. I still get the no suitable > backend error. It has to be a compatibility issue with Flatpak and my > computer. > > > Ha! Best of luck with the keyboard! Check into (Ubuntu) Settings > > > Universal Access > Typing > Screen Keyboard. > > > > This will pop-up an on-screen keyboard when a typing field has focus. > > That's not the best workaround, but it will help a bit. > > > > - > > > > As for GnuCash, what about the USB access info from the Wiki? > > > > If you've never gotten the flatpak to work right, I'd suspect that is > > the issue. > > > > So try this in order from a terminal: > > > > 1. sudo flatpak override org.gnucash.GnuCash > > --filesystem=$PATH_TO_USB_DRIVE > > > > (that is all one line) > > > > 2. flatpak run org.gnucash.GnuCash /media/jeffrey/'Mac > > Drive'/Ledgers/Dad/Dad.gnucash > > > > (again all one line) > > > > If that works, close GnuCash and try clicking your desktop shortcut > > again. You should be good to go. > > > > If that doesn't work, try moving a copy of the file to your Home > > folder, then trying from a terminal: > > > > flatpak run org.gnucash.GnuCash /home/jeffrey/Dad.gnucash > > > > If that doesn't work either, something else is wrong. > > > > Regards, > > Adrien > > > > On 3/31/22 1:46 AM, Jeff wrote: > >> Pardn any unreadable wrds, my cockatu decided my keybard was a ty, > >> and I have yet t find all f the pieces nd mae them all work at th > >> riht time. I am ging after a new kybrad tda Adrein. prir t mving t > >> flatPak installs I never had a prblem with upgrades r installs. > >> Desktp icns dn't seem t be an issue with anything except Flatpak. > >> > >> I'll cmplain but the failure t be able t build frm surce later. But I > >> am begging t suspect the 2 issues are related n my netwrk. > > > > ___ > > 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
[GNC] 4,10 Defective Net Worth Line Chart
I got a completely blank screen from 4.10 Net Worth Line Chart, although if I export as HTML, the table does show up at the bottom of the blank page. I used defaults except General: date 4/2/21 - 4/2/22, Price Closest, Display: Show table. ___ 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] 4,10 Defective Net Worth Line Chart
Flatpak says no updates, Help About says: 4.10+(2022-03-26) -Original Message- From: David G. Pickett To: gnucash-user@gnucash.org Sent: Sat, Apr 2, 2022 12:48 pm Subject: 4,10 Defective Net Worth Line Chart I got a completely blank screen from 4.10 Net Worth Line Chart, although if I export as HTML, the table does show up at the bottom of the blank page. I used defaults except General: date 4/2/21 - 4/2/22, Price Closest, Display: Show table. ___ 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] 4,10 Defective Net Worth Line Chart
Ubuntu 20.04.4 LTS -Original Message- From: David G. Pickett To: gnucash-user@gnucash.org Sent: Sat, Apr 2, 2022 12:48 pm Subject: Re: 4,10 Defective Net Worth Line Chart Flatpak says no updates, Help About says: 4.10+(2022-03-26) -Original Message- From: David G. Pickett To: gnucash-user@gnucash.org Sent: Sat, Apr 2, 2022 12:48 pm Subject: 4,10 Defective Net Worth Line Chart I got a completely blank screen from 4.10 Net Worth Line Chart, although if I export as HTML, the table does show up at the bottom of the blank page. I used defaults except General: date 4/2/21 - 4/2/22, Price Closest, Display: Show table. ___ 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] 4,10 Defective Net Worth Line Chart
> On Apr 2, 2022, at 9:52 AM, David G. Pickett via gnucash-user > wrote: > > Ubuntu 20.04.4 LTS > > -Original Message- > From: David G. Pickett > To: gnucash-user@gnucash.org > Sent: Sat, Apr 2, 2022 12:48 pm > Subject: Re: 4,10 Defective Net Worth Line Chart > > Flatpak says no updates, Help About says: 4.10+(2022-03-26) > > -Original Message- > From: David G. Pickett > To: gnucash-user@gnucash.org > Sent: Sat, Apr 2, 2022 12:48 pm > Subject: 4,10 Defective Net Worth Line Chart > > I got a completely blank screen from 4.10 Net Worth Line Chart, although if I > export as HTML, the table does show up at the bottom of the blank page. I > used defaults except General: date 4/2/21 - 4/2/22, Price Closest, Display: > Show table. Is it just the one report or are all reports not displaying? Please check both text (e.g. balance sheet) reports and other charts if you haven't already. Regards, John Ralls ___ 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] Stock pricing
Hi David did you try to download the program. I tried again this morning and got the same problem. I have Norton loaded and maybe this is causing the issue Sent from Yahoo Mail for iPad On Thursday, March 31, 2022, 12:42 pm, David H wrote: John, From memory there was a bug relating to truncation - see https://lists.gnucash.org/pipermail/gnucash-user/2021-October/098191.html for details. I think the work around was to enter the price and then press enter on the keyboard rather than tabbing out of the field - fixed in 4.9 by the look of the bug report. I've never had problems downloading any of the versions - I usually download Windows and MacOS versions. If you go back to John Ralls last release announcement (https://lists.gnucash.org/pipermail/gnucash-user/2022-March/100452.html) you'll see you can download from both SourceForge and GitHub, I'd be trying both. Cheers David H. On Thu, 31 Mar 2022 at 20:30, John Morgan wrote: David Thank you for your response. I tried what you suggested but did not work. This is the set up I have In the preferences under numbers, date and time I have set Forces prices to display as decimals to yes and the number of decimal points to 4 In the security editor I have set the fraction traded to 1/1000 ( I am not sure if this relates to the number of shares or share price In the account I have set the type to stock and the security to the one I created I have also the set the small fraction to 1/1000. Again I am not sure if this relates to the number of shares or the price. When I try to enter a new price under the tools menu – price data base and enter a price of 2.3675 it always rounds to 2.37. I cannot find any option to change the number of decimal places. I am on version 4.6 and before I update the version I could always enter as many decimals as required. I am using windows 10. I have tried to download the latest version a number of times but for some reason the down load does not complete John Morgan From: David H [mailto:hell...@gmail.com] Sent: Thursday, March 31, 2022 2:12 AM To: John Morgan Cc: Gnucash Users Subject: Re: [GNC] Stock pricing John, Check the fraction traded for the stock in the security editor - I'm not sure but I think it's related to that setting ? Mine are set to 1 / 1 so you might try increasing that if it is lower. Cheers David H. On Thu, 31 Mar 2022 at 11:03, John Morgan via gnucash-user wrote: I want to enter a stock price under the tools stock price option. I want to enter 2.356 but it always rounds up to 2 decimal place. I have looked at a number of options but cannot see how to enter a 3 or 4 digit decimal number. I have checked the preference options, have changed the number of decimal places to 4 I have checked the security set up I have checked the stock set up Cannot see any way to change the number of decimals Can anyone help John Morgan Sent from my iPad ___ 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.