question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blank page on Firefox (and Chromium)

See original GitHub issue

Describe the bug The server displays a blank page on Firefox 63 on Linux.

The error in the inspector console is:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ thrift.js:348:8
TypeError: Thrift.copyList is not a function[Learn More] report_server_types.js:1776:27
TypeError: this.headerContentNode.firstChild is null[Learn More]

CodeChecker version 6.9.0

To Reproduce Steps to reproduce the behavior

  1. Run CodeChecker server
  2. Go to ‘localhost:8001’
  3. Blank Page

Desktop (please complete the following information)

  • OS: Linux
  • Browser Firefox
  • Version 63

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rpavlikcommented, Aug 21, 2019

FYI, I also found this same issue with the latest git master as well as v6.10.0 tag, on Debian Buster (following the install steps)

The web server wouldn’t even start without upgrading Thrift in pip:

Couldn't import module for subcommand 'server'... ignoring.
Traceback (most recent call last):
  File "/home/ryan/src/third-party/codechecker/build/CodeChecker/cc_bin/CodeChecker.py", line 111, in main
    subcommands[subcommand])
  File "/home/ryan/src/third-party/codechecker/build/CodeChecker/cc_bin/CodeChecker.py", line 40, in add_subcommand
    cmd_file, cmd_path, cmd_descr)
  File "/home/ryan/src/third-party/codechecker/build/CodeChecker/cc_bin/../lib/python2.7/codechecker_server/cmd/server.py", line 25, in <module>
    from shared.ttypes import DBStatus
  File "/home/ryan/src/third-party/codechecker/build/CodeChecker/lib/python2.7/codechecker_api/shared/ttypes.py", line 9, in <module>
    from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
ImportError: cannot import name TFrozenDict
usage: CodeChecker [-h] {} ...
CodeChecker: error: invalid choice: 'server' (choose from )

After upgrading it in pip directly (to 0.11.0), it starts but has a mostly-instant empty page. After upgrading the requirements.txt files, a lot more files load in the web interface but still dies at the same spot.

After updating the makefile mentioned above, and make clean followed by make package, it does work.

1reaction
whisperitycommented, Jul 10, 2019

(Follow-up from Gitter) @reneparis There’s a file which described where to fetch external resources for the Web App here: https://github.com/Ericsson/codechecker/blob/master/web/server/vendor/Makefile#L5 I think this is the one that should also be modified.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix: Firefox Blank or White Screen - Appuals.com
Open your browser · Visit the website that gives the blank page. Once the blank page is shown · Press CTRL, ALT and...
Read more >
Firefox is not displaying webpages, just a blank screen
Go to Firefox > Help > Troubleshooting Information. · Click the "Reset Firefox" button. · Firefox will close and reset. After Firefox is...
Read more >
Website opens, but when I use search option I get a blank ...
But when I click on the search option, all I get is a blank newspapers.com page. It works normally with Chrome and IE....
Read more >
Firefox only opens a blank white screen - Mozilla Support
Firefox only opens a blank white screen ... I can navigate the web on Chrome and get e-mail through Outlook just fine.
Read more >
FF loads blank screen for some web sites. - Mozilla Support
The problem I face FF renders a blank screen for some web sites, unfortunately these few web sites are important ones that I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found