List Info

Thread: twisted help for a java hack!




twisted help for a java hack!
user name
2006-07-28 22:51:53

Guys,  irc.perl.org appears to be dead?

Anyway... having never run a python (let alone a twisted)
script
before, I´m struggling
to run the cometd-twisted demo (r79)

I think i have ubuntu all updated with all the bits required
(had to
upgrade setup.py
for simplejson install).  So I think I am on the required
bleeding edge
of versions.

"python cometd.py" does nothing.

"twistd -y cometd.py" does run a server on port
8080, but surfing to
http
://localhost:8080/tests/magnets/magnets.html  just gives
me a big
yellow
page, but no magnets. http://localhost:80
80/tests/gives me an
empty white page.

Both fail trying to load /dojo/dojo.js    which is not in
the svn repo.
 Nor if I add a dojo
directory in the obvious place, it does not get served?

Is there some mantra I need to perform to make twistd
magically serve
dojo/dojo.js ?

cheers


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-devgooglegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---

twisted help for a java hack!
user name
2006-07-29 00:27:12

OK, I've got it to work.

I needed to create the filw cometd.txt to get rid of an
exception
then create some symlinks from tests/dojo to a recent dojo
checkout
finally I needed to create tests/FunWithDojo directory with
a symlink
to ../tests/dojofun

It looks to be not the very latest that Alex showed me
yesterday, so I
assume these issues
are just that the latest is not checked in?

anyway... it is enough for me to start replacing the python
with java.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-devgooglegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---

twisted help for a java hack!
user name
2006-07-29 00:38:24
Sorry 'bout that, my running demo has been a bit hacky and
I've been 
shuttling files between 2 places. Clearly I need to stop
doing that and 
clean up what's there.

Sorry for the inconvenience = \

Regards

On Friday 28 July 2006 5:27 pm, Gregw wrote:
> OK, I've got it to work.
>
> I needed to create the filw cometd.txt to get rid of an
exception
> then create some symlinks from tests/dojo to a recent
dojo checkout
> finally I needed to create tests/FunWithDojo directory
with a symlink
> to ../tests/dojofun
>
> It looks to be not the very latest that Alex showed me
yesterday, so
> I assume these issues
> are just that the latest is not checked in?
>
> anyway... it is enough for me to start replacing the
python with
> java.
>
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to
the Google
> Groups "cometd-dev" group. To post to this
group, send email to
> cometd-devgooglegroups.com To unsubscribe from this
group, send
> email to cometd-dev-unsubscribegooglegroups.com For more
options,
> visit this group at http://grou
ps.google.com/group/cometd-dev
>
> Visit the cometd website at http://www.cometd.com/
> -~----------~----~----~----~------~----~------~--~---

-- 
Alex Russell
alexsitepen.com     A99F 8785 F491 D5FD 04D7 ACD9 4158
FFDF 2894 6876
alexdojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78
E242 59C3 9723
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )