Project

General

Profile

Bug #276

examples/charts does not work [empty page]

Added by blink eye over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/21/2010
Due date:
% Done:

0%

Estimated time:

Description

I compiled wt and the examples from

  • remotes/origin/master
  • remotes/origin/v2
  • remotes/origin/v3.0
  • v3.1.0

but for all versions the chart demo only gives an empty page:

../../build_master/examples/charts/charts.wt --docroot . --http-address 0.0.0.0 --http-port 8081
[2010-Jan-19 15:41:48.245100] 25466 - [notice] "Starting server: http://0.0.0.0:8081" 
[2010-Jan-19 15:41:51.077554] 25466 [/ b7NWJtyLfvrgch9F] [notice] "Session created (#sessions = 1)" 
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6
127.0.0.1 - - [2010-Jan-19 15:41:51.078326] "GET / HTTP/1.1" 200 1838
127.0.0.1 - - [2010-Jan-19 15:41:51.163373] "GET /?wtd=b7NWJtyLfvrgch9F&request=script&rand=1849893327 HTTP/1.1" 200 47805
127.0.0.1 - - [2010-Jan-19 15:41:51.204317] "GET /resources//themes/default/wt.css HTTP/1.1" 304 0
127.0.0.1 - - [2010-Jan-19 15:41:51.209481] "GET /ext/resources/css/ext-all.css HTTP/1.1" 404 85
127.0.0.1 - - [2010-Jan-19 15:41:51.210442] "GET /charts.css HTTP/1.1" 200 847
127.0.0.1 - - [2010-Jan-19 15:41:51.211579] "GET /ext/ext-base.js HTTP/1.1" 404 85

Other examples do work. Whats wrong?

#1

Updated by Koen Deforche over 12 years ago

  • Status changed from New to Closed
  • Assignee set to Koen Deforche

Hey,

You need to get and deploy ExtJS (the 404 results for ext-base.js and co indicate you do not have them).

See: http://redmine.webtoolkit.eu/wiki/wt/Frequently_Asked_Questions#Q-My-browser-shows-a-window-with-a-message-like-Wt-internal-error-ReferenceError-Ext-is-not-defined-code-undefined-description-undefined-How-do-I-resolve-it

(despite the title of the FAQ)

koen

Also available in: Atom PDF