Hi,

I'm using turbogears-r455.

I wanted to give a try to the TurboTunes tutorial
(http://turbogears.org/docs/TurboTunes/)

The server starts up, but when I attempt to access
http://localhost:8080/catwalk the request hangs after the html source
and many javascript files have been sent.

The hang is always on the "GET
/tg_widgets/turbogears.widgets/calendar-setup.js" request:

<http://localhost:8080/catwalk>[EMAIL PROTECTED]
~/dev/src/python/turbogears/TurboTunes $ python turbotunes-start.py
2006/01/05 04:34:07 CONFIG INFO Server parameters:
2006/01/05 04:34:07 CONFIG INFO   server.environment: development
2006/01/05 04:34:07 CONFIG INFO   server.logToScreen: True
2006/01/05 04:34:07 CONFIG INFO   server.logFile:
2006/01/05 04:34:07 CONFIG INFO   server.protocolVersion: HTTP/1.0
2006/01/05 04:34:07 CONFIG INFO   server.socketHost:
2006/01/05 04:34:07 CONFIG INFO   server.socketPort: 8080
2006/01/05 04:34:07 CONFIG INFO   server.socketFile:
2006/01/05 04:34:07 CONFIG INFO   server.reverseDNS: False
2006/01/05 04:34:07 CONFIG INFO   server.socketQueueSize: 5
2006/01/05 04:34:07 CONFIG INFO   server.threadPool: 0
2006/01/05 04:34:07 HTTP INFO Serving HTTP on http://localhost:8080/
2006/01/05 04:34:14 HTTP INFO 127.0.0.1 - GET / HTTP/1.1
2006-01-05 04:34:15,278 turbogears.kidsupport DEBUG Recompiling template
for turbogears.fastdata.templates.sitetemplate
2006-01-05 04:34:15,342 turbogears.kidsupport DEBUG Recompiling template
for turbotunes.templates.welcome
2006-01-05 04:34:15,346 turbogears.kidsupport DEBUG Applying template
turbotunes.templates.welcome
127.0.0.1 - - [2006/01/05 04:34:15] "GET / HTTP/1.1" 200 1617
2006/01/05 04:34:15 HTTP INFO 127.0.0.1 - GET
/tg_static/images/tg_under_the_hood.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:34:15] "GET
/tg_static/images/tg_under_the_hood.png HTTP/1.1" 200 4010
2006/01/05 04:34:20 HTTP INFO 127.0.0.1 - GET /catwalk/ HTTP/1.1
 1/QueryOne:  SELECT tbl_name FROM sqlite_master WHERE type='table' AND
tbl_name = 'catwalk_state_table'
 1/QueryR  :  SELECT tbl_name FROM sqlite_master WHERE type='table' AND
tbl_name = 'catwalk_state_table'
 1/QueryOne-> ('catwalk_state_table',)
2006-01-05 04:34:20,603 turbogears.controllers DEBUG Returning JSON
 1/COMMIT  :
 1/ROLLBACK:
127.0.0.1 - - [2006/01/05 04:34:20] "GET /catwalk/ HTTP/1.1" 200 17
2006/01/05 04:35:10 HTTP INFO SystemExit raised: shutting down autoreloader
2006/01/05 04:35:10 HTTP INFO HTTP Server shut down
2006/01/05 04:35:10 HTTP INFO CherryPy shut down
 1/QueryOne:  SELECT tbl_name FROM sqlite_master WHERE type='table' AND
tbl_name = 'catwalk_state_table'
 1/QueryR  :  SELECT tbl_name FROM sqlite_master WHERE type='table' AND
tbl_name = 'catwalk_state_table'
 1/QueryOne-> ('catwalk_state_table',)
