[Ur] Demo app not responding to urls.. other compiled programs work
Daniel Patterson
dbpatterson at riseup.net
Fri Oct 23 16:52:48 EDT 2009
In both the released and the current hg repo, after getting the demo to
compile (required getting rid of the -Werror flags in
src/compiler.sml), it runs but doesnt respond to the urls that are
supposed to work:
http://localhost:8080/Demo/Demo/main etc.
All give "Fatal error: Unknown page" in the web browser and
corresponding:
Serving URI /Demo/Hello/main....
Fatal error: Unknown page
On the command line.
But, if I compile a specific example directly (for example, Hello),
then I can access it like:
http://localhost:8080/Hello/main
And it works.
Any ideas? Also, should I be concerned about the warnings that I had to
disable to get things to compile at all?
Excited to be playing around with this anyway.. been working for a
while to work haskell into the web environment, and it looks like
you've basically done that and more with Ur/Web.
Daniel
--
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)
mQSuBErckYwRDACsKelqhKh/KcRyeCfD00196Atvq5KqDz8H9hkJSeDMvS84EhJa
2H0CSZh2PQUdLXXqrhmZPNBSZqXlLq752IV37B6Tw2ub6dslI/Dui3lj6jIU2M8V
JMFghnnapJK1AFOxFRJMH8scIlvi0mAzMHOwHFtnAjnDJKz5e8pYFtzlzKVPhp2U
ta0d3IHTd8pCV0uOleQKJDqiG0rzGcpp7hQin64N3UXdV565cyvKBZI8xiDqea0n
Nd8tmtnmW7wJJEh91gCMF95lmNIy6nX5kKEiQ9HlGSpCka4e4v4hhfg3XJwz5hNR
MHKgjE2VdlLiVW91S5Dd5DPnZTAhphr24tXyCDsjs5gd610/aLYqmGROwPy8z3zo
g9mXJdv9XZK4fO4wYHfnELm/KW0GVaFda/IJFgHy3vPUoQbxRp7BZ6D7Rx4V7p1S
sc8kUerjp1KkpaT8oKIOe1Od5hwKyggzXtlkjt1aT5axQYFsQVxBIJMnrfEp/ibc
TyY17gKEX/mjD28BAP2pJK2UfQxV0LOxxDszvhy9+JEhnjIDW9G/P+GfNfcTC/kB
pRtMN6EfrsxkVSvvRA5+xNs+ECKFUcmmq7kB17Kj525Bnmhd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r/d3UU/m
NsAzMd8iVpj2TaSgEvxoI5c1H6D8PuCv9GIfZZGjxtHWE4+NtxgSPfrD7Tq/IKmB
JyKT3e9NNqPKcIWP3rj5ejRw15SGqDCL30dFFQGbJytRGG1E224xdiqpDHVLAYhn
BBgRCAAPBQJK3JGMAhsMBQkA7U4AAAoJEK8bJ/iAyILD8+QA/1oCW/g86RkVqOkj
jRhsQ+plm+teusLCEH4xnS81xCEoAQCP8a4e3EsRhKcFYnLeQ1pkOpUHtrVldQsz
EC2CW9gxNQ==
=TWid
-----END PGP PUBLIC KEY BLOCK-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://www.impredicative.com/pipermail/ur/attachments/20091023/201179e0/attachment.pgp>
More information about the Ur
mailing list