Opened 11 years ago

Closed 11 years ago

#5500 closed defect (fixed)

out-of-the-box twistd magnet demo is broken

Reported by: guest Owned by: dante
Priority: low Milestone: 1.2
Component: General Version: 0.9
Keywords: console.js Cc:
Blocked By: Blocking:

Description (last modified by Dustin Machi)

the path to dojo.js is not correct. When fixed, I get this bug in firebug, which basically says it can't find debug/console.js I can't find it either, nor is it in the dojo distribution downloaded separately. Was this deprecated, and if so, to what? `

hostenv_browser.j... (line 199) GET http://localhost:8080/examples/dojo/dojo/debug/console.js404 (12ms)hostenv_browser.j... (line 199) ParamsHeadersPostResponse? Response Headers Request Headers

<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1>The resource /examples/dojo/dojo

/debug/console.js cannot be found.</body></html>

Could not load 'dojo.debug.console'; last tried './debug/console.js' [Break on this error] throw new Error("Could not load '" + moduleName + "'; last tried '" + relpath...

Change History (11)

comment:1 Changed 11 years ago by Adam Peller

Owner: changed from anonymous to Dustin Machi

What version is this? Does this demo still exist?

comment:2 Changed 11 years ago by Adam Peller

Priority: highlow

comment:3 Changed 11 years ago by guest

This is the latest version, pulled 2 days ago. The demo does still exist, and I hope it remains so.

comment:4 Changed 11 years ago by bill

I checked the source code; there's no file called *magnet* or *twistd*. What is the name of this demo file and what directory is it in? Or is this something in the manual?

comment:5 Changed 11 years ago by dante

bill, he's talking about the cometd svn repo - I don't know if cometd has it's own trac, surely twistd does though ... the magnet demo is actually something that ships with the twistd comet server ... for a while it was using dojo 0.4 still, but I think it converted to 0.9 along the way. there is no longer a dojo.debug resource, so it looks like its still using / trying to use the 0.4 version.

I have piece of a working magnet demo written using 1.0.2 + trunk's cometd.js and it will be posted soon, though probably as a dojox.cometd demo over a twistd-cometd demo.

comment:6 Changed 11 years ago by bill

Shouldn't this bug be filed at http://code.google.com/p/cometd/issues/list, which is linked to from http://cometd.com/ ?

comment:7 Changed 11 years ago by guest

Let me know if it should be filed elsewhere. I just hope to see this work, esp. since it's part of the distro. Thank you, Gloria

comment:8 Changed 11 years ago by dylan

Milestone: 1.2

comment:9 Changed 11 years ago by Dustin Machi

Description: modified (diff)
Owner: changed from Dustin Machi to phiggins

comment:10 Changed 11 years ago by Adam Peller

Owner: changed from phiggins to dante

comment:11 Changed 11 years ago by dante

Resolution: fixed
Status: newclosed

I actually fixed this in cometd trunk, tested against current erlang and older twisted servers. It has a small layout issue, but otherwise "works" and is the productivity trap it once was, especially when linked during online meetings. still need to fix dojopong, and combination chatmagnet example, but this ticket is fixed.

Note: See TracTickets for help on using tickets.