2006/01/05 04:35:14 CONFIG INFO Server parameters:
2006/01/05 04:35:14 CONFIG INFO   server.environment: development
2006/01/05 04:35:14 CONFIG INFO   server.logToScreen: True
2006/01/05 04:35:14 CONFIG INFO   server.logFile:
2006/01/05 04:35:14 CONFIG INFO   server.protocolVersion: HTTP/1.0
2006/01/05 04:35:14 CONFIG INFO   server.socketHost:
2006/01/05 04:35:14 CONFIG INFO   server.socketPort: 8080
2006/01/05 04:35:14 CONFIG INFO   server.socketFile:
2006/01/05 04:35:14 CONFIG INFO   server.reverseDNS: False
2006/01/05 04:35:14 CONFIG INFO   server.socketQueueSize: 5
2006/01/05 04:35:14 CONFIG INFO   server.threadPool: 0
2006/01/05 04:35:14 HTTP INFO Serving HTTP on http://localhost:8080/
2006/01/05 04:35:20 HTTP INFO 127.0.0.1 - GET /catwalk/ HTTP/1.1
2006-01-05 04:35:20,319 turbogears.kidsupport DEBUG Recompiling template
for turbogears.fastdata.templates.sitetemplate
2006-01-05 04:35:20,359 turbogears.kidsupport DEBUG Recompiling template
for turbogears.toolbox.catwalk.catwalk
2006-01-05 04:35:20,411 turbogears.kidsupport DEBUG Applying template
turbogears.toolbox.catwalk.catwalk
127.0.0.1 - - [2006/01/05 04:35:20] "GET /catwalk/ HTTP/1.1" 200 2812
2006/01/05 04:35:20 HTTP INFO 127.0.0.1 - GET /tg_static/css/widget.css
HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:20] "GET /tg_static/css/widget.css
HTTP/1.1" 200 888
2006/01/05 04:35:20 HTTP INFO 127.0.0.1 - GET /tg_static/css/toolbox.css
HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:20] "GET /tg_static/css/toolbox.css
HTTP/1.1" 200 2211
2006/01/05 04:35:20 HTTP INFO 127.0.0.1 - GET
/tg_toolbox/catwalk/css/catwalk.css HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:20] "GET
/tg_toolbox/catwalk/css/catwalk.css HTTP/1.1" 200 2203
2006/01/05 04:35:20 HTTP INFO 127.0.0.1 - GET
/tg_widgets/turbogears.widgets/calendar-green.css HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:20] "GET
/tg_widgets/turbogears.widgets/calendar-green.css HTTP/1.1" 200 4781
2006/01/05 04:35:21 HTTP INFO 127.0.0.1 - GET
/tg_static/images/tg_under_the_hood_sans_gear.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:21] "GET
/tg_static/images/tg_under_the_hood_sans_gear.png HTTP/1.1" 200 2529
2006/01/05 04:35:21 HTTP INFO 127.0.0.1 - GET
/tg_static/images/toolbox_logo.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:21] "GET
/tg_static/images/toolbox_logo.png HTTP/1.1" 200 2633
2006/01/05 04:35:21 HTTP INFO 127.0.0.1 - GET
/tg_static/images/toolbox_top_vertical_line.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:21] "GET
/tg_static/images/toolbox_top_vertical_line.png HTTP/1.1" 200 151
2006/01/05 04:35:21 HTTP INFO 127.0.0.1 - GET
/tg_static/images/toolbox_top_baggrund.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:21] "GET
/tg_static/images/toolbox_top_baggrund.png HTTP/1.1" 200 147
2006/01/05 04:35:21 HTTP INFO 127.0.0.1 - GET
/tg_static/images/transp.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:21] "GET /tg_static/images/transp.png
HTTP/1.1" 200 153
2006/01/05 04:35:26 HTTP INFO 127.0.0.1 - GET /catwalk/ HTTP/1.1
2006-01-05 04:35:26,499 turbogears.kidsupport DEBUG Applying template
turbogears.toolbox.catwalk.catwalk
127.0.0.1 - - [2006/01/05 04:35:26] "GET /catwalk/ HTTP/1.1" 200 2812
2006/01/05 04:35:26 HTTP INFO 127.0.0.1 - GET /tg_static/css/widget.css
HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:26] "GET /tg_static/css/widget.css
HTTP/1.1" 304 -
2006/01/05 04:35:26 HTTP INFO 127.0.0.1 - GET /tg_static/css/toolbox.css
HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:26] "GET /tg_static/css/toolbox.css
HTTP/1.1" 304 -
2006/01/05 04:35:26 HTTP INFO 127.0.0.1 - GET
/tg_toolbox/catwalk/css/catwalk.css HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:26] "GET
/tg_toolbox/catwalk/css/catwalk.css HTTP/1.1" 304 -
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_widgets/turbogears.widgets/calendar-green.css HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET
/tg_widgets/turbogears.widgets/calendar-green.css HTTP/1.1" 304 -
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET /tg_js/MochiKit.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET /tg_js/MochiKit.js HTTP/1.1"
200 92040
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET /tg_static/js/widget.js
HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET /tg_static/js/widget.js
HTTP/1.1" 200 12624
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_static/js/tool-man/core.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET /tg_static/js/tool-man/core.js
HTTP/1.1" 200 4717
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_static/js/tool-man/events.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET
/tg_static/js/tool-man/events.js HTTP/1.1" 200 1192
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_static/js/tool-man/css.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET /tg_static/js/tool-man/css.js
HTTP/1.1" 200 528
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_static/js/tool-man/coordinates.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET
/tg_static/js/tool-man/coordinates.js HTTP/1.1" 200 4138
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_static/js/tool-man/drag.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET /tg_static/js/tool-man/drag.js
HTTP/1.1" 200 7124
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_static/js/tool-man/dragsort.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET
/tg_static/js/tool-man/dragsort.js HTTP/1.1" 200 2476
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_widgets/turbogears.widgets/calendar.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET
/tg_widgets/turbogears.widgets/calendar.js HTTP/1.1" 200 34315
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_widgets/turbogears.widgets/lang/calendar-en.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET
/tg_widgets/turbogears.widgets/lang/calendar-en.js HTTP/1.1" 200 3600
2006/01/05 04:35:27 HTTP INFO 127.0.0.1 - GET
/tg_widgets/turbogears.widgets/calendar-setup.js HTTP/1.1
127.0.0.1 - - [2006/01/05 04:35:27] "GET
/tg_widgets/turbogears.widgets/calendar-setup.js HTTP/1.1" 200 4919

(... hangup...)


If I disable javascript the page loads OK:

[EMAIL PROTECTED] ~/dev/src/python/turbogears/TurboTunes $ python
turbotunes-start.py
 1/QueryOne:  SELECT tbl_name FROM sqlite_master WHERE type='table' AND
tbl_name = 'catwalk_state_table'
 1/QueryR  :  SELECT tbl_name FROM sqlite_master WHERE type='table' AND
tbl_name = 'catwalk_state_table'
 1/QueryOne-> ('catwalk_state_table',)
 1/QueryOne:  SELECT tbl_name FROM sqlite_master WHERE type='table' AND
tbl_name = 'catwalk_state_table'
 1/QueryR  :  SELECT tbl_name FROM sqlite_master WHERE type='table' AND
tbl_name = 'catwalk_state_table'
 1/QueryOne-> ('catwalk_state_table',)
2006/01/05 04:41:44 CONFIG INFO Server parameters:
2006/01/05 04:41:44 CONFIG INFO   server.environment: development
2006/01/05 04:41:44 CONFIG INFO   server.logToScreen: True
2006/01/05 04:41:44 CONFIG INFO   server.logFile:
2006/01/05 04:41:44 CONFIG INFO   server.protocolVersion: HTTP/1.0
2006/01/05 04:41:44 CONFIG INFO   server.socketHost:
2006/01/05 04:41:44 CONFIG INFO   server.socketPort: 8080
2006/01/05 04:41:44 CONFIG INFO   server.socketFile:
2006/01/05 04:41:44 CONFIG INFO   server.reverseDNS: False
2006/01/05 04:41:44 CONFIG INFO   server.socketQueueSize: 5
2006/01/05 04:41:44 CONFIG INFO   server.threadPool: 0
2006/01/05 04:41:44 HTTP INFO Serving HTTP on http://localhost:8080/
2006/01/05 04:42:05 HTTP INFO 127.0.0.1 - GET /catwalk/ HTTP/1.1
2006-01-05 04:42:05,254 turbogears.kidsupport DEBUG Recompiling template
for turbogears.fastdata.templates.sitetemplate
2006-01-05 04:42:05,342 turbogears.kidsupport DEBUG Recompiling template
for turbogears.toolbox.catwalk.catwalk
2006-01-05 04:42:05,448 turbogears.kidsupport DEBUG Applying template
turbogears.toolbox.catwalk.catwalk
127.0.0.1 - - [2006/01/05 04:42:05] "GET /catwalk/ HTTP/1.1" 200 2812
2006/01/05 04:42:05 HTTP INFO 127.0.0.1 - GET /tg_static/css/widget.css
HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:05] "GET /tg_static/css/widget.css
HTTP/1.1" 304 -
2006/01/05 04:42:06 HTTP INFO 127.0.0.1 - GET /tg_static/css/toolbox.css
HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:06] "GET /tg_static/css/toolbox.css
HTTP/1.1" 304 -
2006/01/05 04:42:06 HTTP INFO 127.0.0.1 - GET
/tg_toolbox/catwalk/css/catwalk.css HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:06] "GET
/tg_toolbox/catwalk/css/catwalk.css HTTP/1.1" 304 -
2006/01/05 04:42:06 HTTP INFO 127.0.0.1 - GET
/tg_widgets/turbogears.widgets/calendar-green.css HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:06] "GET
/tg_widgets/turbogears.widgets/calendar-green.css HTTP/1.1" 304 -
2006/01/05 04:42:07 HTTP INFO 127.0.0.1 - GET
/tg_static/images/tg_under_the_hood_sans_gear.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:07] "GET
/tg_static/images/tg_under_the_hood_sans_gear.png HTTP/1.1" 304 -
2006/01/05 04:42:07 HTTP INFO 127.0.0.1 - GET
/tg_static/images/toolbox_logo.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:07] "GET
/tg_static/images/toolbox_logo.png HTTP/1.1" 304 -
2006/01/05 04:42:07 HTTP INFO 127.0.0.1 - GET
/tg_static/images/toolbox_top_vertical_line.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:07] "GET
/tg_static/images/toolbox_top_vertical_line.png HTTP/1.1" 304 -
2006/01/05 04:42:07 HTTP INFO 127.0.0.1 - GET
/tg_static/images/transp.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:07] "GET /tg_static/images/transp.png
HTTP/1.1" 304 -
2006/01/05 04:42:08 HTTP INFO 127.0.0.1 - GET
/tg_static/images/toolbox_top_baggrund.png HTTP/1.1
127.0.0.1 - - [2006/01/05 04:42:08] "GET
/tg_static/images/toolbox_top_baggrund.png HTTP/1.1" 304 -

(Page loaded OK)



Something must fail into the javascript code... but what ?  I'm using
Firefox 1.5 (package from Gentoo Linux) and no message appears in the
Javascript Console...


The only way to have the page loading is removing this line:

    <script language="JavaScript"
src="/tg_toolbox/catwalk/javascript/catwalk.js"></script>

in catwalk.kid. Keeping the line but removing onload handler in <body
onload="catwalk.retrieveModels()"> stalls too...



Not sure if it's meaningful but I'm using a SQLite DB for the tutorials:
sqlobject.dburi="sqlite:///home/olivier/dev/src/python/turbogears/TurboTunes/TurboTunes.sqlite?debug=1&debugOutput=1"


I'll try to dig in... but before I'll ask here :-) : Anyone having
met/solved this pb ?

TIA,

Olivier.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to