Info:
Windows XP Pro, Ext 2.2, Wt 2.1.5, VS 2008, GD, ZLib 1.2.3, OpenSSL
I've setup ext 2.2 correctly (or so I believe) but when I run ExtKitchen and
try to login, I get the following in stderr:
===========================================================
C:\Program Files\Wt\wt-2.1.5\examples\extkitchen>extkitchen.wt.exe --docroot
. -
-deploy-path / --http-address 0.0.0.0 --http-port 8080
[2008-Aug-06 11:35:13.593750] 2440 - [notice] "Wt: initializing built-in
httpd"
[2008-Aug-06 11:35:13.593750] 2440 - [notice] "Reading Wt config file:
C:\Progra
m Files\Wt\wt-2.1.5\wt_config.xml (location = 'extkitchen.wt.exe')"
[2008-Aug-06 11:35:13.687500] 2440 - [notice] "Starting server:
http://0.0.0.0:8
080"
[2008-Aug-06 11:35:15.968750] 2440 [/ o2n09eI5tvTrpDiD] [notice] "Session
create
d (#sessions = 1)"
127.0.0.1 - - [2008-Aug-06 11:35:16.640625] "GET / HTTP/1.1" 200 847
mxml: Character entity "" not terminated under parent <span>!
[2008-Aug-06 11:35:17.218750] 2440 [/ o2n09eI5tvTrpDiD] [error] "Error
parsing:
Menu & ToolBar"
127.0.0.1 - - [2008-Aug-06 11:35:17.796875] "GET
/?wtd=o2n09eI5tvTrpDiD&js=yes&a
jax=yes&inframe=yes&rand=932829 HTTP/1.1" 200 8821127.0.0.1 - - [2008-Aug-06
11:
35:18] "GET /ext/resources/css/ext-all.css HTTP/1.1" 200 0127.0.0.1 - -
[2008-Au
g-06 11:35:18.046875] "GET /ext/ext-base.js HTTP/1.1" 200 0
127.0.0.1 - - [2008-Aug-06 11:35:18.062500] "GET /extkitchen.css HTTP/1.1"
200 0
127.0.0.1 - - [2008-Aug-06 11:35:28.343750] "GET /ext/ext-all.js HTTP/1.1"
200 0
127.0.0.1 - - [2008-Aug-06 11:35:39.296875] "GET
/icons/nav-plus-line-last.gif H
TTP/1.1" 200 0127.0.0.1 - - [2008-Aug-06 11:35:39.500000] "GET
/icons/nav-minus-
line-last.gif HTTP/1.1" 200 0127.0.0.1 - - [2008-Aug-06 11:35:39.687500]
"GET /i
cons/yellow-folder-closed.png HTTP/1.1" 200 0127.0.0.1 - - [2008-Aug-06
11:35:39
.718750] "GET /icons/yellow-folder-open.png HTTP/1.1" 200 0127.0.0.1 - -
[2008-A
ug-06 11:35:39.937500] "GET /icons/line-middle.gif HTTP/1.1" 200 0127.0.0.1- -
[2008-Aug-06 11:35:39.937500] "GET /icons/line-trunk.gif HTTP/1.1" 200 0
127.0.0.1 - - [2008-Aug-06 11:35:50.781250] "GET
/?wtd=o2n09eI5tvTrpDiD&resource
=o4&rand=7097 HTTP/1.1" 200 313127.0.0.1 - - [2008-Aug-06 11:35:50.875000]
"GET
/icons/document.png HTTP/1.1" 200 0
127.0.0.1 - - [2008-Aug-06 11:35:50.921875] "GET /icons/line-last.gif
HTTP/1.1"
200 0
===========================================================
A xml error "mxml: Character entity "" not terminated under parent <span>!"
and when I try to access the url, I get nothing. A blank screen with the
correct title (Wt-Ext, including a kitchen sink). I have no idea why this is
happening and I can't seem to find the cause for this.
In addition, I was having problems with 404 errors even though all paths
were correct. In StaticReply::StaticReply I changed:
if (request.acceptGzipEncoding()) {
std::string gzipPath = path_ + ".gz";
stream_.open(gzipPath.c_str(), std::ios::in | std::ios::binary);
if (stream_) {
path_ = gzipPath;
gzipReply = true;
} else
stream_.open(path_.c_str(), std::ios::in | std::ios::binary);
} else
stream_.open(path_.c_str(), std::ios::in | std::ios::binary);
if (!stream_) {
stockReply = true;
setRelay(ReplyPtr(new StockReply(request, StockReply::not_found,
"", err_root)));
}
To:
if (request.acceptGzipEncoding()) {
std::string gzipPath = path_ + ".gz";
stream_.open(gzipPath.c_str(), std::ios::in | std::ios::binary);
if (stream_.is_open()) {
path_ = gzipPath;
gzipReply = true;
} else
stream_.open(path_.c_str(), std::ios::in | std::ios::binary);
} else
stream_.open(path_.c_str(), std::ios::in | std::ios::binary);
if (!stream_.is_open()) {
stockReply = true;
setRelay(ReplyPtr(new StockReply(request, StockReply::not_found,
"", err_root)));
}
.is_open() shouldn't make a difference but it did. After making these
changes it worked.
Is extkitchen broken? I've used it as the base test for 2.1.1 and it worked
great. I thought about doing the same with 2.1.5 but this problem is
starting to frustrate me.
--
"Rule of Extensibility: Design for the future, because it will be here
sooner than you think."
-The Art of Unix Programming
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest