Still not Wub'ing

53 views
Skip to first unread message

atk

unread,
Feb 24, 2013, 3:53:42 AM2/24/13
to wub-dis...@googlegroups.com
I'm not sure there's a Wub document out there that I haven't read.
Nonetheless, I'm still not wub'ing and getting frustrated. After all the
disappointments, I decided to take on CMcC Wub Direct example (http://wiki.tcl.tk/29214).

- placed the local.tcl file containing namespace ::woo in the docroot directory
- restarted wub (tclsh8.6 Wub.tcl)
- on browser, http://localhost:8080/woo/?moop=1

http://localhost:8080/woo/?moop=1 Not Found

The entity 'http://localhost:8080/woo/?moop=1' doesn't exist.

What am i doing wrong?

Thanks in advanced.


Colin McCormack

unread,
Feb 24, 2013, 4:41:19 AM2/24/13
to wub-dis...@googlegroups.com
local.tcl is sourced from the same directory as the Wub.tcl file.
It's likely that local.tcl was never sourced by the server ... one way
to tell would be to puts to stderr in it, then you'd see the output.

It wouldn't make sense to put it in the directory containing documents
to be served, as one doesn't usually want to serve the server source
as files.

Colin.

On 2/24/13, atk <bwaa...@gmail.com> wrote:
> I'm not sure there's a Wub document out there that I haven't read.
> Nonetheless, I'm still not wub'ing and getting frustrated. After all the
> disappointments, I decided to take on CMcC Wub Direct example
> (http://wiki.tcl.tk/29214).
>
> - placed the local.tcl file containing namespace ::woo in the docroot
> directory
> - restarted wub (tclsh8.6 Wub.tcl)
> - on browser, http://localhost:8080/woo/?moop=1
>
> *http://localhost:8080/woo/?moop=1 Not Found*
>
> The entity 'http://localhost:8080/woo/?moop=1' doesn't exist.
>
> What am i doing wrong?
>
> Thanks in advanced.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Wub Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to wub-discussio...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

atk

unread,
Feb 24, 2013, 5:36:58 AM2/24/13
to wub-dis...@googlegroups.com
It worked!! I had it there initially before doing a trial-and-error move to docroot (but nevermind that).
This marks the start of my special relationship with this amazing web server. You should see the smile
on my face right now.

Thanks.
Alie T
Reply all
Reply to author
Forward
0 new messages