GnuCash
Contact   Instructions
Bug 797385 - Report html files NOT opening in Reports tab or window due to webkit Frame Load Interrupted error
Summary: Report html files NOT opening in Reports tab or window due to webkit Frame Lo...
Status: NEW
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Reports (show other bugs)
Version: 3.6
Hardware: PC Windows
: Normal major
Target Milestone: ---
Assignee: Sandeep
QA Contact: Sandeep
URL:
Whiteboard:
Keywords:
: 797386 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-01 17:54 EDT by Sandeep
Modified: 2019-09-07 19:52 EDT (History)
1 user (show)

See Also:


Attachments
all the trace file. Tried 2 reports. (433.32 KB, text/plain)
2019-09-01 17:54 EDT, Sandeep
no flags Details

Description Sandeep 2019-09-01 17:54:53 EDT
Created attachment 373380 [details]
all the trace file. Tried 2 reports.

I have been using GNUcash for some time now. Not regularly, but I do use it.
mainly to enter personal accounting transactions.
But I wanted to see reports of my cash flow, expenses etc. I wanted to do some
budgeting. 

Issue is - report HTML files gets generated in AppData/Local/Temp dir but they dont load in reports tab or window. Report Tab shows blank white screen !!

internal error was - 
* 23:42:29 ERROR <gnc.html> [webkit_on_load_error()] WebKit load of file:///C:/Users/Windows10User/AppData/Local/Temp/gnc-report-QDQZ6Z.html failed due to Frame load was interrupted
-

Note: I have replaced my username with below DUMMY user name for safety.
Windows10User

I ran the gnucash in --debug mode as suggested and attached the trace log herewith. Please check and advise. 

I feel its webkit issue and I dont know how to change any settings or install new API on my windows machine.
User specific changes - 
I have created environment.local file in C:\Program Files (x86)\gnucash\etc\gnucash  with only one change (- did some hectic rnd there as well :)  )  
LANG=en_DE
LANGUAGE={LANG}
because I wanted German accounts (when I wanted to create new set of accounts, as I moved to Germany) - but English as language :) 
Earlier I use to use Indian set of accounts. Thanks,
Sandeep
Comment 1 John Ralls 2019-09-02 00:41:25 EDT
It appears from your tracefile that you get a blank report tab but the UI remains responsive. Is that correct?

What were the two reports that you tried?

Does it make any difference if you set LANG=C?
Comment 2 John Ralls 2019-09-02 00:42:53 EDT
*** Bug 797386 has been marked as a duplicate of this bug. ***
Comment 3 Sandeep 2019-09-07 17:21:17 EDT
I tried expense report, income-expense report. Expense Pie chart etc.
I changed environment.local to below - 
LANG=C
LANGUAGE={LANG}

UI remains responsive.
I even clicked 'export' on blank report window - saved the file with some name.html and then saw it in windows explorer. It was proper html file, if I open it in browser, it shows proper report with colors etc.
on income-expense report it showed normal error that 'no accounts selected..'
with some link to select accounts.
So it just reports not getting shown on that window.
Is there any provision, where I can use external browser - instead of internal window ? Thanks,
Sandeep
Comment 4 John Ralls 2019-09-07 19:52:03 EDT
You already found the workaround, File>export report. There's no way at present to do that automatically.

Note You need to log in before you can comment on or make changes to this bug.