Re: [MAINT] Planned server downtime today, 1700 US/EST
This maintenance is complete. Please let me know if you have any issues. -derek On Sun, January 28, 2018 12:13 pm, Derek Atkins wrote: > Hi, > > I need to take the gnucash server (code) down today to relocate it and > rebalance UPS systems. The total downtime should be less than 30 > minutes, with MOST of that time being spent taking the system down and > waiting for it to boot back up. I plan to start the take-down around > 1700 US/EST, after I do some physical prepartions. > > I'll notify #gnucash/IRC before I take the server down, and I'll send > mail when everything is back up. > > Please let me know if this is an issue; I can shift it around a little > as necessary, but I DO need to move the servers today. > > Thanks! > > -derek > -- >Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory >Member, MIT Student Information Processing Board (SIPB) >URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH >warl...@mit.eduPGP key available > ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
[MAINT] Planned server downtime today, 1700 US/EST
Hi, I need to take the gnucash server (code) down today to relocate it and rebalance UPS systems. The total downtime should be less than 30 minutes, with MOST of that time being spent taking the system down and waiting for it to boot back up. I plan to start the take-down around 1700 US/EST, after I do some physical prepartions. I'll notify #gnucash/IRC before I take the server down, and I'll send mail when everything is back up. Please let me know if this is an issue; I can shift it around a little as necessary, but I DO need to move the servers today. Thanks! -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Bug in "Liabilities Barchart" report (since 2.6.19)
Hi, Am 28.01.2018 um 15:48 schrieb Di Mang: > Hello, > > I have a problem with the "Liabilities Chart", "Asset Chart" and "Net Worth > Barchart" reports since I switched to GnuCash 2.6.19 (on Ubuntu 17.10). I > have this problem with unstable 2.7.3 too (built from source). With GnuCash > 2.6.17 the reports worked as expected. > > These reports display the accumulated amounts, but only based on the > transactions from the selected period. The transactions before the start > time are ignored. See example in the appendix (as image and GnuCash file). > > I tried to find the error. Unfortunately, I do not know where to start. > Can someone please look at it. With the example from the attachment it > should be easy. Thanks in advance! > > DM Did you accitently change Preferences->Accounts->Reverse Balance Accounts? Frank ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Bug in "Liabilities Barchart" report (since 2.6.19)
> On Jan 28, 2018, at 6:48 AM, Di Mangwrote: > > Hello, > > I have a problem with the "Liabilities Chart", "Asset Chart" and "Net Worth > Barchart" reports since I switched to GnuCash 2.6.19 (on Ubuntu 17.10). I > have this problem with unstable 2.7.3 too (built from source). With GnuCash > 2.6.17 the reports worked as expected. > > These reports display the accumulated amounts, but only based on the > transactions from the selected period. The transactions before the start > time are ignored. See example in the appendix (as image and GnuCash file). > > I tried to find the error. Unfortunately, I do not know where to start. > Can someone please look at it. With the example from the attachment it > should be easy. Thanks in advance! > Is USD the only currency involved in these transactions? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Bug in "Liabilities Barchart" report (since 2.6.19)
Hello, I have a problem with the "Liabilities Chart", "Asset Chart" and "Net Worth Barchart" reports since I switched to GnuCash 2.6.19 (on Ubuntu 17.10). I have this problem with unstable 2.7.3 too (built from source). With GnuCash 2.6.17 the reports worked as expected. These reports display the accumulated amounts, but only based on the transactions from the selected period. The transactions before the start time are ignored. See example in the appendix (as image and GnuCash file). I tried to find the error. Unfortunately, I do not know where to start. Can someone please look at it. With the example from the attachment it should be easy. Thanks in advance! DM Example - Liability Barchart.gnucash Description: Binary data ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Wiki Page title
Op zondag 28 januari 2018 08:17:40 CET schreef David T. via gnucash-devel: > Hello, > > As noted recently, I have begun to work on the main Git pages (“Git," and > "Git for Newbies") on the Wiki. One of the edits I would like to make is to > change the title from “Git for Newbies” to “An Introduction to Git.” I want > to do this because I feel the term “Newbie” is disparaging, and does > nothing to encourage new contributors. Unfortunately, the one thing that I > don’t seem to be able to change is the page title. Or am I missing > something? > > TIA, > David > > P.S., If “Git for Newbies” becomes “An Introduction to Git,” it may be that > “Git” becomes something else as well, such as “Using Git for GnuCash > Development.” ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel Hi David, A page's title is also its link. So changing the page title means changing the link, or to move to page in the wiki. When I am logged in to the wiki, there is a "More..." menu next to "Read", "Edit" and "View History". That menu holds a "Move" option which is the way to change a page title. It's possible you don't have sufficient privileges for this where I do. I agree with your assessment of the "Newbie" term, so I have chosen to do the move and correct all links still pointing at "Git for Newbies". There were only a few from one single page: the Git page. The "Git for Newbies" page itself remains as a redirect page to keep old bookmarks and the rest of the internet happy. Regards, Geert ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Captcha Error Redux
Hi, The problem is that code is configured to have an IPv6 address, but I had disabled the IPv6 tunnel because it was causing significant network failure. However I never unconfigured the address on code. The fix I did before was manually unconfiguring the IPv6 address. However, code rebooted last night. It looks like there might have been a power blip, or the UPS I have is not quite powerful enough to handle the server -- a temporary situation -- but my VM system rebooted. Anyways, as a result, code got its IPv6 address back. I just turned it off again. I have just reconfigured ens3 so it should not enable IPv6 on the next reboot. Sorry for the inconvenience, but thank you for letting me know promptly. -derek On Sun, January 28, 2018 3:13 am, David T. via gnucash-devel wrote: > On January 13, there were a number of folks with errors with the Captcha > verification on the wiki. I am having this problem again; what were the > steps taken to fix this? > > David > ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: how exactly to do unit testing in scheme...
Thank you Phil, with help from IRC I'll be separating the renderer into multiple testable steps. Options to accountlist, to splits, to filtered splits, and finally to table. Each one uses different parts of options. On 26 Jan 2018 1:55 AM, "Phil Longstaff"wrote: > Usually, unit testing controller code is done by writing mocks for the > code that is called. In this case, this would be the options.scm controller > and the renderer. The mock code would test that the expected arguments are > passed, and would return a canned response. This both checks the logic of > the controller but also allows error and other paths to be tested. > > On Wed, Jan 24, 2018 at 11:03 AM, Christopher Lam < > christopher@gmail.com> wrote: > >> Dear Devel >> >> To rgmerk: Welcome back, and it was a nice to meet irl! >> >> While simplifying transaction.scm and thinking of unit testing, I now >> have a conundrum worthy of an expert view. >> >> The reports require 2 main functions – the options generator and the >> renderer; the options generator generates a options.scm controller object, >> and the renderer takes options and outputs html. >> >> I understand unit testing to handle testing of ‘leaf’ functions e.g. >> (split->date), rather than the controller code (e.g. renderer takes options >> and outputs html) – but to me this is rather silly because split->date only >> tests xaccTransGetDate and xaccSplitGetParent, whereas the controller tests >> actual functionality. >> >> With regards to unit testing I can see several issues >> >> 1) The refactored report has inlined most single-use functions into >> lambda expressions – I figured that directly stating (xaccTransGetDate >> (xaccSplitGetParent split)) is much more descriptive to a programmer than >> to create a testable leaf function (split->date split). I can see the >> benefits of both – leave as lambda expressions which will can be >> understandable by anyone who is familiar with the API, or break them out >> into 100s of single use functions which can be tested, but introduces a >> whole layer of cognitive load to anyone hacking code – (what does >> split->date actually do? Where is its definition). Also, breaking the >> lambda functions into testable functions means the implementation is frozen >> and the next hacker will have lesser scope to rework/optimise the report. >> >> 2) The refactored report is now flexible enough to accommodate derived >> reports with a different multicolumn data function – eg >> income-gst-statement.scm has been reworked into a transaction.scm >> derivative which passes its own calculated-cells to report on GST sales and >> purchases. This is not yet committed. >> >> 3) I think the most useful testing approach for a complex transaction.scm >> will be to test functions of various combinations of options values, and >> test the resulting html for satisfactory output. There are now dozens of >> bools and multichoices that can be triggered, each effecting html in >> various ways. How best to test? >> >> 4) My view would be the unit test would check that: >> a. the TR actually exists >> b. it can display empty-report >> c. it can understand passing of custom-calculated-cells >> d. each of the options can be toggled, and the resulting html >> displays/hides cells/detail as expected >> e. and sorting options generate sorted rows >> >> Comments welcome, I had no formal training ☹ >> ___ >> gnucash-devel mailing list >> gnucash-devel@gnucash.org >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel >> > > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Captcha Error Redux
On January 13, there were a number of folks with errors with the Captcha verification on the wiki. I am having this problem again; what were the steps taken to fix this? David ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel